DescribeCloudVendorAccountAKList
Queries the list of multi-cloud asset configurations.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-sas:DescribeCloudVendorAccountAKList |
list |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| PageSize |
integer |
No |
The maximum number of entries to return on each page during paging. Default value: 20. |
20 |
| CurrentPage |
integer |
No |
The page number of the current page during paging. Default value: 1. |
1 |
| SubAccountName |
string |
No |
The username of the sub-account of the cloud service provider to which the AK belongs. |
AlibabaCloud_*** |
| Status |
integer |
No |
The status of the AK. Valid values:
|
1 |
| AuthIds |
string |
No |
The unique ID of the AK. |
2624 |
| Lang |
string |
No |
The language of the request and response. Default value: zh. Valid values:
|
zh |
| VendorAuthAlias |
string |
No |
The name of the AK account. |
test |
| Vendor |
string |
No |
The cloud service provider. Valid values:
|
VOLCENGINE |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The unique identifier generated by Alibaba Cloud for the request. |
1383B0DB-D5D6-4B0C-9E6B-75939C8**** |
| PageInfo |
object |
The pagination information. |
|
| CurrentPage |
integer |
The page number of the current page during paging. |
1 |
| PageSize |
integer |
The maximum number of entries returned per page during paging. |
20 |
| TotalCount |
integer |
The total number of entries. |
55 |
| Count |
integer |
The number of entries returned on the current page. |
20 |
| CloudVendorAccountAKs |
array<object> |
The list of AK information. |
|
|
array<object> |
|||
| Status |
integer |
The status of the AK. Valid values:
|
0 |
| AuthId |
integer |
The unique ID of the AK. |
2345 |
| AkType |
string |
The type of the AK. Valid values:
|
primary |
| SecretId |
string |
The ID of the AK parameter. |
S3D6c4O*** |
| ServiceStatus |
integer |
The usage status of the AK. Valid values:
|
0 |
| Vendor |
string |
The cloud service provider. Valid values:
|
Tencent |
| Message |
string |
The exception message of the AK. |
The IAM user is forbidden in the currently selected region |
| AuthModules |
array<object> |
The list of modules associated with the AK. |
|
|
object |
The information about the module associated with the AK. |
||
| ModuleDisp |
string |
The display name of the module. |
Host Assets |
| ModuleStatement |
string |
The description of the permissions associated with the module. |
Read permission of the cloud server or virtual machine |
| Module |
string |
The code of the module. Valid values:
|
HOST |
| ModuleAssetType |
string |
The description of the cloud assets associated with the module. |
Cloud server or virtual machine |
| ModuleServiceStatus |
integer |
The status of the module. Valid values:
|
0 |
| Message |
string |
The exception message of the module. |
ak_domain_error |
| TrailStatus |
string |
The accessed state of log audit. Valid values:
|
enable |
| TrailMessage |
string |
The error message for log audit access. |
timeout |
| VendorAuthAlias |
string |
The name of the AK account. |
test |
| CtdrCloudUserId |
string |
The account ID. Note
The account ID of the connected cloud service provider. |
azure_demo_1 |
| ExtendInfo |
string |
The extended information. Note
Used to record the extended information of different vendors. Google Cloud is connected through a service account. ExtendInfo stores the service key file in JSON format, excluding the private_key_id and zprivate_key fields. The file contains the following fields: type, project_id, client_email, client_id, auth_uri, token_uri, auth_provider_x509_cert_url, client_x509_cert_url, and universe_domain. When the vendor is OracleCloud, this parameter contains the following keys: fingerprint, which indicates the fingerprint; tenancy, which indicates the tenant; and domain, which indicates the region to which the connected account belongs. |
{"domain":"global","fingerprint":"c0:f4:******","tenancy":"ocid1.tenancy.*****"} |
| VendorUid |
string |
The account ID of the multi-cloud instance. |
123 |
| VendorUserName |
string |
The account name of the multi-cloud instance. |
test |
Examples
Success response
JSON format
{
"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"
}
]
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 500 | ServerError | ServerError | |
| 403 | NoPermission | caller has no permission | You are not authorized to do this operation. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.