云数据库 RDS-配置主实例容灾能力:请求示例

时间:2024-12-20 17:08:17

请求示例

配置主实例灾备关系,灾备实例所在的区域为aaa。
POST https://{endpoint}/v3/0483b6b16e954cb88930a360d2c4e663/instances/24c6678f474241fe89ee9c42f768022ein03/action 
{
    "build_master_dr_relation": {
           "target_instance_id":"c39bd176fb0540929f6add80b91b212cin03",
           "target_project_id":"054b61972980d4552f0bc00ac8d3f5cd",
           "target_region":"aaa",
           "target_ip":"192.168.3.238",
           "target_subnet":"192.168.3.1/24"
    }
}
support.huaweicloud.com/api-rds/rds_12_0001.html