Reference documentation and code samples for the Migrate for Compute Engine V1 API class Google::Cloud::VMMigration::V1::DiskMigrationJob.
Describes the disk which will be migrated from the source environment. The source disk has to be unattached.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#aws_source_disk_details
def aws_source_disk_details() -> ::Google::Cloud::VMMigration::V1::AwsSourceDiskDetails
Returns
- (::Google::Cloud::VMMigration::V1::AwsSourceDiskDetails) — Details of the unattached AWS source disk.
#aws_source_disk_details=
def aws_source_disk_details=(value) -> ::Google::Cloud::VMMigration::V1::AwsSourceDiskDetails
Parameter
- value (::Google::Cloud::VMMigration::V1::AwsSourceDiskDetails) — Details of the unattached AWS source disk.
Returns
- (::Google::Cloud::VMMigration::V1::AwsSourceDiskDetails) — Details of the unattached AWS source disk.
#create_time
def create_time() -> ::Google::Protobuf::Timestamp
Returns
- (::Google::Protobuf::Timestamp) — Output only. The time the DiskMigrationJob resource was created.
#errors
def errors() -> ::Array<::Google::Rpc::Status>
Returns
- (::Array<::Google::Rpc::Status>) — Output only. Provides details on the errors that led to the disk migration job's state in case of an error.
#name
def name() -> ::String
Returns
- (::String) — Output only. Identifier. The identifier of the DiskMigrationJob.
#state
def state() -> ::Google::Cloud::VMMigration::V1::DiskMigrationJob::State
Returns
- (::Google::Cloud::VMMigration::V1::DiskMigrationJob::State) — Output only. State of the DiskMigrationJob.
#steps
def steps() -> ::Array<::Google::Cloud::VMMigration::V1::DiskMigrationStep>
Returns
- (::Array<::Google::Cloud::VMMigration::V1::DiskMigrationStep>) — Output only. The disk migration steps list representing its progress.
#target_details
def target_details() -> ::Google::Cloud::VMMigration::V1::DiskMigrationJobTargetDetails
Returns
- (::Google::Cloud::VMMigration::V1::DiskMigrationJobTargetDetails) — Required. Details of the target Disk in Compute Engine.
#target_details=
def target_details=(value) -> ::Google::Cloud::VMMigration::V1::DiskMigrationJobTargetDetails
Parameter
- value (::Google::Cloud::VMMigration::V1::DiskMigrationJobTargetDetails) — Required. Details of the target Disk in Compute Engine.
Returns
- (::Google::Cloud::VMMigration::V1::DiskMigrationJobTargetDetails) — Required. Details of the target Disk in Compute Engine.
#update_time
def update_time() -> ::Google::Protobuf::Timestamp
Returns
- (::Google::Protobuf::Timestamp) — Output only. The last time the DiskMigrationJob resource was updated.