Struct google_notebooks1::api::LocalDiskInitializeParams
source · pub struct LocalDiskInitializeParams {
pub description: Option<String>,
pub disk_name: Option<String>,
pub disk_size_gb: Option<i64>,
pub disk_type: Option<String>,
pub labels: Option<HashMap<String, String>>,
}
Expand description
Input only. Specifies the parameters for a new disk that will be created alongside the new instance. Use initialization parameters to create boot disks or local SSDs attached to the new runtime. This property is mutually exclusive with the source property; you can only define one or the other, but not both.
This type is not used in any activity, and only used as part of another schema.
Fields§
§description: Option<String>
Optional. Provide this property when creating the disk.
disk_name: Option<String>
Optional. Specifies the disk name. If not specified, the default is to use the name of the instance. If the disk with the instance name exists already in the given zone/region, a new name will be automatically generated.
disk_size_gb: Option<i64>
Optional. Specifies the size of the disk in base-2 GB. If not specified, the disk will be the same size as the image (usually 10GB). If specified, the size must be equal to or larger than 10GB. Default 100 GB.
disk_type: Option<String>
Input only. The type of the boot disk attached to this instance, defaults to standard persistent disk (PD_STANDARD
).
labels: Option<HashMap<String, String>>
Optional. Labels to apply to this disk. These can be later modified by the disks.setLabels method. This field is only applicable for persistent disks.
Trait Implementations§
source§impl Clone for LocalDiskInitializeParams
impl Clone for LocalDiskInitializeParams
source§fn clone(&self) -> LocalDiskInitializeParams
fn clone(&self) -> LocalDiskInitializeParams
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more