分布式数据库中间件 DDM-创建实例组:请求示例

时间:2024-09-25 16:29:03

请求示例

创建DDM实例组,组类型:读写,节点数为1个。

POST https://{endpoint}/v3/{project_id}/instances/{instance_id}/groups
{
    "name": "group-1",
    "type": "rw",
    "flavor_id": "a615922f-0ed8-3691-aad4-a595185febba",
     "nodes": [
        {
            "available_zone": "az1", 
            "subnet_id": "ead1e945-ca89-45dd-bcce-4a30b2054c22"
        }
    ]
}
support.huaweicloud.com/api-ddm/ddm_api_01_0094.html