Compute Engine v1 API - Class RouterStatusNatStatusNatRuleStatus (2.4.0)

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

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

Status of a NAT Rule contained in this NAT.

Inheritance

Object > RouterStatusNatStatusNatRuleStatus

Namespace

Google.Cloud.Compute.V1

Assembly

Google.Cloud.Compute.V1.dll

Constructors

RouterStatusNatStatusNatRuleStatus()

public RouterStatusNatStatusNatRuleStatus()

RouterStatusNatStatusNatRuleStatus(RouterStatusNatStatusNatRuleStatus)

public RouterStatusNatStatusNatRuleStatus(RouterStatusNatStatusNatRuleStatus other)
Parameter
NameDescription
otherRouterStatusNatStatusNatRuleStatus

Properties

ActiveNatIps

public RepeatedField<string> ActiveNatIps { get; }

A list of active IPs for NAT. Example: ["1.1.1.1", "179.12.26.133"].

Property Value
TypeDescription
RepeatedField<String>

DrainNatIps

public RepeatedField<string> DrainNatIps { get; }

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

Property Value
TypeDescription
RepeatedField<String>

HasMinExtraIpsNeeded

public bool HasMinExtraIpsNeeded { get; }

Gets whether the "min_extra_ips_needed" 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

HasRuleNumber

public bool HasRuleNumber { get; }

Gets whether the "rule_number" field is set

Property Value
TypeDescription
Boolean

MinExtraIpsNeeded

public int MinExtraIpsNeeded { get; set; }

The number of extra IPs to allocate. This will be greater than 0 only if the existing IPs in this NAT Rule are NOT enough to allow all configured VMs to use NAT.

Property Value
TypeDescription
Int32

NumVmEndpointsWithNatMappings

public int NumVmEndpointsWithNatMappings { get; set; }

Number of VM endpoints (i.e., NICs) that have NAT Mappings from this NAT Rule.

Property Value
TypeDescription
Int32

RuleNumber

public int RuleNumber { get; set; }

Rule number of the rule.

Property Value
TypeDescription
Int32