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_target_details::Google::Cloud::VMMigration::V1::ComputeEngineTargetDetails (readonly)

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

Returns:



310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
# File 'proto_docs/google/cloud/vmmigration/v1/vmmigration.rb', line 310

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).



310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
# File 'proto_docs/google/cloud/vmmigration/v1/vmmigration.rb', line 310

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:



310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
# File 'proto_docs/google/cloud/vmmigration/v1/vmmigration.rb', line 310

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.



310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
# File 'proto_docs/google/cloud/vmmigration/v1/vmmigration.rb', line 310

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.



310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
# File 'proto_docs/google/cloud/vmmigration/v1/vmmigration.rb', line 310

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:



310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
# File 'proto_docs/google/cloud/vmmigration/v1/vmmigration.rb', line 310

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:



310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
# File 'proto_docs/google/cloud/vmmigration/v1/vmmigration.rb', line 310

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:



310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
# File 'proto_docs/google/cloud/vmmigration/v1/vmmigration.rb', line 310

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