Files
doc-exports/docs/asm/api-ref/asm_api_0102.html
qiujiandong1 0a1983aa72 ASM API initial version 20240430
Reviewed-by: Eotvos, Oliver <oliver.eotvos@t-systems.com>
Co-authored-by: qiujiandong1 <qiujiandong1@huawei.com>
Co-committed-by: qiujiandong1 <qiujiandong1@huawei.com>
2025-03-10 11:27:25 +00:00

425 lines
29 KiB
HTML

<a name="asm_api_0102"></a><a name="asm_api_0102"></a>
<h1 class="topictitle1">Deleting a Service Mesh</h1>
<div id="body1139mcpsimp"><div class="section" id="asm_api_0102__section1140mcpsimp"><h4 class="sectiontitle">Function</h4><p id="asm_api_0102__p1142mcpsimp">This API is used to delete a service mesh.</p>
</div>
<div class="section" id="asm_api_0102__section1143mcpsimp"><h4 class="sectiontitle">URI</h4><p id="asm_api_0102__p1145mcpsimp">DELETE /v1/meshes/{mesh_id}</p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="asm_api_0102__table1146mcpsimp" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Path parameters</caption><thead align="left"><tr id="asm_api_0102__row1154mcpsimp"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.2.3.2.5.1.1"><p id="asm_api_0102__p1156mcpsimp">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.2.3.2.5.1.2"><p id="asm_api_0102__p1158mcpsimp">Mandatory</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.2.3.2.5.1.3"><p id="asm_api_0102__p1160mcpsimp">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.2.3.2.5.1.4"><p id="asm_api_0102__p1162mcpsimp">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="asm_api_0102__row1164mcpsimp"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.1 "><p id="asm_api_0102__p1166mcpsimp">mesh_id</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.2 "><p id="asm_api_0102__p1168mcpsimp">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.3 "><p id="asm_api_0102__p1170mcpsimp">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.2.3.2.5.1.4 "><p id="asm_api_0102__p1172mcpsimp">Service mesh ID.</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="section" id="asm_api_0102__section1173mcpsimp"><h4 class="sectiontitle">Request Parameters</h4>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="asm_api_0102__table1175mcpsimp" frame="border" border="1" rules="all"><caption><b>Table 2 </b>Request header parameters</caption><thead align="left"><tr id="asm_api_0102__row1183mcpsimp"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.2.2.5.1.1"><p id="asm_api_0102__p1185mcpsimp">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.2.2.5.1.2"><p id="asm_api_0102__p1187mcpsimp">Mandatory</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.2.2.5.1.3"><p id="asm_api_0102__p1189mcpsimp">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.3.2.2.5.1.4"><p id="asm_api_0102__p1191mcpsimp">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="asm_api_0102__row1193mcpsimp"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.1 "><p id="asm_api_0102__p1195mcpsimp">X-Auth-Token</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.2 "><p id="asm_api_0102__p1197mcpsimp">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.3 "><p id="asm_api_0102__p1199mcpsimp">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.2.2.5.1.4 "><p id="asm_api_0102__p1201mcpsimp">Requests for calling an API can be authenticated using either a token or AK/SK. If token-based authentication is used, this parameter is mandatory and must be set to a user token.</p>
</td>
</tr>
<tr id="asm_api_0102__row1202mcpsimp"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.1 "><p id="asm_api_0102__p1204mcpsimp">X-Apply-ProjectID</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.2 "><p id="asm_api_0102__p1206mcpsimp">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.3 "><p id="asm_api_0102__p1208mcpsimp">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.2.2.5.1.4 "><p id="asm_api_0102__p1210mcpsimp">ID of the project that the service mesh belongs to.</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="section" id="asm_api_0102__section1211mcpsimp"><h4 class="sectiontitle">Response Parameters</h4><p id="asm_api_0102__p1213mcpsimp"><strong id="asm_api_0102__b10591361798">Status code: 200</strong></p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="asm_api_0102__table1215mcpsimp" frame="border" border="1" rules="all"><caption><b>Table 3 </b>Parameters in the response body</caption><thead align="left"><tr id="asm_api_0102__row1222mcpsimp"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.3.2.4.1.1"><p id="asm_api_0102__p1224mcpsimp">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.3.2.4.1.2"><p id="asm_api_0102__p1226mcpsimp">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.4.3.2.4.1.3"><p id="asm_api_0102__p1228mcpsimp">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="asm_api_0102__row1230mcpsimp"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="asm_api_0102__p1232mcpsimp">apiVersion</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="asm_api_0102__p1234mcpsimp">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="asm_api_0102__p1236mcpsimp">API version. The value is fixed at <strong id="asm_api_0102__b58342000294724">v1</strong> and cannot be changed.</p>
</td>
</tr>
<tr id="asm_api_0102__row1237mcpsimp"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="asm_api_0102__p1239mcpsimp">kind</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="asm_api_0102__p1241mcpsimp">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="asm_api_0102__p1243mcpsimp">API type. The value is fixed at <strong id="asm_api_0102__b178762869894724">Mesh</strong> or <strong id="asm_api_0102__b58778784794724">mesh</strong> and cannot be changed.</p>
</td>
</tr>
<tr id="asm_api_0102__row1244mcpsimp"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="asm_api_0102__p1246mcpsimp">metadata</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="asm_api_0102__p1248mcpsimp"><a href="#asm_api_0102___d1e1754">Table4 MeshMetadata</a> object</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="asm_api_0102__p1251mcpsimp">Basic information about the service mesh. Metadata is a collection of attributes.</p>
</td>
</tr>
<tr id="asm_api_0102__row1252mcpsimp"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="asm_api_0102__p1254mcpsimp">spec</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="asm_api_0102__p1256mcpsimp"><a href="#asm_api_0102___d1e1829">Table 5 MeshSpec</a> object</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="asm_api_0102__p1259mcpsimp">Detailed description of the service mesh. ASM creates or updates the service mesh by <strong id="asm_api_0102__b92378645294724">spec</strong>.</p>
</td>
</tr>
<tr id="asm_api_0102__row1260mcpsimp"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="asm_api_0102__p1262mcpsimp">status</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="asm_api_0102__p1264mcpsimp"><a href="#asm_api_0102___d1e2130">Table 12 MeshStatus</a> object</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="asm_api_0102__p1267mcpsimp">Service mesh status,</p>
<p id="asm_api_0102__p1268mcpsimp">which is automatically generated by ASM.</p>
</td>
</tr>
</tbody>
</table>
</div>
<div class="tablenoborder"><a name="asm_api_0102___d1e1754"></a><a name="_d1e1754"></a><table cellpadding="4" cellspacing="0" summary="" id="asm_api_0102___d1e1754" frame="border" border="1" rules="all"><caption><b>Table 4 </b>MeshMetadata</caption><thead align="left"><tr id="asm_api_0102__row1275mcpsimp"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.4.2.4.1.1"><p id="asm_api_0102__p1277mcpsimp">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.4.2.4.1.2"><p id="asm_api_0102__p1279mcpsimp">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.4.4.2.4.1.3"><p id="asm_api_0102__p1281mcpsimp">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="asm_api_0102__row1283mcpsimp"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="asm_api_0102__p1285mcpsimp">name</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="asm_api_0102__p1287mcpsimp">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="asm_api_0102__p1289mcpsimp">Service mesh name.</p>
</td>
</tr>
<tr id="asm_api_0102__row1290mcpsimp"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="asm_api_0102__p1292mcpsimp">uid</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="asm_api_0102__p1294mcpsimp">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="asm_api_0102__p1296mcpsimp">Service mesh ID, which is unique and automatically generated after the service mesh is created.</p>
</td>
</tr>
<tr id="asm_api_0102__row1313mcpsimp"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="asm_api_0102__p1315mcpsimp">creationTimestamp</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="asm_api_0102__p1317mcpsimp">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="asm_api_0102__p1319mcpsimp">Time when the service mesh was created.</p>
</td>
</tr>
</tbody>
</table>
</div>
<div class="tablenoborder"><a name="asm_api_0102___d1e1829"></a><a name="_d1e1829"></a><table cellpadding="4" cellspacing="0" summary="" id="asm_api_0102___d1e1829" frame="border" border="1" rules="all"><caption><b>Table 5 </b>MeshSpec</caption><thead align="left"><tr id="asm_api_0102__row1326mcpsimp"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.5.2.4.1.1"><p id="asm_api_0102__p1328mcpsimp">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.5.2.4.1.2"><p id="asm_api_0102__p1330mcpsimp">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.4.5.2.4.1.3"><p id="asm_api_0102__p1332mcpsimp">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="asm_api_0102__row1334mcpsimp"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.4.1.1 "><p id="asm_api_0102__p1336mcpsimp">region</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.4.1.2 "><p id="asm_api_0102__p1338mcpsimp">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.5.2.4.1.3 "><p id="asm_api_0102__p1340mcpsimp">Region where the control plane components of the service mesh are located.</p>
</td>
</tr>
<tr id="asm_api_0102__row1341mcpsimp"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.4.1.1 "><p id="asm_api_0102__p1343mcpsimp">type</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.4.1.2 "><p id="asm_api_0102__p1345mcpsimp">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.5.2.4.1.3 "><p id="asm_api_0102__p1347mcpsimp">Service mesh type.</p>
<p id="asm_api_0102__p1348mcpsimp"><strong id="asm_api_0102__b7269172221213">InCluster</strong>: service mesh with an in-cluster control plane. The value is <strong id="asm_api_0102__b19269122217124">InCluster</strong> for the service mesh of the Basic edition.</p>
</td>
</tr>
<tr id="asm_api_0102__row1349mcpsimp"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.4.1.1 "><p id="asm_api_0102__p1351mcpsimp">version</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.4.1.2 "><p id="asm_api_0102__p1353mcpsimp">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.5.2.4.1.3 "><p id="asm_api_0102__p1355mcpsimp">Service mesh version.</p>
</td>
</tr>
<tr id="asm_api_0102__row1356mcpsimp"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.4.1.1 "><p id="asm_api_0102__p1358mcpsimp">extendParams</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.4.1.2 "><p id="asm_api_0102__p1360mcpsimp"><a href="#asm_api_0102___d1e1892">Table 6 MeshExtendParams</a> object</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.5.2.4.1.3 "><p id="asm_api_0102__p1363mcpsimp">Extensions of the service mesh.</p>
</td>
</tr>
</tbody>
</table>
</div>
<div class="tablenoborder"><a name="asm_api_0102___d1e1892"></a><a name="_d1e1892"></a><table cellpadding="4" cellspacing="0" summary="" id="asm_api_0102___d1e1892" frame="border" border="1" rules="all"><caption><b>Table 6 </b>MeshExtendParams</caption><thead align="left"><tr id="asm_api_0102__row1370mcpsimp"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.6.2.4.1.1"><p id="asm_api_0102__p1372mcpsimp">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.6.2.4.1.2"><p id="asm_api_0102__p1374mcpsimp">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.4.6.2.4.1.3"><p id="asm_api_0102__p1376mcpsimp">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="asm_api_0102__row1378mcpsimp"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.6.2.4.1.1 "><p id="asm_api_0102__p1380mcpsimp">clusters</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.6.2.4.1.2 "><p id="asm_api_0102__p1382mcpsimp">Array of <a href="#asm_api_0102___d1e1924">Table 7 MeshCluster</a> objects</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.6.2.4.1.3 "><p id="asm_api_0102__p1385mcpsimp">Information about clusters in service meshes (only for the Basic edition).</p>
</td>
</tr>
</tbody>
</table>
</div>
<div class="tablenoborder"><a name="asm_api_0102___d1e1924"></a><a name="_d1e1924"></a><table cellpadding="4" cellspacing="0" summary="" id="asm_api_0102___d1e1924" frame="border" border="1" rules="all"><caption><b>Table 7 </b>MeshCluster</caption><thead align="left"><tr id="asm_api_0102__row1392mcpsimp"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.7.2.4.1.1"><p id="asm_api_0102__p1394mcpsimp">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.7.2.4.1.2"><p id="asm_api_0102__p1396mcpsimp">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.4.7.2.4.1.3"><p id="asm_api_0102__p1398mcpsimp">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="asm_api_0102__row1400mcpsimp"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.7.2.4.1.1 "><p id="asm_api_0102__p1402mcpsimp">clusterID</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.7.2.4.1.2 "><p id="asm_api_0102__p1404mcpsimp">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.7.2.4.1.3 "><p id="asm_api_0102__p1406mcpsimp">Cluster ID, which is unique and can be used to query the cluster to be added.</p>
</td>
</tr>
<tr id="asm_api_0102__row1407mcpsimp"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.7.2.4.1.1 "><p id="asm_api_0102__p1409mcpsimp">projectID</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.7.2.4.1.2 "><p id="asm_api_0102__p1411mcpsimp">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.7.2.4.1.3 "><p id="asm_api_0102__p1413mcpsimp">ID of the project that the cluster belongs to.</p>
</td>
</tr>
</tbody>
</table>
</div>
<div class="tablenoborder"><a name="asm_api_0102___d1e2130"></a><a name="_d1e2130"></a><table cellpadding="4" cellspacing="0" summary="" id="asm_api_0102___d1e2130" frame="border" border="1" rules="all"><caption><b>Table 8 </b>MeshStatus</caption><thead align="left"><tr id="asm_api_0102__row1537mcpsimp"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.8.2.4.1.1"><p id="asm_api_0102__p1539mcpsimp">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.8.2.4.1.2"><p id="asm_api_0102__p1541mcpsimp">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.4.8.2.4.1.3"><p id="asm_api_0102__p1543mcpsimp">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="asm_api_0102__row1545mcpsimp"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.8.2.4.1.1 "><p id="asm_api_0102__p1547mcpsimp">phase</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.8.2.4.1.2 "><p id="asm_api_0102__p1549mcpsimp">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.8.2.4.1.3 "><p id="asm_api_0102__p1551mcpsimp">Service mesh status. The options are as follows:</p>
<ul id="asm_api_0102__ul1552mcpsimp"><li id="asm_api_0102__li1553mcpsimp"><strong id="asm_api_0102__b934115194724">Running</strong>: The service mesh is running.</li><li id="asm_api_0102__li1554mcpsimp"><strong id="asm_api_0102__b21956272594724">Creating</strong>: The service mesh is being created.</li><li id="asm_api_0102__li1555mcpsimp"><strong id="asm_api_0102__b53438802194724">CreateFailed</strong>: The service mesh fails to be created.</li><li id="asm_api_0102__li1556mcpsimp"><strong id="asm_api_0102__b15212827594724">Deleting</strong>: The service mesh is being deleted.</li><li id="asm_api_0102__li1557mcpsimp"><strong id="asm_api_0102__b32102427694724">DeleteFailed</strong>: The service mesh fails to be deleted.</li><li id="asm_api_0102__li1558mcpsimp"><strong id="asm_api_0102__b28631869394724">Upgrading</strong>: The service mesh is being upgraded.</li><li id="asm_api_0102__li1559mcpsimp"><strong id="asm_api_0102__b108524152594724">UpgradeFailed</strong>: The service mesh fails to be upgraded.</li><li id="asm_api_0102__li1560mcpsimp"><strong id="asm_api_0102__b148783498394724">RollingBack</strong>: The service mesh is being rolled back.</li><li id="asm_api_0102__li1561mcpsimp"><strong id="asm_api_0102__b150544564194724">RollbackFailed</strong>: The service mesh fails to be rolled back.</li></ul>
</td>
</tr>
<tr id="asm_api_0102__row1562mcpsimp"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.8.2.4.1.1 "><p id="asm_api_0102__p1564mcpsimp">updateTimestamp</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.8.2.4.1.2 "><p id="asm_api_0102__p1566mcpsimp">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.8.2.4.1.3 "><p id="asm_api_0102__p1568mcpsimp">Time when the service mesh was updated.</p>
</td>
</tr>
</tbody>
</table>
</div>
<p id="asm_api_0102__p1569mcpsimp"><strong id="asm_api_0102__b1570mcpsimp">Status code: 400</strong></p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="asm_api_0102__table1571mcpsimp" frame="border" border="1" rules="all"><caption><b>Table 9 </b>Parameters in the response body</caption><thead align="left"><tr id="asm_api_0102__row1578mcpsimp"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.10.2.4.1.1"><p id="asm_api_0102__p1580mcpsimp">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.10.2.4.1.2"><p id="asm_api_0102__p1582mcpsimp">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.4.10.2.4.1.3"><p id="asm_api_0102__p1584mcpsimp">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="asm_api_0102__row1586mcpsimp"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.10.2.4.1.1 "><p id="asm_api_0102__p1588mcpsimp">errorCode</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.10.2.4.1.2 "><p id="asm_api_0102__p1590mcpsimp">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.10.2.4.1.3 "><p id="asm_api_0102__p1592mcpsimp">Error code.</p>
<p id="asm_api_0102__p48227374461">Minimum length: <strong id="asm_api_0102__b682263715467">8</strong></p>
<p id="asm_api_0102__p3822193724620">Maximum length: <strong id="asm_api_0102__b9683174211153">36</strong></p>
</td>
</tr>
<tr id="asm_api_0102__row1593mcpsimp"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.10.2.4.1.1 "><p id="asm_api_0102__p1595mcpsimp">errorMsg</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.10.2.4.1.2 "><p id="asm_api_0102__p1597mcpsimp">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.10.2.4.1.3 "><p id="asm_api_0102__p1599mcpsimp">Error message.</p>
<p id="asm_api_0102__p1428893714613">Minimum length: <strong id="asm_api_0102__b04061250121512">2</strong></p>
<p id="asm_api_0102__p72881137194611">Maximum length: <strong id="asm_api_0102__b13447175213153">512</strong></p>
</td>
</tr>
</tbody>
</table>
</div>
<p id="asm_api_0102__p1600mcpsimp"><strong id="asm_api_0102__b4947125651518">Status code: 404</strong></p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="asm_api_0102__table1602mcpsimp" frame="border" border="1" rules="all"><caption><b>Table 10 </b>Parameters in the response body</caption><thead align="left"><tr id="asm_api_0102__row1609mcpsimp"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.12.2.4.1.1"><p id="asm_api_0102__p1611mcpsimp">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.12.2.4.1.2"><p id="asm_api_0102__p1613mcpsimp">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.4.12.2.4.1.3"><p id="asm_api_0102__p1615mcpsimp">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="asm_api_0102__row1617mcpsimp"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.12.2.4.1.1 "><p id="asm_api_0102__p1619mcpsimp">errorCode</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.12.2.4.1.2 "><p id="asm_api_0102__p1621mcpsimp">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.12.2.4.1.3 "><p id="asm_api_0102__p1623mcpsimp">Error code.</p>
<p id="asm_api_0102__p6134157111611">Minimum length: <strong id="asm_api_0102__b111341857141613">8</strong></p>
<p id="asm_api_0102__p8134257171619">Maximum length: <strong id="asm_api_0102__b910710213166">36</strong></p>
</td>
</tr>
<tr id="asm_api_0102__row1624mcpsimp"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.12.2.4.1.1 "><p id="asm_api_0102__p1626mcpsimp">errorMsg</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.12.2.4.1.2 "><p id="asm_api_0102__p1628mcpsimp">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.12.2.4.1.3 "><p id="asm_api_0102__p1630mcpsimp">Error message.</p>
<p id="asm_api_0102__p20996111521710">Minimum length: <strong id="asm_api_0102__b015317271164">2</strong></p>
<p id="asm_api_0102__p7997161521710">Maximum length: <strong id="asm_api_0102__b4319193012169">512</strong></p>
</td>
</tr>
</tbody>
</table>
</div>
<p id="asm_api_0102__p1631mcpsimp"><strong id="asm_api_0102__b184474335166">Status code: 500</strong></p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="asm_api_0102__table1633mcpsimp" frame="border" border="1" rules="all"><caption><b>Table 11 </b>Parameters in the response body</caption><thead align="left"><tr id="asm_api_0102__row1640mcpsimp"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.14.2.4.1.1"><p id="asm_api_0102__p1642mcpsimp">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.14.2.4.1.2"><p id="asm_api_0102__p1644mcpsimp">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.4.14.2.4.1.3"><p id="asm_api_0102__p1646mcpsimp">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="asm_api_0102__row1648mcpsimp"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.14.2.4.1.1 "><p id="asm_api_0102__p1650mcpsimp">errorCode</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.14.2.4.1.2 "><p id="asm_api_0102__p1652mcpsimp">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.14.2.4.1.3 "><p id="asm_api_0102__p1654mcpsimp">Error code.</p>
<p id="asm_api_0102__p108301054111614">Minimum length: <strong id="asm_api_0102__b7831954101619">8</strong></p>
<p id="asm_api_0102__p6831185411616">Maximum length: <strong id="asm_api_0102__b5719752121618">36</strong></p>
</td>
</tr>
<tr id="asm_api_0102__row1655mcpsimp"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.14.2.4.1.1 "><p id="asm_api_0102__p1657mcpsimp">errorMsg</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.14.2.4.1.2 "><p id="asm_api_0102__p1659mcpsimp">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.14.2.4.1.3 "><p id="asm_api_0102__p1661mcpsimp">Error message.</p>
<p id="asm_api_0102__p12527151821712">Minimum length: <strong id="asm_api_0102__b1787502174">2</strong></p>
<p id="asm_api_0102__p75278186175">Maximum length: <strong id="asm_api_0102__b169511310131713">512</strong></p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="section" id="asm_api_0102__section1662mcpsimp"><h4 class="sectiontitle">Example Request</h4><p id="asm_api_0102__p1664mcpsimp">None</p>
</div>
<div class="section" id="asm_api_0102__section1665mcpsimp"><h4 class="sectiontitle">Example Response</h4><p id="asm_api_0102__p1667mcpsimp"><strong id="asm_api_0102__b113384268171">Status code: 200</strong></p>
<p id="asm_api_0102__p1669mcpsimp">The service mesh deletion task is delivered and the service mesh deletion starts.</p>
<pre class="screen" id="asm_api_0102__screen1670mcpsimp">{
"kind" : "Mesh",
"apiVersion" : "v1",
"metadata" : {
"name" : "mesh-test-api1",
"uid" : "b0906529-5871-xxxx-xxxx-8f93784d267c",
"creationTimestamp" : "2024-12-10T07:29:37Z"
},
"spec" : {
"domainID": "06e6bafb794746xxxxxxxx536497ea95",
"region" : "eu-de-01",
"type" : "InCluster",
"version" : "1.15.7-r4",
"extendParams" : {
"clusters" : [ {
"clusterID" : "8df4c986-b052-xxxx-xxxx-0255ac101231",
"meshID": "b0906529-5871-xxxx-xxxx-8f93784d267c",
"region": "eu-de-01",
"projectID" : "719217bc273743xxxxxxxxae8bc34480" ,
"provider": "CCE",
"proxyMode": "sidecar"
} ]
}
},
"status" : {
"phase" : "Deleting",
"updateTimestamp" : "2024-12-10T07:36:42Z"
}
}</pre>
</div>
<div class="section" id="asm_api_0102__section1671mcpsimp"><h4 class="sectiontitle">Status Codes</h4>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="asm_api_0102__table1673mcpsimp" frame="border" border="1" rules="all"><thead align="left"><tr id="asm_api_0102__row1678mcpsimp"><th align="left" class="cellrowborder" valign="top" width="15%" id="mcps1.3.7.2.1.3.1.1"><p id="asm_api_0102__p1680mcpsimp">Status Code</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="85%" id="mcps1.3.7.2.1.3.1.2"><p id="asm_api_0102__p1682mcpsimp">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="asm_api_0102__row1684mcpsimp"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.1.3.1.1 "><p id="asm_api_0102__p1686mcpsimp">200</p>
</td>
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.7.2.1.3.1.2 "><p id="asm_api_0102__p1688mcpsimp">The service mesh deletion task is delivered and the service mesh deletion starts.</p>
</td>
</tr>
<tr id="asm_api_0102__row1689mcpsimp"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.1.3.1.1 "><p id="asm_api_0102__p1691mcpsimp">400</p>
</td>
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.7.2.1.3.1.2 "><p id="asm_api_0102__p1693mcpsimp">Verification failed due to incorrect parameters for deleting the specified service mesh.</p>
</td>
</tr>
<tr id="asm_api_0102__row1694mcpsimp"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.1.3.1.1 "><p id="asm_api_0102__p1696mcpsimp">404</p>
</td>
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.7.2.1.3.1.2 "><p id="asm_api_0102__p1698mcpsimp">The specified service mesh is not found.</p>
</td>
</tr>
<tr id="asm_api_0102__row1699mcpsimp"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.1.3.1.1 "><p id="asm_api_0102__p1701mcpsimp">500</p>
</td>
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.7.2.1.3.1.2 "><p id="asm_api_0102__p1703mcpsimp">An error occurs during the service mesh deletion.</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="asm_api_0100.html">Service Mesh APIs</a></div>
</div>
</div>