ListMultiAccountResourceGroups_资源中心_API文档

插件下载了解更多
VS Code 插件
安装插件之前,确保已安装 VS Code安装插件之前,确保已安装 VS Code
Alibaba Cloud Developer Toolkit is a collection of extensions that can help access Alibaba Cloud services in Visual Studio Code.
JetBrains 插件
安装插件之前,确保已安装 JetBrains IDE安装插件之前,确保已安装 JetBrains IDE
The Alibaba Cloud Developer Toolkit for JetBrains makes it easier to access Alibaba Cloud services.

流控信息

请求速率为20/1(s)。

授权信息

当前云产品暂无权限信息透出。

请求参数

字段名称字段详情
MaxResultsinteger<int32>

分页查询时每页行数。展开详情

示例值:20
NextTokenstring

查询开始的 Token。

示例值:AAAAAS2Nboi3t4xGrdlG5/Ks/Q1xPG9jzviYEuZydevXIkgF
AccountIdstring

资源目录管理账号 ID 或成员 ID。

示例值:1394339739****
ResourceGroupIdsarray<string>

资源组 ID 列表。

子级条数 <= 100

返回参数

字段名称字段详情
NextTokenstring

下一个查询开始的 Token。

示例值:AAAAAU5VsT9R1adMTuz9GzginZ3Y+7Y/5JATS+6q5GK9kT75
RequestIdstring

请求 ID。

示例值:0FF0A66E-781F-51EE-9531-928F197558F2
ResourceGroupsarray<object>

资源组列表。

返回示例

错误码

全局错误码
HTTP 状态码错误码错误信息操作
400
NoPermission
You are not authorized to perform this operation.诊断
400
InvalidParameter.MaxResults
The specified parameter MaxResults is not valid.诊断
400
MultiAccountServiceNotEnabled
Multi account ResourceCenter service is not enabled.诊断
403
NoPermission.AccountScope
The operator is not permitted for this account scope.诊断
404
NotExists.ResourceDirectory
The resource directory for the account is not enabled.诊断
404
NotExists.ResourceGroup
The specified ResourceGroup does not exist.诊断
409
NoPermission.ResourceDirectory.MemberAccount
ResourceDirectory Member Account is not authorized to perform this operation.诊断
409
InvalidParameter.AccountId
The specified parameter AccountId is not valid.诊断
409
InvalidParameter.ResourceGroupId
The specified parameter ResourceGroupId is not valid.诊断

变更历史

变更时间变更内容概要操作
2024-07-11
新增错误码403
2023-05-05
变更错误码400

相关示例