You can call this operation to modify a disaster recovery plan for a Global Traffic Manager (GTM) instance.
Debugging
Request parameters
Parameter | Type | Required | Example | Description |
---|---|---|---|---|
Action | String | Yes | UpdateGtmRecoveryPlan |
The operation that you want to perform. Set the value to UpdateGtmRecoveryPlan. |
RecoveryPlanId | Long | Yes | 100 |
The ID of the disaster recovery plan that you want to modify. |
FaultAddrPool | String | No | [{"AddrPoolName":"Stress testing-Failover-1","Addrs":{"Addr":[{"Value":"1.1.1.1","Id":739,"Mode":"OFFLINE"},{"Value":"2.2.2.2","Id":740,"Mode":"OFFLINE"}] |
The list of faulty address pools. |
Lang | String | No | en |
The language used by the user. |
Name | String | No | abc |
The name of the disaster recovery plan that you want to modify. |
Remark | String | No | remark |
The remarks on the disaster recovery plan. |
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=UpdateGtmRecoveryPlan
&RecoveryPlanId=100
&<Common request parameters>
Sample success responses
XML
format
<UpdateGtmRecoveryPlanResponse>
<RequestId>6856BCF6-11D6-4D7E-AC53-FD579933522B</RequestId>
</UpdateGtmRecoveryPlanResponse>
JSON
format
{
"RequestId":"6856BCF6-11D6-4D7E-AC53-FD579933522B"
}
Error codes
For a list of error codes, visit the API Error Center.