Reference documentation and code samples for the Migrate for Compute Engine V1 API class Google::Cloud::VMMigration::V1::CloneJob.
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.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#compute_engine_target_details
def compute_engine_target_details() -> ::Google::Cloud::VMMigration::V1::ComputeEngineTargetDetails
- (::Google::Cloud::VMMigration::V1::ComputeEngineTargetDetails) — Output only. Details of the target VM in Compute Engine.
#create_time
def create_time() -> ::Google::Protobuf::Timestamp
- (::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).
#end_time
def end_time() -> ::Google::Protobuf::Timestamp
- (::Google::Protobuf::Timestamp) — Output only. The time the clone job was ended.
#error
def error() -> ::Google::Rpc::Status
- (::Google::Rpc::Status) — Output only. Provides details for the errors that led to the Clone Job's state.
#name
def name() -> ::String
- (::String) — Output only. The name of the clone.
#state
def state() -> ::Google::Cloud::VMMigration::V1::CloneJob::State
- (::Google::Cloud::VMMigration::V1::CloneJob::State) — Output only. State of the clone job.
#state_time
def state_time() -> ::Google::Protobuf::Timestamp
- (::Google::Protobuf::Timestamp) — Output only. The time the state was last updated.