Adds a VM 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
EcsId String Yes i-2ze90ts4e7dj365023c4

The ID of the VM.

ServiceMeshId String Yes ccb37ff104caf419fbf48fb38e6f394de

The ID of the ASM instance.

Response parameters

Parameter Type Example Description
RequestId String 4b2c0fe0-6705-4614-8521-6b9d289163c8

The ID of the request.

Examples

Sample requests

http(s)://[Endpoint]/?Action=AddVMIntoServiceMesh
&EcsId=i-2ze90ts4e7dj365023c4
&ServiceMeshId=ccb37ff104caf419fbf48fb38e6f394de
&<Common request parameters>

Sample success responses

JSON format

null

Error codes

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