All Products
Search
Document Center

Alibaba Cloud Service Mesh:AddClusterIntoServiceMesh

更新時間:Mar 29, 2024

Adds a cluster to a Service Mesh (ASM) instance.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer.

Authorization information

There is currently no authorization information disclosed in the API.

Request parameters

ParameterTypeRequiredDescriptionExample
ServiceMeshIdstringYes

The ID of the Service Mesh (ASM) instance.

cb8963379255149cb98c8686f274x****
ClusterIdstringYes

The ID of the cluster to be added.

ce3c25e247da24f3aab9b7edfae83****
IgnoreNamespaceCheckbooleanNo

Specifies whether to check that the cluster you want to add to the ASM instance belongs to the istio-system namespace. This parameter is often used in scenarios where you migrate traffic from self-managed open source Istio to ASM. Valid values: true and false.

false

Response parameters

ParameterTypeDescriptionExample
object
Messagestring

The returned message.

success
RequestIdstring

The request ID.

BD65C0AD-D3C6-48D3-8D93-38D2015C****
Codestring

The returned status code.

200

Examples

Sample success responses

JSONformat

{
  "Message": "success",
  "RequestId": "BD65C0AD-D3C6-48D3-8D93-38D2015C****",
  "Code": "200"
}

Error codes

For a list of error codes, visit the Service error codes.

Change history

Change timeSummary of changesOperation
2022-11-15The request parameters of the API has changedsee changesets
Change itemChange content
Input ParametersThe request parameters of the API has changed.
    Added Input Parameters: IgnoreNamespaceCheck