Class: Google::Cloud::VMMigration::V1::CloneJob

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/vmmigration/v1/vmmigration.rb

Overview

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.

Defined Under Namespace

Modules: State

Instance Attribute Summary collapse

Instance Attribute Details

#compute_engine_disks_target_details::Google::Cloud::VMMigration::V1::ComputeEngineDisksTargetDetails (readonly)

Returns Output only. Details of the target Persistent Disks in Compute Engine.

Note: The following fields are mutually exclusive: compute_engine_disks_target_details, compute_engine_target_details. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns:

  • (::Google::Cloud::VMMigration::V1::ComputeEngineDisksTargetDetails)

    Output only. Details of the target Persistent Disks in Compute Engine.

    Note: The following fields are mutually exclusive: compute_engine_disks_target_details, compute_engine_target_details. If a field in that set is populated, all other fields in the set will automatically be cleared.



391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
# File 'proto_docs/google/cloud/vmmigration/v1/vmmigration.rb', line 391

class CloneJob
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Possible states of the clone job.
  module State
    # The state is unknown. This is used for API compatibility only and is not
    # used by the system.
    STATE_UNSPECIFIED = 0

    # The clone job has not yet started.
    PENDING = 1

    # The clone job is active and running.
    ACTIVE = 2

    # The clone job finished with errors.
    FAILED = 3

    # The clone job finished successfully.
    SUCCEEDED = 4

    # The clone job was cancelled.
    CANCELLED = 5

    # The clone job is being cancelled.
    CANCELLING = 6

    # OS adaptation is running as part of the clone job to generate license.
    ADAPTING_OS = 7
  end
end

#compute_engine_target_details::Google::Cloud::VMMigration::V1::ComputeEngineTargetDetails (readonly)

Returns Output only. Details of the target VM in Compute Engine.

Note: The following fields are mutually exclusive: compute_engine_target_details, compute_engine_disks_target_details. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns:

  • (::Google::Cloud::VMMigration::V1::ComputeEngineTargetDetails)

    Output only. Details of the target VM in Compute Engine.

    Note: The following fields are mutually exclusive: compute_engine_target_details, compute_engine_disks_target_details. If a field in that set is populated, all other fields in the set will automatically be cleared.



391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
# File 'proto_docs/google/cloud/vmmigration/v1/vmmigration.rb', line 391

class CloneJob
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Possible states of the clone job.
  module State
    # The state is unknown. This is used for API compatibility only and is not
    # used by the system.
    STATE_UNSPECIFIED = 0

    # The clone job has not yet started.
    PENDING = 1

    # The clone job is active and running.
    ACTIVE = 2

    # The clone job finished with errors.
    FAILED = 3

    # The clone job finished successfully.
    SUCCEEDED = 4

    # The clone job was cancelled.
    CANCELLED = 5

    # The clone job is being cancelled.
    CANCELLING = 6

    # OS adaptation is running as part of the clone job to generate license.
    ADAPTING_OS = 7
  end
end

#create_time::Google::Protobuf::Timestamp (readonly)

Returns Output only. The time the clone job was created (as an API call, not when it was actually created in the target).

Returns:

  • (::Google::Protobuf::Timestamp)

    Output only. The time the clone job was created (as an API call, not when it was actually created in the target).



391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
# File 'proto_docs/google/cloud/vmmigration/v1/vmmigration.rb', line 391

class CloneJob
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Possible states of the clone job.
  module State
    # The state is unknown. This is used for API compatibility only and is not
    # used by the system.
    STATE_UNSPECIFIED = 0

    # The clone job has not yet started.
    PENDING = 1

    # The clone job is active and running.
    ACTIVE = 2

    # The clone job finished with errors.
    FAILED = 3

    # The clone job finished successfully.
    SUCCEEDED = 4

    # The clone job was cancelled.
    CANCELLED = 5

    # The clone job is being cancelled.
    CANCELLING = 6

    # OS adaptation is running as part of the clone job to generate license.
    ADAPTING_OS = 7
  end
end

#end_time::Google::Protobuf::Timestamp (readonly)

Returns Output only. The time the clone job was ended.

Returns:



391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
# File 'proto_docs/google/cloud/vmmigration/v1/vmmigration.rb', line 391

class CloneJob
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Possible states of the clone job.
  module State
    # The state is unknown. This is used for API compatibility only and is not
    # used by the system.
    STATE_UNSPECIFIED = 0

    # The clone job has not yet started.
    PENDING = 1

    # The clone job is active and running.
    ACTIVE = 2

    # The clone job finished with errors.
    FAILED = 3

    # The clone job finished successfully.
    SUCCEEDED = 4

    # The clone job was cancelled.
    CANCELLED = 5

    # The clone job is being cancelled.
    CANCELLING = 6

    # OS adaptation is running as part of the clone job to generate license.
    ADAPTING_OS = 7
  end
