[−][src]Struct google_compute1::DiskInstantiationConfig
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
device_name: Option<String>
Specifies the device name of the disk to which the configurations apply to.
custom_image: Option<String>
The custom source image to be used to restore this disk when instantiating this instance template.
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).
instantiate_from: Option<String>
Specifies whether to include the disk and what image to use. Possible values are:
- source-image: to use the same image that was used to create the source instance's corresponding disk. Applicable to the boot disk and additional read-write disks.
- source-image-family: to use the same image family that was used to create the source instance's corresponding disk. Applicable to the boot disk and additional read-write disks.
- custom-image: to use a user-provided image url for disk creation. Applicable to the boot disk and additional read-write disks.
- attach-read-only: to attach a read-only disk. Applicable to read-only disks.
- do-not-include: to exclude a disk from the template. Applicable to additional read-write disks, local SSDs, and read-only disks.
Trait Implementations
impl Part for DiskInstantiationConfig
[src]
impl Default for DiskInstantiationConfig
[src]
fn default() -> DiskInstantiationConfig
[src]
impl Clone for DiskInstantiationConfig
[src]
fn clone(&self) -> DiskInstantiationConfig
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Debug for DiskInstantiationConfig
[src]
impl Serialize for DiskInstantiationConfig
[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl<'de> Deserialize<'de> for DiskInstantiationConfig
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
Auto Trait Implementations
impl Send for DiskInstantiationConfig
impl Unpin for DiskInstantiationConfig
impl Sync for DiskInstantiationConfig
impl UnwindSafe for DiskInstantiationConfig
impl RefUnwindSafe for DiskInstantiationConfig
Blanket Implementations
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> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
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> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
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>,