pub struct RouterStatusNatStatus {
pub auto_allocated_nat_ips: Option<Vec<String>>,
pub drain_auto_allocated_nat_ips: Option<Vec<String>>,
pub drain_user_allocated_nat_ips: Option<Vec<String>>,
pub min_extra_nat_ips_needed: Option<i32>,
pub name: Option<String>,
pub num_vm_endpoints_with_nat_mappings: Option<i32>,
pub rule_status: Option<Vec<RouterStatusNatStatusNatRuleStatus>>,
pub user_allocated_nat_ip_resources: Option<Vec<String>>,
pub user_allocated_nat_ips: Option<Vec<String>>,
}
Expand description
Status of a NAT contained in this router.
This type is not used in any activity, and only used as part of another schema.
Fields§
§auto_allocated_nat_ips: Option<Vec<String>>
A list of IPs auto-allocated for NAT. Example: [“1.1.1.1”, “129.2.16.89”]
drain_auto_allocated_nat_ips: Option<Vec<String>>
A list of IPs auto-allocated for NAT that are in drain mode. Example: [“1.1.1.1”, “179.12.26.133”].
drain_user_allocated_nat_ips: Option<Vec<String>>
A list of IPs user-allocated for NAT that are in drain mode. Example: [“1.1.1.1”, “179.12.26.133”].
min_extra_nat_ips_needed: Option<i32>
The number of extra IPs to allocate. This will be greater than 0 only if user-specified IPs are NOT enough to allow all configured VMs to use NAT. This value is meaningful only when auto-allocation of NAT IPs is not used.
name: Option<String>
Unique name of this NAT.
num_vm_endpoints_with_nat_mappings: Option<i32>
Number of VM endpoints (i.e., Nics) that can use NAT.
rule_status: Option<Vec<RouterStatusNatStatusNatRuleStatus>>
Status of rules in this NAT.
user_allocated_nat_ip_resources: Option<Vec<String>>
A list of fully qualified URLs of reserved IP address resources.
user_allocated_nat_ips: Option<Vec<String>>
A list of IPs user-allocated for NAT. They will be raw IP strings like “179.12.26.133”.
Trait Implementations§
Source§impl Clone for RouterStatusNatStatus
impl Clone for RouterStatusNatStatus
Source§fn clone(&self) -> RouterStatusNatStatus
fn clone(&self) -> RouterStatusNatStatus
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for RouterStatusNatStatus
impl Debug for RouterStatusNatStatus
Source§impl Default for RouterStatusNatStatus
impl Default for RouterStatusNatStatus
Source§fn default() -> RouterStatusNatStatus
fn default() -> RouterStatusNatStatus
Source§impl<'de> Deserialize<'de> for RouterStatusNatStatus
impl<'de> Deserialize<'de> for RouterStatusNatStatus
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>,
Source§impl Serialize for RouterStatusNatStatus
impl Serialize for RouterStatusNatStatus
impl Part for RouterStatusNatStatus
Auto Trait Implementations§
impl Freeze for RouterStatusNatStatus
impl RefUnwindSafe for RouterStatusNatStatus
impl Send for RouterStatusNatStatus
impl Sync for RouterStatusNatStatus
impl Unpin for RouterStatusNatStatus
impl UnwindSafe for RouterStatusNatStatus
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,
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