Compute Engine v1 API - Class RouterStatusNatStatus (3.1.0)

public sealed class RouterStatusNatStatus : IMessage<RouterStatusNatStatus>, IEquatable<RouterStatusNatStatus>, IDeepCloneable<RouterStatusNatStatus>, IBufferMessage, IMessage

Reference documentation and code samples for the Compute Engine v1 API class RouterStatusNatStatus.

Status of a NAT contained in this router.

Inheritance

object > RouterStatusNatStatus

Namespace

Google.Cloud.Compute.V1

Assembly

Google.Cloud.Compute.V1.dll

Constructors

RouterStatusNatStatus()

public RouterStatusNatStatus()

RouterStatusNatStatus(RouterStatusNatStatus)

public RouterStatusNatStatus(RouterStatusNatStatus other)
Parameter
Name Description
other RouterStatusNatStatus

Properties

AutoAllocatedNatIps

public RepeatedField<string> AutoAllocatedNatIps { get; }

A list of IPs auto-allocated for NAT. Example: ["1.1.1.1", "129.2.16.89"]

Property Value
Type Description
RepeatedFieldstring

DrainAutoAllocatedNatIps

public RepeatedField<string> DrainAutoAllocatedNatIps { get; }

A list of IPs auto-allocated for NAT that are in drain mode. Example: ["1.1.1.1", "179.12.26.133"].

Property Value
Type Description
RepeatedFieldstring

DrainUserAllocatedNatIps

public RepeatedField<string> DrainUserAllocatedNatIps { get; }

A list of IPs user-allocated for NAT that are in drain mode. Example: ["1.1.1.1", "179.12.26.133"].

Property Value
Type Description
RepeatedFieldstring

HasMinExtraNatIpsNeeded

public bool HasMinExtraNatIpsNeeded { get; }

Gets whether the "min_extra_nat_ips_needed" field is set

Property Value
Type Description
bool

HasName

public bool HasName { get; }

Gets whether the "name" field is set

Property Value
Type Description
bool

HasNumVmEndpointsWithNatMappings

public bool HasNumVmEndpointsWithNatMappings { get; }

Gets whether the "num_vm_endpoints_with_nat_mappings" field is set

Property Value
Type Description
bool

MinExtraNatIpsNeeded

public int MinExtraNatIpsNeeded { get; set; }

The number of extra IPs to allocate. This will be greater than 0 only if user-specified IPs are NOT enough to allow all configured VMs to use NAT. This value is meaningful only when auto-allocation of NAT IPs is not used.

Property Value
Type Description
int

Name

public string Name { get; set; }

Unique name of this NAT.

Property Value
Type Description
string

NumVmEndpointsWithNatMappings

public int NumVmEndpointsWithNatMappings { get; set; }

Number of VM endpoints (i.e., Nics) that can use NAT.

Property Value
Type Description
int

RuleStatus

public RepeatedField<RouterStatusNatStatusNatRuleStatus> RuleStatus { get; }

Status of rules in this NAT.

Property Value
Type Description
RepeatedFieldRouterStatusNatStatusNatRuleStatus

UserAllocatedNatIpResources

public RepeatedField<string> UserAllocatedNatIpResources { get; }

A list of fully qualified URLs of reserved IP address resources.

Property Value
Type Description
RepeatedFieldstring

UserAllocatedNatIps

public RepeatedField<string> UserAllocatedNatIps { get; }

A list of IPs user-allocated for NAT. They will be raw IP strings like "179.12.26.133".

Property Value
Type Description
RepeatedFieldstring