[−][src]Struct google_compute1::AccessConfig
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).
- update access config instances (request)
- add access config instances (request)
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 Clone for AccessConfig
[src]
fn clone(&self) -> AccessConfig
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Default for AccessConfig
[src]
fn default() -> AccessConfig
[src]
impl Debug for AccessConfig
[src]
impl Serialize for AccessConfig
[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl<'de> Deserialize<'de> for AccessConfig
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
Auto Trait Implementations
impl Send for AccessConfig
impl Sync for AccessConfig
impl Unpin for AccessConfig
impl UnwindSafe for AccessConfig
impl RefUnwindSafe for AccessConfig
Blanket Implementations
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = !
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Typeable for T where
T: Any,
T: Any,
impl<T> DeserializeOwned for T where
T: Deserialize<'de>,
[src]
T: Deserialize<'de>,