Adds a cluster to an Alibaba Cloud 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. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request parameters

Parameter Type Required Example Description
ClusterId String Yes ce3c25e247da24f3aab9b7edfae83****

The ID of the cluster that you want to add to the ASM instance.

ServiceMeshId String Yes cb8963379255149cb98c8686f274x****

The ID of the ASM instance.

Response parameters

Parameter Type Example Description
Code String 200

The returned status code.

Message String success

The returned message.

RequestId String BD65C0AD-D3C6-48D3-8D93-38D2015C****

The ID of the request.

Examples

Sample requests

http(s)://[Endpoint]/? Action=AddClusterIntoServiceMesh
&ClusterId=ce3c25e247da24f3aab9b7edfae83e2xx
&ServiceMeshId=cb8963379255149cb98c8686f274xxc8d
&<Common request parameters>

Sample success responses

XML format

<RequestId>BD65C0AD-D3C6-48D3-8D93-38D2015C****</RequestId>
<Message>success</Message>
<Code>200</Code>

JSON format

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

Error codes

For a list of error codes, visit the API Error Center.