云数据库 RDS-单机转主备实例:请求示例

时间:2025-02-12 15:03:33

请求示例

  • 变更MySQL、PostgreSQL按需单机实例为主备实例。
    POST https://{endpoint}/v3/0483b6b16e954cb88930a360d2c4e663/instances/dsfae23fsfdsae3435in01/action{"single_to_ha": {"az_code_new_node": "az2xahz"}}
  • 变更MySQL、PostgreSQL包周期单机实例为主备实例。
    {         "single_to_ha": {                   "az_code_new_node": "az1xahz",                   "is_auto_pay": true         }}
  • 变更SQL Server按需单机实例为主备实例。
    {    "single_to_ha": {        "az_code_new_node": "az2xahz",        "ad_domain_info": {            "dns_server_ip": "192.168.0.1",            "domain_admin_account_name": "Administrator",            "domain_admin_pwd": "password@123",            "dc_domain_name": "test.com"        }    }}
  • 变更SQL Server包周期单机实例为主备实例。
    {    "single_to_ha": {        "az_code_new_node": "az2xahz",        "is_auto_pay": true,         "ad_domain_info": {            "dns_server_ip": "192.168.0.1",            "domain_admin_account_name": "Administrator",            "domain_admin_pwd": "password@123",            "dc_domain_name": "test.com"        }    }}
  • 变更DeC用户单机实例为主备实例。
    {"single_to_ha": {"az_code_new_node": "az2xahz","password": "Test@1234567",                "dsspool_id":"23728728428374823748327482r"}}
support.huaweicloud.com/api-rds/rds_01_0103.html