Updates the enablement status of an instance configuration based on the input parameters.
Operation description
-
If a domain name is enabled and its health status is Normal, the service associated with the access domain name is active.
-
If a domain name is disabled or its health status is abnormal, the service associated with the access domain name is unavailable.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
alidns:UpdateCloudGtmInstanceConfigEnableStatus |
update |
*GtmInstance
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| AcceptLanguage |
string |
No |
The language of the response. Valid values:
|
zh-CN |
| ClientToken |
string |
No |
A client-generated token that is used to ensure the idempotence of the request. The token must be unique among different requests and can contain a maximum of 64 ASCII characters. |
1ae05db4-10e7-11ef-b126-00163e24**** |
| InstanceId |
string |
No |
The ID of the GTM 3.0 instance that you want to modify. |
gtm-cn-wwo3a3h**** |
| ConfigId |
string |
No |
The ID of the domain name instance configuration. For the same access domain name and GTM instance, you can configure both A and AAAA records. This results in two domain name instance configurations for the GTM instance. The ConfigId uniquely identifies a specific configuration. Call the ListCloudGtmInstanceConfigs operation to query the ConfigId of a domain name instance. |
Config-000**** |
| EnableStatus |
string |
No |
The enablement status of the domain name instance. Valid values:
|
enable |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The unique ID of the request. |
29D0F8F8-5499-4F6C-9FDC-1EE13BF55925 |
| Success |
boolean |
Indicates whether the operation is successful. Valid values:
|
true |
Examples
Success response
JSON format
{
"RequestId": "29D0F8F8-5499-4F6C-9FDC-1EE13BF55925",
"Success": true
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.