pub struct CloneJob {
pub compute_engine_disks_target_details: Option<ComputeEngineDisksTargetDetails>,
pub compute_engine_target_details: Option<ComputeEngineTargetDetails>,
pub create_time: Option<DateTime<Utc>>,
pub end_time: Option<DateTime<Utc>>,
pub error: Option<Status>,
pub name: Option<String>,
pub state: Option<String>,
pub state_time: Option<DateTime<Utc>>,
pub steps: Option<Vec<CloneStep>>,
}Expand description
CloneJob describes the process of creating a clone of a MigratingVM to the requested target based on the latest successful uploaded snapshots. While the migration cycles of a MigratingVm take place, it is possible to verify the uploaded VM can be started in the cloud, by creating a clone. The clone can be created without any downtime, and it is created using the latest snapshots which are already in the cloud. The cloneJob is only responsible for its work, not its products, which means once it is finished, it will never touch the instance it created. It will only delete it in case of the CloneJob being cancelled or upon failure to clone.
§Activities
This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).
Fields§
§compute_engine_disks_target_details: Option<ComputeEngineDisksTargetDetails>Output only. Details of the target Persistent Disks in Compute Engine.
compute_engine_target_details: Option<ComputeEngineTargetDetails>Output only. Details of the target VM in Compute Engine.
create_time: Option<DateTime<Utc>>Output only. The time the clone job was created (as an API call, not when it was actually created in the target).
end_time: Option<DateTime<Utc>>Output only. The time the clone job was ended.
error: Option<Status>Output only. Provides details for the errors that led to the Clone Job’s state.
name: Option<String>Output only. The name of the clone.
state: Option<String>Output only. State of the clone job.
state_time: Option<DateTime<Utc>>Output only. The time the state was last updated.
steps: Option<Vec<CloneStep>>Output only. The clone steps list representing its progress.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for CloneJob
impl<'de> Deserialize<'de> for CloneJob
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>,
impl RequestValue for CloneJob
impl ResponseResult for CloneJob
Auto Trait Implementations§
impl Freeze for CloneJob
impl RefUnwindSafe for CloneJob
impl Send for CloneJob
impl Sync for CloneJob
impl Unpin for CloneJob
impl UnwindSafe for CloneJob
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more