pub struct InstanceLaunchVolumeInputVariant1 {
pub boot: Option<bool>,
pub volume: String,
pub size_gb: Option<i64>,
pub volume_type: Option<InstanceLaunchVolumeInputVariant1VolumeType>,
pub performance: Option<VolumePerformanceRequestInput>,
pub mount_path: Option<String>,
pub fstype: Option<String>,
pub delete_on_termination: Option<Value>,
pub snapshot_schedules: Option<Vec<SnapshotScheduleSettingsInput>>,
}Fields§
§boot: Option<bool>Select the one boot disk. Boot disks cannot specify mount_path or fstype.
volume: StringExisting available volume UUID, name, or CRN. Mutually exclusive with new-disk settings.
size_gb: Option<i64>New disk capacity. Required for new data disks; boot disks default to the image minimum.
volume_type: Option<InstanceLaunchVolumeInputVariant1VolumeType>New disk tier; omitted uses the region default.
performance: Option<VolumePerformanceRequestInput>§mount_path: Option<String>Optional data disk mount path. The guest agent formats only blank disks.
fstype: Option<String>Optional filesystem for blank data disks; defaults to ext4.
delete_on_termination: Option<Value>§snapshot_schedules: Option<Vec<SnapshotScheduleSettingsInput>>Independent schedules for a new disk. Names must be unique across the account and this launch. Requires storage:CreateSnapshotPolicy. Existing disks keep their schedules and cannot specify this field.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for InstanceLaunchVolumeInputVariant1
impl<'de> Deserialize<'de> for InstanceLaunchVolumeInputVariant1
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
Auto Trait Implementations§
impl Freeze for InstanceLaunchVolumeInputVariant1
impl RefUnwindSafe for InstanceLaunchVolumeInputVariant1
impl Send for InstanceLaunchVolumeInputVariant1
impl Sync for InstanceLaunchVolumeInputVariant1
impl Unpin for InstanceLaunchVolumeInputVariant1
impl UnsafeUnpin for InstanceLaunchVolumeInputVariant1
impl UnwindSafe for InstanceLaunchVolumeInputVariant1
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