调用DescribeMonitorGroupDynamicRules接口查询指定应用分组的动态规则列表。
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
调试
授权信息
|
操作 |
访问级别 |
资源类型 |
条件关键字 |
关联操作 |
|
cms:DescribeMonitorGroupDynamicRules |
get |
*全部资源
|
无 | 无 |
请求参数
|
名称 |
类型 |
必填 |
描述 |
示例值 |
| GroupId |
integer |
是 |
应用分组 ID。 |
123456 |
返回参数
|
名称 |
类型 |
描述 |
示例值 |
|
object |
无。 |
||
| Code |
integer |
状态码。 说明
200 表示成功。 |
200 |
| Message |
string |
错误信息。 |
The specified resource is not found. |
| RequestId |
string |
请求 ID。 |
2170B94A-1576-4D65-900E-2093037CDAF3 |
| Success |
boolean |
操作是否成功。取值:
|
true |
| Resource |
object |
||
| Resource |
array<object> |
关联资源。 |
|
|
array<object> |
关联资源。 |
||
| Category |
string |
动态规则对应的云服务类型。取值:
|
ecs |
| FilterRelation |
string |
筛选条件。取值:
|
and |
| Filters |
object |
||
| Filter |
array<object> |
应用分组的动态规则。 |
|
|
object |
应用分组的动态规则。 |
||
| Value |
string |
动态规则值。 |
1 |
| Function |
string |
计算方法。取值:
|
contains |
| Name |
string |
实例名称。 |
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 |
错误码 |
错误信息 |
描述 |
|---|---|---|---|
| 400 | ParameterInvalid | %s | |
| 401 | AccessDeniedException | You donot have sufficient access to perform this action. | |
| 500 | InternalError | %s | |
| 402 | LimitExceeded | The quota for this customer had been reached. | |
| 403 | AccessForbidden | The X.509 certificate or cms access key ID provided does not exist in our records. | |
| 206 | %s | %s | |
| 404 | ResourceNotFound | The specified resource is not found. | 未找到指定资源。 |
| 503 | %s | %s | |
| 406 | %s | %s | |
| 429 | Throttli∂ngException | The request was denied due to request throttling. | |
| 409 | %s | %s |
访问错误中心查看更多错误码。
变更历史
更多信息,参考变更详情。