Creates an application group.
Debugging
Request parameters
Parameter | Type | Required | Example | Description |
---|---|---|---|---|
Action | String | Yes | CreateMonitorGroup |
The operation that you want to perform. Set the value to CreateMonitorGroup. |
GroupName | String | Yes | ECS |
The name of the application group. |
ContactGroups | String | No | Default alert group |
The alert group to which alert notifications will be sent. |
Response parameters
Parameter | Type | Example | Description |
---|---|---|---|
Code | Integer | 200 |
The HTTP status code. Note The status code 200 indicates that the call was successful.
|
GroupId | Long | 123456 |
The ID of the application group. |
Message | String | success |
The returned message. |
RequestId | String | 3121AE7D-4AFF-4C25-8F1D-C8226EBB1F42 |
The ID of the request. |
Success | Boolean | true |
Indicates whether the call was successful. The value true indicates a success. The value false indicates a failure. |
Examples
Sample requests
http(s)://[Endpoint]/? Action=CreateMonitorGroup
&GroupName=ECS
&<Common request parameters>
Sample success responses
XML
format
<CreateMonitorGroupResponse>
<RequestId>69C34563-DD18-419E-A7C3-60D0913254E9</RequestId>
<Success>true</Success>
<GroupId>339****</GroupId>
<Code>200</Code>
</CreateMonitorGroupResponse>
JSON
format
{
"RequestId": "69C34563-DD18-419E-A7C3-60D0913254E9",
"Success": "true",
"GroupId": "339****",
"Code": "200"
}
Error codes
For a list of error codes, visit the API Error Center.