You need to enable JavaScript to run this app.
文档中心
VPN连接

VPN连接

复制全文
下载 pdf
VPN网关
RenewVpnGateway-VPN网关续费
复制全文
下载 pdf
RenewVpnGateway-VPN网关续费
调用RenewVpnGateway为指定的包年包月类型的VPN网关续费。​
调试​
API Explorer
您可以通过 API Explorer 在线发起调用,无需关注签名生成过程,快速获取调用结果。
​
请求参数​
下方仅列出该接口特有的请求参数和部分公共参数。更多信息请见公共参数。​
Action String 必选 示例值:RenewVpnGateway​
要执行的操作,取值:RenewVpnGateway。​
​
Version String 必选 示例值:2020-04-01​
API版本信息。​
​
VpnGatewayId String 必选 示例值:vgw-273zkshb2qayo7fap8t2****​
要续费的VPN网关的ID。您可调用DescribeVpnGateways查询VPN网关的ID信息。​
​
PeriodUnit String 可选 示例值:Month​
包年包月类型VPN网关续费时长的单位,默认Month。​
  • Month:月​
  • Year :年​
​
Period Integer 可选 示例值:1​
包年包月类型VPN网关续费的时长,默认1。​
  • 当PeriodUnit传入“Month”,Period取值范围:1~9、12、24、36。​
  • 当PeriodUnit传入“Year”,Period取值范:1~3。​
​
​
返回参数​
下方仅列出本接口特有的返回参数。更多信息请参见返回结构。​
RequestId String 可选 示例值:202203241614290567524308102CF****​
请求ID。​
​
​
请求示例​
​
GET /?Action=RenewVpnGateway&Version=2020-04-01&VpnGatewayId=vgw-2fe7zjsz13ksg5oxruwed**** HTTP/1.1​
Host: vpn.cn-beijing.volcengineapi.com​
X-Date: 20251029T033538Z​
Authorization: HMAC-SHA256 Credential=Adfks******wekfwe/20251029/cn-beijing/vpn/request, SignedHeaders=host;x-date, Signature=47a7d934ff7b37c03938******cd7b8278a40a1057690c401e92246a0e41085f​
​
返回示例​
​
{​
"ResponseMetadata":{​
"RequestId":"202203241614290567524308102CF****",​
"Action":"RenewVpnGateway",​
"Version":"2020-04-01",​
"Service":"vpn",​
"Region":"cn-beijing"​
},​
"Result":{​
"RequestId":"202203241614290567524308102CF****"​
}​
}​
​
错误码​
下表为您列举了该接口与业务逻辑相关的错误码。公共错误码请参见公共错误码文档。​
​
状态码​
错误码​
错误信息​
说明​
400​
InvalidVpnGateway.InvalidStatus​
The specified VPN gateway is not in the correct status for the request.​
指定的VPN网关所处的状态无法响应该请求。​
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​
InvalidYearPeriod.Malformed​
The specified yearly period is malformed.Yearly period only supports 1~3.​
指定的预付费按年购买时长不合法。预付费按年购买时长只支持1~3年。​
400​
InvalidPeriodUnit.Malformed​
The specified period unit is malformed. Pre billing period unit can only be Month or Year.​
指定的预付费类型时长单位不合法。预付费类型时长单位只能为月或年。​
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 instance is denied due to the account in arrears status.​
因账户处于欠费状态,对于该实例的操作请求被拒绝。​
404​
InvalidVpnGateway.NotFound​
The specified VPN gateway does not exist.​
指定的VPN网关不存在。​
404​
InvalidVpnGateway.GetInstanceDetail​
Get instance detail failed.​
获取实例信息失败。​
​
最近更新时间:2026.02.02 11:15:04
这个页面对您有帮助吗?
有用
有用
无用
无用