ListInstances
Queries information about one or more Employee Identity and Access Management (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 page size. |
20 |
| InstanceIds |
array |
No |
The list of instance IDs. |
|
|
string |
No |
The instance ID. |
idaas_ue2jvisn35ea5lmthk267xxxxx |
|
| Status |
string |
No |
The instance status. Valid values:
|
running |
| Edition |
string |
No |
The license edition. Valid values:
|
free |
| CrossRegionReplication |
string |
No |
disabled |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
0441BD79-92F3-53AA-8657-F8CE4A2B912A |
| TotalCount |
integer |
The total number of entries in the list. |
100 |
| Instances |
array<object> |
The list of instance information. |
|
|
array<object> |
The information about the instances returned in an array. |
||
| InstanceId |
string |
The instance ID. |
idaas_eypq6ljgyeuwmlw672sulxxxxx |
| CreateTime |
integer |
The time when the instance was created. The value is a UNIX timestamp in milliseconds. |
1550115455000 |
| Status |
string |
The instance status. Valid values:
|
running |
| Description |
string |
The description of the instance. |
instance_for_test |
| DefaultEndpoint |
object |
The default endpoint of the instance. |
|
| Endpoint |
string |
The endpoint address of the instance. |
example-xxx.aliyunidaas.com |
| Status |
string |
The status of the instance endpoint. 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 |
| CrossRegionReplication |
string |
enabled |
|
| CrossRegionReplicationRole |
string |
primary |
|
| InstanceFailoverStatus |
string |
inactive |
|
| ReplicationConfiguration |
object |
||
| ReplicationCreateTime |
integer |
1778499337000 |
|
| PrimaryInstanceId |
string |
idaas_xxxxxx |
|
| PrimaryInstanceRegionId |
string |
cn-hangzhou |
|
| BackupInstanceId |
string |
idaas_xxxxxx |
|
| BackupInstanceRegionId |
string |
cn-beijing |
Examples
Success response
JSON format
{
"RequestId": "0441BD79-92F3-53AA-8657-F8CE4A2B912A",
"TotalCount": 100,
"Instances": [
{
"InstanceId": "idaas_eypq6ljgyeuwmlw672sulxxxxx",
"CreateTime": 1550115455000,
"Status": "running",
"Description": "instance_for_test",
"DefaultEndpoint": {
"Endpoint": "example-xxx.aliyunidaas.com\n",
"Status": "resolved"
},
"ServiceManaged": true,
"ManagedServiceCode": "sase",
"CrossRegionReplication": "enabled",
"CrossRegionReplicationRole": "primary",
"InstanceFailoverStatus": "inactive",
"ReplicationConfiguration": {
"ReplicationCreateTime": 1778499337000,
"PrimaryInstanceId": "idaas_xxxxxx",
"PrimaryInstanceRegionId": "cn-hangzhou",
"BackupInstanceId": "idaas_xxxxxx",
"BackupInstanceRegionId": "cn-beijing"
}
}
]
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.