Removes a virtual machine (VM) from an Alibaba Cloud Service Mesh (ASM) instance.
Debugging
Request parameters
Parameter | Type | Required | Example | Description |
---|---|---|---|---|
ServiceMeshId | String | Yes | ccb37ff104caf419fbf48fb38e6f3**** |
The ID of the ASM instance. |
Action | String | Yes | RemoveVMFromServiceMesh |
The operation that you want to perform. Set the value to RemoveVMFromServiceMesh. |
EcsId | String | Yes | i-2ze90ts4edj3650**** |
The ID of the VM. |
Response parameters
Parameter | Type | Example | Description |
---|---|---|---|
RequestId | String | 4b2c0fe0-6705-4614-8521-6b9d289163c8 |
The ID of the request. |
Examples
Sample requests
http(s)://[Endpoint]/?ServiceMeshId=ccb37ff104caf419fbf48fb38e6f3****
&Action=RemoveVMFromServiceMesh
&EcsId=i-2ze90ts4edj3650****
&<Common request parameters>
Sample success responses
XML
format
HTTP/1.1 200 OK
Content-Type:application/xml
<RemoveVMFromServiceMeshResponse>
<RequestId>4b2c0fe0-6705-4614-8521-6b9d289163c8</RequestId>
</RemoveVMFromServiceMeshResponse>
JSON
format
HTTP/1.1 200 OK
Content-Type:application/json
{
"RequestId" : "4b2c0fe0-6705-4614-8521-6b9d289163c8"
}
Error codes
For a list of error codes, visit the API Error Center.