查询多云资产配置列表。
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
调试
授权信息
|
操作 |
访问级别 |
资源类型 |
条件关键字 |
关联操作 |
|
yundun-sas:DescribeCloudVendorAccountAKList |
list |
*全部资源
|
无 | 无 |
请求参数
|
名称 |
类型 |
必填 |
描述 |
示例值 |
| PageSize |
integer |
否 |
分页查询时,显示的每页数据的最大条数,默认值 20。 |
20 |
| CurrentPage |
integer |
否 |
分页查询时,当前页的页码,默认值 1。 |
1 |
| SubAccountName |
string |
否 |
AK 所属云厂商子账号的用户名。 |
AlibabaCloud_*** |
| Status |
integer |
否 |
AK 状态。取值:
|
1 |
| AuthIds |
string |
否 |
AK 唯一 ID。 |
2624 |
| Lang |
string |
否 |
设置请求和接收消息的语言类型,默认为 zh。取值:
|
zh |
| VendorAuthAlias |
string |
否 |
AK 账号名称。 |
test |
| Vendor |
string |
否 |
云资产厂商。取值:
|
VOLCENGINE |
返回参数
|
名称 |
类型 |
描述 |
示例值 |
|
object |
|||
| RequestId |
string |
阿里云为该请求生成的唯一标识符。 |
1383B0DB-D5D6-4B0C-9E6B-75939C8**** |
| PageInfo |
object |
分页信息。 |
|
| CurrentPage |
integer |
分页查询时,当前页的页码。 |
1 |
| PageSize |
integer |
分页查询时,每页最多显示的数据条数。 |
20 |
| TotalCount |
integer |
数据的总条数。 |
55 |
| Count |
integer |
当前页显示的数据条数。 |
20 |
| CloudVendorAccountAKs |
array<object> |
AK 信息列表。 |
|
|
array<object> |
|||
| Status |
integer |
AK 状态。取值:
|
0 |
| AuthId |
integer |
AK 唯一 ID。 |
2345 |
| AkType |
string |
AK 类型。取值:
|
primary |
| SecretId |
string |
AK 参数 Id。 |
S3D6c4O*** |
| ServiceStatus |
integer |
AK 使用状态。取值:
|
0 |
| Vendor |
string |
云资产厂商。取值:
|
Tencent |
| Message |
string |
AK 异常信息。 |
The IAM user is forbidden in the currently selected region |
| AuthModules |
array<object> |
AK 关联模块列表。 |
|
|
object |
AK 关联模块信息。 |
||
| ModuleDisp |
string |
模块显示名称。 |
Host Assets |
| ModuleStatement |
string |
模块关联权限说明。 |
Read permission of the cloud server or virtual machine |
| Module |
string |
模块 Code。取值:
|
HOST |
| ModuleAssetType |
string |
模块关联云资产说明。 |
Cloud server or virtual machine |
| ModuleServiceStatus |
integer |
模块状态。取值:
|
0 |
| Message |
string |
模块异常信息。 |
ak_domain_error |
| TrailStatus |
string |
日志审计接入状态。取值:
|
enable |
| TrailMessage |
string |
日志审计接入错误信息。 |
timeout |
| VendorAuthAlias |
string |
AK 账号名称。 |
test |
| CtdrCloudUserId |
string |
账号 ID。 说明
接入的云厂商的账号 ID。 |
azure_demo_1 |
| ExtendInfo |
string |
扩展信息。 说明
用于记录不同厂商扩展信息。 谷歌云是通过服务账号接入的,ExtendInfo 存储的是 json 格式服务密钥文件,排除了 private_key_id 和 zprivate_key 字段。文件中包含字段:type,project_id,client_email,client_id,auth_uri,token_uri,auth_provider_x509_cert_url,client_x509_cert_url,universe_domain。当厂商为 OracleCloud 时,该参数包含的 key 有 fingerprint 表示指纹,tenancy 表示租户,domain 表示接入账号所属地域。 |
{"domain":"global","fingerprint":"c0:f4:******","tenancy":"ocid1.tenancy.*****"} |
| VendorUid |
string |
多云实例的账号 ID。 |
123 |
| VendorUserName |
string |
多云实例的账号名称。 |
test |
示例
正常返回示例
JSON格式
{
"RequestId": "1383B0DB-D5D6-4B0C-9E6B-75939C8****",
"PageInfo": {
"CurrentPage": 1,
"PageSize": 20,
"TotalCount": 55,
"Count": 20
},
"CloudVendorAccountAKs": [
{
"Status": 0,
"AuthId": 2345,
"AkType": "primary",
"SecretId": "S3D6c4O***",
"ServiceStatus": 0,
"Vendor": "Tencent",
"Message": "The IAM user is forbidden in the currently selected region\n",
"AuthModules": [
{
"ModuleDisp": "Host Assets",
"ModuleStatement": "Read permission of the cloud server or virtual machine",
"Module": "HOST",
"ModuleAssetType": "Cloud server or virtual machine",
"ModuleServiceStatus": 0,
"Message": "ak_domain_error",
"TrailStatus": "enable",
"TrailMessage": "timeout"
}
],
"VendorAuthAlias": "test",
"CtdrCloudUserId": "azure_demo_1",
"ExtendInfo": "{\"domain\":\"global\",\"fingerprint\":\"c0:f4:******\",\"tenancy\":\"ocid1.tenancy.*****\"}",
"VendorUid": "123",
"VendorUserName": "test"
}
]
}
错误码
|
HTTP status code |
错误码 |
错误信息 |
描述 |
|---|---|---|---|
| 500 | ServerError | ServerError | 服务故障,请稍后重试! |
| 403 | NoPermission | caller has no permission | 当前操作未被授权,请联系主账号在RAM控制台进行授权后再执行操作。 |
访问错误中心查看更多错误码。
变更历史
更多信息,参考变更详情。