VpnTunnelComputeBetaArgs class

The set of arguments for VpnTunnel. The set of arguments for VpnTunnel.

Constructors

VpnTunnelComputeBetaArgs({Input<String>? description, Input<int>? ikeVersion, Input<Map<String, String>>? labels, Input<List<String>>? localTrafficSelector, Input<String>? name, Input<String>? peerExternalGateway, Input<int>? peerExternalGatewayInterface, Input<String>? peerGcpGateway, Input<String>? peerIp, Input<String>? project, required Input<String> region, Input<List<String>>? remoteTrafficSelector, Input<String>? requestId, Input<String>? router, Input<String>? sharedSecret, Input<String>? sharedSecretHash, Input<String>? targetVpnGateway, Input<String>? vpnGateway, Input<int>? vpnGatewayInterface})
Creates a new VpnTunnelComputeBetaArgs. description An optional description of this resource. Provide this property when you create the resource. ikeVersion 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. labels 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. localTrafficSelector 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. name 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. peerExternalGateway 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. peerExternalGatewayInterface 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. peerGcpGateway 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. peerIp IP address of the peer VPN gateway. Only IPv4 is supported. project Optional. region Required. remoteTrafficSelector 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. requestId 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). router URL of the router resource to be used for dynamic routing. sharedSecret Shared secret used to set the secure session between the Cloud VPN gateway and the peer VPN gateway. sharedSecretHash Hash of the shared secret. targetVpnGateway URL of the Target VPN gateway with which this VPN tunnel is associated. Provided by the client when the VPN tunnel is created. vpnGateway 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. vpnGatewayInterface The 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
sharedSecret → Input<String>?
Shared secret used to set the secure session between the Cloud VPN gateway and the peer VPN gateway.
final
sharedSecretHash → Input<String>?
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