查询资源目录管理账号或成员的资源配置。
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。

授权信息
操作 |
访问级别 |
资源类型 |
条件关键字 |
关联操作 |
resourcecenter:GetMultiAccountResourceConfiguration |
get |
*全部资源
|
无 | 无 |
请求参数
名称 |
类型 |
必填 |
描述 |
示例值 |
AccountId |
string |
是 |
资源目录管理账号 ID 或成员 ID。 |
1619302**** |
ResourceRegionId |
string |
是 |
资源地域 ID。 |
cn-shanghai |
ResourceType |
string |
是 |
资源类型。 |
ACS::VPC::RouteTable |
ResourceId |
string |
是 |
资源 ID。 |
m-eb3hji**** |
返回参数
名称 |
类型 |
描述 |
示例值 |
object |
返回参数。 |
||
AccountId |
string |
资源目录管理账号 ID 或成员 ID。 |
1619302**** |
CreateTime |
string |
资源创建时间。 |
2023-02-14T03:12:11Z |
ExpireTime |
string |
资源过期时间。 |
2023-09-18T07:04:21Z |
IpAddressAttributes |
array |
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 |
资源标签。 |
||
Value |
string |
标签值。 |
tag-value |
Key |
string |
标签键。 |
tag-key |
ZoneId |
string |
可用区 ID。 |
cn-shanghai-a |
Configuration |
object |
资源配置详情。 |
|
any |
资源配置详情。 |
{\"uid\":\"140874204639****\",\"groupId\":\"3zLxraq7qE9dRakjoQYI00****\"} |
示例
正常返回示例
JSON
格式
{
"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 status code |
错误码 |
错误信息 |
描述 |
---|---|---|---|
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. |
访问错误中心查看更多错误码。
变更历史
更多信息,参考变更详情。