All Products
Search
Document Center

CloudMonitor:DescribeMonitorGroupNotifyPolicyList

Last Updated:Jul 26, 2024

Queries the policies that are used to pause alert notifications for an application group.

Debugging

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

Authorization information

There is currently no authorization information disclosed in the API.

Request parameters

ParameterTypeRequiredDescriptionExample
PolicyTypestringYes

The policy type.

Valid value: PauseNotify.

PauseNotify
PageNumberintegerNo

The page number. Default value: 1.

1
PageSizeintegerNo

The number of entries per page. Default value: 10.

100
GroupIdstringNo

The ID of the application group.

6780****

Response parameters

ParameterTypeDescriptionExample
object

None

Codestring

The status code.

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

The error message.

The Request is not authorization.
RequestIdstring

The request ID.

6072F026-C441-41A6-B114-35A1E8F8FDD3
Totalinteger

The total number of entries returned.

11
Successstring

Indicates whether the request was successful. Valid values:

  • true
  • false
true
NotifyPolicyListarray<object>

The returned policies.

object

None

EndTimelong

The end of the time range to query.

Unit: milliseconds.

1551761781273
Typestring

The policy type.

PauseNotify
StartTimelong

The beginning of the time range to query.

Unit: milliseconds.

1551761781273
GroupIdstring

The ID of the application group.

6780****
Idstring

The policy ID.

123****

Examples

Sample success responses

JSONformat

{
  "Code": "200",
  "Message": "The Request is not authorization.",
  "RequestId": "6072F026-C441-41A6-B114-35A1E8F8FDD3",
  "Total": 11,
  "Success": "true",
  "NotifyPolicyList": {
    "NotifyPolicy": [
      {
        "EndTime": 1551761781273,
        "Type": "PauseNotify",
        "StartTime": 1551761781273,
        "GroupId": "6780****",
        "Id": "123****"
      }
    ]
  }
}

Error codes

HTTP status codeError codeError message
204%s%s
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
No change history