Class: Google::Cloud::VMMigration::V1::CutoverJob
- Inherits:
-
Object
- Object
- Google::Cloud::VMMigration::V1::CutoverJob
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/vmmigration/v1/vmmigration.rb
Overview
CutoverJob message describes a cutover of a migrating VM. The CutoverJob is the operation of shutting down the VM, creating a snapshot and cloning the VM using the replicated snapshot.
Defined Under Namespace
Modules: State
Instance Attribute Summary collapse
-
#compute_engine_disks_target_details ⇒ ::Google::Cloud::VMMigration::V1::ComputeEngineDisksTargetDetails
readonly
Output only.
-
#compute_engine_target_details ⇒ ::Google::Cloud::VMMigration::V1::ComputeEngineTargetDetails
readonly
Output only.
-
#create_time ⇒ ::Google::Protobuf::Timestamp
readonly
Output only.
-
#end_time ⇒ ::Google::Protobuf::Timestamp
readonly
Output only.
-
#error ⇒ ::Google::Rpc::Status
readonly
Output only.
-
#name ⇒ ::String
readonly
Output only.
-
#progress_percent ⇒ ::Integer
readonly
Output only.
-
#state ⇒ ::Google::Cloud::VMMigration::V1::CutoverJob::State
readonly
Output only.
-
#state_message ⇒ ::String
readonly
Output only.
-
#state_time ⇒ ::Google::Protobuf::Timestamp
readonly
Output only.
-
#steps ⇒ ::Array<::Google::Cloud::VMMigration::V1::CutoverStep>
readonly
Output only.
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.
512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 |
# File 'proto_docs/google/cloud/vmmigration/v1/vmmigration.rb', line 512 class CutoverJob include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Possible states of the cutover 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 cutover job has not yet started. PENDING = 1 # The cutover job finished with errors. FAILED = 2 # The cutover job finished successfully. SUCCEEDED = 3 # The cutover job was cancelled. CANCELLED = 4 # The cutover job is being cancelled. CANCELLING = 5 # The cutover job is active and running. ACTIVE = 6 # OS adaptation is running as part of the cutover 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.
512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 |
# File 'proto_docs/google/cloud/vmmigration/v1/vmmigration.rb', line 512 class CutoverJob include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Possible states of the cutover 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 cutover job has not yet started. PENDING = 1 # The cutover job finished with errors. FAILED = 2 # The cutover job finished successfully. SUCCEEDED = 3 # The cutover job was cancelled. CANCELLED = 4 # The cutover job is being cancelled. CANCELLING = 5 # The cutover job is active and running. ACTIVE = 6 # OS adaptation is running as part of the cutover job to generate license. ADAPTING_OS = 7 end end |
#create_time ⇒ ::Google::Protobuf::Timestamp (readonly)
Returns Output only. The time the cutover job was created (as an API call, not when it was actually created in the target).
512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 |
# File 'proto_docs/google/cloud/vmmigration/v1/vmmigration.rb', line 512 class CutoverJob include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Possible states of the cutover 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 cutover job has not yet started. PENDING = 1 # The cutover job finished with errors. FAILED = 2 # The cutover job finished successfully. SUCCEEDED = 3 # The cutover job was cancelled. CANCELLED = 4 # The cutover job is being cancelled. CANCELLING = 5 # The cutover job is active and running. ACTIVE = 6 # OS adaptation is running as part of the cutover job to generate license. ADAPTING_OS = 7 end end |
#end_time ⇒ ::Google::Protobuf::Timestamp (readonly)
Returns Output only. The time the cutover job had finished.
512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 |
# File 'proto_docs/google/cloud/vmmigration/v1/vmmigration.rb', line 512 class CutoverJob include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Possible states of the cutover 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 cutover job has not yet started. PENDING = 1 # The cutover job finished with errors. FAILED = 2 # The cutover job finished successfully. SUCCEEDED = 3 # The cutover job was cancelled. CANCELLED = 4 # The cutover job is being cancelled. CANCELLING = 5 # The cutover job is active and running. ACTIVE = 6 # OS adaptation is running as part of the cutover 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 Cutover Job's state.
512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 |
# File 'proto_docs/google/cloud/vmmigration/v1/vmmigration.rb', line 512 class CutoverJob include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Possible states of the cutover 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 cutover job has not yet started. PENDING = 1 # The cutover job finished with errors. FAILED = 2 # The cutover job finished successfully. SUCCEEDED = 3 # The cutover job was cancelled. CANCELLED = 4 # The cutover job is being cancelled. CANCELLING = 5 # The cutover job is active and running. ACTIVE = 6 # OS adaptation is running as part of the cutover job to generate license. ADAPTING_OS = 7 end end |
#name ⇒ ::String (readonly)
Returns Output only. The name of the cutover job.
512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 |
# File 'proto_docs/google/cloud/vmmigration/v1/vmmigration.rb', line 512 class CutoverJob include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Possible states of the cutover 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 cutover job has not yet started. PENDING = 1 # The cutover job finished with errors. FAILED = 2 # The cutover job finished successfully. SUCCEEDED = 3 # The cutover job was cancelled. CANCELLED = 4 # The cutover job is being cancelled. CANCELLING = 5 # The cutover job is active and running. ACTIVE = 6 # OS adaptation is running as part of the cutover job to generate license. ADAPTING_OS = 7 end end |
#progress_percent ⇒ ::Integer (readonly)
Returns Output only. The current progress in percentage of the cutover job.
512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 |
# File 'proto_docs/google/cloud/vmmigration/v1/vmmigration.rb', line 512 class CutoverJob include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Possible states of the cutover 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 cutover job has not yet started. PENDING = 1 # The cutover job finished with errors. FAILED = 2 # The cutover job finished successfully. SUCCEEDED = 3 # The cutover job was cancelled. CANCELLED = 4 # The cutover job is being cancelled. CANCELLING = 5 # The cutover job is active and running. ACTIVE = 6 # OS adaptation is running as part of the cutover job to generate license. ADAPTING_OS = 7 end end |
#state ⇒ ::Google::Cloud::VMMigration::V1::CutoverJob::State (readonly)
Returns Output only. State of the cutover job.
512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 |
# File 'proto_docs/google/cloud/vmmigration/v1/vmmigration.rb', line 512 class CutoverJob include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Possible states of the cutover 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 cutover job has not yet started. PENDING = 1 # The cutover job finished with errors. FAILED = 2 # The cutover job finished successfully. SUCCEEDED = 3 # The cutover job was cancelled. CANCELLED = 4 # The cutover job is being cancelled. CANCELLING = 5 # The cutover job is active and running. ACTIVE = 6 # OS adaptation is running as part of the cutover job to generate license. ADAPTING_OS = 7 end end |
#state_message ⇒ ::String (readonly)
Returns Output only. A message providing possible extra details about the current state.
512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 |
# File 'proto_docs/google/cloud/vmmigration/v1/vmmigration.rb', line 512 class CutoverJob include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Possible states of the cutover 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 cutover job has not yet started. PENDING = 1 # The cutover job finished with errors. FAILED = 2 # The cutover job finished successfully. SUCCEEDED = 3 # The cutover job was cancelled. CANCELLED = 4 # The cutover job is being cancelled. CANCELLING = 5 # The cutover job is active and running. ACTIVE = 6 # OS adaptation is running as part of the cutover 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.
512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 |
# File 'proto_docs/google/cloud/vmmigration/v1/vmmigration.rb', line 512 class CutoverJob include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Possible states of the cutover 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 cutover job has not yet started. PENDING = 1 # The cutover job finished with errors. FAILED = 2 # The cutover job finished successfully. SUCCEEDED = 3 # The cutover job was cancelled. CANCELLED = 4 # The cutover job is being cancelled. CANCELLING = 5 # The cutover job is active and running. ACTIVE = 6 # OS adaptation is running as part of the cutover job to generate license. ADAPTING_OS = 7 end end |
#steps ⇒ ::Array<::Google::Cloud::VMMigration::V1::CutoverStep> (readonly)
Returns Output only. The cutover steps list representing its progress.
512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 |
# File 'proto_docs/google/cloud/vmmigration/v1/vmmigration.rb', line 512 class CutoverJob include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Possible states of the cutover 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 cutover job has not yet started. PENDING = 1 # The cutover job finished with errors. FAILED = 2 # The cutover job finished successfully. SUCCEEDED = 3 # The cutover job was cancelled. CANCELLED = 4 # The cutover job is being cancelled. CANCELLING = 5 # The cutover job is active and running. ACTIVE = 6 # OS adaptation is running as part of the cutover job to generate license. ADAPTING_OS = 7 end end |