Queries the VMs that are added to 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
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.

VMs Array of VMs

The VMs that are added to the ASM instance.

HasTag Boolean true

Indicates whether the VM has labels.

HostName String iZ2ze45cgxkx4q12eh9lxlZ

The hostname.

InstanceId String i-2ze45cgxkx4q12eh9lxl

The ID of the VM.

IpAddress String

The IP address of the VM.

Region String cn-beijing


SecurityGroupIds String sg-2zeaqy08amco9osliemv

The ID of the security group.

Status String Running

The status of the VM.


Sample requests

&<Common request parameters>

Sample success responses

JSON format


Error codes

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