云数据库 GaussDB-DN分片扩容:URI

时间:2023-11-01 16:19:35

URI

  • URI格式

    POST https://{Endpoint}/gaussdb/v3/{project_id}/instances/{instance_id}/action

  • URI样例

    https://gaussdb-opengauss.cn-north-1.myhuaweicloud.com/opengauss/v3/0483b6b16e954cb88930a360d2c4e663/instances/dsfae23fsfdsae3435in01/action

    • 参数说明
      表1 参数说明

      名称

      是否必选

      参数类型

      说明

      expand_cluster

      Object

      请参见表2

      表2 expand_cluster字段数据结构说明

      名称

      是否必选

      参数类型

      说明

      shard

      Object

      请参见表3

      isAutoPay

      int

      包周期用户需要填写该字段。

      • 0:表示不自动支付扩容订单费用
      • 1:表示自动支付扩容订单费用

      不填写则保持默认。默认值:0

      表3 count字段数据结构说明

      名称

      是否必选

      参数类型

      说明

      count

      Integer

      新增的DN分片扩容数大小

support.huaweicloud.com/api-opengauss/opengauss_api_1020.html