CreateMonitorGroup - 创建应用分组

更新时间:2025-02-12 07:07:46

调用CreateMonitorGroup接口创建应用分组。

接口说明

本文将提供一个示例,创建应用分组ECS_Group

调试

您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。

授权信息

当前API暂无授权信息透出。

请求参数

名称类型必填描述示例值
名称类型必填描述示例值
GroupNamestring

应用分组名称。

ECS_Group
ContactGroupsstring

报警联系组。应用分组的报警通知会发送给该报警联系组中的报警联系人。

说明
报警联系组是一组报警联系人,可以包含一个或多个报警联系人。关于如何创建报警联系人和报警联系组,请参见 PutContactPutContactGroup
ECS_Alert_Group

返回参数

名称类型描述示例值
名称类型描述示例值
object
Codeinteger

状态码。

说明
200 表示成功。
200
Messagestring

错误信息。

The specified resource is not found.
RequestIdstring

请求 ID。

83C89BA6-ABD4-4398-A175-83E86C47A001
GroupIdlong

应用分组 ID。

1234567
Successboolean

操作是否成功。取值:

  • true:成功。

  • false:失败。

true

示例

正常返回示例

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-
400InvalidQueryParameter%s-
401AccessDeniedExceptionYou donot have sufficient access to perform this action.-
402LimitExceededThe quota for this customer had been reached.-
403InvalidClientTokenIdnot allow this operation.没有权限
404ResourceNotFoundThe specified resource is not found.未找到指定资源。
409ResourceConflictConcurrent modification of resources.-
409ResourceExistResources already exist.-
412ResourcesOverLimitResources over limit.-
429Throttli∂ngExceptionThe request was denied due to request throttling.-
500InternalErrorThe request processing has failed due to some unknown error.-

访问错误中心查看更多错误码。

变更历史

变更时间变更内容概要操作
变更时间变更内容概要操作
暂无变更历史
  • 本页导读 (1)
  • 接口说明
  • 调试
  • 授权信息
  • 请求参数
  • 返回参数
  • 示例
  • 错误码
  • 变更历史
AI助理

点击开启售前

在线咨询服务

你好,我是AI助理

可以解答问题、推荐解决方案等