Struct google_dataproc1::api::DiskConfig[][src]

pub struct DiskConfig {
    pub boot_disk_size_gb: Option<i32>,
    pub boot_disk_type: Option<String>,
    pub num_local_ssds: 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

boot_disk_size_gb: Option<i32>

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

boot_disk_type: Option<String>

Optional. Type of the boot disk (default is "pd-standard"). Valid values: "pd-balanced" (Persistent Disk Balanced Solid State Drive), "pd-ssd" (Persistent Disk Solid State Drive), or "pd-standard" (Persistent Disk Hard Disk Drive). See Disk types (https://cloud.google.com/compute/docs/disks#disk-types).

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.

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

impl RefUnwindSafe for DiskConfig[src]

impl Send for DiskConfig[src]

impl Sync for DiskConfig[src]

impl Unpin for DiskConfig[src]

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