This operation modifies the basic configurations of a specified address.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
alidns:UpdateCloudGtmAddress |
update |
*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. You can specify a custom value for this parameter, but you must make sure that the value is unique among different requests. The value can contain a maximum of 64 ASCII characters. |
1ae05db4-10e7-11ef-b126-00163e24**** |
| AddressId |
string |
Yes |
The unique ID of the address. |
addr-89518218114368**** |
| Name |
string |
No |
The updated name of the address. |
Address-1 |
| Address |
string |
No |
The updated IP address or domain name. |
223.5.XX.XX |
| AttributeInfo |
string |
No |
The attribution information of the address. |
当前版本不支持此参数,不需要传入此参数。 |
| HealthJudgement |
string |
No |
The updated condition for determining the health status of the address:
|
p50_ok |
| HealthTasks |
array<object> |
No |
The list of health check tasks. |
|
|
object |
No |
The list of health check tasks associated with the address. |
||
| Port |
integer |
No |
The service port of the target address for the health check. You cannot configure a service port if the health check uses the ping protocol.
|
80 |
| TemplateId |
string |
No |
The ID of the health check template associated with the address. This parameter is required if you configure a health check port.
|
mtp-89518052425100**** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The unique request ID. |
6856BCF6-11D6-4D7E-AC53-FD579933522B |
| Success |
boolean |
Indicates whether the operation was successful.
|
true |
Examples
Success response
JSON format
{
"RequestId": "6856BCF6-11D6-4D7E-AC53-FD579933522B",
"Success": true
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.