リソースディレクトリ内の管理アカウントまたはメンバーアカウントのリソース構成を照会します。
今すぐお試しください
テスト
RAM 認証
|
アクション |
アクセスレベル |
リソースタイプ |
条件キー |
依存アクション |
|
resourcecenter:GetMultiAccountResourceConfiguration |
get |
*All Resource
|
なし | なし |
リクエストパラメーター
|
パラメーター |
型 |
必須 / 任意 |
説明 |
例 |
| AccountId |
string |
必須 |
Resource Directory の管理アカウントまたはメンバーアカウントの ID。 |
1619302**** |
| ResourceRegionId |
string |
必須 |
リソースが配置されているリージョン。 |
cn-shanghai |
| ResourceType |
string |
必須 |
リソースタイプ。 |
ACS::VPC::RouteTable |
| ResourceId |
string |
必須 |
リソース ID。 |
m-eb3hji**** |
レスポンスフィールド
|
フィールド |
型 |
説明 |
例 |
|
object |
レスポンスパラメーター。 |
||
| AccountId |
string |
リソースディレクトリの管理アカウントまたはメンバーの ID。 |
1619302**** |
| CreateTime |
string |
リソースが作成された時刻。 |
2023-02-14T03:12:11Z |
| ExpireTime |
string |
リソースの有効期限が切れる時刻。 |
2023-09-18T07:04:21Z |
| IpAddressAttributes |
array<object> |
IP アドレスプロパティのリスト。 |
|
|
object |
単一の IP アドレスのプロパティ。 |
||
| Version |
string |
IP アドレスのバージョン。 |
Ipv4 |
| NetworkType |
string |
ネットワークタイプ。有効な値は次のとおりです:
|
Public |
| IpAddress |
string |
IP アドレス。 |
172.27.199.42 |
| IpAddresses |
array |
IP アドレスのリスト。 説明
このパラメーターが返されるかどうかは、リソースのクラウドサービスによって異なります。 |
|
|
string |
IP アドレス。 説明
このパラメーターが返されるかどうかは、リソースのクラウドサービスによって異なります。 |
['192.168.1.2'] |
|
| RegionId |
string |
リージョン ID。 |
cn-shanghai |
| RequestId |
string |
リクエスト ID。 |
B2DCC08B-C12A-5705-879C-5A1450016156 |
| ResourceGroupId |
string |
リソースグループ ID。 |
rg-acfmzy6d**** |
| ResourceId |
string |
リソース ID。 |
m-eb3hji**** |
| ResourceName |
string |
リソース名。 |
test_resource |
| ResourceType |
string |
リソースタイプ。 |
ACS::VPC::RouteTable |
| Tags |
array<object> |
リソースに関連付けられたタグ。 |
|
|
object |
キーと値で構成される単一のタグ。 |
||
| Value |
string |
タグ値。 |
tag-value |
| Key |
string |
タグキー。 |
tag-key |
| ZoneId |
string |
ゾーン ID。 |
cn-shanghai-a |
| Configuration |
object |
リソースの詳細な構成。 |
|
|
any |
リソースの詳細構成を表すキーと値のペア。 |
{\"uid\":\"140874204639****\",\"groupId\":\"3zLxraq7qE9dRakjoQYI00****\"} |
例
成功レスポンス
JSONJSON
{
"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****\\\"}"
}
}
エラーコード
|
HTTP ステータスコード |
エラーコード |
エラーメッセージ |
説明 |
|---|---|---|---|
| 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. |
完全なリストについては、「エラーコード」をご参照ください。
変更履歴
完全なリストについては、「変更履歴」をご参照ください。