Show / Hide Table of Contents

Class VPNTunnelArgs

Inheritance
System.Object
InputArgs
ResourceArgs
VPNTunnelArgs
Inherited Members
ResourceArgs.Empty
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.Gcp.Compute
Assembly: Pulumi.Gcp.dll
Syntax
public sealed class VPNTunnelArgs : ResourceArgs

Constructors

View Source

VPNTunnelArgs()

Declaration
public VPNTunnelArgs()

Properties

View Source

Description

An optional description of this resource.

Declaration
public Input<string> Description { get; set; }
Property Value
Type Description
Input<System.String>
View Source

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>
View Source

Labels

Labels to apply to this VpnTunnel.

Declaration
public InputMap<string> Labels { get; set; }
Property Value
Type Description
InputMap<System.String>
View Source

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>
View Source

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>
View Source

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>
View Source

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>
View Source

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>
View Source

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>
View Source

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>
View Source

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>
View Source

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>
View Source

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>
View Source

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>
View Source

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>
View Source

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>
View Source

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>
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.