Show / Hide Table of Contents

Class RouterNatState

Inheritance
System.Object
InputArgs
ResourceArgs
RouterNatState
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 RouterNatState : ResourceArgs

Constructors

View Source

RouterNatState()

Declaration
public RouterNatState()

Properties

View Source

DrainNatIps

A list of URLs of the IP resources to be drained. These IPs must be valid static external IPs that have been assigned to the NAT.

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

IcmpIdleTimeoutSec

Timeout (in seconds) for ICMP connections. Defaults to 30s if not set.

Declaration
public Input<int> IcmpIdleTimeoutSec { get; set; }
Property Value
Type Description
Input<System.Int32>
View Source

LogConfig

Configuration for logging on NAT Structure is documented below.

Declaration
public Input<RouterNatLogConfigGetArgs> LogConfig { get; set; }
Property Value
Type Description
Input<RouterNatLogConfigGetArgs>
View Source

MinPortsPerVm

Minimum number of ports allocated to a VM from this NAT.

Declaration
public Input<int> MinPortsPerVm { get; set; }
Property Value
Type Description
Input<System.Int32>
View Source

Name

Self-link of subnetwork to NAT

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

NatIpAllocateOption

How external IPs should be allocated for this NAT. Valid values are AUTO_ONLY for only allowing NAT IPs allocated by Google Cloud Platform, or MANUAL_ONLY for only user-allocated NAT IP addresses.

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

NatIps

Self-links of NAT IPs. Only valid if natIpAllocateOption is set to MANUAL_ONLY.

Declaration
public InputList<string> NatIps { get; set; }
Property Value
Type Description
InputList<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

Region where the router and NAT reside.

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

Router

The name of the Cloud Router in which this NAT will be configured.

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

SourceSubnetworkIpRangesToNat

How NAT should be configured per Subnetwork. If ALL_SUBNETWORKS_ALL_IP_RANGES, all of the IP ranges in every Subnetwork are allowed to Nat. If ALL_SUBNETWORKS_ALL_PRIMARY_IP_RANGES, all of the primary IP ranges in every Subnetwork are allowed to Nat. LIST_OF_SUBNETWORKS: A list of Subnetworks are allowed to Nat (specified in the field subnetwork below). Note that if this field contains ALL_SUBNETWORKS_ALL_IP_RANGES or ALL_SUBNETWORKS_ALL_PRIMARY_IP_RANGES, then there should not be any other RouterNat section in any Router for this network in this region.

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

Subnetworks

One or more subnetwork NAT configurations. Only used if source_subnetwork_ip_ranges_to_nat is set to LIST_OF_SUBNETWORKS Structure is documented below.

Declaration
public InputList<RouterNatSubnetworkGetArgs> Subnetworks { get; set; }
Property Value
Type Description
InputList<RouterNatSubnetworkGetArgs>
View Source

TcpEstablishedIdleTimeoutSec

Timeout (in seconds) for TCP established connections. Defaults to 1200s if not set.

Declaration
public Input<int> TcpEstablishedIdleTimeoutSec { get; set; }
Property Value
Type Description
Input<System.Int32>
View Source

TcpTransitoryIdleTimeoutSec

Timeout (in seconds) for TCP transitory connections. Defaults to 30s if not set.

Declaration
public Input<int> TcpTransitoryIdleTimeoutSec { get; set; }
Property Value
Type Description
Input<System.Int32>
View Source

UdpIdleTimeoutSec

Timeout (in seconds) for UDP connections. Defaults to 30s if not set.

Declaration
public Input<int> UdpIdleTimeoutSec { get; set; }
Property Value
Type Description
Input<System.Int32>
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.