public class CreateVpnConnectionRequest extends AbstractModel
Constructor and Description |
---|
CreateVpnConnectionRequest() |
Modifier and Type | Method and Description |
---|---|
String |
getCustomerGatewayId()
Get The ID of the customer gateway, such as `cgw-2wqq41m9`.
|
IKEOptionsSpecification |
getIKEOptionsSpecification()
Get Internet Key Exchange (IKE) configuration.
|
IPSECOptionsSpecification |
getIPSECOptionsSpecification()
Get IPSec configuration.
|
String |
getPreShareKey()
Get The pre-shared key.
|
SecurityPolicyDatabase[] |
getSecurityPolicyDatabases()
Get The SPD policy group, for example: {"10.0.0.5/24":["172.123.10.5/16"]}.
|
Tag[] |
getTags()
Get Bound tags, such as [{"Key": "city", "Value": "shanghai"}].
|
String |
getVpcId()
Get The ID of the VPC instance.
|
String |
getVpnConnectionName()
Get Gateway can be named freely, but the maximum length is 60 characters.
|
String |
getVpnGatewayId()
Get The ID of the VPN gateway instance.
|
void |
setCustomerGatewayId(String CustomerGatewayId)
Set The ID of the customer gateway, such as `cgw-2wqq41m9`.
|
void |
setIKEOptionsSpecification(IKEOptionsSpecification IKEOptionsSpecification)
Set Internet Key Exchange (IKE) configuration.
|
void |
setIPSECOptionsSpecification(IPSECOptionsSpecification IPSECOptionsSpecification)
Set IPSec configuration.
|
void |
setPreShareKey(String PreShareKey)
Set The pre-shared key.
|
void |
setSecurityPolicyDatabases(SecurityPolicyDatabase[] SecurityPolicyDatabases)
Set The SPD policy group, for example: {"10.0.0.5/24":["172.123.10.5/16"]}.
|
void |
setTags(Tag[] Tags)
Set Bound tags, such as [{"Key": "city", "Value": "shanghai"}].
|
void |
setVpcId(String VpcId)
Set The ID of the VPC instance.
|
void |
setVpnConnectionName(String VpnConnectionName)
Set Gateway can be named freely, but the maximum length is 60 characters.
|
void |
setVpnGatewayId(String VpnGatewayId)
Set The ID of the VPN gateway instance.
|
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 String getVpcId()
public void setVpcId(String VpcId)
VpcId
- The ID of the VPC instance. You can obtain the parameter value from the VpcId field in the returned result of DescribeVpcs API.public String getVpnGatewayId()
public void setVpnGatewayId(String VpnGatewayId)
VpnGatewayId
- The ID of the VPN gateway instance.public String getCustomerGatewayId()
public void setCustomerGatewayId(String CustomerGatewayId)
CustomerGatewayId
- The ID of the customer gateway, such as `cgw-2wqq41m9`. You can query the customer gateway by using the `DescribeCustomerGateways` API.public String getVpnConnectionName()
public void setVpnConnectionName(String VpnConnectionName)
VpnConnectionName
- Gateway can be named freely, but the maximum length is 60 characters.public String getPreShareKey()
public void setPreShareKey(String PreShareKey)
PreShareKey
- The pre-shared key.public SecurityPolicyDatabase[] getSecurityPolicyDatabases()
public void setSecurityPolicyDatabases(SecurityPolicyDatabase[] SecurityPolicyDatabases)
SecurityPolicyDatabases
- The SPD policy group, for example: {"10.0.0.5/24":["172.123.10.5/16"]}. 10.0.0.5/24 is the VPC internal IP range, and 172.123.10.5/16 is the IDC IP range. The user specifies the IP range in the VPC that can communicate with the IP range in the IDC.public IKEOptionsSpecification getIKEOptionsSpecification()
public void setIKEOptionsSpecification(IKEOptionsSpecification IKEOptionsSpecification)
IKEOptionsSpecification
- Internet Key Exchange (IKE) configuration. IKE has a self-protection mechanism. The network security protocol is configured by the user.public IPSECOptionsSpecification getIPSECOptionsSpecification()
public void setIPSECOptionsSpecification(IPSECOptionsSpecification IPSECOptionsSpecification)
IPSECOptionsSpecification
- IPSec configuration. The IPSec secure session configuration is provided by Tencent Cloud.public Tag[] getTags()
public void setTags(Tag[] Tags)
Tags
- Bound tags, such as [{"Key": "city", "Value": "shanghai"}].Copyright © 2020. All rights reserved.