Compute Engine v1 API - Class VmEndpointNatMappingsInterfaceNatMappings (2.7.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

GoogleCloudGoogle.Cloud.ComputeV1

Assembly

Google.Cloud.Compute.V1.dll

Constructors

VmEndpointNatMappingsInterfaceNatMappings()

public VmEndpointNatMappingsInterfaceNatMappings()

VmEndpointNatMappingsInterfaceNatMappings(VmEndpointNatMappingsInterfaceNatMappings)

public VmEndpointNatMappingsInterfaceNatMappings(VmEndpointNatMappingsInterfaceNatMappings other)
Parameter
NameDescription
otherVmEndpointNatMappingsInterfaceNatMappings

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
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

HasSourceAliasIpRange

public bool HasSourceAliasIpRange { get; }

Gets whether the "source_alias_ip_range" field is set

Property Value
TypeDescription
bool

HasSourceVirtualIp

public bool HasSourceVirtualIp { get; }

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

Property Value
TypeDescription
int

RuleMappings

public RepeatedField<VmEndpointNatMappingsInterfaceNatMappingsNatRuleMappings> RuleMappings { get; }

Information about mappings provided by rules in this NAT.

Property Value
TypeDescription
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
TypeDescription
string

SourceVirtualIp

public string SourceVirtualIp { get; set; }

Primary IP of the VM for this NIC.

Property Value
TypeDescription
string