pub struct VolumeRestoreRequest {
pub request_id: String,
pub resource_id: String,
pub ordinal: u32,
pub snapshot_id: String,
}Expand description
Replace one replica’s persistent volume with a new volume made from a snapshot.
The controller stops the replica, snapshots the volume it is about to replace (so the restore can be undone), creates the new volume in the same zone, starts the replica on it, and deletes the replaced volume.
Fields§
§request_id: StringUnique ID of this request. A controller performs each request once.
resource_id: StringID of the container resource that owns the volume
ordinal: u32Replica ordinal whose volume is replaced
snapshot_id: StringCloud ID of the snapshot to restore: an EBS snapshot ID, a Compute Engine snapshot name, or an Azure snapshot resource ID
Trait Implementations§
Source§impl Clone for VolumeRestoreRequest
impl Clone for VolumeRestoreRequest
Source§impl Debug for VolumeRestoreRequest
impl Debug for VolumeRestoreRequest
Source§impl<'de> Deserialize<'de> for VolumeRestoreRequest
impl<'de> Deserialize<'de> for VolumeRestoreRequest
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 Eq for VolumeRestoreRequest
Source§impl PartialEq for VolumeRestoreRequest
impl PartialEq for VolumeRestoreRequest
Source§impl Serialize for VolumeRestoreRequest
impl Serialize for VolumeRestoreRequest
impl StructuralPartialEq for VolumeRestoreRequest
Auto Trait Implementations§
impl Freeze for VolumeRestoreRequest
impl RefUnwindSafe for VolumeRestoreRequest
impl Send for VolumeRestoreRequest
impl Sync for VolumeRestoreRequest
impl Unpin for VolumeRestoreRequest
impl UnsafeUnpin for VolumeRestoreRequest
impl UnwindSafe for VolumeRestoreRequest
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.