VpnConnectionState class
Input properties used for looking up and filtering VpnConnection resources.
Constructors
-
VpnConnectionState({Input<
String?> ? cluster, Input<String?> ? createTime, Input<String?> ? deletionPolicy, Input<List< ? details, Input<VpnConnectionDetail> ?>Map< ? effectiveLabels, Input<String, String> ?>bool?> ? enableHighAvailability, Input<Map< ? labels, Input<String, String> ?>String?> ? location, Input<String?> ? name, Input<String?> ? natGatewayIp, Input<String?> ? project, Input<Map< ? pulumiLabels, Input<String, String> ?>String?> ? router, Input<String?> ? updateTime, Input<String?> ? vpc, Input<VpnConnectionVpcProject?> ? vpcProject}) -
Creates a new VpnConnectionState.
clusterThe canonical Cluster name to connect to. It is in the form of projects/{project}/locations/{location}/clusters/{cluster}.createTimeThe time when the VPN connection was created.deletionPolicyWhether Terraform will be prevented from destroying the resource. Defaults to DELETE.detailsA nested object resource.effectiveLabelsAll of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.enableHighAvailabilityWhether this VPN connection has HA enabled on cluster side. If enabled, when creating VPN connection we will attempt to use 2 ANG floating IPs.labelsLabels associated with this resource.locationGoogle Cloud Platform location.nameThe resource name of VPN connectionnatGatewayIpNAT 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.projectThe ID of the project in which the resource belongs.pulumiLabelsThe combination of labels configured directly on the resourcerouterThe VPN connection Cloud Router name.updateTimeThe time when the VPN connection was last updated.vpcThe network ID of VPC to connect to.vpcProjectProject detail of the VPC network. Required if VPC is in a different project than the cluster project.const -
VpnConnectionState.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
-
createTime
→ Input<
String?> ? -
The time when the VPN connection was created.
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
-
details
→ Input<
List< ?VpnConnectionDetail> ?> -
A nested object resource.
Structure is documented below.
final
-
effectiveLabels
→ Input<
Map< ?String, String> ?> -
All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
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
effectiveLabelsfor 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
-
pulumiLabels
→ Input<
Map< ?String, String> ?> -
The combination of labels configured directly on the resource
and default labels configured on the provider.
final
-
router
→ Input<
String?> ? -
The VPN connection Cloud Router name.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
updateTime
→ Input<
String?> ? -
The time when the VPN connection was last updated.
final
-
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