Class MigrationJob (2.0.0)

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

Represents a Database Migration Service migration job object.

Inheritance

Object > MigrationJob

Namespace

Google.Cloud.CloudDms.V1

Assembly

Google.Cloud.CloudDms.V1.dll

Constructors

MigrationJob()

public MigrationJob()

MigrationJob(MigrationJob)

public MigrationJob(MigrationJob other)
Parameter
NameDescription
otherMigrationJob

Properties

ConnectivityCase

public MigrationJob.ConnectivityOneofCase ConnectivityCase { get; }
Property Value
TypeDescription
MigrationJob.ConnectivityOneofCase

CreateTime

public Timestamp CreateTime { get; set; }

Output only. The timestamp when the migration job resource was created. A timestamp in RFC3339 UTC "Zulu" format, accurate to nanoseconds. Example: "2014-10-02T15:01:23.045123456Z".

Property Value
TypeDescription
Timestamp

Destination

public string Destination { get; set; }

Required. The resource name (URI) of the destination connection profile.

Property Value
TypeDescription
String

DestinationDatabase

public DatabaseType DestinationDatabase { get; set; }

The database engine type and provider of the destination.

Property Value
TypeDescription
DatabaseType

DisplayName

public string DisplayName { get; set; }

The migration job display name.

Property Value
TypeDescription
String

DumpPath

public string DumpPath { get; set; }

The path to the dump file in Google Cloud Storage, in the format: (gs://[BUCKET_NAME]/[OBJECT_NAME]).

Property Value
TypeDescription
String

Duration

public Duration Duration { get; set; }

Output only. The duration of the migration job (in seconds). A duration in seconds with up to nine fractional digits, terminated by 's'. Example: "3.5s".

Property Value
TypeDescription
Duration

EndTime

public Timestamp EndTime { get; set; }

Output only. If the migration job is completed, the time when it was completed.

Property Value
TypeDescription
Timestamp

Error

public Status Error { get; set; }

Output only. The error details in case of state FAILED.

Property Value
TypeDescription
Status

Labels

public MapField<string, string> Labels { get; }

The resource labels for migration job to use to annotate any related underlying resources such as Compute Engine VMs. An object containing a list of "key": "value" pairs.

Example: { &quot;name&quot;: &quot;wrench&quot;, &quot;mass&quot;: &quot;1.3kg&quot;, &quot;count&quot;: &quot;3&quot; }.

Property Value
TypeDescription
MapField<String, String>

MigrationJobName

public MigrationJobName MigrationJobName { get; set; }

MigrationJobName-typed view over the Name resource name property.

Property Value
TypeDescription
MigrationJobName

Name

public string Name { get; set; }

The name (URI) of this migration job resource, in the form of: projects/{project}/locations/{location}/instances/{instance}.

Property Value
TypeDescription
String

Phase

public MigrationJob.Types.Phase Phase { get; set; }

Output only. The current migration job phase.

Property Value
TypeDescription
MigrationJob.Types.Phase

ReverseSshConnectivity

public ReverseSshConnectivity ReverseSshConnectivity { get; set; }

The details needed to communicate to the source over Reverse SSH tunnel connectivity.

Property Value
TypeDescription
ReverseSshConnectivity

Source

public string Source { get; set; }

Required. The resource name (URI) of the source connection profile.

Property Value
TypeDescription
String

SourceDatabase

public DatabaseType SourceDatabase { get; set; }

The database engine type and provider of the source.

Property Value
TypeDescription
DatabaseType

State

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

The current migration job state.

Property Value
TypeDescription
MigrationJob.Types.State

StaticIpConnectivity

public StaticIpConnectivity StaticIpConnectivity { get; set; }

static ip connectivity data (default, no additional details needed).

Property Value
TypeDescription
StaticIpConnectivity

Type

public MigrationJob.Types.Type Type { get; set; }

Required. The migration job type.

Property Value
TypeDescription
MigrationJob.Types.Type

UpdateTime

public Timestamp UpdateTime { get; set; }

Output only. The timestamp when the migration job resource was last updated. A timestamp in RFC3339 UTC "Zulu" format, accurate to nanoseconds. Example: "2014-10-02T15:01:23.045123456Z".

Property Value
TypeDescription
Timestamp

VpcPeeringConnectivity

public VpcPeeringConnectivity VpcPeeringConnectivity { get; set; }

The details of the VPC network that the source database is located in.

Property Value
TypeDescription
VpcPeeringConnectivity