查詢多雲資產配置列表。
調試
您可以在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 |
|||
| 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 |
擴充資訊。 說明
用於記錄不同廠商擴充資訊。 Google雲是通過服務帳號接入的,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。 |
{\"product\":\"webFirewall\",\"remark\":\"remark\"} |
| VendorUid |
string |
多雲執行個體的帳號 ID。 |
123 |
| VendorUserName |
string |
多雲執行個體的帳號名稱。 |
VendorUserName |
樣本
正常返回樣本
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": "{\\\"product\\\":\\\"webFirewall\\\",\\\"remark\\\":\\\"remark\\\"}",
"VendorUid": "123",
"VendorUserName": "VendorUserName"
}
]
}
錯誤碼
|
HTTP status code |
錯誤碼 |
錯誤資訊 |
描述 |
|---|---|---|---|
| 500 | ServerError | ServerError | 服務故障,請稍後重試! |
| 403 | NoPermission | caller has no permission | 當前操作未被授權,請聯絡主帳號在RAM控制台進行授權後再執行操作。 |
訪問錯誤中心查看更多錯誤碼。
變更歷史
更多資訊,參考變更詳情。