You can call this operation to enable health check for an address pool of a Global Traffic Manager (GTM) instance.
Debugging
Request parameters
Parameter | Type | Required | Example | Description |
---|---|---|---|---|
Action | String | Yes | SetGtmMonitorStatus |
The operation that you want to perform. Set the value to SetGtmMonitorStatus. |
MonitorConfigId | String | Yes | abc1234 |
The health check ID. |
Status | String | Yes | OPEN |
Specifies whether health check is enabled for the address pool. Valid values:
|
Lang | String | No | en |
The language used by the user. |
Response parameters
Parameter | Type | Example | Description |
---|---|---|---|
RequestId | String | 6856BCF6-11D6-4D7E-AC53-FD579933522B |
The ID of the request. |
Examples
Sample requests
http(s)://alidns.aliyuncs.com/? Action=SetGtmMonitorStatus
&MonitorConfigId=abc1234
&Status=OPEN
&<Common request parameters>
Sample success responses
XML
format
<SetGtmMonitorStatusResponse>
<RequestId>6856BCF6-11D6-4D7E-AC53-FD579933522B</RequestId>
</SetGtmMonitorStatusResponse>
JSON
format
{
"RequestId":"6856BCF6-11D6-4D7E-AC53-FD579933522B"
}
Error codes
For a list of error codes, visit the API Error Center.