VpnTunnelComputeBetaArgs class
The set of arguments for VpnTunnel. The set of arguments for VpnTunnel.
Constructors
-
VpnTunnelComputeBetaArgs({Input<
String> ? description, Input<int> ? ikeVersion, Input<Map< ? labels, Input<String, String> >List< ? localTrafficSelector, Input<String> >String> ? name, Input<String> ? peerExternalGateway, Input<int> ? peerExternalGatewayInterface, Input<String> ? peerGcpGateway, Input<String> ? peerIp, Input<String> ? project, required Input<String> region, Input<List< ? remoteTrafficSelector, Input<String> >String> ? requestId, Input<String> ? router, Input<String> ? targetVpnGateway, Input<String> ? vpnGateway, Input<int> ? vpnGatewayInterface}) -
Creates a new VpnTunnelComputeBetaArgs.
descriptionAn optional description of this resource. Provide this property when you create the resource.ikeVersionIKE protocol version to use when establishing the VPN tunnel with the peer VPN gateway. Acceptable IKE versions are 1 or 2. The default version is 2.labelsLabels for this resource. These can only be added or modified by the setLabels method. Each label key/value pair must comply with RFC1035. Label values may be empty.localTrafficSelectorLocal traffic selector to use when establishing the VPN tunnel with the peer VPN gateway. The value should be a CIDR formatted string, for example: 192.168.0.0/16. The ranges must be disjoint. Only IPv4 is supported.nameName of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression[a-z]([-a-z0-9]*[a-z0-9])?which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.peerExternalGatewayURL of the peer side external VPN gateway to which this VPN tunnel is connected. Provided by the client when the VPN tunnel is created. This field is exclusive with the field peerGcpGateway.peerExternalGatewayInterfaceThe interface ID of the external VPN gateway to which this VPN tunnel is connected. Provided by the client when the VPN tunnel is created. Possible values are:0,1,2,3. The number of IDs in use depends on the external VPN gateway redundancy type.peerGcpGatewayURL of the peer side HA VPN gateway to which this VPN tunnel is connected. Provided by the client when the VPN tunnel is created. This field can be used when creating highly available VPN from VPC network to VPC network, the field is exclusive with the field peerExternalGateway. If provided, the VPN tunnel will automatically use the same vpnGatewayInterface ID in the peer Google Cloud VPN gateway.peerIpIP address of the peer VPN gateway. Only IPv4 is supported.projectOptional.regionRequired.remoteTrafficSelectorRemote traffic selectors to use when establishing the VPN tunnel with the peer VPN gateway. The value should be a CIDR formatted string, for example: 192.168.0.0/16. The ranges should be disjoint. Only IPv4 is supported.requestIdAn optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).routerURL of the router resource to be used for dynamic routing.sharedSecretShared secret used to set the secure session between the Cloud VPN gateway and the peer VPN gateway.sharedSecretHashHash of the shared secret.targetVpnGatewayURL of the Target VPN gateway with which this VPN tunnel is associated. Provided by the client when the VPN tunnel is created.vpnGatewayURL of the VPN gateway with which this VPN tunnel is associated. Provided by the client when the VPN tunnel is created. This must be used (instead of target_vpn_gateway) if a High Availability VPN gateway resource is created.vpnGatewayInterfaceThe interface ID of the VPN gateway with which this VPN tunnel is associated. Possible values are:0,1.const -
VpnTunnelComputeBetaArgs.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
description
→ Input<
String> ? -
An optional description of this resource. Provide this property when you create the resource.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
ikeVersion
→ Input<
int> ? -
IKE protocol version to use when establishing the VPN tunnel with the peer VPN gateway. Acceptable IKE versions are 1 or 2. The default version is 2.
final
-
labels
→ Input<
Map< ?String, String> > -
Labels for this resource. These can only be added or modified by the setLabels method. Each label key/value pair must comply with RFC1035. Label values may be empty.
final
-
localTrafficSelector
→ Input<
List< ?String> > -
Local traffic selector to use when establishing the VPN tunnel with the peer VPN gateway. The value should be a CIDR formatted string, for example: 192.168.0.0/16. The ranges must be disjoint. Only IPv4 is supported.
final
-
name
→ Input<
String> ? -
Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression
[a-z]([-a-z0-9]*[a-z0-9])?which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.final -
peerExternalGateway
→ Input<
String> ? -
URL of the peer side external VPN gateway to which this VPN tunnel is connected. Provided by the client when the VPN tunnel is created. This field is exclusive with the field peerGcpGateway.
final
-
peerExternalGatewayInterface
→ Input<
int> ? -
The interface ID of the external VPN gateway to which this VPN tunnel is connected. Provided by the client when the VPN tunnel is created. Possible values are:
0,1,2,3. The number of IDs in use depends on the external VPN gateway redundancy type.final -
peerGcpGateway
→ Input<
String> ? -
URL of the peer side HA VPN gateway to which this VPN tunnel is connected. Provided by the client when the VPN tunnel is created. This field can be used when creating highly available VPN from VPC network to VPC network, the field is exclusive with the field peerExternalGateway. If provided, the VPN tunnel will automatically use the same vpnGatewayInterface ID in the peer Google Cloud VPN gateway.
final
-
peerIp
→ Input<
String> ? -
IP address of the peer VPN gateway. Only IPv4 is supported.
final
-
project
→ Input<
String> ? -
final
-
region
→ Input<
String> -
final
-
remoteTrafficSelector
→ Input<
List< ?String> > -
Remote traffic selectors to use when establishing the VPN tunnel with the peer VPN gateway. The value should be a CIDR formatted string, for example: 192.168.0.0/16. The ranges should be disjoint. Only IPv4 is supported.
final
-
requestId
→ Input<
String> ? -
An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).
final
-
router
→ Input<
String> ? -
URL of the router resource to be used for dynamic routing.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
Shared secret used to set the secure session between the Cloud VPN gateway and the peer VPN gateway.
final
-
Hash of the shared secret.
final
-
targetVpnGateway
→ Input<
String> ? -
URL of the Target VPN gateway with which this VPN tunnel is associated. Provided by the client when the VPN tunnel is created.
final
-
vpnGateway
→ Input<
String> ? -
URL of the VPN gateway with which this VPN tunnel is associated. Provided by the client when the VPN tunnel is created. This must be used (instead of target_vpn_gateway) if a High Availability VPN gateway resource is created.
final
-
vpnGatewayInterface
→ Input<
int> ? -
The interface ID of the VPN gateway with which this VPN tunnel is associated. Possible values are:
0,1.final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited