Struct google_api_proto::google::cloud::vmmigration::v1::MigratingVm
source · pub struct MigratingVm {Show 18 fields
pub name: String,
pub source_vm_id: String,
pub display_name: String,
pub description: String,
pub policy: Option<SchedulePolicy>,
pub create_time: Option<Timestamp>,
pub update_time: Option<Timestamp>,
pub last_sync: Option<ReplicationSync>,
pub state: i32,
pub state_time: Option<Timestamp>,
pub current_sync_info: Option<ReplicationCycle>,
pub group: String,
pub labels: BTreeMap<String, String>,
pub recent_clone_jobs: Vec<CloneJob>,
pub error: Option<Status>,
pub recent_cutover_jobs: Vec<CutoverJob>,
pub target_vm_defaults: Option<TargetVmDefaults>,
pub source_vm_details: Option<SourceVmDetails>,
}
Expand description
MigratingVm describes the VM that will be migrated from a Source environment and its replication state.
Fields§
§name: String
Output only. The identifier of the MigratingVm.
source_vm_id: String
The unique ID of the VM in the source.
The VM’s name in vSphere can be changed, so this is not the VM’s name but
rather its moRef id. This id is of the form vm-
display_name: String
The display name attached to the MigratingVm by the user.
description: String
The description attached to the migrating VM by the user.
policy: Option<SchedulePolicy>
The replication schedule policy.
create_time: Option<Timestamp>
Output only. The time the migrating VM was created (this refers to this resource and not to the time it was installed in the source).
update_time: Option<Timestamp>
Output only. The last time the migrating VM resource was updated.
last_sync: Option<ReplicationSync>
Output only. The most updated snapshot created time in the source that finished replication.
state: i32
Output only. State of the MigratingVm.
state_time: Option<Timestamp>
Output only. The last time the migrating VM state was updated.
current_sync_info: Option<ReplicationCycle>
Output only. The percentage progress of the current running replication cycle.
group: String
Output only. The group this migrating vm is included in, if any. The group is represented by the full path of the appropriate [Group][google.cloud.vmmigration.v1.Group] resource.
labels: BTreeMap<String, String>
The labels of the migrating VM.
recent_clone_jobs: Vec<CloneJob>
Output only. The recent [clone jobs][google.cloud.vmmigration.v1.CloneJob] performed on the migrating VM. This field holds the vm’s last completed clone job and the vm’s running clone job, if one exists. Note: To have this field populated you need to explicitly request it via the “view” parameter of the Get/List request.
error: Option<Status>
Output only. Provides details on the state of the Migrating VM in case of an error in replication.
recent_cutover_jobs: Vec<CutoverJob>
Output only. The recent cutover jobs performed on the migrating VM. This field holds the vm’s last completed cutover job and the vm’s running cutover job, if one exists. Note: To have this field populated you need to explicitly request it via the “view” parameter of the Get/List request.
target_vm_defaults: Option<TargetVmDefaults>
The default configuration of the target VM that will be created in Google Cloud as a result of the migration.
source_vm_details: Option<SourceVmDetails>
Details about the source VM.
Implementations§
Trait Implementations§
source§impl Clone for MigratingVm
impl Clone for MigratingVm
source§fn clone(&self) -> MigratingVm
fn clone(&self) -> MigratingVm
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for MigratingVm
impl Debug for MigratingVm
source§impl Default for MigratingVm
impl Default for MigratingVm
source§impl Message for MigratingVm
impl Message for MigratingVm
source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
. Read moresource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
.source§impl PartialEq for MigratingVm
impl PartialEq for MigratingVm
source§fn eq(&self, other: &MigratingVm) -> bool
fn eq(&self, other: &MigratingVm) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for MigratingVm
Auto Trait Implementations§
impl Freeze for MigratingVm
impl RefUnwindSafe for MigratingVm
impl Send for MigratingVm
impl Sync for MigratingVm
impl Unpin for MigratingVm
impl UnwindSafe for MigratingVm
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T
in a tonic::Request