[][src]Struct google_compute1::AccessConfig

pub struct AccessConfig {
    pub network_tier: Option<String>,
    pub kind: Option<String>,
    pub name: Option<String>,
    pub nat_ip: Option<String>,
    pub set_public_ptr: Option<bool>,
    pub type_: Option<String>,
    pub public_ptr_domain_name: Option<String>,
}

An access configuration attached to an instance's network interface. Only one access config per instance is supported.

Activities

This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).

Fields

network_tier: Option<String>

This signifies the networking tier used for configuring this access configuration and can only take the following values: PREMIUM, STANDARD.

If an AccessConfig is specified without a valid external IP address, an ephemeral IP will be created with this networkTier.

If an AccessConfig with a valid external IP address is specified, it must match that of the networkTier associated with the Address resource owning that IP.

kind: Option<String>

[Output Only] Type of the resource. Always compute#accessConfig for access configs.

name: Option<String>

The name of this access configuration. The default and recommended name is External NAT, but you can use any arbitrary string, such as My external IP or Network Access.

nat_ip: Option<String>

An external IP address associated with this instance. Specify an unused static external IP address available to the project or leave this field undefined to use an IP from a shared ephemeral IP address pool. If you specify a static external IP address, it must live in the same region as the zone of the instance.

set_public_ptr: Option<bool>

Specifies whether a public DNS 'PTR' record should be created to map the external IP address of the instance to a DNS domain name.

type_: Option<String>

The type of configuration. The default and only option is ONE_TO_ONE_NAT.

public_ptr_domain_name: Option<String>

The DNS domain name for the public PTR record. You can set this field only if the setPublicPtr field is enabled.

Trait Implementations

impl RequestValue for AccessConfig[src]

impl Default for AccessConfig[src]

impl Clone for AccessConfig[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl Debug for AccessConfig[src]

impl Serialize for AccessConfig[src]

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

Auto Trait Implementations

Blanket Implementations

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

type Owned = T

The resulting type after obtaining ownership.

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

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

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.

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

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

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

impl<T> Typeable for T where
    T: Any

fn get_type(&self) -> TypeId

Get the TypeId of this object.

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