pub struct BootDisk {
pub disk_type: Option<String>,
pub provisioned_iops: Option<i64>,
pub provisioned_throughput: Option<i64>,
pub size_gb: Option<i64>,
}Expand description
BootDisk specifies the boot disk configuration for nodepools.
This type is not used in any activity, and only used as part of another schema.
Fields§
§disk_type: Option<String>Disk type of the boot disk. (i.e. Hyperdisk-Balanced, PD-Balanced, etc.)
provisioned_iops: Option<i64>For Hyperdisk-Balanced only, the provisioned IOPS config value.
provisioned_throughput: Option<i64>For Hyperdisk-Balanced only, the provisioned throughput config value.
size_gb: Option<i64>Disk size in GB. Replaces NodeConfig.disk_size_gb
Trait Implementations§
Source§impl<'de> Deserialize<'de> for BootDisk
impl<'de> Deserialize<'de> for BootDisk
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Part for BootDisk
Auto Trait Implementations§
impl Freeze for BootDisk
impl RefUnwindSafe for BootDisk
impl Send for BootDisk
impl Sync for BootDisk
impl Unpin for BootDisk
impl UnwindSafe for BootDisk
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more