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

HasSourceAliasIpRange

public bool HasSourceAliasIpRange { get; }

Gets whether the "source_alias_ip_range" field is set

Property Value
TypeDescription
Boolean

HasSourceVirtualIp

public bool HasSourceVirtualIp { get; }

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

Property Value
TypeDescription
Int32

RuleMappings

public RepeatedField<VmEndpointNatMappingsInterfaceNatMappingsNatRuleMappings> RuleMappings { get; }

Information about mappings provided by rules in this NAT.

Property Value
TypeDescription
RepeatedField<VmEndpointNatMappingsInterfaceNatMappingsNatRuleMappings>

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