Class VPNTunnelArgs
Inherited Members
Namespace: Pulumi.Gcp.Compute
Assembly: Pulumi.Gcp.dll
Syntax
public sealed class VPNTunnelArgs : ResourceArgs
Constructors
View SourceVPNTunnelArgs()
Declaration
public VPNTunnelArgs()
Properties
View SourceDescription
An optional description of this resource.
Declaration
public Input<string> Description { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
IkeVersion
IKE protocol version to use when establishing the VPN tunnel with peer VPN gateway. Acceptable IKE versions are 1 or 2. Default version is 2.
Declaration
public Input<int> IkeVersion { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Int32> |
Labels
Labels to apply to this VpnTunnel.
Declaration
public InputMap<string> Labels { get; set; }
Property Value
| Type | Description |
|---|---|
| InputMap<System.String> |
LocalTrafficSelectors
Local traffic selector to use when establishing the VPN tunnel with
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.
Declaration
public InputList<string> LocalTrafficSelectors { get; set; }
Property Value
| Type | Description |
|---|---|
| InputList<System.String> |
Name
Name of the resource. 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? 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.
Declaration
public Input<string> Name { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
PeerExternalGateway
URL of the peer side external VPN gateway to which this VPN tunnel is connected.
Declaration
public Input<string> PeerExternalGateway { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
PeerExternalGatewayInterface
The interface ID of the external VPN gateway to which this VPN tunnel is connected.
Declaration
public Input<int> PeerExternalGatewayInterface { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Int32> |
PeerGcpGateway
URL of the peer side HA GCP VPN gateway to which this VPN tunnel is connected.
If provided, the VPN tunnel will automatically use the same vpn_gateway_interface
ID in the peer GCP VPN gateway.
This field must reference a gcp.compute.HaVpnGateway resource.
Declaration
public Input<string> PeerGcpGateway { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
PeerIp
IP address of the peer VPN gateway. Only IPv4 is supported.
Declaration
public Input<string> PeerIp { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Project
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
Declaration
public Input<string> Project { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Region
The region where the tunnel is located. If unset, is set to the region of target_vpn_gateway.
Declaration
public Input<string> Region { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
RemoteTrafficSelectors
Remote traffic selector to use when establishing the VPN tunnel with
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.
Declaration
public InputList<string> RemoteTrafficSelectors { get; set; }
Property Value
| Type | Description |
|---|---|
| InputList<System.String> |
Router
URL of router resource to be used for dynamic routing.
Declaration
public Input<string> Router { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
SharedSecret
Shared secret used to set the secure session between the Cloud VPN gateway and the peer VPN gateway. Note: This property is sensitive and will not be displayed in the plan.
Declaration
public Input<string> SharedSecret { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
TargetVpnGateway
URL of the Target VPN gateway with which this VPN tunnel is associated.
Declaration
public Input<string> TargetVpnGateway { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
VpnGateway
URL of the VPN gateway with which this VPN tunnel is associated.
This must be used if a High Availability VPN gateway resource is created.
This field must reference a gcp.compute.HaVpnGateway resource.
Declaration
public Input<string> VpnGateway { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
VpnGatewayInterface
The interface ID of the VPN gateway with which this VPN tunnel is associated.
Declaration
public Input<int> VpnGatewayInterface { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Int32> |