VpnConnectionArgs class

The set of arguments for VpnConnection. The set of arguments for VpnConnection.

Constructors

VpnConnectionArgs({required Input<String> cluster, Input<String?>? deletionPolicy, Input<bool?>? enableHighAvailability, Input<Map<String, String>?>? labels, required Input<String> location, Input<String?>? name, Input<String?>? natGatewayIp, Input<String?>? project, Input<String?>? router, Input<String?>? vpc, Input<VpnConnectionVpcProject?>? vpcProject})
Creates a new VpnConnectionArgs. cluster The canonical Cluster name to connect to. It is in the form of projects/{project}/locations/{location}/clusters/{cluster}. deletionPolicy Whether Terraform will be prevented from destroying the resource. Defaults to DELETE. enableHighAvailability Whether this VPN connection has HA enabled on cluster side. If enabled, when creating VPN connection we will attempt to use 2 ANG floating IPs. labels Labels associated with this resource. location Google Cloud Platform location. name The resource name of VPN connection natGatewayIp NAT gateway IP, or WAN IP address. If a customer has multiple NAT IPs, the customer needs to configure NAT such that only one external IP maps to the GMEC Anthos cluster. project The ID of the project in which the resource belongs. router The VPN connection Cloud Router name. vpc The network ID of VPC to connect to. vpcProject Project detail of the VPC network. Required if VPC is in a different project than the cluster project.
const
VpnConnectionArgs.fromMap(Map<String, dynamic> map)
factory

Properties

cluster → Input<String>
The canonical Cluster name to connect to. It is in the form of projects/{project}/locations/{location}/clusters/{cluster}.
final
deletionPolicy → Input<String?>?
Whether Terraform will be prevented from destroying the resource. Defaults to DELETE. When a 'terraform destroy' or 'pulumi up' would delete the resource, the command will fail if this field is set to "PREVENT" in Terraform state. When set to "ABANDON", the command will remove the resource from Terraform management without updating or deleting the resource in the API. When set to "DELETE", deleting the resource is allowed.
final
enableHighAvailability → Input<bool?>?
Whether this VPN connection has HA enabled on cluster side. If enabled, when creating VPN connection we will attempt to use 2 ANG floating IPs.
final
hashCode → int
The hash code for this object.
no setterinherited
labels → Input<Map<String, String>?>?
Labels associated with this resource. Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field effectiveLabels for all of the labels present on the resource.
final
location → Input<String>
Google Cloud Platform location.
final
name → Input<String?>?
The resource name of VPN connection
final
natGatewayIp → Input<String?>?
NAT gateway IP, or WAN IP address. If a customer has multiple NAT IPs, the customer needs to configure NAT such that only one external IP maps to the GMEC Anthos cluster. This is empty if NAT is not used.
final
project → Input<String?>?
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
final
router → Input<String?>?
The VPN connection Cloud Router name.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
vpc → Input<String?>?
The network ID of VPC to connect to.
final
vpcProject → Input<VpnConnectionVpcProject?>?
Project detail of the VPC network. Required if VPC is in a different project than the cluster project. Structure is documented below.
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