调用 ModifyInstanceChargeType 接口将 HBase 实例的计费类型由按量计费转换为包月包月。
异步请求。
参数 | 类型 | 是否必选 | 示例值 | 描述 |
---|---|---|---|---|
InstanceId | String | 是 | hb-cn01762cf4d6**** | 实例 ID。 |
ChargeType | String | 是 | PostPaid | 计费类型,取值:
|
PurchaseMonths | Integer | 否 | 1 | 购买时长。单位:月。取值范围: 说明 仅当 |
AutoRenew | Boolean | 否 | false | 是否开启自动续费,取值范围如下:
说明
|
参数 | 类型 | 示例值 | 描述 |
---|---|---|---|
OrderNo | String | Order730602621667020**** | 订单 ID。 |
POST https://hbase.volcengineapi.com?Action=ModifyInstanceChargeType&Version=2018-01-01 HTTP/1.1 Host: hbase.volcengineapi.com Content-Type: application/json; charset=utf-8 X-Date: 20201103T104027Z Authorization: HMAC-SHA256 Credential=AK****/20201103/cn-beijing/hbase/request,SignedHeaders=content-type;host;x-date, Signature=**** { "InstanceIds": "hbase-cn02he8bhzsji****", "ChargeType": "Prepaid", "PurchaseMonths": 1, "AutoRenew": false }
{ "ResponseMetadata": { "RequestId": "20231127143346F031F701FDB9A48F1F44", "Action": "ModifyInstanceChargeType", "Version": "2018-01-01", "Service": "hbase", "Region": "cn-beijing" }, "Result": { "OrderNo": "Order730602621667020****" } }