public class CreateVpnGatewayRequest extends AbstractModel
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 |
---|---|
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.
|
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 |
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 |
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, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonString
public 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. Value: `CCN`, indicates CCN-type VPN gatewaypublic Tag[] getTags()
public void setTags(Tag[] Tags)
Tags
- Bound tags, such as [{"Key": "city", "Value": "shanghai"}].Copyright © 2021. All rights reserved.