Struct google_lifesciences2_beta::api::PersistentDisk[][src]

pub struct PersistentDisk {
    pub size_gb: Option<i32>,
    pub source_image: Option<String>,
    pub type_: Option<String>,
}

Configuration for a persistent disk to be attached to the VM. See https://cloud.google.com/compute/docs/disks/performance for more information about disk type, size, and performance considerations.

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

Fields

size_gb: Option<i32>

The size, in GB, of the disk to attach. If the size is not specified, a default is chosen to ensure reasonable I/O performance. If the disk type is specified as local-ssd, multiple local drives are automatically combined to provide the requested size. Note, however, that each physical SSD is 375GB in size, and no more than 8 drives can be attached to a single instance.

source_image: Option<String>

An image to put on the disk before attaching it to the VM.

type_: Option<String>

The Compute Engine disk type. If unspecified, pd-standard is used.

Trait Implementations

impl Clone for PersistentDisk[src]

impl Debug for PersistentDisk[src]

impl Default for PersistentDisk[src]

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

impl Part for PersistentDisk[src]

impl Serialize for PersistentDisk[src]

Auto Trait Implementations

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.