Queries information about one or more EIAM instances.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
eiam:ListInstances |
get |
*Instance
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| PageNumber |
integer |
No |
The page number. |
1 |
| PageSize |
integer |
No |
The number of entries per page. |
20 |
| InstanceIds |
array |
No |
A list of instance IDs. |
|
|
string |
No |
The instance ID. |
idaas_ue2jvisn35ea5lmthk267xxxxx |
|
| Status |
string |
No |
The instance status. Valid values:
|
running |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
0441BD79-92F3-53AA-8657-F8CE4A2B912A |
| TotalCount |
integer |
The total number of entries. |
100 |
| Instances |
array<object> |
The list of instances. |
|
|
array<object> |
An array that contains information about the instances. |
||
| InstanceId |
string |
The instance ID. |
idaas_eypq6ljgyeuwmlw672sulxxxxx |
| CreateTime |
integer |
The time when the instance was created. This is a UNIX timestamp. Unit: milliseconds. |
1550115455000 |
| Status |
string |
The instance status. Valid values:
|
running |
| Description |
string |
The description of the instance. |
正式环境 |
| DefaultEndpoint |
object |
The default domain name of the instance. |
|
| Endpoint |
string |
The endpoint of the instance. |
example-xxx.aliyunidaas.com |
| Status |
string |
The status of the instance domain name. Valid values:
|
resolved |
| ServiceManaged |
boolean |
Indicates whether the instance is managed by an Alibaba Cloud service. |
true |
| ManagedServiceCode |
string |
The service code of the Alibaba Cloud service that manages the instance. |
sase |
Examples
Success response
JSON format
{
"RequestId": "0441BD79-92F3-53AA-8657-F8CE4A2B912A",
"TotalCount": 100,
"Instances": [
{
"InstanceId": "idaas_eypq6ljgyeuwmlw672sulxxxxx",
"CreateTime": 1550115455000,
"Status": "running",
"Description": "正式环境",
"DefaultEndpoint": {
"Endpoint": "example-xxx.aliyunidaas.com\n",
"Status": "resolved"
},
"ServiceManaged": true,
"ManagedServiceCode": "sase"
}
]
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.