首页 云监控 云监控1.0 开发参考 API参考 API目录 应用分组 管理应用分组 DescribeMonitorGroupDynamicRules - 查询指定应用分组的动态规则列表

DescribeMonitorGroupDynamicRules - 查询指定应用分组的动态规则列表

更新时间: 2025-02-26 17:44:43

调用DescribeMonitorGroupDynamicRules接口查询指定应用分组的动态规则列表。

调试

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

授权信息

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

请求参数

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

应用分组 ID。

123456

返回参数

名称类型描述示例值
object

无。

Codeinteger

状态码。

说明 200 表示成功。
200
Messagestring

错误信息。

The specified resource is not found.
RequestIdstring

请求 ID。

2170B94A-1576-4D65-900E-2093037CDAF3
Successboolean

操作是否成功。取值:

  • true:成功。

  • false:失败。

true
Resourcearray<object>

关联资源。

Resourceobject

关联资源。

Categorystring

动态规则对应的云服务类型。取值:

  • ecs:云服务器。

  • rds:关系型数据库。

  • slb:负载均衡。

ecs
FilterRelationstring

筛选条件。取值:

  • and:应用分组中满足所有报警规则的实例。

  • or:应用分组中满足任意报警规则的实例。

and
Filtersarray<object>

应用分组的动态规则。

Filterobject

应用分组的动态规则。

Valuestring

动态规则值。

1
Functionstring

计算方法。取值:

  • contains:包含。

  • startWith:前缀。

  • endWith:后缀。

contains
Namestring

实例名称。

hostName

示例

正常返回示例

JSON格式

{
  "Code": 200,
  "Message": "The specified resource is not found.",
  "RequestId": "2170B94A-1576-4D65-900E-2093037CDAF3",
  "Success": true,
  "Resource": {
    "Resource": [
      {
        "Category": "ecs",
        "FilterRelation": "and",
        "Filters": {
          "Filter": [
            {
              "Value": "1",
              "Function": "contains",
              "Name": "hostName"
            }
          ]
        }
      }
    ]
  }
}

错误码

HTTP status code错误码错误信息描述
206%s%s-
400ParameterInvalid%s-
401AccessDeniedExceptionYou donot have sufficient access to perform this action.-
402LimitExceededThe quota for this customer had been reached.-
403AccessForbiddenThe X.509 certificate or cms access key ID provided does not exist in our records.-
404ResourceNotFoundThe specified resource is not found.未找到指定资源。
429Throttli∂ngExceptionThe request was denied due to request throttling.-
500InternalError%s-

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

变更历史

变更时间变更内容概要操作
暂无变更历史
上一篇: DescribeMonitorGroupInstances - 查询指定应用分组内包含的资源列表 下一篇: DescribeMonitorGroupInstanceAttribute - 查询应用分组的资源详情
阿里云首页 云监控 相关技术圈