Retrieves the virtual machines that have been added to a service mesh.
This API has been deprecated with no replacement. While temporary access is maintained, no further updates or bug fixes will be provided. To ensure continued functionality, plan your migration and contact your account manager for support.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
servicemesh:DescribeVMsInServiceMesh |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| ServiceMeshId |
string |
Yes |
The service mesh ID. |
ccb37ff104caf419fbf48fb38e6f3**** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response parameters. |
||
| RequestId |
string |
The request ID. |
4b2c0fe0-6705-4614-8521-6b9d289163c8 |
| VMs |
array<object> |
The list of virtual machines that have been added to the service mesh. |
|
|
object |
|||
| InstanceId |
string |
The virtual machine ID. |
i-2ze45cgxkx4q12e**** |
| HasTag |
boolean |
Indicates whether the virtual machine has been tagged. |
true |
| IpAddress |
string |
The IP address of the virtual machine. |
10.0.*,*** |
| HostName |
string |
The hostname. |
iZ2ze45cgxkx4q12eh9l**** |
| Status |
string |
The virtual machine status. |
Running |
| SecurityGroupIds |
string |
The security group IDs. |
sg-2zeaqy08amco9osl**** |
| Region |
string |
The region ID. |
cn-beijing |
Examples
Success response
JSON format
{
"RequestId": "4b2c0fe0-6705-4614-8521-6b9d289163c8",
"VMs": [
{
"InstanceId": "i-2ze45cgxkx4q12e****",
"HasTag": true,
"IpAddress": "10.0.*,***",
"HostName": "iZ2ze45cgxkx4q12eh9l****",
"Status": "Running",
"SecurityGroupIds": "sg-2zeaqy08amco9osl****",
"Region": "cn-beijing"
}
]
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.