Mengambil hubungan manajemen lintas akun.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
hbr:DescribeCrossAccounts |
list |
*全部资源
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| PageNumber |
integer |
No |
Nomor halaman untuk paginasi. Halaman dimulai dari 1. Nilai default: 1. |
1 |
| PageSize |
integer |
No |
Jumlah entri per halaman. Nilai minimum: 1. Nilai maksimum: 99. Nilai default: 10. |
10 |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
ID permintaan. |
473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E |
| Success |
boolean |
Menunjukkan apakah permintaan berhasil.
|
true |
| Code |
string |
Kode pengembalian. Nilai 200 menunjukkan keberhasilan. |
200 |
| Message |
string |
Deskripsi respons. Permintaan yang berhasil mengembalikan "successful". Permintaan yang gagal mengembalikan pesan kesalahan. |
successful |
| PageNumber |
integer |
Nomor halaman untuk paginasi. Halaman dimulai dari 1. Nilai default: 1. |
1 |
| PageSize |
integer |
Jumlah entri per halaman. Nilai minimum: 1. Nilai maksimum: 99. Nilai default: 10. |
10 |
| TotalCount |
integer |
Jumlah total catatan. |
22 |
| CrossAccounts |
object |
||
| CrossAccount |
array<object> |
Daftar informasi lintas akun. |
|
|
object |
|||
| OwnerId |
integer |
The ID of the current account. |
184164xxxxx49795 |
| CrossAccountUserId |
integer |
The ID of the source account for the cross-account backup that is managed by the current account. |
15897534xxxxx625 |
| CrossAccountRoleName |
string |
The name of the RAM role that is created in the source account for the cross-account backup. |
BackupRole |
| Alias |
string |
The alias. The alias can be up to 32 characters in length. |
content |
| Id |
integer |
The ID. |
1 |
| CreatedTime |
integer |
The time when the cross-account entry was created. This is a UNIX timestamp. Unit: seconds. |
1654570439 |
| UpdatedTime |
integer |
The time when the cross-account entry was updated. This is a UNIX timestamp. Unit: seconds. |
1640157098 |
| CrossAccountType |
string |
CROSS_ACCOUNT |
Contoh
Respons sukses
JSONformat
{
"RequestId": "473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E",
"Success": true,
"Code": "200",
"Message": "successful",
"PageNumber": 1,
"PageSize": 10,
"TotalCount": 22,
"CrossAccounts": {
"CrossAccount": [
{
"OwnerId": 0,
"CrossAccountUserId": 0,
"CrossAccountRoleName": "BackupRole",
"Alias": "content",
"Id": 1,
"CreatedTime": 1654570439,
"UpdatedTime": 1640157098,
"CrossAccountType": "CROSS_ACCOUNT"
}
]
}
}
Kode kesalahan
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.