文档数据库服务 DDS-扩容实例存储容量:请求示例

时间:2024-12-04 09:31:54

请求示例

  • 扩容集群实例的存储容量,磁盘容量为20GB
    POST https://dds.cn-north-1.myhuaweicloud.com/v3/054e292c9880d4992f02c0196d3ea468/instances/054e292c9880d4992f02c0196d3ein02/enlarge-volume 
      
     { 
       "volume" : { 
         "group_id" : "1b0c008adbcb495c81a3d5762a02a2abgr02", 
         "size" : 20 
       } 
     }
  • 扩容副本集实例的存储容量,磁盘容量为20GB
    POST https://dds.cn-north-1.myhuaweicloud.com/v3/054e292c9880d4992f02c0196d3ea468/instances/054e292c9880d4992f02c0196d3ein02/enlarge-volume 
      
     { 
       "volume" : { 
         "size" : 20 
       } 
     }
    
  • 扩容单节点实例的存储容量,磁盘容量为20GB
    POST https://dds.cn-north-1.myhuaweicloud.com/v3/054e292c9880d4992f02c0196d3ea468/instances/054e292c9880d4992f02c0196d3ein02/enlarge-volume 
      
     { 
       "volume" : { 
         "size" : 20 
       } 
     }
  • 扩容副本集只读节点的存储容量,磁盘容量为20GB
    POST https://dds.cn-north-1.myhuaweicloud.com/v3/054e292c9880d4992f02c0196d3ea468/instances/054e292c9880d4992f02c0196d3ein02/enlarge-volume
    {
    "volume" : {
    "size" : 20,
    "node_ids" : [ "8f643d252d834a4c916b2db4322f9955in02" ]
    }
    }
support.huaweicloud.com/api-dds/dds_api_0024.html