透過 UUID 查詢指定資產的雲端安全中心用戶端安裝碼。
調試
您可以在OpenAPI Explorer中直接運行該介面,免去您計算簽名的困擾。運行成功後,OpenAPI Explorer可以自動產生SDK程式碼範例。
調試
授權資訊
|
操作 |
存取層級 |
資源類型 |
條件關鍵字 |
關聯操作 |
|
yundun-sas:GetInstallCodeForUuid |
get |
*All Resource
|
無 | 無 |
請求參數
|
名稱 |
類型 |
必填 |
描述 |
樣本值 |
| Uuid |
string |
是 |
需查詢用戶端安裝碼的伺服器 UUID。 說明
呼叫 DescribeCloudCenterInstances 介面取得該參數。 |
eae0b46e-2155-422e-9565-ecc52c69**** |
返回參數
|
名稱 |
類型 |
描述 |
樣本值 |
|
object |
|||
| RequestId |
string |
本次呼叫請求的 ID,是由阿里雲為該請求生成的唯一識別碼,可用於排查和定位問題。 |
7532B7EE-7CE7-5F4D-BF04-B12447DDCAE1 |
| Code |
integer |
介面狀態碼。 |
200 |
| Message |
string |
請求返回資訊。 |
successful |
| HttpStatusCode |
integer |
HTTP 狀態碼。 |
200 |
| InstallCode |
object |
用戶端安裝碼。 |
|
| CaptchaCode |
string |
手動安裝雲端安全中心用戶端的安裝驗證碼。 |
AK1W** |
| ExpiredDate |
integer |
安裝驗證碼有效日期。格式為 13 位時間戳記。 說明
安裝驗證碼只有在有效期內才能使用。過期的安裝驗證碼無法使用。 |
1723860871689 |
| GroupId |
integer |
伺服器分組 ID。 |
342710 |
| GroupName |
string |
伺服器分組名稱。 |
TestGroup |
| Os |
string |
伺服器的作業系統。取值:
|
linux |
| VendorName |
string |
伺服器供應商的名稱。 |
ALIYUN |
| Success |
boolean |
返回的查詢結果的狀態。取值:
|
true |
樣本
正常返回樣本
JSON格式
{
"RequestId": "7532B7EE-7CE7-5F4D-BF04-B12447DDCAE1",
"Code": 200,
"Message": "successful",
"HttpStatusCode": 200,
"InstallCode": {
"CaptchaCode": "AK1W**",
"ExpiredDate": 1723860871689,
"GroupId": 342710,
"GroupName": "TestGroup",
"Os": "linux",
"VendorName": "ALIYUN"
},
"Success": true
}
錯誤碼
|
HTTP status code |
錯誤碼 |
錯誤資訊 |
描述 |
|---|---|---|---|
| 400 | IllegalParameter | Illegal parameter, please check the param. | |
| 500 | ServerError | ServerError | |
| 403 | NoPermission | caller has no permission |
訪問錯誤中心查看更多錯誤碼。
變更歷史
更多資訊,參考變更詳情。