public class CreateVpnGatewayRequest extends AbstractModel
header, skipSign| Constructor and Description | 
|---|
| CreateVpnGatewayRequest() | 
| CreateVpnGatewayRequest(CreateVpnGatewayRequest source)NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
       and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy. | 
| Modifier and Type | Method and Description | 
|---|---|
| String | getCdcId()Get CDC instance ID | 
| InstanceChargePrepaid | getInstanceChargePrepaid()Get Parameter settings for prepaid billing mode, also known as monthly subscription. | 
| String | getInstanceChargeType()Get The VPN gateway billing mode. | 
| Long | getInternetMaxBandwidthOut()Get The public network bandwidth configuration. | 
| Long | getMaxConnection()Get Maximum number of connected clients allowed for the SSL VPN gateway. | 
| Tag[] | getTags()Get Bound tags, such as [{"Key": "city", "Value": "shanghai"}]. | 
| String | getType()Get VPN gateway type. | 
| String | getVpcId()Get VPC instance ID, which can be obtained from the `VpcId` field in the response of the [`DescribeVpcs`](https://intl.cloud.tencent.com/document/product/215/15778?from_cn_redirect=1) API. | 
| String | getVpnGatewayName()Get The VPN gateway name. | 
| String | getZone()Get The availability zone, such as `ap-guangzhou-2`. | 
| void | setCdcId(String CdcId)Set CDC instance ID | 
| void | setInstanceChargePrepaid(InstanceChargePrepaid InstanceChargePrepaid)Set Parameter settings for prepaid billing mode, also known as monthly subscription. | 
| void | setInstanceChargeType(String InstanceChargeType)Set The VPN gateway billing mode. | 
| void | setInternetMaxBandwidthOut(Long InternetMaxBandwidthOut)Set The public network bandwidth configuration. | 
| void | setMaxConnection(Long MaxConnection)Set Maximum number of connected clients allowed for the SSL VPN gateway. | 
| void | setTags(Tag[] Tags)Set Bound tags, such as [{"Key": "city", "Value": "shanghai"}]. | 
| void | setType(String Type)Set VPN gateway type. | 
| void | setVpcId(String VpcId)Set VPC instance ID, which can be obtained from the `VpcId` field in the response of the [`DescribeVpcs`](https://intl.cloud.tencent.com/document/product/215/15778?from_cn_redirect=1) API. | 
| void | setVpnGatewayName(String VpnGatewayName)Set The VPN gateway name. | 
| void | setZone(String Zone)Set The availability zone, such as `ap-guangzhou-2`. | 
| void | toMap(HashMap<String,String> map,
     String prefix)Internal implementation, normal users should not use it. | 
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonStringpublic CreateVpnGatewayRequest()
public CreateVpnGatewayRequest(CreateVpnGatewayRequest source)
public String getVpcId()
public void setVpcId(String VpcId)
VpcId - VPC instance ID, which can be obtained from the `VpcId` field in the response of the [`DescribeVpcs`](https://intl.cloud.tencent.com/document/product/215/15778?from_cn_redirect=1) API.public String getVpnGatewayName()
public void setVpnGatewayName(String VpnGatewayName)
VpnGatewayName - The VPN gateway name. The maximum length is 60 bytes.public Long getInternetMaxBandwidthOut()
public void setInternetMaxBandwidthOut(Long InternetMaxBandwidthOut)
InternetMaxBandwidthOut - The public network bandwidth configuration. Available bandwidth specifications: 5, 10, 20, 50, and 100. Unit: Mbpspublic String getInstanceChargeType()
public void setInstanceChargeType(String InstanceChargeType)
InstanceChargeType - The VPN gateway billing mode. PREPAID: prepaid means monthly subscription. POSTPAID_BY_HOUR: postpaid means pay-as-you-go. Default: POSTPAID_BY_HOUR. If prepaid mode is specified, the `InstanceChargePrepaid` parameter must be entered.public InstanceChargePrepaid getInstanceChargePrepaid()
public void setInstanceChargePrepaid(InstanceChargePrepaid InstanceChargePrepaid)
InstanceChargePrepaid - Parameter settings for prepaid billing mode, also known as monthly subscription. This parameter can specify the purchase period and other attributes such as auto-renewal. This parameter is mandatory for prepaid instances.public String getZone()
public void setZone(String Zone)
Zone - The availability zone, such as `ap-guangzhou-2`.public String getType()
public void setType(String Type)
Type - VPN gateway type. Values: `CCN` (CCN VPN gateway), `SSL` (SSL VPN gateway)public Tag[] getTags()
public void setTags(Tag[] Tags)
Tags - Bound tags, such as [{"Key": "city", "Value": "shanghai"}].public String getCdcId()
public void setCdcId(String CdcId)
CdcId - CDC instance IDpublic Long getMaxConnection()
public void setMaxConnection(Long MaxConnection)
MaxConnection - Maximum number of connected clients allowed for the SSL VPN gateway. Valid values: [5, 10, 20, 50, 100]. This parameter is only required for SSL VPN gateways.Copyright © 2025. All rights reserved.