NAT网关
参数名称 | 类型 | 是否必选 | 示例值 | 描述 |
参数名称 | 类型 | 是否必选 | 示例值 | 描述 |
Action | String | 是 | ConvertNatGatewayBillingType | 要执行的操作,取值:ConvertNatGatewayBillingType。 |
Version | String | 是 | 2020-04-01 | API的版本信息,当前版本为:2020-04-01。 |
NatGatewayId | String | 是 | ngw-2feq5xhimd88w59gp686**** | 待计费转换NAT网关的ID。 |
BillingType | Integer | 是 | 1 | NAT网关的计费方式。取值如下:
|
PeriodUnit | String | 否 | Month | 购买包年包月类型NAT网关时长的单位,默认Month。
|
Period | Integer | 否 | 2 | 购买包年包月类型NAT网关的时长,默认1。
|
参数名称 | 类型 | 示例值 | 描述 |
参数名称 | 类型 | 示例值 | 描述 |
RequestId | String | 2021062415303301022514515207C4**** | 请求ID。 |
HttpCode | 错误码 | 错误信息 | 描述 |
HttpCode | 错误码 | 错误信息 | 描述 |
400 | InvalidBillingType.Malformed | The specified billing type is malformed. | 指定的计费类型不合法。 |
400 | InvalidMonthPeriod.Malformed | The specified monthly period is malformed.Monthly period only supports 1~9, 12, 24, 36. | 指定的包年包月按月购买时长不合法。包年包月按月购买时长只支持1~9, 12, 24, 36月。 |
400 | InvalidNatGateway.InvalidBillingType | The specified NatGateway is not in the correct BillingStatus for the request. | 指定的NAT网关实例所处计费类型无法响应该请求。 |
400 | InvalidParameter.ClientTokenMalformed | The specified parameter ClientToken is malformed. | 指定的参数ClientToken格式不合法,长度不能超过64个ASCII字符。 |
400 | PreOrderError | Failed to create preorder. | 创建配置单失败。 |
400 | InvalidPeriodUnit.Malformed | The specified period unit is malformed.Pre billing period unit can only be Month or Year. | 指定的包年包月类型时长单位不合法。包年包月类型时长单位只能为月或年。 |
400 | InvalidYearPeriod.Malformed | The specified yearly period is malformed.Yearly period only supports 1~3. | 指定的包年包月按年购买时长不合法。包年包月按年购买时长只支持1~3年。 |
400 | OrderError | Failed to create an order in one step. | 创建订单并支付失败。 |
400 | UnsupportedOperation | The request on the specified instance is denied due to the account balance and available vouchers are less than 100 yuan in total. | 因账户余额及可用代金券共不足100元,对于该实例的操作请求被拒绝。 |
400 | UnsupportedOperation | The request on the specified NAT gateway is denied due to the account in arrears status. | 因账户处于欠费状态,对于该NAT网关的操作请求被拒绝。 |
404 | InvalidNatGateway.NotFound | The specified NAT gateway does not exist. | 指定的NAT网关不存在。 |
412 | InvalidNatGateway.Expired | The specified NatGateway has expired. | 指定的NAT网关实例已到期。 |