云数据库 RDS-开启数据库代理:请求示例

时间:2024-11-08 17:37:48

请求示例

开启数据库代理。

POST https://{endpoint}/v3/23a50154cf494ec9ad6883979a12db0a/instances/920ec36cef814a8b830a5bed50d9a088in01/proxy/open
{
    "flavor_ref": "rds.proxy.xlarge.2",
    "node_num": 2,
    "proxy_name": "proxy-test",
	"nodes_read_weight": [
        {
            "instance_id": "917c67424dd54af3addf537a069e5b20in01",
            "weight": 1
        }
    ]
}
support.huaweicloud.com/api-rds/rds_11_0033.html