Mengambil konfigurasi resource untuk akun manajemen atau akun anggota dalam Resource Directory.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
resourcecenter:GetMultiAccountResourceConfiguration |
get |
*全部资源
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| AccountId |
string |
Yes |
ID akun manajemen atau akun anggota dalam Resource Directory. |
1619302**** |
| ResourceRegionId |
string |
Yes |
Wilayah tempat resource berada. |
cn-shanghai |
| ResourceType |
string |
Yes |
Jenis resource. |
ACS::VPC::RouteTable |
| ResourceId |
string |
Yes |
ID resource. |
m-eb3hji**** |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
Parameter respons. |
||
| AccountId |
string |
ID akun manajemen atau anggota dari direktori resource. |
1619302**** |
| CreateTime |
string |
Waktu pembuatan resource. |
2023-02-14T03:12:11Z |
| ExpireTime |
string |
Waktu kedaluwarsa resource. |
2023-09-18T07:04:21Z |
| IpAddressAttributes |
array<object> |
Daftar properti alamat IP. |
|
|
object |
Properti satu alamat IP. |
||
| Version |
string |
Versi alamat IP. |
Ipv4 |
| NetworkType |
string |
Jenis jaringan. Nilai yang valid:
|
Public |
| IpAddress |
string |
Alamat IP. |
172.27.199.42 |
| IpAddresses |
array |
Alamat-alamat IP. Catatan
Apakah parameter ini dikembalikan tergantung pada layanan cloud resource tersebut. |
|
|
string |
Alamat IP. Catatan
Apakah parameter ini dikembalikan tergantung pada layanan cloud resource tersebut. |
['192.168.1.2'] |
|
| RegionId |
string |
ID wilayah. |
cn-shanghai |
| RequestId |
string |
ID permintaan. |
B2DCC08B-C12A-5705-879C-5A1450016156 |
| ResourceGroupId |
string |
ID kelompok sumber daya. |
rg-acfmzy6d**** |
| ResourceId |
string |
ID resource. |
m-eb3hji**** |
| ResourceName |
string |
Nama resource. |
test_resource |
| ResourceType |
string |
Jenis resource. |
ACS::VPC::RouteTable |
| Tags |
array<object> |
Tag yang dilampirkan pada resource. |
|
|
object |
Satu tag, terdiri atas kunci dan nilai. |
||
| Value |
string |
Nilai tag. |
tag-value |
| Key |
string |
Kunci tag. |
tag-key |
| ZoneId |
string |
ID zona. |
cn-shanghai-a |
| Configuration |
object |
Konfigurasi detail resource. |
|
|
any |
Pasangan kunci-nilai yang menyusun konfigurasi detail resource. |
{\"uid\":\"140874204639****\",\"groupId\":\"3zLxraq7qE9dRakjoQYI00****\"} |
Contoh
Respons sukses
JSONformat
{
"AccountId": "1619302****",
"CreateTime": "2023-02-14T03:12:11Z",
"ExpireTime": "2023-09-18T07:04:21Z",
"IpAddressAttributes": [
{
"Version": "Ipv4",
"NetworkType": "Public",
"IpAddress": "172.27.199.42"
}
],
"IpAddresses": [
"['192.168.1.2']"
],
"RegionId": "cn-shanghai",
"RequestId": "B2DCC08B-C12A-5705-879C-5A1450016156",
"ResourceGroupId": "rg-acfmzy6d****",
"ResourceId": "m-eb3hji****",
"ResourceName": "test_resource",
"ResourceType": "ACS::VPC::RouteTable",
"Tags": [
{
"Value": "tag-value",
"Key": "tag-key"
}
],
"ZoneId": "cn-shanghai-a",
"Configuration": {
"key": "{\\\"uid\\\":\\\"140874204639****\\\",\\\"groupId\\\":\\\"3zLxraq7qE9dRakjoQYI00****\\\"}"
}
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | NoPermission | You are not authorized to perform this operation. | |
| 400 | MultiAccountServiceNotEnabled | Multi account ResourceCenter service is not enabled. | |
| 403 | NoPermission.AccountScope | The operator is not permitted for this account scope. | |
| 404 | NotExists.Resource | The specified resource does not exist. | |
| 404 | NotExists.ResourceDirectory | The resource directory for the account is not enabled. | |
| 409 | InvalidParameter.AccountId | The specified parameter AccountId is not valid. | |
| 409 | InvalidParameter.ResourceType | The specified parameter ResourceType is not valid. | |
| 409 | NoPermission.ResourceDirectory.MemberAccount | ResourceDirectory Member Account is not authorized to perform this operation. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.