Struct google_compute1::api::RouterStatusNatStatus[][src]

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 user_allocated_nat_ip_resources: Option<Vec<String>>,
    pub user_allocated_nat_ips: Option<Vec<String>>,
}

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.

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

impl Clone for RouterStatusNatStatus[src]

impl Debug for RouterStatusNatStatus[src]

impl Default for RouterStatusNatStatus[src]

impl<'de> Deserialize<'de> for RouterStatusNatStatus[src]

impl Part for RouterStatusNatStatus[src]

impl Serialize for RouterStatusNatStatus[src]

Auto Trait Implementations

impl RefUnwindSafe for RouterStatusNatStatus[src]

impl Send for RouterStatusNatStatus[src]

impl Sync for RouterStatusNatStatus[src]

impl Unpin for RouterStatusNatStatus[src]

impl UnwindSafe for RouterStatusNatStatus[src]

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.