Queries the resource quotas of CloudMonitor.
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
ShowUsed | boolean | No | Specifies whether to return information about used quotas. Valid values:
| true |
For more information about common request parameters, see Common parameters.
Response parameters
Examples
Sample success responses
JSON
format
{
"Code": "200",
"Message": "The specified resource is not found.",
"RequestId": "31BC7201-00F2-47B2-B7B9-6A173076ACE",
"ResourceQuota": {
"SuitInfo": "pro",
"InstanceId": "cms_edition-cn-n6w20rn****",
"ExpireTime": "2021-02-28",
"SiteMonitorEcsProbe": {
"QuotaLimit": 5,
"QuotaPackage": 5,
"QuotaUsed": 20
},
"SiteMonitorOperatorProbe": {
"QuotaLimit": 5,
"QuotaPackage": 5,
"QuotaUsed": 0
},
"SiteMonitorTask": {
"QuotaLimit": 25,
"QuotaPackage": 20,
"QuotaUsed": 15
},
"SiteMonitorBrowser": {
"QuotaLimit": 50,
"QuotaPackage": 50,
"QuotaUsed": 15
},
"SiteMonitorMobile": {
"QuotaLimit": 50,
"QuotaPackage": 50,
"QuotaUsed": 15
},
"CustomMonitor": {
"QuotaLimit": 1200,
"QuotaPackage": 1000,
"QuotaUsed": 8
},
"EventMonitor": {
"QuotaLimit": 55,
"QuotaPackage": 50,
"QuotaUsed": 2
},
"LogMonitor": {
"QuotaLimit": 150,
"QuotaPackage": 150,
"QuotaUsed": 80
},
"Api": {
"QuotaLimit": 500,
"QuotaPackage": 500,
"QuotaUsed": 9987
},
"SMS": {
"QuotaLimit": 550,
"QuotaPackage": 500,
"QuotaUsed": 38
},
"Phone": {
"QuotaLimit": 550,
"QuotaPackage": 500,
"QuotaUsed": 100
},
"EnterpriseQuota": {
"SuitInfo": "ENTERPRISE",
"InstanceId": "cms_enterprise_public_cn-7mz27pd****"
}
}
}
Error codes
HTTP status code | Error code | Error message | Description |
---|---|---|---|
400 | ParameterInvalid | Illegal parameters. | - |
403 | AccessForbidden | User not authorized to operate on the specified resource. | - |
404 | ResourceNotFound | The specified resource is not found. | The specified resource is not found. |
500 | InternalError | The request processing has failed due to some unknown error. | - |
For a list of error codes, visit the Service error codes.
Change history
Change time | Summary of changes | Operation | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
2023-10-07 | API Description Update. The Error code has changed. The response structure of the API has changed | see changesets | ||||||||||||||
|