pub struct VmEndpointNatMappingsInterfaceNatMappings {
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_mappings: Option<Vec<VmEndpointNatMappingsInterfaceNatMappingsNatRuleMappings>>,
pub source_alias_ip_range: Option<String>,
pub source_virtual_ip: Option<String>,
}Expand description
Contain information of Nat mapping for an interface of this endpoint.
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. 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. 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. It equals to 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. It equals to the aggregated port number in the field nat_ip_port_ranges.
rule_mappings: Option<Vec<VmEndpointNatMappingsInterfaceNatMappingsNatRuleMappings>>Information about mappings provided by rules in this NAT.
source_alias_ip_range: Option<String>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”.
source_virtual_ip: Option<String>Primary IP of the VM for this NIC.
Trait Implementations§
Source§impl Clone for VmEndpointNatMappingsInterfaceNatMappings
impl Clone for VmEndpointNatMappingsInterfaceNatMappings
Source§fn clone(&self) -> VmEndpointNatMappingsInterfaceNatMappings
fn clone(&self) -> VmEndpointNatMappingsInterfaceNatMappings
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Default for VmEndpointNatMappingsInterfaceNatMappings
impl Default for VmEndpointNatMappingsInterfaceNatMappings
Source§fn default() -> VmEndpointNatMappingsInterfaceNatMappings
fn default() -> VmEndpointNatMappingsInterfaceNatMappings
Source§impl<'de> Deserialize<'de> for VmEndpointNatMappingsInterfaceNatMappings
impl<'de> Deserialize<'de> for VmEndpointNatMappingsInterfaceNatMappings
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
impl Part for VmEndpointNatMappingsInterfaceNatMappings
Auto Trait Implementations§
impl Freeze for VmEndpointNatMappingsInterfaceNatMappings
impl RefUnwindSafe for VmEndpointNatMappingsInterfaceNatMappings
impl Send for VmEndpointNatMappingsInterfaceNatMappings
impl Sync for VmEndpointNatMappingsInterfaceNatMappings
impl Unpin for VmEndpointNatMappingsInterfaceNatMappings
impl UnsafeUnpin for VmEndpointNatMappingsInterfaceNatMappings
impl UnwindSafe for VmEndpointNatMappingsInterfaceNatMappings
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more