pub struct VmEndpointNatMappingsInterfaceNatMappingsNatRuleMappings {
pub drain_nat_ip_port_ranges: Option<Vec<String>>,
pub nat_ip_port_ranges: Option<Vec<String>>,
pub num_total_drain_nat_ports: Option<i32>,
pub num_total_nat_ports: Option<i32>,
pub rule_number: Option<i32>,
}
Expand description
Contains information of NAT Mappings provided by a NAT Rule.
This type is not used in any activity, and only used as part of another schema.
Fields§
§drain_nat_ip_port_ranges: Option<Vec<String>>
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: Option<Vec<String>>
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: Option<i32>
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.
num_total_nat_ports: Option<i32>
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.
rule_number: Option<i32>
Rule number of the NAT Rule.
Trait Implementations§
source§impl Clone for VmEndpointNatMappingsInterfaceNatMappingsNatRuleMappings
impl Clone for VmEndpointNatMappingsInterfaceNatMappingsNatRuleMappings
source§fn clone(&self) -> VmEndpointNatMappingsInterfaceNatMappingsNatRuleMappings
fn clone(&self) -> VmEndpointNatMappingsInterfaceNatMappingsNatRuleMappings
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more