You can call this operation to modify the configuration 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 UpdateGtmInstanceGlobalConfig

The operation that you want to perform. Set the value to UpdateGtmInstanceGlobalConfig.

InstanceId String Yes instance1

The ID of the GTM instance whose configuration you want to modify.

AlertGroup String No [\"R&D group\"]

The alert group of the GTM instance. Currently, only one alert group is supported.

Note This parameter is required for the first update, but is optional for later updates.
CnameCustomDomainName String No www.example.com

The CNAME record of a domain name, which must be the primary domain name. When CnameMode is CUSTOM, this parameter is required for access.

CnameMode String No SYSTEM_ASSIGN

Specifies whether the CNAME record is user-defined or automatically assigned by the system. Valid values:

  • SYSTEM_ASSIGN: Assigned by the system
  • CUSTOM: User-defined
InstanceName String No Test instance

The name of the GTM instance.

Note This parameter is required for the first update, but is not required for later updates.
Lang String No en

The language used by the user.

LbaStrategy String No RATIO

The load balancing policy. Valid values:

  • ALL_RR: Load balancing
  • RATIO: Weighted round robin
    Note This parameter is required for the first update, but is optional for later updates.
Ttl Integer No 60

The time when the modification takes effect.

UserDomainName String No www.example.com

The primary domain name.

Note This parameter is required for the first update, but is optional for later updates.

Response parameters

Parameter Type Example Description
RequestId String 29D0F8F8-5499-4F6C-9FDC-1EE13BF55925

The ID of the request.

Examples

Sample requests


http(s)://alidns.aliyuncs.com/? Action=UpdateGtmInstanceGlobalConfig
&InstanceId=instance1
&<Common request parameters>

Sample success responses

XML format

<UpdateGtmInstanceGlobalConfigResponse>
  <RequestId>29D0F8F8-5499-4F6C-9FDC-1EE13BF55925</RequestId>
</UpdateGtmInstanceGlobalConfigResponse>

JSON format

{
	"RequestId":"29D0F8F8-5499-4F6C-9FDC-1EE13BF55925"
}

Error codes

For a list of error codes, visit the API Error Center.