Compute Engine v1 API - Class VmEndpointNatMappingsInterfaceNatMappingsNatRuleMappings (2.4.0)

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

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

Contains information of NAT Mappings provided by a NAT Rule.

Inheritance

Object > VmEndpointNatMappingsInterfaceNatMappingsNatRuleMappings

Namespace

Google.Cloud.Compute.V1

Assembly

Google.Cloud.Compute.V1.dll

Constructors

VmEndpointNatMappingsInterfaceNatMappingsNatRuleMappings()

public VmEndpointNatMappingsInterfaceNatMappingsNatRuleMappings()

VmEndpointNatMappingsInterfaceNatMappingsNatRuleMappings(VmEndpointNatMappingsInterfaceNatMappingsNatRuleMappings)

public VmEndpointNatMappingsInterfaceNatMappingsNatRuleMappings(VmEndpointNatMappingsInterfaceNatMappingsNatRuleMappings other)
Parameter
NameDescription
otherVmEndpointNatMappingsInterfaceNatMappingsNatRuleMappings

Properties

DrainNatIpPortRanges

public RepeatedField<string> DrainNatIpPortRanges { get; }

List of all drain IP:port-range mappings assigned to this interface by this rule. These ranges are inclusive, that is, both the first and the last ports can be used for NAT. Example: ["2.2.2.2:12345-12355", "1.1.1.1:2234-2234"].

Property Value
TypeDescription
RepeatedField<String>

HasNumTotalDrainNatPorts

public bool HasNumTotalDrainNatPorts { get; }

Gets whether the "num_total_drain_nat_ports" field is set

Property Value
TypeDescription
Boolean

HasNumTotalNatPorts

public bool HasNumTotalNatPorts { get; }

Gets whether the "num_total_nat_ports" field is set

Property Value
TypeDescription
Boolean

HasRuleNumber

public bool HasRuleNumber { get; }

Gets whether the "rule_number" field is set

Property Value
TypeDescription
Boolean

NatIpPortRanges

public RepeatedField<string> NatIpPortRanges { get; }

A list of all IP:port-range mappings assigned to this interface by this rule. These ranges are inclusive, that is, both the first and the last ports can be used for NAT. Example: ["2.2.2.2:12345-12355", "1.1.1.1:2234-2234"].

Property Value
TypeDescription
RepeatedField<String>

NumTotalDrainNatPorts

public int NumTotalDrainNatPorts { get; set; }

Total number of drain ports across all NAT IPs allocated to this interface by this rule. It equals the aggregated port number in the field drain_nat_ip_port_ranges.

Property Value
TypeDescription
Int32

NumTotalNatPorts

public int NumTotalNatPorts { get; set; }

Total number of ports across all NAT IPs allocated to this interface by this rule. It equals the aggregated port number in the field nat_ip_port_ranges.

Property Value
TypeDescription
Int32

RuleNumber

public int RuleNumber { get; set; }

Rule number of the NAT Rule.

Property Value
TypeDescription
Int32