Queries the list of alert notification pause policies for an application group.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
cms:DescribeMonitorGroupNotifyPolicyList |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| PolicyType |
string |
Yes |
The type of the pause notification policy. Currently, only PauseNotify is supported. |
PauseNotify |
| PageNumber |
integer |
No |
The page number. Default value: 1. |
1 |
| PageSize |
integer |
No |
The number of entries per page. Default value: 10. |
100 |
| GroupId |
string |
No |
The ID of the application group. |
6780**** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
None. |
||
| Code |
string |
The status code. Note
A value of 200 indicates success. |
200 |
| Message |
string |
The error message. |
The Request is not authorization. |
| RequestId |
string |
The request ID. |
6072F026-C441-41A6-B114-35A1E8F8FDD3 |
| Total |
integer |
The total number of records. |
11 |
| Success |
string |
Indicates whether the operation was successful. Valid values:
|
true |
| NotifyPolicyList |
object |
||
| NotifyPolicy |
array<object> |
The list of pause notification policies. |
|
|
object |
None. |
||
| EndTime |
integer |
The end timestamp. Unit: milliseconds. |
1551761781273 |
| Type |
string |
The type of the disable policy. |
PauseNotify |
| StartTime |
integer |
The start timestamp. Unit: milliseconds. |
1551761781273 |
| GroupId |
string |
The ID of the application group. |
6780**** |
| Id |
string |
The ID of the pause notification policy. |
123**** |
Examples
Success response
JSON format
{
"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 code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | %s | %s | |
| 500 | %s | %s | |
| 500 | InternalError | The request processing has failed due to some unknown error. | |
| 204 | %s | %s | |
| 403 | %s | %s | |
| 206 | %s | %s | |
| 404 | %s | %s | |
| 503 | %s | %s | |
| 406 | %s | %s | |
| 409 | %s | %s |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.