You can call this operation to enable health check for an address pool of a Global Traffic Manager (GTM) instance.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

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:

  • OPEN: Enabled
  • CLOSE: Disabled
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.