1 つ以上の EIAM インスタンスの情報を照会します。
今すぐお試しください
テスト
RAM 認証
|
アクション |
アクセスレベル |
リソースタイプ |
条件キー |
依存アクション |
|
eiam:ListInstances |
get |
*インスタンス。
|
なし | なし |
リクエストパラメーター
|
パラメーター |
型 |
必須 / 任意 |
説明 |
例 |
| PageNumber |
integer |
任意 |
ページ番号。 |
1 |
| PageSize |
integer |
任意 |
ページサイズ。 |
20 |
| InstanceIds |
array |
任意 |
インスタンス ID のリスト。 |
|
|
string |
任意 |
インスタンスの ID。 |
idaas_ue2jvisn35ea5lmthk267xxxxx |
|
| Status |
string |
任意 |
インスタンスステータス。有効な値:
|
実行中 |
| Edition |
string |
任意 |
ライセンスエディション。有効な値:
|
free |
| CrossRegionReplication |
string |
任意 |
クロスリージョンレプリケーションのステータス。 |
disabled |
| ServiceManaged |
boolean |
任意 |
インスタンスがクラウドサービスによって管理されているかどうかを示します。 |
true |
|
任意 |
管理元のクラウドサービスのサービスコード。 |
kms |
レスポンスフィールド
|
フィールド |
型 |
説明 |
例 |
|
object |
|||
| RequestId |
string |
リクエスト ID。 |
0441BD79-92F3-53AA-8657-F8CE4A2B912A |
| TotalCount |
integer |
返されたエントリの総数。 |
100 |
| Instances |
array<object> |
インスタンス情報のリスト。 |
|
|
array<object> |
インスタンス情報。 |
||
| InstanceId |
string |
インスタンスの ID。 |
idaas_eypq6ljgyeuwmlw672sulxxxxx |
| CreateTime |
integer |
インスタンスが作成された時間。値はミリ秒単位の UNIX タイムスタンプです。 |
1550115455000 |
| Status |
string |
インスタンスステータス。有効な値:
|
実行中 |
| Description |
string |
インスタンスの説明。 |
テスト用インスタンス |
| DefaultEndpoint |
object |
インスタンスのデフォルトエンドポイント。 |
|
| Endpoint |
string |
インスタンスのエンドポイントアドレス。 |
example-xxx.aliyunidaas.com |
| Status |
string |
エンドポイントのステータス。有効な値:
|
resolved |
| ServiceManaged |
boolean |
インスタンスがクラウドサービスによって管理されているかどうかを示します。 |
true |
| ManagedServiceCode |
string |
インスタンスを管理するクラウドサービスのサービスコード。 |
sase |
| CrossRegionReplication |
string |
クロスリージョンレプリケーションが有効かどうかを示します。有効な値: enabled または disabled。 |
enabled |
| CrossRegionReplicationRole |
string |
クロスリージョンレプリケーションのロール。有効な値: primary (プライマリインスタンス) または backup (バックアップインスタンス)。 |
primary |
| InstanceFailoverStatus |
string |
インスタンスのフェールオーバー有効化ステータス。有効な値: active (アクティブな) または inactive (非アクティブ)。 |
アクティブな |
| ReplicationConfiguration |
object |
レプリケーション構成。このパラメーターは、CrossRegionReplication が enabled に設定されている場合にのみ返されます。 |
|
| ReplicationCreateTime |
integer |
ディザスタリカバリデータレプリケーションが作成された時間。値はミリ秒単位の UNIX タイムスタンプです。 |
1778499337000 |
| PrimaryInstanceId |
string |
プライマリインスタンスのインスタンス ID。 |
idaas_xxxxxx |
| PrimaryInstanceRegionId |
string |
プライマリインスタンスのリージョン ID。 |
cn-hangzhou |
| BackupInstanceId |
string |
バックアップインスタンスのインスタンス ID。 |
idaas_xxxxxx |
| BackupInstanceRegionId |
string |
バックアップインスタンスのリージョン ID。 |
cn-beijing |
例
成功レスポンス
JSONJSON
{
"RequestId": "0441BD79-92F3-53AA-8657-F8CE4A2B912A",
"TotalCount": 100,
"Instances": [
{
"InstanceId": "idaas_eypq6ljgyeuwmlw672sulxxxxx",
"CreateTime": 1550115455000,
"Status": "実行中",
"Description": "テスト用インスタンス",
"DefaultEndpoint": {
"Endpoint": "example-xxx.aliyunidaas.com",
"Status": "resolved"
},
"ServiceManaged": true,
"ManagedServiceCode": "sase",
"CrossRegionReplication": "enabled",
"CrossRegionReplicationRole": "primary",
"InstanceFailoverStatus": "アクティブな",
"ReplicationConfiguration": {
"ReplicationCreateTime": 1778499337000,
"PrimaryInstanceId": "idaas_xxxxxx",
"PrimaryInstanceRegionId": "cn-hangzhou",
"BackupInstanceId": "idaas_xxxxxx",
"BackupInstanceRegionId": "cn-beijing"
}
}
]
}
エラーコード
完全なリストについては、「エラーコード」をご参照ください。
変更履歴
完全なリストについては、「変更履歴」をご参照ください。