Mengkueri informasi tentang satu atau beberapa peran cloud dengan menggunakan paginasi.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
eiam:ListCloudAccountRoles |
list |
*PeranAkunCloud.
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| CloudAccountId |
string |
Yes |
ID akun cloud. |
ca_01kmegjc11qa1txxxxx |
| InstanceId |
string |
Yes |
ID instans. |
idaas_ue2jvisn35ea5lmthk267xxxxx |
| NextToken |
string |
No |
Token yang mengidentifikasi posisi awal halaman berikutnya.
|
NTxxxxxexample |
| MaxResults |
integer |
No |
Jumlah maksimum rekaman per halaman.
|
20 |
| Filter |
array<object> |
No |
Kondisi filter. |
|
|
object |
No |
Kondisi filter. |
||
| Name |
string |
No |
Nama bidang filter. Nilai valid:
Valid values:
|
CloudAccountRoleId |
| Value |
array |
No |
Nilai bidang filter. |
|
|
string |
No |
Nilai bidang filter. |
carole_01kmek49aqxxxx |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
ID permintaan. |
0441BD79-92F3-53AA-8657-F8CE4A2B912A |
| TotalCount |
integer |
Jumlah total rekaman. |
100 |
| NextToken |
string |
Token paginasi yang dikembalikan dalam panggilan ini. |
NTxxxexample |
| MaxResults |
integer |
Jumlah baris per halaman dalam kueri paging. |
20 |
| CloudAccountRoles |
array<object> |
Daftar peran cloud. |
|
|
array<object> |
Detail peran cloud. |
||
| InstanceId |
string |
ID instans. |
idaas_ue2jvisn35ea5lmthk267xxxxx |
| CloudAccountId |
string |
ID akun cloud. |
ca_01kmegjc11qa1txxxxx |
| CloudAccountRoleId |
string |
ID peran cloud. |
carole_01kmek49aqxxxx |
| CloudAccountRoleType |
string |
Tipe peran cloud. Format spesifik bergantung pada tipe akun cloud. Nilai valid:
Valid values:
|
role |
| CloudAccountRoleUsageType |
string |
Tipe penggunaan peran cloud. Nilai valid:
Valid values:
|
system |
| CloudAccountRoleName |
string |
Nama peran cloud. |
role-test |
| CloudAccountRoleExternalId |
string |
Pengenal peran cloud. |
acs:ram::xxx:role/role-test |
| CloudAccountRoleHealth |
string |
Status kesehatan peran cloud. Nilai valid:
Valid values:
|
healthy |
| Status |
string |
Status peran cloud. Nilai valid:
Valid values:
|
enabled |
| Description |
string |
Deskripsi peran cloud. |
cloud_account_role_description |
| CreateTime |
integer |
Waktu pembuatan, dalam format stempel waktu UNIX. Unit: milidetik. |
1719320115000 |
| UpdateTime |
integer |
Waktu pembaruan terakhir, dalam format stempel waktu UNIX. Unit: milidetik. |
1719320117000 |
| CloudAccountRoleHealthCheckResult |
object |
Hasil pemeriksaan kesehatan peran cloud. |
|
| Result |
string |
The result of the health check. Valid values:
Valid values:
|
success |
| LastCheckTime |
integer |
The time of the last health check. This is a UNIX timestamp. Unit: milliseconds. |
1649830226000 |
| ErrorReason |
object |
The reason for the error. This parameter is returned when the health check status is unhealthy. |
|
| ErrorCode |
string |
The error code. |
AuthenticationFail.NoPermission |
| ErrorMessage |
string |
The error message. |
There is no permission. |
Contoh
Respons sukses
JSONformat
{
"RequestId": "0441BD79-92F3-53AA-8657-F8CE4A2B912A",
"TotalCount": 100,
"NextToken": "NTxxxexample",
"MaxResults": 20,
"CloudAccountRoles": [
{
"InstanceId": "idaas_ue2jvisn35ea5lmthk267xxxxx",
"CloudAccountId": "ca_01kmegjc11qa1txxxxx",
"CloudAccountRoleId": "carole_01kmek49aqxxxx",
"CloudAccountRoleType": "role",
"CloudAccountRoleUsageType": "system",
"CloudAccountRoleName": "role-test",
"CloudAccountRoleExternalId": "acs:ram::xxx:role/role-test",
"CloudAccountRoleHealth": "healthy",
"Status": "enabled",
"Description": "cloud_account_role_description",
"CreateTime": 1719320115000,
"UpdateTime": 1719320117000,
"CloudAccountRoleHealthCheckResult": {
"Result": "success",
"LastCheckTime": 1649830226000,
"ErrorReason": {
"ErrorCode": "AuthenticationFail.NoPermission",
"ErrorMessage": "There is no permission."
}
}
}
]
}
Kode kesalahan
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.