Compute Engine v1 API - Class VmEndpointNatMappingsInterfaceNatMappingsNatRuleMappings (3.2.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
Name Description
other VmEndpointNatMappingsInterfaceNatMappingsNatRuleMappings

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
Type Description
RepeatedFieldstring

HasNumTotalDrainNatPorts

public bool HasNumTotalDrainNatPorts { get; }

Gets whether the "num_total_drain_nat_ports" field is set

Property Value
Type Description
bool

HasNumTotalNatPorts

public bool HasNumTotalNatPorts { get; }

Gets whether the "num_total_nat_ports" field is set

Property Value
Type Description
bool

HasRuleNumber

public bool HasRuleNumber { get; }

Gets whether the "rule_number" field is set

Property Value
Type Description
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
Type Description
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
Type Description
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
Type Description
int

RuleNumber

public int RuleNumber { get; set; }

Rule number of the NAT Rule.

Property Value
Type Description
int