调用DescribeSiteMonitorQuota接口查询站点监控的配额以及版本。
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
调试
授权信息
|
操作 |
访问级别 |
资源类型 |
条件关键字 |
关联操作 |
|
cms:DescribeSiteMonitorQuota |
get |
*全部资源
|
无 | 无 |
请求参数
|
名称 |
类型 |
必填 |
描述 |
示例值 |
当前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. | 没有权限,请使用RAM进行授权 |
| 503 | %s | %s | |
| 406 | ExceedingQuota | Exceeding quota limits. | 任务数量超出限额 |
| 409 | %s | %s |
访问错误中心查看更多错误码。
变更历史
更多信息,参考变更详情。
该文章对您有帮助吗?