Struct google_compute1::api::DiskInstantiationConfig[][src]

pub struct DiskInstantiationConfig {
    pub auto_delete: Option<bool>,
    pub custom_image: Option<String>,
    pub device_name: Option<String>,
    pub instantiate_from: Option<String>,
}

A specification of the desired way to instantiate a disk in the instance template when its created from a source instance.

This type is not used in any activity, and only used as part of another schema.

Fields

auto_delete: Option<bool>

Specifies whether the disk will be auto-deleted when the instance is deleted (but not when the disk is detached from the instance).

custom_image: Option<String>

The custom source image to be used to restore this disk when instantiating this instance template.

device_name: Option<String>

Specifies the device name of the disk to which the configurations apply to.

instantiate_from: Option<String>

Specifies whether to include the disk and what image to use. Possible values are:

Trait Implementations

impl Clone for DiskInstantiationConfig[src]

impl Debug for DiskInstantiationConfig[src]

impl Default for DiskInstantiationConfig[src]

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

impl Part for DiskInstantiationConfig[src]

impl Serialize for DiskInstantiationConfig[src]

Auto Trait Implementations

impl RefUnwindSafe for DiskInstantiationConfig[src]

impl Send for DiskInstantiationConfig[src]

impl Sync for DiskInstantiationConfig[src]

impl Unpin for DiskInstantiationConfig[src]

impl UnwindSafe for DiskInstantiationConfig[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.