pub struct NewDisk {
pub attachment: Option<DiskAttachment>,
pub auto_delete: Option<bool>,
pub boot: Option<bool>,
pub initialize_params: Option<NewDiskInitializeParams>,
}Expand description
A Persistent Disk resource that will be created and attached to each Replica in the Pool. Each Replica will have a unique persistent disk that is created and attached to that Replica.
This type is not used in any activity, and only used as part of another schema.
Fields§
§attachment: Option<DiskAttachment>How the disk will be attached to the Replica.
auto_delete: Option<bool>If true, then this disk will be deleted when the instance is deleted.
boot: Option<bool>If true, indicates that this is the root persistent disk.
initialize_params: Option<NewDiskInitializeParams>Create the new disk using these parameters. The name of the disk will be <instance_name>-<five_random_charactersgt;.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for NewDisk
impl<'de> Deserialize<'de> for NewDisk
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 NewDisk
Auto Trait Implementations§
impl Freeze for NewDisk
impl RefUnwindSafe for NewDisk
impl Send for NewDisk
impl Sync for NewDisk
impl Unpin for NewDisk
impl UnwindSafe for NewDisk
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