Class RouterStatusNatStatus (2.1.0)

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

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
NameDescription
otherRouterStatusNatStatus

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
TypeDescription
RepeatedField<String>

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
TypeDescription
RepeatedField<String>

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
TypeDescription
RepeatedField<String>

HasMinExtraNatIpsNeeded

public bool HasMinExtraNatIpsNeeded { get; }

Gets whether the "min_extra_nat_ips_needed" field is set

Property Value
TypeDescription
Boolean

HasName

public bool HasName { get; }

Gets whether the "name" field is set

Property Value
TypeDescription
Boolean

HasNumVmEndpointsWithNatMappings

public bool HasNumVmEndpointsWithNatMappings { get; }

Gets whether the "num_vm_endpoints_with_nat_mappings" field is set

Property Value
TypeDescription
Boolean

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
TypeDescription
Int32

Name

public string Name { get; set; }

Unique name of this NAT.

Property Value
TypeDescription
String

NumVmEndpointsWithNatMappings

public int NumVmEndpointsWithNatMappings { get; set; }

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

Property Value
TypeDescription
Int32

RuleStatus

public RepeatedField<RouterStatusNatStatusNatRuleStatus> RuleStatus { get; }

Status of rules in this NAT.

Property Value
TypeDescription
RepeatedField<RouterStatusNatStatusNatRuleStatus>

UserAllocatedNatIpResources

public RepeatedField<string> UserAllocatedNatIpResources { get; }

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

Property Value
TypeDescription
RepeatedField<String>

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
TypeDescription
RepeatedField<String>