Queries 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. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request parameters

Parameter Type Required Example Description
Action String Yes DescribeMonitorGroupNotifyPolicyList

The operation that you want to perform. Set the value to DescribeMonitorGroupNotifyPolicyList.

PolicyType String Yes PauseNotify

The type of the policy.

Valid value: PauseNotify.

PageNumber Integer No 1

The number of the page to return. Default value: 1.

PageSize Integer No 100

The number of entries to return on each page. Default value: 10.

GroupId String No 6780****

The ID of the application group.

Response parameters

Parameter Type Example Description
Code String 200

The HTTP status code.

Note The status code 200 indicates that the call was successful.
Message String The Request is not authorization.

The error message.

RequestId String 6072F026-C441-41A6-B114-35A1E8F8FDD3

The ID of the request.

Total Integer 11

The total number of returned entries.

Success String true

Indicates whether the call was successful. Valid values:

  • true: The call was successful.
  • false: The call failed.
NotifyPolicyList Array of NotifyPolicy

The policies that were returned.

NotifyPolicy
EndTime Long 1551761781273

The timestamp that specifies the end of the time range to query.

Unit: milliseconds.

Type String PauseNotify

The type of the policy.

StartTime Long 1551761781273

The timestamp that specifies the beginning of the time range to query.

Unit: milliseconds.

GroupId String 6780****

The ID of the application group.

Id String 123****

The ID of the policy.

Examples

Sample requests

http(s)://[Endpoint]/?Action=DescribeMonitorGroupNotifyPolicyList
&PolicyType=PauseNotify
&<Common request parameters>

Sample success responses

XML format

HTTP/1.1 200 OK
Content-Type:application/xml

<DescribeMonitorGroupNotifyPolicyListResponse>
  <NotifyPolicyList>
        <NotifyPolicy>
            <Type>PauseNotify</Type>
            <EndTime>1551763581273</EndTime>
            <Id>123****</Id>
            <StartTime>1551761781273</StartTime>
            <GroupId>6780****</GroupId>
        </NotifyPolicy>
    </NotifyPolicyList>
    <Success>true</Success>
    <Code>200</Code>
    <Total>1</Total>
</DescribeMonitorGroupNotifyPolicyListResponse>

JSON format

HTTP/1.1 200 OK
Content-Type:application/json

{
  "NotifyPolicyList" : {
    "NotifyPolicy" : [ {
      "Type" : "PauseNotify",
      "EndTime" : 1551763581273,
      "Id" : "123****",
      "StartTime" : 1551761781273,
      "GroupId" : "6780****"
    } ]
  },
  "Success" : true,
  "Code" : "200",
  "Total" : 1
}

Error codes

For a list of error codes, visit the API Error Center.