Enables CloudMonitor alerting for a specified API group.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
apigateway:CreateMonitorGroup |
create |
*ApiGroup
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| GroupId |
string |
Yes |
The ID of the API group. |
6735211ab9094c818f32f27bc545b6c8 |
| RawMonitorGroupId |
integer |
No |
The ID of the monitoring group. |
166636221 |
| Auth |
string |
Yes |
The caller authentication status of the API. Valid values: ok: The authentication is successful. mismatch: The request is redirected. servicenotfound: A request error occurred. Unknown: An unknown error occurred. |
false |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| MonitorGroupId |
integer |
The ID of the API group. This ID is generated by the system and is unique globally. |
187421794 |
| RequestId |
string |
The ID of the request. |
5D7136F7-9D67-5D4D-8418-6A512CCEE3A2 |
Examples
Success response
JSON format
{
"MonitorGroupId": 187421794,
"RequestId": "5D7136F7-9D67-5D4D-8418-6A512CCEE3A2"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.