end

#error::Google::Rpc::Status (readonly)

Returns Output only. Provides details for the errors that led to the Clone Job's state.

Returns:

  • (::Google::Rpc::Status)

    Output only. Provides details for the errors that led to the Clone Job's state.



391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
# File 'proto_docs/google/cloud/vmmigration/v1/vmmigration.rb', line 391

class CloneJob
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Possible states of the clone job.
  module State
    # The state is unknown. This is used for API compatibility only and is not
    # used by the system.
    STATE_UNSPECIFIED = 0

    # The clone job has not yet started.
    PENDING = 1

    # The clone job is active and running.
    ACTIVE = 2

    # The clone job finished with errors.
    FAILED = 3

    # The clone job finished successfully.
    SUCCEEDED = 4

    # The clone job was cancelled.
    CANCELLED = 5

    # The clone job is being cancelled.
    CANCELLING = 6

    # OS adaptation is running as part of the clone job to generate license.
    ADAPTING_OS = 7
  end
end

#name::String (readonly)

Returns Output only. The name of the clone.

Returns:

  • (::String)

    Output only. The name of the clone.



391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
# File 'proto_docs/google/cloud/vmmigration/v1/vmmigration.rb', line 391

class CloneJob
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Possible states of the clone job.
  module State
    # The state is unknown. This is used for API compatibility only and is not
    # used by the system.
    STATE_UNSPECIFIED = 0

    # The clone job has not yet started.
    PENDING = 1

    # The clone job is active and running.
    ACTIVE = 2

    # The clone job finished with errors.
    FAILED = 3

    # The clone job finished successfully.
    SUCCEEDED = 4

    # The clone job was cancelled.
    CANCELLED = 5

    # The clone job is being cancelled.
    CANCELLING = 6

    # OS adaptation is running as part of the clone job to generate license.
    ADAPTING_OS = 7
  end
end

#state::Google::Cloud::VMMigration::V1::CloneJob::State (readonly)

Returns Output only. State of the clone job.

Returns:



391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
# File 'proto_docs/google/cloud/vmmigration/v1/vmmigration.rb', line 391

class CloneJob
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Possible states of the clone job.
  module State
    # The state is unknown. This is used for API compatibility only and is not
    # used by the system.
    STATE_UNSPECIFIED = 0

    # The clone job has not yet started.
    PENDING = 1

    # The clone job is active and running.
    ACTIVE = 2

    # The clone job finished with errors.
    FAILED = 3

    # The clone job finished successfully.
    SUCCEEDED = 4

    # The clone job was cancelled.
    CANCELLED = 5

    # The clone job is being cancelled.
    CANCELLING = 6

    # OS adaptation is running as part of the clone job to generate license.
    ADAPTING_OS = 7
  end
end

#state_time::Google::Protobuf::Timestamp (readonly)

Returns Output only. The time the state was last updated.

Returns:



391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
# File 'proto_docs/google/cloud/vmmigration/v1/vmmigration.rb', line 391

class CloneJob
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Possible states of the clone job.
  module State
    # The state is unknown. This is used for API compatibility only and is not
    # used by the system.
    STATE_UNSPECIFIED = 0

    # The clone job has not yet started.
    PENDING = 1

    # The clone job is active and running.
    ACTIVE = 2

    # The clone job finished with errors.
    FAILED = 3

    # The clone job finished successfully.
    SUCCEEDED = 4

    # The clone job was cancelled.
    CANCELLED = 5

    # The clone job is being cancelled.
    CANCELLING = 6

    # OS adaptation is running as part of the clone job to generate license.
    ADAPTING_OS = 7
  end
end

#steps::Array<::Google::Cloud::VMMigration::V1::CloneStep> (readonly)

Returns Output only. The clone steps list representing its progress.

Returns:



391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
# File 'proto_docs/google/cloud/vmmigration/v1/vmmigration.rb', line 391

class CloneJob
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Possible states of the clone job.
  module State
    # The state is unknown. This is used for API compatibility only and is not
    # used by the system.
    STATE_UNSPECIFIED = 0

    # The clone job has not yet started.
    PENDING = 1

    # The clone job is active and running.
    ACTIVE = 2

    # The clone job finished with errors.
    FAILED = 3

    # The clone job finished successfully.
    SUCCEEDED = 4

    # The clone job was cancelled.
    CANCELLED = 5

    # The clone job is being cancelled.
    CANCELLING = 6

    # OS adaptation is running as part of the clone job to generate license.
    ADAPTING_OS = 7
  end
end