Class VmEndpointNatMappingsInterfaceNatMappingsNatRuleMappings (1.5.2)

VmEndpointNatMappingsInterfaceNatMappingsNatRuleMappings(
    mapping=None, *, ignore_unknown_fields=False, **kwargs
)

Contains information of NAT Mappings provided by a NAT Rule.

Attributes

NameDescription
drain_nat_ip_port_ranges Sequence[str]
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"].
nat_ip_port_ranges Sequence[str]
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"].
num_total_drain_nat_ports int
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. This field is a member of oneof_ _num_total_drain_nat_ports.
num_total_nat_ports int
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. This field is a member of oneof_ _num_total_nat_ports.
rule_number int
Rule number of the NAT Rule. This field is a member of oneof_ _rule_number.