pub struct EphemeralStorageLocalSsdConfig {
pub local_ssd_count: Option<i32>,
}
Expand description
EphemeralStorageLocalSsdConfig contains configuration for the node ephemeral storage using Local SSDs.
This type is not used in any activity, and only used as part of another schema.
Fields§
§local_ssd_count: Option<i32>
Number of local SSDs to use to back ephemeral storage. Uses NVMe interfaces. A zero (or unset) value has different meanings depending on machine type being used: 1. For pre-Gen3 machines, which support flexible numbers of local ssds, zero (or unset) means to disable using local SSDs as ephemeral storage. The limit for this value is dependent upon the maximum number of disk available on a machine per zone. See: https://cloud.google.com/compute/docs/disks/local-ssd for more information. 2. For Gen3 machines which dictate a specific number of local ssds, zero (or unset) means to use the default number of local ssds that goes with that machine type. For example, for a c3-standard-8-lssd machine, 2 local ssds would be provisioned. For c3-standard-8 (which doesn’t support local ssds), 0 will be provisioned. See https://cloud.google.com/compute/docs/disks/local-ssd#choose_number_local_ssds for more info.
Trait Implementations§
Source§impl Clone for EphemeralStorageLocalSsdConfig
impl Clone for EphemeralStorageLocalSsdConfig
Source§fn clone(&self) -> EphemeralStorageLocalSsdConfig
fn clone(&self) -> EphemeralStorageLocalSsdConfig
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Default for EphemeralStorageLocalSsdConfig
impl Default for EphemeralStorageLocalSsdConfig
Source§fn default() -> EphemeralStorageLocalSsdConfig
fn default() -> EphemeralStorageLocalSsdConfig
Source§impl<'de> Deserialize<'de> for EphemeralStorageLocalSsdConfig
impl<'de> Deserialize<'de> for EphemeralStorageLocalSsdConfig
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>,
impl Part for EphemeralStorageLocalSsdConfig
Auto Trait Implementations§
impl Freeze for EphemeralStorageLocalSsdConfig
impl RefUnwindSafe for EphemeralStorageLocalSsdConfig
impl Send for EphemeralStorageLocalSsdConfig
impl Sync for EphemeralStorageLocalSsdConfig
impl Unpin for EphemeralStorageLocalSsdConfig
impl UnwindSafe for EphemeralStorageLocalSsdConfig
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more