2.9.0 (latest) 2.8.0 2.7.0 2.6.0 2.5.0 2.4.0 2.3.0 2.2.0 2.1.0 2.0.0 1.0.0

    public sealed class DiskMigrationJob : IMessage<DiskMigrationJob>, IEquatable<DiskMigrationJob>, IDeepCloneable<DiskMigrationJob>, IBufferMessage, IMessage

Reference documentation and code samples for the VM Migration v1 API class DiskMigrationJob.

Describes the disk which will be migrated from the source environment.
The source disk has to be unattached.

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> DiskMigrationJob

## Implements

[IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.md.txt)[DiskMigrationJob](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.DiskMigrationJob.md.txt), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[DiskMigrationJob](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.DiskMigrationJob.md.txt), [IDeepCloneable](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.md.txt)[DiskMigrationJob](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.DiskMigrationJob.md.txt), [IBufferMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.md.txt), [IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.md.txt)

## Inherited Members

[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

[Google.Cloud.VMMigration.V1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.md.txt)

## Assembly

Google.Cloud.VMMigration.V1.dll

## Constructors

### DiskMigrationJob()

    public DiskMigrationJob()

### DiskMigrationJob(DiskMigrationJob)

    public DiskMigrationJob(DiskMigrationJob other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `DiskMigrationJob` |

## Properties

### AwsSourceDiskDetails

    public AwsSourceDiskDetails AwsSourceDiskDetails { get; set; }

Details of the unattached AWS source disk.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `AwsSourceDiskDetails` |   |

### CreateTime

    public Timestamp CreateTime { get; set; }

Output only. The time the DiskMigrationJob resource was created.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `Timestamp` |   |

### DiskMigrationJobName

    public DiskMigrationJobName DiskMigrationJobName { get; set; }

[DiskMigrationJobName](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.DiskMigrationJobName.md.txt)-typed view over the [Name](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.DiskMigrationJob.md.txt#Google_Cloud_VMMigration_V1_DiskMigrationJob_Name) resource name property.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `DiskMigrationJobName` |   |

### Errors

    public RepeatedField<Status> Errors { get; }

Output only. Provides details on the errors that led to the disk migration
job's state in case of an error.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `RepeatedFieldStatus` |   |

### Name

    public string Name { get; set; }

Output only. Identifier. The identifier of the DiskMigrationJob.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### SourceDiskDetailsCase

    public DiskMigrationJob.SourceDiskDetailsOneofCase SourceDiskDetailsCase { get; }

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `DiskMigrationJobSourceDiskDetailsOneofCase` |   |

### State

    public DiskMigrationJob.Types.State State { get; set; }

Output only. State of the DiskMigrationJob.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `DiskMigrationJobTypesState` |   |

### Steps

    public RepeatedField<DiskMigrationStep> Steps { get; }

Output only. The disk migration steps list representing its progress.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `RepeatedFieldDiskMigrationStep` |   |

### TargetDetails

    public DiskMigrationJobTargetDetails TargetDetails { get; set; }

Required. Details of the target Disk in Compute Engine.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `DiskMigrationJobTargetDetails` |   |

### UpdateTime

    public Timestamp UpdateTime { get; set; }

Output only. The last time the DiskMigrationJob resource was updated.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `Timestamp` |   |