調用DescribeSiteMonitorQuota介面查詢站點監控的配額以及版本。
調試
您可以在OpenAPI Explorer中直接運行該介面,免去您計算簽名的困擾。運行成功後,OpenAPI Explorer可以自動產生SDK程式碼範例。
調試
授權資訊
|
操作 |
存取層級 |
資源類型 |
條件關鍵字 |
關聯操作 |
|
cms:DescribeSiteMonitorQuota |
get |
*All Resource
|
無 | 無 |
請求參數
|
名稱 |
類型 |
必填 |
描述 |
樣本值 |
當前API無需請求參數
返回參數
|
名稱 |
類型 |
描述 |
樣本值 |
|
object |
|||
| Code |
string |
狀態碼。 說明
200 表示成功。 |
200 |
| Message |
string |
返回資訊。 |
Request succeeded. |
| RequestId |
string |
請求 ID。 |
26860260-76C6-404E-AB7A-EB98D36A6885 |
| Success |
string |
操作是否成功。取值:
|
true |
| Data |
object |
配額。 |
|
| SiteMonitorOperatorQuotaQuota |
integer |
非阿里巴巴探測點配額。預設值:0。 |
0 |
| SecondMonitor |
boolean |
是否開啟秒級監控。取值:
|
false |
| SiteMonitorQuotaTaskUsed |
integer |
站點監控探測任務配額使用數。 |
6 |
| SiteMonitorTaskQuota |
integer |
站點監控探測任務配額。 |
10 |
| SiteMonitorVersion |
string |
站點監控版本。取值:
|
V1 |
| SiteMonitorIdcQuota |
integer |
阿里巴巴探測點配額。免費配額 5 個。 |
5 |
樣本
正常返回樣本
JSON格式
{
"Code": "200",
"Message": "Request succeeded.",
"RequestId": "26860260-76C6-404E-AB7A-EB98D36A6885",
"Success": "true",
"Data": {
"SiteMonitorOperatorQuotaQuota": 0,
"SecondMonitor": false,
"SiteMonitorQuotaTaskUsed": 6,
"SiteMonitorTaskQuota": 10,
"SiteMonitorVersion": "V1",
"SiteMonitorIdcQuota": 5
}
}
錯誤碼
|
HTTP status code |
錯誤碼 |
錯誤資訊 |
描述 |
|---|---|---|---|
| 400 | InvalidQueryParameter | %s | |
| 401 | AccessDeniedException | You donot have sufficient access to perform this action. | |
| 500 | InternalError | The request processing has failed due to some unknown error. | |
| 402 | LimitExceeded | The quota for this customer had been reached. | |
| 403 | Forbidden | You are not authorized to operate the specified resource. | |
| 503 | %s | %s | |
| 406 | ExceedingQuota | Exceeding quota limits. | |
| 409 | %s | %s |
訪問錯誤中心查看更多錯誤碼。
變更歷史
更多資訊,參考變更詳情。