Queries the Elastic Compute Service (ECS) instances that reside in the same virtual private cloud (VPC) as an Alibaba Cloud Service Mesh (ASM) instance.


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
Action String No DescribeServiceMeshVMs

The operation that you want to perform. Set the value to DescribeServiceMeshVMs.

ServiceMeshId String Yes ccb37ff104caf419fbf48fb38e6f****

The ID of the ASM instance.

Response parameters

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

The ID of the request.

VMs Array of instances

The ECS instances that reside in the same VPC as the ASM instance.

HasTag Boolean false

Indicates whether the ECS instance has labels.

HostName String iZ2ze45cgxkx4q12eh****

The hostname.

InstanceId String i-2ze0kub9scdguom****

The ID of the ECS instance.

IpAddress String

The IP address of the ECS instance.

Region String cn-beijing

The ID of the region.

SecurityGroupIds String sg-2zeaqy08amco9osl****

The ID of the security group.

ServiceMeshId String ccb37ff104caf419fbf48fb38e6f3****

The ID of the ASM instance.

Status String Running

The status of the ECS instance.


Sample requests

&<Common request parameters>

Sample success responses

XML format


JSON format

    "RequestId": "4b2c0fe0-6705-4614-8521-6b9d289163c8",
    "VMs": {
        "Status": "Running",
        "ServiceMeshId": "ccb37ff104caf419fbf48fb38e6f3****",
        "InstanceId": "i-2ze0kub9scdguom****",
        "Region": "cn-beijing",
        "HasTag": false,
        "IpAddress": "",
        "SecurityGroupIds": "sg-2zeaqy08amco9osl****",
        "HostName": "iZ2ze45cgxkx4q12eh****"

Error codes

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