Compute Engine v1 API - Class VmEndpointNatMappingsInterfaceNatMappingsNatRuleMappings (2.10.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
RepeatedFieldstring

HasNumTotalDrainNatPorts

public bool HasNumTotalDrainNatPorts { get; }

Gets whether the "num_total_drain_nat_ports" field is set

Property Value
TypeDescription
bool

HasNumTotalNatPorts

public bool HasNumTotalNatPorts { get; }

Gets whether the "num_total_nat_ports" field is set

Property Value
TypeDescription
bool

HasRuleNumber

public bool HasRuleNumber { get; }

Gets whether the "rule_number" field is set

Property Value
TypeDescription
bool

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
RepeatedFieldstring

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
int

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
int

RuleNumber

public int RuleNumber { get; set; }

Rule number of the NAT Rule.

Property Value
TypeDescription
int