[][src]Struct google_dataproc1::DiskConfig

pub struct DiskConfig {
    pub num_local_ssds: Option<i32>,
    pub boot_disk_type: Option<String>,
    pub boot_disk_size_gb: Option<i32>,
}

Specifies the config of disk options for a group of VM instances.

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

Fields

num_local_ssds: Option<i32>

Optional. Number of attached SSDs, from 0 to 4 (default is 0). If SSDs are not attached, the boot disk is used to store runtime logs and HDFS (https://hadoop.apache.org/docs/r1.2.1/hdfs_user_guide.html) data. If one or more SSDs are attached, this runtime bulk data is spread across them, and the boot disk contains only basic config and installed binaries.

boot_disk_type: Option<String>

Optional. Type of the boot disk (default is "pd-standard"). Valid values: "pd-ssd" (Persistent Disk Solid State Drive) or "pd-standard" (Persistent Disk Hard Disk Drive).

boot_disk_size_gb: Option<i32>

Optional. Size in GB of the boot disk (default is 500GB).

Trait Implementations

impl Clone for DiskConfig[src]

impl Debug for DiskConfig[src]

impl Default for DiskConfig[src]

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

impl Part for DiskConfig[src]

impl Serialize for DiskConfig[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, 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.

impl<T> Typeable for T where
    T: Any