Reference documentation and code samples for the Migrate for Compute Engine V1 API class Google::Cloud::VMMigration::V1::MigratingVm.
MigratingVm describes the VM that will be migrated from a Source environment and its replication state.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#aws_source_vm_details
def aws_source_vm_details() -> ::Google::Cloud::VMMigration::V1::AwsSourceVmDetails Returns
- (::Google::Cloud::VMMigration::V1::AwsSourceVmDetails) — Output only. Details of the VM from an AWS source.
#compute_engine_target_defaults
def compute_engine_target_defaults() -> ::Google::Cloud::VMMigration::V1::ComputeEngineTargetDefaults Returns
- (::Google::Cloud::VMMigration::V1::ComputeEngineTargetDefaults) — Details of the target VM in Compute Engine.
#compute_engine_target_defaults=
def compute_engine_target_defaults=(value) -> ::Google::Cloud::VMMigration::V1::ComputeEngineTargetDefaults Parameter
- value (::Google::Cloud::VMMigration::V1::ComputeEngineTargetDefaults) — Details of the target VM in Compute Engine.
Returns
- (::Google::Cloud::VMMigration::V1::ComputeEngineTargetDefaults) — Details of the target VM in Compute Engine.
#create_time
def create_time() -> ::Google::Protobuf::Timestamp Returns
- (::Google::Protobuf::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).
#current_sync_info
def current_sync_info() -> ::Google::Cloud::VMMigration::V1::ReplicationCycle Returns
- (::Google::Cloud::VMMigration::V1::ReplicationCycle) — Output only. The percentage progress of the current running replication cycle.
#description
def description() -> ::String Returns
- (::String) — The description attached to the migrating VM by the user.
#description=
def description=(value) -> ::String Parameter
- value (::String) — The description attached to the migrating VM by the user.
Returns
- (::String) — The description attached to the migrating VM by the user.
#display_name
def display_name() -> ::String Returns
- (::String) — The display name attached to the MigratingVm by the user.
#display_name=
def display_name=(value) -> ::String Parameter
- value (::String) — The display name attached to the MigratingVm by the user.
Returns
- (::String) — The display name attached to the MigratingVm by the user.
#error
def error() -> ::Google::Rpc::Status Returns
- (::Google::Rpc::Status) — Output only. Provides details on the state of the Migrating VM in case of an error in replication.
#group
def group() -> ::String Returns
- (::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 resource.
#labels
def labels() -> ::Google::Protobuf::Map{::String => ::String} Returns
- (::Google::Protobuf::Map{::String => ::String}) — The labels of the migrating VM.
#labels=
def labels=(value) -> ::Google::Protobuf::Map{::String => ::String} Parameter
- value (::Google::Protobuf::Map{::String => ::String}) — The labels of the migrating VM.
Returns
- (::Google::Protobuf::Map{::String => ::String}) — The labels of the migrating VM.
#last_sync
def last_sync() -> ::Google::Cloud::VMMigration::V1::ReplicationSync Returns
- (::Google::Cloud::VMMigration::V1::ReplicationSync) — Output only. The most updated snapshot created time in the source that finished replication.
#name
def name() -> ::String Returns
- (::String) — Output only. The identifier of the MigratingVm.
#policy
def policy() -> ::Google::Cloud::VMMigration::V1::SchedulePolicy Returns
- (::Google::Cloud::VMMigration::V1::SchedulePolicy) — The replication schedule policy.
#policy=
def policy=(value) -> ::Google::Cloud::VMMigration::V1::SchedulePolicy Parameter
- value (::Google::Cloud::VMMigration::V1::SchedulePolicy) — The replication schedule policy.
Returns
- (::Google::Cloud::VMMigration::V1::SchedulePolicy) — The replication schedule policy.
#recent_clone_jobs
def recent_clone_jobs() -> ::Array<::Google::Cloud::VMMigration::V1::CloneJob> Returns
- (::Array<::Google::Cloud::VMMigration::V1::CloneJob>) — Output only. The recent clone jobs 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.
#recent_cutover_jobs
def recent_cutover_jobs() -> ::Array<::Google::Cloud::VMMigration::V1::CutoverJob> Returns
- (::Array<::Google::Cloud::VMMigration::V1::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.
#source_vm_id
def source_vm_id() -> ::String Returns
- (::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-
#source_vm_id=
def source_vm_id=(value) -> ::String Parameter
- value (::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-
Returns
- (::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-
#state
def state() -> ::Google::Cloud::VMMigration::V1::MigratingVm::State Returns
- (::Google::Cloud::VMMigration::V1::MigratingVm::State) — Output only. State of the MigratingVm.
#state_time
def state_time() -> ::Google::Protobuf::Timestamp Returns
- (::Google::Protobuf::Timestamp) — Output only. The last time the migrating VM state was updated.
#update_time
def update_time() -> ::Google::Protobuf::Timestamp Returns
- (::Google::Protobuf::Timestamp) — Output only. The last time the migrating VM resource was updated.