Compute Engine v1 API - Class VmEndpointNatMappingsInterfaceNatMappings (2.17.0)

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

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

Contain information of Nat mapping for an interface of this endpoint.

Inheritance

object > VmEndpointNatMappingsInterfaceNatMappings

Namespace

Google.Cloud.Compute.V1

Assembly

Google.Cloud.Compute.V1.dll

Constructors

VmEndpointNatMappingsInterfaceNatMappings()

public VmEndpointNatMappingsInterfaceNatMappings()

VmEndpointNatMappingsInterfaceNatMappings(VmEndpointNatMappingsInterfaceNatMappings)

public VmEndpointNatMappingsInterfaceNatMappings(VmEndpointNatMappingsInterfaceNatMappings other)
Parameter
Name Description
other VmEndpointNatMappingsInterfaceNatMappings

Properties

DrainNatIpPortRanges

public RepeatedField<string> DrainNatIpPortRanges { get; }

List of all drain IP:port-range mappings assigned to this interface. 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

HasSourceAliasIpRange

public bool HasSourceAliasIpRange { get; }

Gets whether the "source_alias_ip_range" field is set

Property Value
Type Description
bool

HasSourceVirtualIp

public bool HasSourceVirtualIp { get; }

Gets whether the "source_virtual_ip" 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. 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. It equals to 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. It equals to the aggregated port number in the field nat_ip_port_ranges.

Property Value
Type Description
int

RuleMappings

public RepeatedField<VmEndpointNatMappingsInterfaceNatMappingsNatRuleMappings> RuleMappings { get; }

Information about mappings provided by rules in this NAT.

Property Value
Type Description
RepeatedFieldVmEndpointNatMappingsInterfaceNatMappingsNatRuleMappings

SourceAliasIpRange

public string SourceAliasIpRange { get; set; }

Alias IP range for this interface endpoint. It will be a private (RFC 1918) IP range. Examples: "10.33.4.55/32", or "192.168.5.0/24".

Property Value
Type Description
string

SourceVirtualIp

public string SourceVirtualIp { get; set; }

Primary IP of the VM for this NIC.

Property Value
Type Description
string