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
-
(::Google::Cloud::VMMigration::V1::AwsSourceVmDetails) — Output only. Details of the VM from an AWS source.
Note: The following fields are mutually exclusive:
aws_source_vm_details
,vmware_source_vm_details
,azure_source_vm_details
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#azure_source_vm_details
def azure_source_vm_details() -> ::Google::Cloud::VMMigration::V1::AzureSourceVmDetails
-
(::Google::Cloud::VMMigration::V1::AzureSourceVmDetails) — Output only. Details of the VM from an Azure source.
Note: The following fields are mutually exclusive:
azure_source_vm_details
,vmware_source_vm_details
,aws_source_vm_details
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#compute_engine_disks_target_defaults
def compute_engine_disks_target_defaults() -> ::Google::Cloud::VMMigration::V1::ComputeEngineDisksTargetDefaults
-
(::Google::Cloud::VMMigration::V1::ComputeEngineDisksTargetDefaults) — Details of the target Persistent Disks in Compute Engine.
Note: The following fields are mutually exclusive:
compute_engine_disks_target_defaults
,compute_engine_target_defaults
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#compute_engine_disks_target_defaults=
def compute_engine_disks_target_defaults=(value) -> ::Google::Cloud::VMMigration::V1::ComputeEngineDisksTargetDefaults
-
value (::Google::Cloud::VMMigration::V1::ComputeEngineDisksTargetDefaults) — Details of the target Persistent Disks in Compute Engine.
Note: The following fields are mutually exclusive:
compute_engine_disks_target_defaults
,compute_engine_target_defaults
. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Google::Cloud::VMMigration::V1::ComputeEngineDisksTargetDefaults) — Details of the target Persistent Disks in Compute Engine.
Note: The following fields are mutually exclusive:
compute_engine_disks_target_defaults
,compute_engine_target_defaults
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#compute_engine_target_defaults
def compute_engine_target_defaults() -> ::Google::Cloud::VMMigration::V1::ComputeEngineTargetDefaults
-
(::Google::Cloud::VMMigration::V1::ComputeEngineTargetDefaults) — Details of the target VM in Compute Engine.
Note: The following fields are mutually exclusive:
compute_engine_target_defaults
,compute_engine_disks_target_defaults
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#compute_engine_target_defaults=
def compute_engine_target_defaults=(value) -> ::Google::Cloud::VMMigration::V1::ComputeEngineTargetDefaults
-
value (::Google::Cloud::VMMigration::V1::ComputeEngineTargetDefaults) — Details of the target VM in Compute Engine.
Note: The following fields are mutually exclusive:
compute_engine_target_defaults
,compute_engine_disks_target_defaults
. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Google::Cloud::VMMigration::V1::ComputeEngineTargetDefaults) — Details of the target VM in Compute Engine.
Note: The following fields are mutually exclusive:
compute_engine_target_defaults
,compute_engine_disks_target_defaults
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#create_time
def create_time() -> ::Google::Protobuf::Timestamp
- (::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
- (::Google::Cloud::VMMigration::V1::ReplicationCycle) — Output only. Details of the current running replication cycle.
#cutover_forecast
def cutover_forecast() -> ::Google::Cloud::VMMigration::V1::CutoverForecast
- (::Google::Cloud::VMMigration::V1::CutoverForecast) — Output only. Provides details of future CutoverJobs of a MigratingVm. Set to empty when cutover forecast is unavailable.
#description
def description() -> ::String
- (::String) — The description attached to the migrating VM by the user.
#description=
def description=(value) -> ::String
- value (::String) — The description attached to the migrating VM by the user.
- (::String) — The description attached to the migrating VM by the user.
#display_name
def display_name() -> ::String
- (::String) — The display name attached to the MigratingVm by the user.
#display_name=
def display_name=(value) -> ::String
- value (::String) — The display name attached to the MigratingVm by the user.
- (::String) — The display name attached to the MigratingVm by the user.
#error
def error() -> ::Google::Rpc::Status
- (::Google::Rpc::Status) — Output only. Provides details on the state of the Migrating VM in case of an error in replication.
#expiration
def expiration() -> ::Google::Cloud::VMMigration::V1::MigratingVm::Expiration
- (::Google::Cloud::VMMigration::V1::MigratingVm::Expiration) — Output only. Provides details about the expiration state of the migrating VM.
#group
def group() -> ::String
- (::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}
- (::Google::Protobuf::Map{::String => ::String}) — The labels of the migrating VM.
#labels=
def labels=(value) -> ::Google::Protobuf::Map{::String => ::String}
- value (::Google::Protobuf::Map{::String => ::String}) — The labels of the migrating VM.
- (::Google::Protobuf::Map{::String => ::String}) — The labels of the migrating VM.
#last_replication_cycle
def last_replication_cycle() -> ::Google::Cloud::VMMigration::V1::ReplicationCycle
- (::Google::Cloud::VMMigration::V1::ReplicationCycle) — Output only. Details of the last replication cycle. This will be updated whenever a replication cycle is finished and is not to be confused with last_sync which is only updated on successful replication cycles.
#last_sync
def last_sync() -> ::Google::Cloud::VMMigration::V1::ReplicationSync
- (::Google::Cloud::VMMigration::V1::ReplicationSync) — Output only. The most updated snapshot created time in the source that finished replication.
#name
def name() -> ::String
- (::String) — Output only. The identifier of the MigratingVm.
#policy
def policy() -> ::Google::Cloud::VMMigration::V1::SchedulePolicy
- (::Google::Cloud::VMMigration::V1::SchedulePolicy) — The replication schedule policy.
#policy=
def policy=(value) -> ::Google::Cloud::VMMigration::V1::SchedulePolicy
- value (::Google::Cloud::VMMigration::V1::SchedulePolicy) — The replication schedule policy.
- (::Google::Cloud::VMMigration::V1::SchedulePolicy) — The replication schedule policy.
#recent_clone_jobs
def recent_clone_jobs() -> ::Array<::Google::Cloud::VMMigration::V1::CloneJob>
- (::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>
- (::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
- (::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
- 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-
- (::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
- (::Google::Cloud::VMMigration::V1::MigratingVm::State) — Output only. State of the MigratingVm.
#state_time
def state_time() -> ::Google::Protobuf::Timestamp
- (::Google::Protobuf::Timestamp) — Output only. The last time the migrating VM state was updated.
#update_time
def update_time() -> ::Google::Protobuf::Timestamp
- (::Google::Protobuf::Timestamp) — Output only. The last time the migrating VM resource was updated.
#vmware_source_vm_details
def vmware_source_vm_details() -> ::Google::Cloud::VMMigration::V1::VmwareSourceVmDetails
-
(::Google::Cloud::VMMigration::V1::VmwareSourceVmDetails) — Output only. Details of the VM from a Vmware source.
Note: The following fields are mutually exclusive:
vmware_source_vm_details
,aws_source_vm_details
,azure_source_vm_details
. If a field in that set is populated, all other fields in the set will automatically be cleared.