public sealed class VmEndpointNatMappingsInterfaceNatMappingsNatRuleMappings : IMessage<VmEndpointNatMappingsInterfaceNatMappingsNatRuleMappings>, IEquatable<VmEndpointNatMappingsInterfaceNatMappingsNatRuleMappings>, IDeepCloneable<VmEndpointNatMappingsInterfaceNatMappingsNatRuleMappings>, IBufferMessage, IMessage
Contains information of NAT Mappings provided by a NAT Rule.
Implements
IMessage<VmEndpointNatMappingsInterfaceNatMappingsNatRuleMappings>, IEquatable<VmEndpointNatMappingsInterfaceNatMappingsNatRuleMappings>, IDeepCloneable<VmEndpointNatMappingsInterfaceNatMappingsNatRuleMappings>, IBufferMessage, IMessageNamespace
Google.Cloud.Compute.V1Assembly
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 |
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 |
HasRuleNumber
public bool HasRuleNumber { get; }
Gets whether the "rule_number" 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 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 |
RepeatedField<String> |
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 |
Int32 |
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 |
Int32 |
RuleNumber
public int RuleNumber { get; set; }
Rule number of the NAT Rule.
Property Value | |
---|---|
Type | Description |
Int32 |