class Google::Apis::VmmigrationV1alpha1::MigratingVm
MigratingVm
describes the VM that will be migrated from a Source
environment and its replication state.
Attributes
Represent the source AWS VM details. Corresponds to the JSON property ‘awsSourceVmDetails` @return [Google::Apis::VmmigrationV1alpha1::AwsSourceVmDetails]
ComputeEngineTargetDefaults
is a collection of details for creating a VM in a target Compute Engine project. Corresponds to the JSON property ‘computeEngineTargetDefaults` @return [Google::Apis::VmmigrationV1alpha1::ComputeEngineTargetDefaults]
TargetVMDetails is a collection of details for creating a VM in a target Compute Engine project. Corresponds to the JSON property ‘computeEngineVmDefaults` @return [Google::Apis::VmmigrationV1alpha1::TargetVmDetails]
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). Corresponds to the JSON property ‘createTime` @return [String]
ReplicationCycle
contains information about the current replication cycle status. Corresponds to the JSON property ‘currentSyncInfo` @return [Google::Apis::VmmigrationV1alpha1::ReplicationCycle]
The description attached to the migrating VM by the user. Corresponds to the JSON property ‘description` @return [String]
The display name attached to the MigratingVm
by the user. Corresponds to the JSON property ‘displayName` @return [String]
The ‘Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [ gRPC](github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https: //cloud.google.com/apis/design/errors). Corresponds to the JSON property `error` @return [Google::Apis::VmmigrationV1alpha1::Status]
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. Corresponds to the JSON property ‘group` @return [String]
The labels of the migrating VM. Corresponds to the JSON property ‘labels` @return [Hash<String,String>]
ReplicationSync
contain information about the last replica sync to the cloud. Corresponds to the JSON property ‘lastSync` @return [Google::Apis::VmmigrationV1alpha1::ReplicationSync]
Output only. The identifier of the MigratingVm
. Corresponds to the JSON property ‘name` @return [String]
A policy for scheduling replications. Corresponds to the JSON property ‘policy` @return [Google::Apis::VmmigrationV1alpha1::SchedulePolicy]
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. Corresponds to the JSON property ‘recentCloneJobs` @return [Array<Google::Apis::VmmigrationV1alpha1::CloneJob>]
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. Corresponds to the JSON property ‘recentCutoverJobs` @return [Array<Google::Apis::VmmigrationV1alpha1::CutoverJob>]
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-. Corresponds to the JSON property ‘sourceVmId` @return [String]
Output only. State of the MigratingVm
. Corresponds to the JSON property ‘state` @return [String]
Output only. The last time the migrating VM state was updated. Corresponds to the JSON property ‘stateTime` @return [String]
TargetVMDetails is a collection of details for creating a VM in a target Compute Engine project. Corresponds to the JSON property ‘targetDefaults` @return [Google::Apis::VmmigrationV1alpha1::TargetVmDetails]
Output only. The last time the migrating VM resource was updated. Corresponds to the JSON property ‘updateTime` @return [String]
Public Class Methods
# File lib/google/apis/vmmigration_v1alpha1/classes.rb, line 1446 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/vmmigration_v1alpha1/classes.rb, line 1451 def update!(**args) @aws_source_vm_details = args[:aws_source_vm_details] if args.key?(:aws_source_vm_details) @compute_engine_target_defaults = args[:compute_engine_target_defaults] if args.key?(:compute_engine_target_defaults) @compute_engine_vm_defaults = args[:compute_engine_vm_defaults] if args.key?(:compute_engine_vm_defaults) @create_time = args[:create_time] if args.key?(:create_time) @current_sync_info = args[:current_sync_info] if args.key?(:current_sync_info) @description = args[:description] if args.key?(:description) @display_name = args[:display_name] if args.key?(:display_name) @error = args[:error] if args.key?(:error) @group = args[:group] if args.key?(:group) @labels = args[:labels] if args.key?(:labels) @last_sync = args[:last_sync] if args.key?(:last_sync) @name = args[:name] if args.key?(:name) @policy = args[:policy] if args.key?(:policy) @recent_clone_jobs = args[:recent_clone_jobs] if args.key?(:recent_clone_jobs) @recent_cutover_jobs = args[:recent_cutover_jobs] if args.key?(:recent_cutover_jobs) @source_vm_id = args[:source_vm_id] if args.key?(:source_vm_id) @state = args[:state] if args.key?(:state) @state_time = args[:state_time] if args.key?(:state_time) @target_defaults = args[:target_defaults] if args.key?(:target_defaults) @update_time = args[:update_time] if args.key?(:update_time) end