Struct google_compute1::api::DiskInstantiationConfig [−][src]
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:
- 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 Clone for DiskInstantiationConfig[src]
fn clone(&self) -> DiskInstantiationConfig[src]
pub fn clone_from(&mut self, source: &Self)1.0.0[src]
impl Debug for DiskInstantiationConfig[src]
impl Default for DiskInstantiationConfig[src]
fn default() -> DiskInstantiationConfig[src]
impl<'de> Deserialize<'de> for DiskInstantiationConfig[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>, [src]
__D: Deserializer<'de>,
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]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>, [src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T[src]
impl<T> Instrument for T[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>[src]
pub fn in_current_span(self) -> Instrumented<Self>[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.
pub fn to_owned(&self) -> T[src]
pub 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 = Infallible
The type returned in the event of a conversion error.
pub 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>,