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 clonning the VM using the replicated snapshot.
Defined Under Namespace
Modules: State
Instance Attribute Summary collapse
-
#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_target_details ⇒ ::Google::Cloud::VMMigration::V1::ComputeEngineTargetDetails (readonly)
Returns Output only. Details of the target VM in Compute Engine.
418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 |
# File 'proto_docs/google/cloud/vmmigration/v1/vmmigration.rb', line 418 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).
418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 |
# File 'proto_docs/google/cloud/vmmigration/v1/vmmigration.rb', line 418 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.
418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 |
# File 'proto_docs/google/cloud/vmmigration/v1/vmmigration.rb', line 418 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.
418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 |
# File 'proto_docs/google/cloud/vmmigration/v1/vmmigration.rb', line 418 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.
418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 |
# File 'proto_docs/google/cloud/vmmigration/v1/vmmigration.rb', line 418 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.
418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 |
# File 'proto_docs/google/cloud/vmmigration/v1/vmmigration.rb', line 418 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.
418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 |
# File 'proto_docs/google/cloud/vmmigration/v1/vmmigration.rb', line 418 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.
418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 |
# File 'proto_docs/google/cloud/vmmigration/v1/vmmigration.rb', line 418 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.
418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 |
# File 'proto_docs/google/cloud/vmmigration/v1/vmmigration.rb', line 418 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.
418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 |
# File 'proto_docs/google/cloud/vmmigration/v1/vmmigration.rb', line 418 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 |