调用CreateMonitorGroup接口创建应用分组。
接口说明
本文将提供一个示例,创建应用分组ECS_Group
。
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
授权信息
当前API暂无授权信息透出。
请求参数
名称 | 类型 | 必填 | 描述 | 示例值 |
---|
名称 | 类型 | 必填 | 描述 | 示例值 |
---|---|---|---|---|
GroupName | string | 是 | 应用分组名称。 | ECS_Group |
ContactGroups | string | 否 | 报警联系组。应用分组的报警通知会发送给该报警联系组中的报警联系人。
报警联系组是一组报警联系人,可以包含一个或多个报警联系人。关于如何创建报警联系人和报警联系组,请参见 PutContact 和 PutContactGroup 。
| ECS_Alert_Group |
返回参数
示例
正常返回示例
JSON
格式
{
"Code": 200,
"Message": "The specified resource is not found.",
"RequestId": "83C89BA6-ABD4-4398-A175-83E86C47A001",
"GroupId": 1234567,
"Success": true
}
错误码
HTTP status code | 错误码 | 错误信息 | 描述 |
---|
HTTP status code | 错误码 | 错误信息 | 描述 |
---|---|---|---|
206 | %s | %s | - |
400 | InvalidQueryParameter | %s | - |
401 | AccessDeniedException | You donot have sufficient access to perform this action. | - |
402 | LimitExceeded | The quota for this customer had been reached. | - |
403 | InvalidClientTokenId | not allow this operation. | 没有权限 |
404 | ResourceNotFound | The specified resource is not found. | 未找到指定资源。 |
409 | ResourceConflict | Concurrent modification of resources. | - |
409 | ResourceExist | Resources already exist. | - |
412 | ResourcesOverLimit | Resources over limit. | - |
429 | Throttli∂ngException | The request was denied due to request throttling. | - |
500 | InternalError | The request processing has failed due to some unknown error. | - |
访问错误中心查看更多错误码。
变更历史
变更时间 | 变更内容概要 | 操作 |
---|
变更时间 | 变更内容概要 | 操作 |
---|
暂无变更历史