調用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 |
訪問錯誤中心查看更多錯誤碼。
變更歷史
更多資訊,參考變更詳情。