All Products
Search
Document Center

CloudMonitor:DescribeMonitorResourceQuotaAttribute

Last Updated:Jul 26, 2024

Queries the resource quotas of CloudMonitor.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer.

Authorization information

The following table shows the authorization information corresponding to the API. The authorization information can be used in the Action policy element to grant a RAM user or RAM role the permissions to call this API operation. Description:

  • Operation: the value that you can use in the Action element to specify the operation on a resource.
  • Access level: the access level of each operation. The levels are read, write, and list.
  • Resource type: the type of the resource on which you can authorize the RAM user or the RAM role to perform the operation. Take note of the following items:
    • The required resource types are displayed in bold characters.
    • If the permissions cannot be granted at the resource level, All Resources is used in the Resource type column of the operation.
  • Condition Key: the condition key that is defined by the cloud service.
  • Associated operation: other operations that the RAM user or the RAM role must have permissions to perform to complete the operation. To complete the operation, the RAM user or the RAM role must have the permissions to perform the associated operations.
OperationAccess levelResource typeCondition keyAssociated operation
cms:DescribeMonitorResourceQuotaAttributeget
  • All Resources
    *
    none
none

Request parameters

ParameterTypeRequiredDescriptionExample
ShowUsedbooleanNo

Specifies whether to return information about used quotas. Valid values:

  • true (default): yes
  • false: no
true

For more information about common request parameters, see Common parameters.

Response parameters

ParameterTypeDescriptionExample
object
Codestring

The status code.

Note The status code 200 indicates that the request was successful.
200
Messagestring

The error message.

The specified resource is not found.
RequestIdstring

The request ID.

31BC7201-00F2-47B2-B7B9-6A173076ACE
ResourceQuotaobject

The details about the resource quotas of CloudMonitor.

SuitInfostring

The current edition of CloudMonitor. Valid values:

  • free: Free Edition
  • pro: Pro Edition
  • cms_post: pay-as-you-go
pro
InstanceIdstring

The ID of the resource plan.

cms_edition-cn-n6w20rn****
ExpireTimestring

The time when the resource plan expires.

2021-02-28
SiteMonitorEcsProbeobject

The details about the quota of ECS detection points for site monitoring.

QuotaLimitinteger

The total quota of ECS detection points for site monitoring.

Note The value indicates the maximum number of ECS detection points that you can select for a site monitoring task.
5
QuotaPackageinteger

The quota of ECS detection points for site monitoring in your resource plan.

5
QuotaUsedinteger

The used quota of ECS detection points for site monitoring in your resource plan.

Note The value indicates the total number of ECS detection points that are used by existing site monitoring tasks.
20
SiteMonitorOperatorProbeobject

The details about the quota of carrier detection points for site monitoring.

QuotaLimitinteger

The total quota of carrier detection points for site monitoring.

5
QuotaPackageinteger

The quota of carrier detection points for site monitoring in your resource plan.

5
QuotaUsedinteger

The used quota of carrier detection points for site monitoring in your resource plan.

0
SiteMonitorTaskobject

The quota of site monitoring tasks.

QuotaLimitinteger

The total quota of site monitoring tasks.

25
QuotaPackageinteger

The quota of site monitoring tasks in your resource plan.

20
QuotaUsedinteger

The used quota of site monitoring tasks in your resource plan.

15
SiteMonitorBrowserobject

The quota of browser detection tasks.

QuotaLimitinteger

The total quota of browser detection tasks.

50
QuotaPackageinteger

The quota of browser detection tasks in your resource plan.

50
QuotaUsedinteger

The used quota of browser detection tasks in your resource plan.

15
SiteMonitorMobileobject

The quota of mobile detection tasks.

QuotaLimitinteger

The total quota of mobile detection tasks.

50
QuotaPackageinteger

The quota of mobile detection tasks in your resource plan.

50
QuotaUsedinteger

The used quota of mobile detection tasks in your resource plan.

15
CustomMonitorobject

The details about the quota for custom monitoring.

QuotaLimitinteger

The total quota of the time series for custom monitoring.

1200
QuotaPackageinteger

The quota of the time series for custom monitoring in your resource plan.

1000
QuotaUsedinteger

The used quota of the time series for custom monitoring in your resource plan.

8
EventMonitorobject

The details about the quota for event monitoring.

QuotaLimitinteger

The total quota of events that can be reported in event monitoring. The total quota is the value that is multiplied by 10,000.

55
QuotaPackageinteger

The quota of events that can be reported in event monitoring in your resource plan. The total quota is the value that is multiplied by 10,000.

50
QuotaUsedinteger

The used quota of events that can be reported in event monitoring in your resource plan. The total quota is the value that is multiplied by 10,000.

2
LogMonitorobject

The details about the quota for log monitoring.

QuotaLimitinteger

The total quota of processed log data in log monitoring. Unit: MB/min.

150
QuotaPackageinteger

The quota of processed log data in log monitoring in your resource plan. Unit: MB/min.

150
QuotaUsedinteger

The used quota of processed log data in log monitoring in your resource plan. Unit: MB/min.

80
Apiobject

The details about the quota of API calls.

QuotaLimitinteger

The total quota of API calls. Unit: 10,000 calls.

500
QuotaPackageinteger

The quota of API calls in your resource plan. Unit: 10,000 calls.

500
QuotaUsedinteger

The used quota of API calls in your resource plan. Unit: calls.

9987
SMSobject

The details about the quota of alert text messages.

QuotaLimitinteger

The total quota of alert text messages. Unit: messages.

550
QuotaPackageinteger

The quota of alert text messages in your resource plan. Unit: messages.

500
QuotaUsedinteger

The used quota of alert text messages in your resource plan. Unit: messages.

38
Phoneobject

The details about the quota of alert phone calls.

QuotaLimitinteger

The total quota of alert phone calls. Unit: calls.

550
QuotaPackageinteger

The quota of alert phone calls in your resource plan. Unit: calls.

500
QuotaUsedinteger

The used quota of alert phone calls in your resource plan. Unit: calls.

100
EnterpriseQuotaobject

The details about the quota of Hybrid Cloud Monitoring.

SuitInfostring

The description of Hybrid Cloud Monitoring.

ENTERPRISE
InstanceIdstring

The ID of the instance monitored by Hybrid Cloud Monitoring.

cms_enterprise_public_cn-7mz27pd****

Examples

Sample success responses

JSONformat

{
  "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 codeError codeError messageDescription
400ParameterInvalidIllegal parameters.-
403AccessForbiddenUser not authorized to operate on the specified resource.-
404ResourceNotFoundThe specified resource is not found.The specified resource is not found.
500InternalErrorThe request processing has failed due to some unknown error.-

For a list of error codes, visit the Service error codes.

Change history

Change timeSummary of changesOperation
2023-10-07API Description Update. The Error code has changed. The response structure of the API has changedView Change Details