Queries the alert configuration for an instance.
Try it now
Test
RAM authorization
Action | Access level | Resource type | Condition key | Dependent action |
alidns:DescribeCloudGtmInstanceConfigAlert | get | *All Resource
| None | None |
Request parameters
Parameter | Type | Required | Description | Example |
AcceptLanguage | string | No | The language of the response. Valid values:
| en-US |
ClientToken | string | No | A client token that is used to ensure the idempotence of the request. The client generates this value. The value must be unique among different requests. It can be up to 64 ASCII characters in length and cannot contain non-ASCII characters. | 1ae05db4-10e7-11ef-b126-00163e24**22 |
InstanceId | string | No | The ID of the Global Traffic Manager (GTM) 3.0 instance. | gtm-cn-wwo3a3hbz** |
ConfigId | string | No | The ID of the instance configuration. For the same access domain name and GTM instance, you can configure both A and AAAA records. This creates two instance configurations. `ConfigId` uniquely identifies an instance configuration. | Config-000**11 |
Response elements
Element | Type | Description | Example |
object | |||
RequestId | string | The unique ID of the request. | 0F32959D-417B-4D66-8463-68606605E3E2 |
InstanceId | string | The ID of the GTM 3.0 instance. | gtm-cn-wwo3a3hbz** |
ConfigId | string | The ID of the instance configuration. For the same access domain name and GTM instance, you can configure both A and AAAA records. This creates two instance configurations. `ConfigId` uniquely identifies an instance configuration. | Config-000**11 |
AlertMode | string | The alert configuration mode for the instance.
| global |
| AlertGroup | object | ||
| AlertGroup | array | The list of alert notification groups. | |
string | The alert notification group. | [\"Alert group contact\"] | |
| AlertConfig | object | ||
| AlertConfig | array<object> | The list of alert configurations. | |
object | The configuration of the alert rule. | ||
NoticeType | string | The type of the alert event. Valid values:
| addr_alert |
SmsNotice | boolean | Indicates whether text message notifications are enabled.
Text message notifications are supported only on the China site (aliyun.com) and not on the international site (alibabacloud.com). | true |
EmailNotice | boolean | Indicates whether email notifications are enabled.
| true |
DingtalkNotice | boolean | Indicates whether DingTalk notifications are enabled.
| true |
Examples
Success response
JSON format
{
"RequestId": "0F32959D-417B-4D66-8463-68606605E3E2",
"InstanceId": "gtm-cn-wwo3a3hbz**",
"ConfigId": "Config-000**11\n",
"AlertMode": "global",
"AlertGroup": {
"AlertGroup": [
"[\\\"云账号报警联系人\\\"]"
]
},
"AlertConfig": {
"AlertConfig": [
{
"NoticeType": "addr_alert",
"SmsNotice": true,
"EmailNotice": true,
"DingtalkNotice": true
}
]
}
}Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.