Queries the information about monitored services in CloudMonitor.
Operation description
The information obtained by this operation includes the service description, namespace, and tags.
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
Labels | string | No | The tags. Tags are used to filter services. You can filter services only by the tag whose Note
We recommend that you do not use the special tags in the CloudMonitor console.
| [{"name":"product","value":"ECS"}] |
PageNumber | integer | No | The page number. Valid values: 1 to 100. Default value: 1. | 1 |
PageSize | integer | No | The number of entries per page. Valid values: 1 to 10000. Default value: 30. Note
The value of this parameter is not limited. You can view a large number of entries per page.
| 30 |
Response parameters
Examples
Sample success responses
JSON
format
{
"RequestId": "4C2061B2-3B1B-43BF-A4A4-C53426F479C0",
"Success": true,
"Code": "200",
"Message": "The Request is not authorization.",
"PageSize": "5",
"PageNumber": "1",
"Total": "12",
"Resources": {
"Resource": [
{
"Namespace": "acs_cdn",
"Description": "CDN",
"Labels": "[{\"groupFlag\":true}]"
}
]
}
}
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 |
---|
No change history