public sealed class VmEndpointNatMappingsInterfaceNatMappings : IMessage<VmEndpointNatMappingsInterfaceNatMappings>, IEquatable<VmEndpointNatMappingsInterfaceNatMappings>, IDeepCloneable<VmEndpointNatMappingsInterfaceNatMappings>, IBufferMessage, IMessage
Contain information of Nat mapping for an interface of this endpoint.
Implements
IMessage<VmEndpointNatMappingsInterfaceNatMappings>, IEquatable<VmEndpointNatMappingsInterfaceNatMappings>, IDeepCloneable<VmEndpointNatMappingsInterfaceNatMappings>, IBufferMessage, IMessageNamespace
Google.Cloud.Compute.V1Assembly
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 |
RepeatedField<String> |
HasNumTotalDrainNatPorts
public bool HasNumTotalDrainNatPorts { get; }
Gets whether the "num_total_drain_nat_ports" field is set
Property Value | |
---|---|
Type | Description |
Boolean |
HasNumTotalNatPorts
public bool HasNumTotalNatPorts { get; }
Gets whether the "num_total_nat_ports" field is set
Property Value | |
---|---|
Type | Description |
Boolean |
HasSourceAliasIpRange
public bool HasSourceAliasIpRange { get; }
Gets whether the "source_alias_ip_range" field is set
Property Value | |
---|---|
Type | Description |
Boolean |
HasSourceVirtualIp
public bool HasSourceVirtualIp { get; }
Gets whether the "source_virtual_ip" field is set
Property Value | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
Int32 |
RuleMappings
public RepeatedField<VmEndpointNatMappingsInterfaceNatMappingsNatRuleMappings> RuleMappings { get; }
Information about mappings provided by rules in this NAT.
Property Value | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
String |
SourceVirtualIp
public string SourceVirtualIp { get; set; }
Primary IP of the VM for this NIC.
Property Value | |
---|---|
Type | Description |
String |