forked from docs/doc-exports
Reviewed-by: Eotvos, Oliver <oliver.eotvos@t-systems.com> Co-authored-by: qiujiandong1 <qiujiandong1@huawei.com> Co-committed-by: qiujiandong1 <qiujiandong1@huawei.com>
877 lines
59 KiB
HTML
877 lines
59 KiB
HTML
<a name="asm_api_0101"></a><a name="asm_api_0101"></a>
|
|
|
|
<h1 class="topictitle1">Creating a Service Mesh</h1>
|
|
<div id="body221mcpsimp"><div class="section" id="asm_api_0101__section222mcpsimp"><h4 class="sectiontitle">Function</h4><p id="asm_api_0101__p224mcpsimp">This API is used to create a service mesh.</p>
|
|
</div>
|
|
<div class="section" id="asm_api_0101__section225mcpsimp"><h4 class="sectiontitle">URI</h4><p id="asm_api_0101__p227mcpsimp">POST /v1/meshes</p>
|
|
</div>
|
|
<div class="section" id="asm_api_0101__section228mcpsimp"><h4 class="sectiontitle">Request Parameters</h4>
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="asm_api_0101__table230mcpsimp" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Request header parameters</caption><thead align="left"><tr id="asm_api_0101__row238mcpsimp"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.2.2.5.1.1"><p id="asm_api_0101__p240mcpsimp">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_0101__p242mcpsimp">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_0101__p244mcpsimp">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_0101__p246mcpsimp">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="asm_api_0101__row248mcpsimp"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.1 "><p id="asm_api_0101__p250mcpsimp">Content-Type</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.2 "><p id="asm_api_0101__p252mcpsimp">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.3 "><p id="asm_api_0101__p254mcpsimp">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.2.2.5.1.4 "><p id="asm_api_0101__p256mcpsimp">Message body type or format.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="asm_api_0101__row257mcpsimp"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.1 "><p id="asm_api_0101__p259mcpsimp">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_0101__p261mcpsimp">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.3 "><p id="asm_api_0101__p263mcpsimp">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.2.2.5.1.4 "><p id="asm_api_0101__p265mcpsimp">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_0101__row266mcpsimp"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.1 "><p id="asm_api_0101__p268mcpsimp">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_0101__p270mcpsimp">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.3 "><p id="asm_api_0101__p272mcpsimp">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.2.2.5.1.4 "><p id="asm_api_0101__p274mcpsimp">ID of the project that the service mesh belongs to.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="asm_api_0101__table275mcpsimp" frame="border" border="1" rules="all"><caption><b>Table 2 </b>Parameters in the request body</caption><thead align="left"><tr id="asm_api_0101__row283mcpsimp"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.3.2.5.1.1"><p id="asm_api_0101__p285mcpsimp">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.3.2.5.1.2"><p id="asm_api_0101__p287mcpsimp">Mandatory</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.3.2.5.1.3"><p id="asm_api_0101__p289mcpsimp">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.3.3.2.5.1.4"><p id="asm_api_0101__p291mcpsimp">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="asm_api_0101__row293mcpsimp"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p id="asm_api_0101__p295mcpsimp">apiVersion</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.2 "><p id="asm_api_0101__p297mcpsimp">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p id="asm_api_0101__p299mcpsimp">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p id="asm_api_0101__p301mcpsimp">API version. The value is fixed at <strong id="asm_api_0101__b51077205394713">v1</strong> and cannot be changed.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="asm_api_0101__row302mcpsimp"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p id="asm_api_0101__p304mcpsimp">kind</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.2 "><p id="asm_api_0101__p306mcpsimp">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p id="asm_api_0101__p308mcpsimp">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p id="asm_api_0101__p310mcpsimp">API type. The value is fixed at <strong id="asm_api_0101__b169540079294713">Mesh</strong> or <strong id="asm_api_0101__b119836493694713">mesh</strong> and cannot be changed.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="asm_api_0101__row311mcpsimp"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p id="asm_api_0101__p313mcpsimp">metadata</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.2 "><p id="asm_api_0101__p315mcpsimp">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p id="asm_api_0101__p317mcpsimp"><a href="#asm_api_0101___request_MeshMetadata">Table3 MeshMetadata</a> object</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p id="asm_api_0101__p320mcpsimp">Basic information about the service mesh. Metadata is a collection of attributes.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="asm_api_0101__row321mcpsimp"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p id="asm_api_0101__p323mcpsimp">spec</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.2 "><p id="asm_api_0101__p325mcpsimp">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p id="asm_api_0101__p327mcpsimp"><a href="#asm_api_0101___request_MeshSpec">Table 4 MeshSpec</a> object</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p id="asm_api_0101__p330mcpsimp">Detailed description of the service mesh. ASM creates or updates the service mesh by <strong id="asm_api_0101__b162788137494713">spec</strong>.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><a name="asm_api_0101___request_MeshMetadata"></a><a name="_request_MeshMetadata"></a><table cellpadding="4" cellspacing="0" summary="" id="asm_api_0101___request_MeshMetadata" frame="border" border="1" rules="all"><caption><b>Table 3 </b>MeshMetadata</caption><thead align="left"><tr id="asm_api_0101__row338mcpsimp"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.4.2.5.1.1"><p id="asm_api_0101__p340mcpsimp">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.4.2.5.1.2"><p id="asm_api_0101__p342mcpsimp">Mandatory</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.4.2.5.1.3"><p id="asm_api_0101__p344mcpsimp">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.3.4.2.5.1.4"><p id="asm_api_0101__p346mcpsimp">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="asm_api_0101__row348mcpsimp"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.1 "><p id="asm_api_0101__p350mcpsimp">name</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.2 "><p id="asm_api_0101__p352mcpsimp">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.3 "><p id="asm_api_0101__p354mcpsimp">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.4.2.5.1.4 "><p id="asm_api_0101__p356mcpsimp">Service mesh name.</p>
|
|
<p id="asm_api_0101__p357mcpsimp">Enter 4 to 64 characters. The name must start with a lowercase letter and not end with a hyphen (-). Only lowercase letters, digits, and hyphens (-) are allowed.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><a name="asm_api_0101___request_MeshSpec"></a><a name="_request_MeshSpec"></a><table cellpadding="4" cellspacing="0" summary="" id="asm_api_0101___request_MeshSpec" frame="border" border="1" rules="all"><caption><b>Table 4 </b>MeshSpec</caption><thead align="left"><tr id="asm_api_0101__row394mcpsimp"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.5.2.5.1.1"><p id="asm_api_0101__p396mcpsimp">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.5.2.5.1.2"><p id="asm_api_0101__p398mcpsimp">Mandatory</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.5.2.5.1.3"><p id="asm_api_0101__p400mcpsimp">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.3.5.2.5.1.4"><p id="asm_api_0101__p402mcpsimp">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="asm_api_0101__row404mcpsimp"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.5.2.5.1.1 "><p id="asm_api_0101__p406mcpsimp">region</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.5.2.5.1.2 "><p id="asm_api_0101__p408mcpsimp">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.5.2.5.1.3 "><p id="asm_api_0101__p410mcpsimp">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.5.2.5.1.4 "><p id="asm_api_0101__p412mcpsimp">Region where the control plane components of the service mesh are located.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="asm_api_0101__row413mcpsimp"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.5.2.5.1.1 "><p id="asm_api_0101__p415mcpsimp">type</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.5.2.5.1.2 "><p id="asm_api_0101__p417mcpsimp">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.5.2.5.1.3 "><p id="asm_api_0101__p419mcpsimp">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.5.2.5.1.4 "><p id="asm_api_0101__p421mcpsimp">Service mesh type.</p>
|
|
<p id="asm_api_0101__p422mcpsimp"><strong id="asm_api_0101__b40679186194713">InCluster</strong>: service mesh with an in-cluster control plane. The value is <strong id="asm_api_0101__b204932299794713">InCluster</strong> for the service mesh of the Basic edition.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="asm_api_0101__row423mcpsimp"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.5.2.5.1.1 "><p id="asm_api_0101__p425mcpsimp">version</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.5.2.5.1.2 "><p id="asm_api_0101__p427mcpsimp">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.5.2.5.1.3 "><p id="asm_api_0101__p429mcpsimp">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.5.2.5.1.4 "><p id="asm_api_0101__p431mcpsimp">Service mesh version.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="asm_api_0101__row432mcpsimp"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.5.2.5.1.1 "><p id="asm_api_0101__p434mcpsimp">extendParams</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.5.2.5.1.2 "><p id="asm_api_0101__p436mcpsimp">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.5.2.5.1.3 "><p id="asm_api_0101__p438mcpsimp"><a href="#asm_api_0101___request_MeshExtendParams">Table 5 MeshExtendParams</a> object</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.5.2.5.1.4 "><p id="asm_api_0101__p441mcpsimp">Extensions of the service mesh.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><a name="asm_api_0101___request_MeshExtendParams"></a><a name="_request_MeshExtendParams"></a><table cellpadding="4" cellspacing="0" summary="" id="asm_api_0101___request_MeshExtendParams" frame="border" border="1" rules="all"><caption><b>Table 5 </b>MeshExtendParams</caption><thead align="left"><tr id="asm_api_0101__row449mcpsimp"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.6.2.5.1.1"><p id="asm_api_0101__p451mcpsimp">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.6.2.5.1.2"><p id="asm_api_0101__p453mcpsimp">Mandatory</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.6.2.5.1.3"><p id="asm_api_0101__p455mcpsimp">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.3.6.2.5.1.4"><p id="asm_api_0101__p457mcpsimp">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="asm_api_0101__row459mcpsimp"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.6.2.5.1.1 "><p id="asm_api_0101__p461mcpsimp">clusters</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.6.2.5.1.2 "><p id="asm_api_0101__p463mcpsimp">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.6.2.5.1.3 "><p id="asm_api_0101__p465mcpsimp">Array of <a href="#asm_api_0101___request_MeshCluster">Table 6 MeshCluster</a> objects</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.6.2.5.1.4 "><p id="asm_api_0101__p468mcpsimp">Information about clusters in service meshes (only for the Basic edition).</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><a name="asm_api_0101___request_MeshCluster"></a><a name="_request_MeshCluster"></a><table cellpadding="4" cellspacing="0" summary="" id="asm_api_0101___request_MeshCluster" frame="border" border="1" rules="all"><caption><b>Table 6 </b>MeshCluster</caption><thead align="left"><tr id="asm_api_0101__row476mcpsimp"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.7.2.5.1.1"><p id="asm_api_0101__p478mcpsimp">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.7.2.5.1.2"><p id="asm_api_0101__p480mcpsimp">Mandatory</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.7.2.5.1.3"><p id="asm_api_0101__p482mcpsimp">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.3.7.2.5.1.4"><p id="asm_api_0101__p484mcpsimp">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="asm_api_0101__row486mcpsimp"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.7.2.5.1.1 "><p id="asm_api_0101__p488mcpsimp">clusterID</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.7.2.5.1.2 "><p id="asm_api_0101__p490mcpsimp">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.7.2.5.1.3 "><p id="asm_api_0101__p492mcpsimp">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.7.2.5.1.4 "><p id="asm_api_0101__p494mcpsimp">Cluster ID, which is unique and can be used to query the cluster to be added.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="asm_api_0101__row495mcpsimp"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.7.2.5.1.1 "><p id="asm_api_0101__p497mcpsimp">projectID</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.7.2.5.1.2 "><p id="asm_api_0101__p499mcpsimp">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.7.2.5.1.3 "><p id="asm_api_0101__p501mcpsimp">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.7.2.5.1.4 "><p id="asm_api_0101__p503mcpsimp">ID of the project that the cluster belongs to.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="asm_api_0101__row504mcpsimp"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.7.2.5.1.1 "><p id="asm_api_0101__p506mcpsimp">injection</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.7.2.5.1.2 "><p id="asm_api_0101__p508mcpsimp">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.7.2.5.1.3 "><p id="asm_api_0101__p510mcpsimp"><a href="#asm_api_0101___request_InjectionConfig">Table 7 InjectionConfig</a> object</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.7.2.5.1.4 "><p id="asm_api_0101__p513mcpsimp">Sidecar injection configuration.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="asm_api_0101__row514mcpsimp"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.7.2.5.1.1 "><p id="asm_api_0101__p516mcpsimp">installation</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.7.2.5.1.2 "><p id="asm_api_0101__p518mcpsimp">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.7.2.5.1.3 "><p id="asm_api_0101__p520mcpsimp"><a href="#asm_api_0101___request_InstallationConfig">Table 8 InstallationConfig</a> object</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.7.2.5.1.4 "><p id="asm_api_0101__p523mcpsimp">Installation configuration of service mesh components.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><a name="asm_api_0101___request_InjectionConfig"></a><a name="_request_InjectionConfig"></a><table cellpadding="4" cellspacing="0" summary="" id="asm_api_0101___request_InjectionConfig" frame="border" border="1" rules="all"><caption><b>Table 7 </b>InjectionConfig</caption><thead align="left"><tr id="asm_api_0101__row531mcpsimp"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.8.2.5.1.1"><p id="asm_api_0101__p533mcpsimp">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.8.2.5.1.2"><p id="asm_api_0101__p535mcpsimp">Mandatory</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.8.2.5.1.3"><p id="asm_api_0101__p537mcpsimp">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.3.8.2.5.1.4"><p id="asm_api_0101__p539mcpsimp">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="asm_api_0101__row541mcpsimp"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.8.2.5.1.1 "><p id="asm_api_0101__p543mcpsimp">namespaces</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.8.2.5.1.2 "><p id="asm_api_0101__p545mcpsimp">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.8.2.5.1.3 "><p id="asm_api_0101__p547mcpsimp"><a href="#asm_api_0101___request_Selector">Table 9 Selector</a> object</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.8.2.5.1.4 "><p id="asm_api_0101__p550mcpsimp">Namespaces where sidecars to be injected.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><a name="asm_api_0101___request_InstallationConfig"></a><a name="_request_InstallationConfig"></a><table cellpadding="4" cellspacing="0" summary="" id="asm_api_0101___request_InstallationConfig" frame="border" border="1" rules="all"><caption><b>Table 8 </b>InstallationConfig</caption><thead align="left"><tr id="asm_api_0101__row558mcpsimp"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.9.2.5.1.1"><p id="asm_api_0101__p560mcpsimp">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.9.2.5.1.2"><p id="asm_api_0101__p562mcpsimp">Mandatory</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.9.2.5.1.3"><p id="asm_api_0101__p564mcpsimp">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.3.9.2.5.1.4"><p id="asm_api_0101__p566mcpsimp">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="asm_api_0101__row568mcpsimp"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.9.2.5.1.1 "><p id="asm_api_0101__p570mcpsimp">nodes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.9.2.5.1.2 "><p id="asm_api_0101__p572mcpsimp">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.9.2.5.1.3 "><p id="asm_api_0101__p574mcpsimp"><a href="#asm_api_0101___request_Selector">Table 9 Selector</a> object</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.9.2.5.1.4 "><p id="asm_api_0101__p577mcpsimp">Nodes where service mesh components are installed.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><a name="asm_api_0101___request_Selector"></a><a name="_request_Selector"></a><table cellpadding="4" cellspacing="0" summary="" id="asm_api_0101___request_Selector" frame="border" border="1" rules="all"><caption><b>Table 9 </b>Selector</caption><thead align="left"><tr id="asm_api_0101__row585mcpsimp"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.10.2.5.1.1"><p id="asm_api_0101__p587mcpsimp">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.10.2.5.1.2"><p id="asm_api_0101__p589mcpsimp">Mandatory</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.10.2.5.1.3"><p id="asm_api_0101__p591mcpsimp">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.3.10.2.5.1.4"><p id="asm_api_0101__p593mcpsimp">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="asm_api_0101__row595mcpsimp"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.10.2.5.1.1 "><p id="asm_api_0101__p597mcpsimp">fieldSelector</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.10.2.5.1.2 "><p id="asm_api_0101__p599mcpsimp">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.10.2.5.1.3 "><p id="asm_api_0101__p601mcpsimp"><a href="#asm_api_0101___request_FieldSelector">Table 10 FieldSelector</a> object</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.10.2.5.1.4 "><p id="asm_api_0101__p604mcpsimp">Field selector.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><a name="asm_api_0101___request_FieldSelector"></a><a name="_request_FieldSelector"></a><table cellpadding="4" cellspacing="0" summary="" id="asm_api_0101___request_FieldSelector" frame="border" border="1" rules="all"><caption><b>Table 10 </b>FieldSelector</caption><thead align="left"><tr id="asm_api_0101__row612mcpsimp"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.11.2.5.1.1"><p id="asm_api_0101__p614mcpsimp">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.11.2.5.1.2"><p id="asm_api_0101__p616mcpsimp">Mandatory</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.11.2.5.1.3"><p id="asm_api_0101__p618mcpsimp">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.3.11.2.5.1.4"><p id="asm_api_0101__p620mcpsimp">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="asm_api_0101__row622mcpsimp"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.11.2.5.1.1 "><p id="asm_api_0101__p624mcpsimp">key</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.11.2.5.1.2 "><p id="asm_api_0101__p626mcpsimp">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.11.2.5.1.3 "><p id="asm_api_0101__p628mcpsimp">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.11.2.5.1.4 "><p id="asm_api_0101__p630mcpsimp">Key.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="asm_api_0101__row631mcpsimp"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.11.2.5.1.1 "><p id="asm_api_0101__p633mcpsimp">operator</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.11.2.5.1.2 "><p id="asm_api_0101__p635mcpsimp">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.11.2.5.1.3 "><p id="asm_api_0101__p637mcpsimp">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.11.2.5.1.4 "><p id="asm_api_0101__p639mcpsimp">Operator. The value can only be <strong id="asm_api_0101__b186989904694713">In</strong>.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="asm_api_0101__row640mcpsimp"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.11.2.5.1.1 "><p id="asm_api_0101__p642mcpsimp">values</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.11.2.5.1.2 "><p id="asm_api_0101__p644mcpsimp">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.11.2.5.1.3 "><p id="asm_api_0101__p646mcpsimp">Array of strings</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.11.2.5.1.4 "><p id="asm_api_0101__p648mcpsimp">Values.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div class="section" id="asm_api_0101__section649mcpsimp"><h4 class="sectiontitle">Response Parameters</h4><p id="asm_api_0101__p651mcpsimp"><strong id="asm_api_0101__b652mcpsimp">Status code: 201</strong></p>
|
|
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="asm_api_0101__table653mcpsimp" frame="border" border="1" rules="all"><caption><b>Table 11 </b>Parameters in the response body</caption><thead align="left"><tr id="asm_api_0101__row660mcpsimp"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.3.2.4.1.1"><p id="asm_api_0101__p662mcpsimp">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_0101__p664mcpsimp">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_0101__p666mcpsimp">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="asm_api_0101__row668mcpsimp"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="asm_api_0101__p670mcpsimp">apiVersion</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="asm_api_0101__p672mcpsimp">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="asm_api_0101__p674mcpsimp">API version. The value is fixed at <strong id="asm_api_0101__b129952421694713">v1</strong> and cannot be changed.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="asm_api_0101__row675mcpsimp"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="asm_api_0101__p677mcpsimp">kind</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="asm_api_0101__p679mcpsimp">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="asm_api_0101__p681mcpsimp">API type. The value is fixed at <strong id="asm_api_0101__b192741745394713">Mesh</strong> or <strong id="asm_api_0101__b142031296594713">mesh</strong> and cannot be changed.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="asm_api_0101__row682mcpsimp"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="asm_api_0101__p684mcpsimp">metadata</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="asm_api_0101__p686mcpsimp"><a href="#asm_api_0101___d1e904">Table 12 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_0101__p689mcpsimp">Basic information about the service mesh. Metadata is a collection of attributes.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="asm_api_0101__row690mcpsimp"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="asm_api_0101__p692mcpsimp">spec</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="asm_api_0101__p694mcpsimp"><a href="#asm_api_0101___d1e979">Table 13 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_0101__p1827mcpsimp">Detailed description of the service mesh. ASM creates or updates the service mesh by <strong id="asm_api_0101__b3341221144013">spec</strong>.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="asm_api_0101__row698mcpsimp"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="asm_api_0101__p700mcpsimp">status</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="asm_api_0101__p702mcpsimp"><a href="#asm_api_0101___d1e1280">Table 20 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_0101__p1835mcpsimp">Service mesh status,</p>
|
|
<p id="asm_api_0101__p1836mcpsimp">which is automatically generated by ASM.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><a name="asm_api_0101___d1e904"></a><a name="_d1e904"></a><table cellpadding="4" cellspacing="0" summary="" id="asm_api_0101___d1e904" frame="border" border="1" rules="all"><caption><b>Table 12 </b>MeshMetadata</caption><thead align="left"><tr id="asm_api_0101__row713mcpsimp"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.4.2.4.1.1"><p id="asm_api_0101__p715mcpsimp">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_0101__p717mcpsimp">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_0101__p719mcpsimp">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="asm_api_0101__row721mcpsimp"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="asm_api_0101__p723mcpsimp">name</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="asm_api_0101__p725mcpsimp">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="asm_api_0101__p727mcpsimp">Service mesh name.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="asm_api_0101__row5218635112316"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="asm_api_0101__p17253105116236">uid</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="asm_api_0101__p12253145115235">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="asm_api_0101__p182531851132317">Service mesh ID, which is unique and automatically generated after the service mesh is created.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="asm_api_0101__row744mcpsimp"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="asm_api_0101__p746mcpsimp">creationTimestamp</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="asm_api_0101__p748mcpsimp">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="asm_api_0101__p750mcpsimp">Time when the service mesh was created.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><a name="asm_api_0101___d1e979"></a><a name="_d1e979"></a><table cellpadding="4" cellspacing="0" summary="" id="asm_api_0101___d1e979" frame="border" border="1" rules="all"><caption><b>Table 13 </b>MeshSpec</caption><thead align="left"><tr id="asm_api_0101__row757mcpsimp"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.5.2.4.1.1"><p id="asm_api_0101__p759mcpsimp">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_0101__p761mcpsimp">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_0101__p763mcpsimp">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="asm_api_0101__row765mcpsimp"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.4.1.1 "><p id="asm_api_0101__p767mcpsimp">region</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.4.1.2 "><p id="asm_api_0101__p769mcpsimp">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.5.2.4.1.3 "><p id="asm_api_0101__p771mcpsimp">Region where the control plane components of the service mesh are located.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="asm_api_0101__row772mcpsimp"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.4.1.1 "><p id="asm_api_0101__p774mcpsimp">type</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.4.1.2 "><p id="asm_api_0101__p776mcpsimp">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.5.2.4.1.3 "><p id="asm_api_0101__p778mcpsimp">Service mesh type.</p>
|
|
<p id="asm_api_0101__p779mcpsimp"><strong id="asm_api_0101__b1716464234817">InCluster</strong>: service mesh with an in-cluster control plane. The value is <strong id="asm_api_0101__b1416444211482">InCluster</strong> for the service mesh of the Basic edition.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="asm_api_0101__row780mcpsimp"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.4.1.1 "><p id="asm_api_0101__p782mcpsimp">version</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.4.1.2 "><p id="asm_api_0101__p784mcpsimp">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.5.2.4.1.3 "><p id="asm_api_0101__p786mcpsimp">Service mesh version.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="asm_api_0101__row787mcpsimp"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.4.1.1 "><p id="asm_api_0101__p789mcpsimp">extendParams</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.4.1.2 "><p id="asm_api_0101__p791mcpsimp"><a href="#asm_api_0101___d1e1042">Table14 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_0101__p794mcpsimp">Extensions of the service mesh.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><a name="asm_api_0101___d1e1042"></a><a name="_d1e1042"></a><table cellpadding="4" cellspacing="0" summary="" id="asm_api_0101___d1e1042" frame="border" border="1" rules="all"><caption><b>Table 14 </b>MeshExtendParams</caption><thead align="left"><tr id="asm_api_0101__row801mcpsimp"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.6.2.4.1.1"><p id="asm_api_0101__p803mcpsimp">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_0101__p805mcpsimp">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_0101__p807mcpsimp">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="asm_api_0101__row809mcpsimp"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.6.2.4.1.1 "><p id="asm_api_0101__p811mcpsimp">clusters</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.6.2.4.1.2 "><p id="asm_api_0101__p813mcpsimp">Array of <a href="#asm_api_0101___d1e1074">Table15 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_0101__p816mcpsimp">Information about clusters in service meshes (only for the Basic edition).</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><a name="asm_api_0101___d1e1074"></a><a name="_d1e1074"></a><table cellpadding="4" cellspacing="0" summary="" id="asm_api_0101___d1e1074" frame="border" border="1" rules="all"><caption><b>Table 15 </b>MeshCluster</caption><thead align="left"><tr id="asm_api_0101__row823mcpsimp"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.7.2.4.1.1"><p id="asm_api_0101__p825mcpsimp">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_0101__p827mcpsimp">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_0101__p829mcpsimp">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="asm_api_0101__row831mcpsimp"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.7.2.4.1.1 "><p id="asm_api_0101__p833mcpsimp">clusterID</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.7.2.4.1.2 "><p id="asm_api_0101__p835mcpsimp">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.7.2.4.1.3 "><p id="asm_api_0101__p837mcpsimp">Cluster ID, which is unique and can be used to query the cluster to be added.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="asm_api_0101__row838mcpsimp"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.7.2.4.1.1 "><p id="asm_api_0101__p840mcpsimp">projectID</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.7.2.4.1.2 "><p id="asm_api_0101__p842mcpsimp">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.7.2.4.1.3 "><p id="asm_api_0101__p844mcpsimp">ID of the project that the cluster belongs to.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="asm_api_0101__row845mcpsimp"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.7.2.4.1.1 "><p id="asm_api_0101__p847mcpsimp">injection</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.7.2.4.1.2 "><p id="asm_api_0101__p849mcpsimp"><a href="#asm_api_0101___d1e1137">Table16 InjectionConfig</a> object</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.7.2.4.1.3 "><p id="asm_api_0101__p852mcpsimp">Sidecar injection configuration.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="asm_api_0101__row853mcpsimp"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.7.2.4.1.1 "><p id="asm_api_0101__p855mcpsimp">installation</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.7.2.4.1.2 "><p id="asm_api_0101__p857mcpsimp"><a href="#asm_api_0101___d1e1168">Table17 InstallationConfig</a> object</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.7.2.4.1.3 "><p id="asm_api_0101__p860mcpsimp">Installation configuration of service mesh components.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><a name="asm_api_0101___d1e1137"></a><a name="_d1e1137"></a><table cellpadding="4" cellspacing="0" summary="" id="asm_api_0101___d1e1137" frame="border" border="1" rules="all"><caption><b>Table 16 </b>InjectionConfig</caption><thead align="left"><tr id="asm_api_0101__row867mcpsimp"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.8.2.4.1.1"><p id="asm_api_0101__p869mcpsimp">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_0101__p871mcpsimp">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_0101__p873mcpsimp">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="asm_api_0101__row875mcpsimp"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.8.2.4.1.1 "><p id="asm_api_0101__p877mcpsimp">namespaces</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.8.2.4.1.2 "><p id="asm_api_0101__p879mcpsimp"><a href="#asm_api_0101___d1e1199">Table 18 Selector</a> object</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.8.2.4.1.3 "><p id="asm_api_0101__p882mcpsimp">Namespaces where sidecars to be injected.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><a name="asm_api_0101___d1e1168"></a><a name="_d1e1168"></a><table cellpadding="4" cellspacing="0" summary="" id="asm_api_0101___d1e1168" frame="border" border="1" rules="all"><caption><b>Table 17 </b>InstallationConfig</caption><thead align="left"><tr id="asm_api_0101__row889mcpsimp"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.9.2.4.1.1"><p id="asm_api_0101__p891mcpsimp">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.9.2.4.1.2"><p id="asm_api_0101__p893mcpsimp">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.4.9.2.4.1.3"><p id="asm_api_0101__p895mcpsimp">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="asm_api_0101__row897mcpsimp"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.9.2.4.1.1 "><p id="asm_api_0101__p899mcpsimp">nodes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.9.2.4.1.2 "><p id="asm_api_0101__p901mcpsimp"><a href="#asm_api_0101___d1e1199">Table 18 Selector</a> object</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.9.2.4.1.3 "><p id="asm_api_0101__p904mcpsimp">Nodes where service mesh components are installed.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><a name="asm_api_0101___d1e1199"></a><a name="_d1e1199"></a><table cellpadding="4" cellspacing="0" summary="" id="asm_api_0101___d1e1199" frame="border" border="1" rules="all"><caption><b>Table 18 </b>Selector</caption><thead align="left"><tr id="asm_api_0101__row911mcpsimp"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.10.2.4.1.1"><p id="asm_api_0101__p913mcpsimp">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_0101__p915mcpsimp">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_0101__p917mcpsimp">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="asm_api_0101__row919mcpsimp"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.10.2.4.1.1 "><p id="asm_api_0101__p921mcpsimp">fieldSelector</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.10.2.4.1.2 "><p id="asm_api_0101__p923mcpsimp"><a href="#asm_api_0101___d1e1230">Table 19 FieldSelector</a> object</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.10.2.4.1.3 "><p id="asm_api_0101__p926mcpsimp">Field selector.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><a name="asm_api_0101___d1e1230"></a><a name="_d1e1230"></a><table cellpadding="4" cellspacing="0" summary="" id="asm_api_0101___d1e1230" frame="border" border="1" rules="all"><caption><b>Table 19 </b>FieldSelector</caption><thead align="left"><tr id="asm_api_0101__row933mcpsimp"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.11.2.4.1.1"><p id="asm_api_0101__p935mcpsimp">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.11.2.4.1.2"><p id="asm_api_0101__p937mcpsimp">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.4.11.2.4.1.3"><p id="asm_api_0101__p939mcpsimp">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="asm_api_0101__row941mcpsimp"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.11.2.4.1.1 "><p id="asm_api_0101__p943mcpsimp">key</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.11.2.4.1.2 "><p id="asm_api_0101__p945mcpsimp">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.11.2.4.1.3 "><p id="asm_api_0101__p947mcpsimp">Key.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="asm_api_0101__row948mcpsimp"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.11.2.4.1.1 "><p id="asm_api_0101__p950mcpsimp">operator</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.11.2.4.1.2 "><p id="asm_api_0101__p952mcpsimp">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.11.2.4.1.3 "><p id="asm_api_0101__p954mcpsimp">Operator. The value can only be <strong id="asm_api_0101__b119535196894713">In</strong>.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="asm_api_0101__row955mcpsimp"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.11.2.4.1.1 "><p id="asm_api_0101__p957mcpsimp">values</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.11.2.4.1.2 "><p id="asm_api_0101__p959mcpsimp">Array of strings</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.11.2.4.1.3 "><p id="asm_api_0101__p961mcpsimp">Values.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><a name="asm_api_0101___d1e1280"></a><a name="_d1e1280"></a><table cellpadding="4" cellspacing="0" summary="" id="asm_api_0101___d1e1280" frame="border" border="1" rules="all"><caption><b>Table 20 </b>MeshStatus</caption><thead align="left"><tr id="asm_api_0101__row968mcpsimp"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.12.2.4.1.1"><p id="asm_api_0101__p970mcpsimp">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_0101__p972mcpsimp">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_0101__p974mcpsimp">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="asm_api_0101__row976mcpsimp"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.12.2.4.1.1 "><p id="asm_api_0101__p978mcpsimp">phase</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.12.2.4.1.2 "><p id="asm_api_0101__p980mcpsimp">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.12.2.4.1.3 "><p id="asm_api_0101__p982mcpsimp">Service mesh status. The options are as follows:</p>
|
|
<ul id="asm_api_0101__ul983mcpsimp"><li id="asm_api_0101__li984mcpsimp"><strong id="asm_api_0101__b24164544794713">Running</strong>: The service mesh is running.</li><li id="asm_api_0101__li985mcpsimp"><strong id="asm_api_0101__b40640414494713">Creating</strong>: The service mesh is being created.</li><li id="asm_api_0101__li986mcpsimp"><strong id="asm_api_0101__b118645022394713">CreateFailed</strong>: The service mesh fails to be created.</li><li id="asm_api_0101__li987mcpsimp"><strong id="asm_api_0101__b56409803294713">Deleting</strong>: The service mesh is being deleted.</li><li id="asm_api_0101__li988mcpsimp"><strong id="asm_api_0101__b54226196494713">DeleteFailed</strong>: The service mesh fails to be deleted.</li><li id="asm_api_0101__li989mcpsimp"><strong id="asm_api_0101__b53351357894713">Upgrading</strong>: The service mesh is being upgraded.</li><li id="asm_api_0101__li990mcpsimp"><strong id="asm_api_0101__b4240109294713">UpgradeFailed</strong>: The service mesh fails to be upgraded.</li><li id="asm_api_0101__li991mcpsimp"><strong id="asm_api_0101__b184772257394713">RollingBack</strong>: The service mesh is being rolled back.</li><li id="asm_api_0101__li992mcpsimp"><strong id="asm_api_0101__b71854829994713">RollbackFailed</strong>: The service mesh fails to be rolled back.</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="asm_api_0101__row993mcpsimp"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.12.2.4.1.1 "><p id="asm_api_0101__p995mcpsimp">updateTimestamp</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.12.2.4.1.2 "><p id="asm_api_0101__p997mcpsimp">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.12.2.4.1.3 "><p id="asm_api_0101__p999mcpsimp">Time when the service mesh was updated.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<p id="asm_api_0101__p1000mcpsimp"><strong id="asm_api_0101__b179631722105816">Status code: 400</strong></p>
|
|
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="asm_api_0101__table1002mcpsimp" frame="border" border="1" rules="all"><caption><b>Table 21 </b>Parameters in the response body</caption><thead align="left"><tr id="asm_api_0101__row1009mcpsimp"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.14.2.4.1.1"><p id="asm_api_0101__p1011mcpsimp">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_0101__p1013mcpsimp">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_0101__p1015mcpsimp">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="asm_api_0101__row1017mcpsimp"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.14.2.4.1.1 "><p id="asm_api_0101__p1019mcpsimp">errorCode</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.14.2.4.1.2 "><p id="asm_api_0101__p1021mcpsimp">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.14.2.4.1.3 "><p id="asm_api_0101__p1023mcpsimp">Error code.</p>
|
|
<p id="asm_api_0101__p62871637164618">Minimum length: <strong id="asm_api_0101__b19287143784619">8</strong></p>
|
|
<p id="asm_api_0101__p1728733734613">Maximum length: <strong id="asm_api_0101__b18207163713594">36</strong></p>
|
|
</td>
|
|
</tr>
|
|
<tr id="asm_api_0101__row1024mcpsimp"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.14.2.4.1.1 "><p id="asm_api_0101__p1026mcpsimp">errorMsg</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.14.2.4.1.2 "><p id="asm_api_0101__p1028mcpsimp">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.14.2.4.1.3 "><p id="asm_api_0101__p1030mcpsimp">Error message.</p>
|
|
<p id="asm_api_0101__p1428893714613">Minimum length: <strong id="asm_api_0101__b20237813505">2</strong></p>
|
|
<p id="asm_api_0101__p72881137194611">Maximum length: <strong id="asm_api_0101__b26229161001">512</strong></p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<p id="asm_api_0101__p1031mcpsimp"><strong id="asm_api_0101__b1032mcpsimp">Status code: 409</strong></p>
|
|
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="asm_api_0101__table1033mcpsimp" frame="border" border="1" rules="all"><caption><b>Table 22 </b>Parameters in the response body</caption><thead align="left"><tr id="asm_api_0101__row1040mcpsimp"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.16.2.4.1.1"><p id="asm_api_0101__p1042mcpsimp">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.16.2.4.1.2"><p id="asm_api_0101__p1044mcpsimp">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.4.16.2.4.1.3"><p id="asm_api_0101__p1046mcpsimp">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="asm_api_0101__row1048mcpsimp"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.16.2.4.1.1 "><p id="asm_api_0101__p1050mcpsimp">errorCode</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.16.2.4.1.2 "><p id="asm_api_0101__p1052mcpsimp">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.16.2.4.1.3 "><p id="asm_api_0101__p1054mcpsimp">Error code.</p>
|
|
<p id="asm_api_0101__p02502010181813">Minimum length: <strong id="asm_api_0101__b025021061817">8</strong></p>
|
|
<p id="asm_api_0101__p182507109184">Maximum length: <strong id="asm_api_0101__b1637212101915">36</strong></p>
|
|
</td>
|
|
</tr>
|
|
<tr id="asm_api_0101__row1055mcpsimp"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.16.2.4.1.1 "><p id="asm_api_0101__p1057mcpsimp">errorMsg</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.16.2.4.1.2 "><p id="asm_api_0101__p1059mcpsimp">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.16.2.4.1.3 "><p id="asm_api_0101__p1061mcpsimp">Error message.</p>
|
|
<p id="asm_api_0101__p149175771719">Minimum length: <strong id="asm_api_0101__b1319714233118">2</strong></p>
|
|
<p id="asm_api_0101__p114925711715">Maximum length: <strong id="asm_api_0101__b15168126812">512</strong></p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<p id="asm_api_0101__p1062mcpsimp"><strong id="asm_api_0101__b1063mcpsimp">Status code: 500</strong></p>
|
|
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="asm_api_0101__table1064mcpsimp" frame="border" border="1" rules="all"><caption><b>Table 23 </b>Parameters in the response body</caption><thead align="left"><tr id="asm_api_0101__row1071mcpsimp"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.18.2.4.1.1"><p id="asm_api_0101__p1073mcpsimp">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.18.2.4.1.2"><p id="asm_api_0101__p1075mcpsimp">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.4.18.2.4.1.3"><p id="asm_api_0101__p1077mcpsimp">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="asm_api_0101__row1079mcpsimp"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.18.2.4.1.1 "><p id="asm_api_0101__p1081mcpsimp">errorCode</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.18.2.4.1.2 "><p id="asm_api_0101__p1083mcpsimp">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.18.2.4.1.3 "><p id="asm_api_0101__p1085mcpsimp">Error code.</p>
|
|
<p id="asm_api_0101__p61091391820">Minimum length: <strong id="asm_api_0101__b910201381810">8</strong></p>
|
|
<p id="asm_api_0101__p710131391812">Maximum length: <strong id="asm_api_0101__b3655184812110">36</strong></p>
|
|
</td>
|
|
</tr>
|
|
<tr id="asm_api_0101__row1086mcpsimp"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.18.2.4.1.1 "><p id="asm_api_0101__p1088mcpsimp">errorMsg</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.18.2.4.1.2 "><p id="asm_api_0101__p1090mcpsimp">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.18.2.4.1.3 "><p id="asm_api_0101__p1092mcpsimp">Error message.</p>
|
|
<p id="asm_api_0101__p76092059161714">Minimum length: <strong id="asm_api_0101__b9609155981713">2</strong></p>
|
|
<p id="asm_api_0101__p196091594172">Maximum length: <strong id="asm_api_0101__b17541357317">512</strong></p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div class="section" id="asm_api_0101__section1093mcpsimp"><h4 class="sectiontitle">Example Request</h4><p id="asm_api_0101__p1095mcpsimp">Creating a service mesh</p>
|
|
<pre class="screen" id="asm_api_0101__screen1096mcpsimp">POST /v1/meshes
|
|
|
|
{
|
|
"apiVersion" : "v1",
|
|
"kind" : "Mesh",
|
|
"metadata" : {
|
|
"name" : "mesh-test-api"
|
|
},
|
|
"spec" : {
|
|
"type" : "InCluster",
|
|
"version" : "1.15.7-r1",
|
|
"region": "eu-de-01",
|
|
"extendParams" : {
|
|
"clusters" : [ {
|
|
"clusterID" : "8df4c986-b052-xxxx-xxxx-0255ac101231",
|
|
"projectID" : "719217bc273743eaxxxxxxxx8bc34480",
|
|
"installation" : {
|
|
"nodes" : {
|
|
"fieldSelector" : {
|
|
"key" : "UID",
|
|
"operator" : "In",
|
|
"values" : [ "b07b6512-b053-xxxx-xxxx-0255ac101231" ]
|
|
}
|
|
}
|
|
},
|
|
"injection" : {
|
|
"namespaces" : {
|
|
"fieldSelector" : {
|
|
"key" : "UID",
|
|
"operator" : "In",
|
|
"values" : [ "xxxx" ]
|
|
}
|
|
}
|
|
}
|
|
} ]
|
|
}
|
|
}
|
|
}</pre>
|
|
</div>
|
|
<div class="section" id="asm_api_0101__section1097mcpsimp"><h4 class="sectiontitle">Example Response</h4><p id="asm_api_0101__p1099mcpsimp"><strong id="asm_api_0101__b1060237832">Status code: 201</strong></p>
|
|
<div class="p" id="asm_api_0101__p1101mcpsimp">The service mesh creation task is delivered and the service mesh creation starts.<pre class="screen" id="asm_api_0101__screen1102mcpsimp">{
|
|
"apiVersion" : "v1",
|
|
"kind" : "Mesh",
|
|
"metadata" : {
|
|
"name" : "mesh-test-api",
|
|
"uid" : "2789682f-7e1b-11ee-9662-0255ac10080a",
|
|
"creationTimestamp" : "2023-11-08T09:42:39Z"
|
|
},
|
|
"spec" : {
|
|
"domainID": "06e6bafb794746xxxxxxxx536497ea95",
|
|
"type" : "InCluster",
|
|
"version" : "1.15.7-r1",
|
|
"region": "eu-de-01",
|
|
"extendParams" : {
|
|
"clusters" : [ {
|
|
"clusterID" : "8df4c986-b052-xxxx-xxxx-0255ac101231",
|
|
"region": "eu-de-01",
|
|
"projectID" : "719217bc273743eaxxxxxxxx8bc34480",
|
|
"provider": "CCE",
|
|
"proxyMode": "sidecar",
|
|
"installation" : {
|
|
"nodes" : {
|
|
"fieldSelector" : {
|
|
"key" : "UID",
|
|
"operator" : "In",
|
|
"values" : [ "b07b6512-b053-xxxx-xxxx-0255ac101231" ]
|
|
}
|
|
}
|
|
},
|
|
"injection" : {
|
|
"namespaces" : {
|
|
"fieldSelector" : {
|
|
"key" : "UID",
|
|
"operator" : "In",
|
|
"values" : [ "xxxx" ]
|
|
}
|
|
}
|
|
}
|
|
} ]
|
|
}
|
|
},
|
|
"status" : {
|
|
"phase" : "Creating"
|
|
}
|
|
}</pre>
|
|
</div>
|
|
</div>
|
|
<div class="section" id="asm_api_0101__section1103mcpsimp"><h4 class="sectiontitle">Status Codes</h4>
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="asm_api_0101__table1105mcpsimp" frame="border" border="1" rules="all"><thead align="left"><tr id="asm_api_0101__row1110mcpsimp"><th align="left" class="cellrowborder" valign="top" width="15%" id="mcps1.3.7.2.1.3.1.1"><p id="asm_api_0101__p1112mcpsimp">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_0101__p1114mcpsimp">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="asm_api_0101__row1116mcpsimp"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.1.3.1.1 "><p id="asm_api_0101__p1118mcpsimp">201</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.7.2.1.3.1.2 "><p id="asm_api_0101__p1120mcpsimp">The service mesh creation task is delivered and the service mesh creation starts.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="asm_api_0101__row1121mcpsimp"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.1.3.1.1 "><p id="asm_api_0101__p1123mcpsimp">400</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.7.2.1.3.1.2 "><p id="asm_api_0101__p1125mcpsimp">Verification failed due to incorrect parameters for creating the service mesh.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="asm_api_0101__row1126mcpsimp"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.1.3.1.1 "><p id="asm_api_0101__p1128mcpsimp">409</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.7.2.1.3.1.2 "><p id="asm_api_0101__p1130mcpsimp">The service mesh to be created conflicts with an existing service mesh.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="asm_api_0101__row1131mcpsimp"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.1.3.1.1 "><p id="asm_api_0101__p1133mcpsimp">500</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.7.2.1.3.1.2 "><p id="asm_api_0101__p1135mcpsimp">An error occurs during the service mesh creation.</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>
|
|
|