pub struct InstanceLaunchVolumeInputVariant2 {
pub boot: Option<bool>,
pub volume: Option<String>,
pub size_gb: Option<i64>,
pub volume_type: Option<InstanceLaunchVolumeInputVariant2VolumeType>,
pub performance: Option<VolumePerformanceRequestInput>,
pub mount_path: Option<String>,
pub fstype: Option<String>,
pub delete_on_termination: Option<bool>,
pub snapshot_schedules: Option<Vec<SnapshotScheduleSettingsInput>>,
}Fields§
§boot: Option<bool>Select the one boot disk. Boot disks cannot specify mount_path or fstype.
volume: Option<String>Existing 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<InstanceLaunchVolumeInputVariant2VolumeType>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<bool>Defaults true for new disks. Existing disks require false or omission and are retained.
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.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for InstanceLaunchVolumeInputVariant2
impl<'de> Deserialize<'de> for InstanceLaunchVolumeInputVariant2
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 InstanceLaunchVolumeInputVariant2
impl RefUnwindSafe for InstanceLaunchVolumeInputVariant2
impl Send for InstanceLaunchVolumeInputVariant2
impl Sync for InstanceLaunchVolumeInputVariant2
impl Unpin for InstanceLaunchVolumeInputVariant2
impl UnsafeUnpin for InstanceLaunchVolumeInputVariant2
impl UnwindSafe for InstanceLaunchVolumeInputVariant2
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