调用AddGtmRecoveryPlan新增容灾预案。
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
请求参数
名称 | 类型 | 是否必选 | 示例值 | 描述 |
---|---|---|---|---|
Action | String | 是 | AddGtmRecoveryPlan |
系统规定参数。取值:AddGtmRecoveryPlan。 |
FaultAddrPool | String | 是 | ["hra0or"] |
故障地址池ID列表 |
Name | String | 是 | name-example |
容灾预案名称 |
Remark | String | 是 | remark |
备注 |
Lang | String | 否 | en |
用户语言 |
返回数据
名称 | 类型 | 示例值 | 描述 |
---|---|---|---|
RecoveryPlanId | String | 100 |
容灾预案ID |
RequestId | String | 6856BCF6-11D6-4D7E-AC53-FD579933522B |
请求ID |
示例
请求示例
http(s)://alidns.aliyuncs.com/?Action=AddGtmRecoveryPlan
&FaultAddrPool=["hra0or"]
&Name=name-example
&Remark=remark
&<公共请求参数>
正常返回示例
XML
格式
<AddGtmRecoveryPlanResponse>
<RequestId>6856BCF6-11D6-4D7E-AC53-FD579933522B</RequestId>
<RecoveryPlanId>100</RecoveryPlanId>
</AddGtmRecoveryPlanResponse>
JSON
格式
{
"RecoveryPlanId":100,
"RequestId":"6856BCF6-11D6-4D7E-AC53-FD579933522B"
}
错误码
访问错误中心查看更多错误码。