public class DataMigrationServiceClient : ClientBase<DataMigrationService.DataMigrationServiceClient>Client for DataMigrationService
Inheritance
Object > ClientBase > ClientBase<DataMigrationService.DataMigrationServiceClient> > DataMigrationService.DataMigrationServiceClientNamespace
Google.Cloud.CloudDms.V1Assembly
Google.Cloud.CloudDms.V1.dll
Constructors
DataMigrationServiceClient()
protected DataMigrationServiceClient()Protected parameterless constructor to allow creation of test doubles.
DataMigrationServiceClient(CallInvoker)
public DataMigrationServiceClient(CallInvoker callInvoker)Creates a new client for DataMigrationService that uses a custom CallInvoker.
| Parameter | |
|---|---|
| Name | Description |
callInvoker |
CallInvokerThe callInvoker to use to make remote calls. |
DataMigrationServiceClient(ChannelBase)
public DataMigrationServiceClient(ChannelBase channel)Creates a new client for DataMigrationService
| Parameter | |
|---|---|
| Name | Description |
channel |
ChannelBaseThe channel to use to make remote calls. |
DataMigrationServiceClient(ClientBase.ClientBaseConfiguration)
protected DataMigrationServiceClient(ClientBase.ClientBaseConfiguration configuration)Protected constructor to allow creation of configured clients.
| Parameter | |
|---|---|
| Name | Description |
configuration |
ClientBase.ClientBaseConfigurationThe client configuration. |
Methods
CreateConnectionProfile(CreateConnectionProfileRequest, CallOptions)
public virtual Operation CreateConnectionProfile(CreateConnectionProfileRequest request, CallOptions options)Creates a new connection profile in a given project and location.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateConnectionProfileRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
Operation |
The response received from the server. |
CreateConnectionProfile(CreateConnectionProfileRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual Operation CreateConnectionProfile(CreateConnectionProfileRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))Creates a new connection profile in a given project and location.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateConnectionProfileRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
Nullable<DateTime>An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
Operation |
The response received from the server. |
CreateConnectionProfileAsync(CreateConnectionProfileRequest, CallOptions)
public virtual AsyncUnaryCall<Operation> CreateConnectionProfileAsync(CreateConnectionProfileRequest request, CallOptions options)Creates a new connection profile in a given project and location.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateConnectionProfileRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCall<Operation> |
The call object. |
CreateConnectionProfileAsync(CreateConnectionProfileRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<Operation> CreateConnectionProfileAsync(CreateConnectionProfileRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))Creates a new connection profile in a given project and location.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateConnectionProfileRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
Nullable<DateTime>An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCall<Operation> |
The call object. |
CreateMigrationJob(CreateMigrationJobRequest, CallOptions)
public virtual Operation CreateMigrationJob(CreateMigrationJobRequest request, CallOptions options)Creates a new migration job in a given project and location.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateMigrationJobRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
Operation |
The response received from the server. |
CreateMigrationJob(CreateMigrationJobRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual Operation CreateMigrationJob(CreateMigrationJobRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))Creates a new migration job in a given project and location.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateMigrationJobRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
Nullable<DateTime>An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
Operation |
The response received from the server. |
CreateMigrationJobAsync(CreateMigrationJobRequest, CallOptions)
public virtual AsyncUnaryCall<Operation> CreateMigrationJobAsync(CreateMigrationJobRequest request, CallOptions options)Creates a new migration job in a given project and location.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateMigrationJobRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCall<Operation> |
The call object. |
CreateMigrationJobAsync(CreateMigrationJobRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<Operation> CreateMigrationJobAsync(CreateMigrationJobRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))Creates a new migration job in a given project and location.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateMigrationJobRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
Nullable<DateTime>An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCall<Operation> |
The call object. |
CreateOperationsClient()
public virtual Operations.OperationsClient CreateOperationsClient()Creates a new instance of Operations.OperationsClient using the same call invoker as this client.
| Returns | |
|---|---|
| Type | Description |
Operations.OperationsClient |
A new Operations client for the same target as this client. |
DeleteConnectionProfile(DeleteConnectionProfileRequest, CallOptions)
public virtual Operation DeleteConnectionProfile(DeleteConnectionProfileRequest request, CallOptions options)Deletes a single Database Migration Service connection profile. A connection profile can only be deleted if it is not in use by any active migration jobs.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteConnectionProfileRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
Operation |
The response received from the server. |
DeleteConnectionProfile(DeleteConnectionProfileRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual Operation DeleteConnectionProfile(DeleteConnectionProfileRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))Deletes a single Database Migration Service connection profile. A connection profile can only be deleted if it is not in use by any active migration jobs.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteConnectionProfileRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
Nullable<DateTime>An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
Operation |
The response received from the server. |
DeleteConnectionProfileAsync(DeleteConnectionProfileRequest, CallOptions)
public virtual AsyncUnaryCall<Operation> DeleteConnectionProfileAsync(DeleteConnectionProfileRequest request, CallOptions options)Deletes a single Database Migration Service connection profile. A connection profile can only be deleted if it is not in use by any active migration jobs.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteConnectionProfileRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCall<Operation> |
The call object. |
DeleteConnectionProfileAsync(DeleteConnectionProfileRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<Operation> DeleteConnectionProfileAsync(DeleteConnectionProfileRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))Deletes a single Database Migration Service connection profile. A connection profile can only be deleted if it is not in use by any active migration jobs.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteConnectionProfileRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
Nullable<DateTime>An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCall<Operation> |
The call object. |
DeleteMigrationJob(DeleteMigrationJobRequest, CallOptions)
public virtual Operation DeleteMigrationJob(DeleteMigrationJobRequest request, CallOptions options)Deletes a single migration job.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteMigrationJobRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
Operation |
The response received from the server. |
DeleteMigrationJob(DeleteMigrationJobRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual Operation DeleteMigrationJob(DeleteMigrationJobRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))Deletes a single migration job.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteMigrationJobRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
Nullable<DateTime>An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
Operation |
The response received from the server. |
DeleteMigrationJobAsync(DeleteMigrationJobRequest, CallOptions)
public virtual AsyncUnaryCall<Operation> DeleteMigrationJobAsync(DeleteMigrationJobRequest request, CallOptions options)Deletes a single migration job.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteMigrationJobRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCall<Operation> |
The call object. |
DeleteMigrationJobAsync(DeleteMigrationJobRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<Operation> DeleteMigrationJobAsync(DeleteMigrationJobRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))Deletes a single migration job.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteMigrationJobRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
Nullable<DateTime>An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCall<Operation> |
The call object. |
GenerateSshScript(GenerateSshScriptRequest, CallOptions)
public virtual SshScript GenerateSshScript(GenerateSshScriptRequest request, CallOptions options)Generate a SSH configuration script to configure the reverse SSH connectivity.
| Parameters | |
|---|---|
| Name | Description |
request |
GenerateSshScriptRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
SshScript |
The response received from the server. |
GenerateSshScript(GenerateSshScriptRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual SshScript GenerateSshScript(GenerateSshScriptRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))Generate a SSH configuration script to configure the reverse SSH connectivity.
| Parameters | |
|---|---|
| Name | Description |
request |
GenerateSshScriptRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
Nullable<DateTime>An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
SshScript |
The response received from the server. |
GenerateSshScriptAsync(GenerateSshScriptRequest, CallOptions)
public virtual AsyncUnaryCall<SshScript> GenerateSshScriptAsync(GenerateSshScriptRequest request, CallOptions options)Generate a SSH configuration script to configure the reverse SSH connectivity.
| Parameters | |
|---|---|
| Name | Description |
request |
GenerateSshScriptRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCall<SshScript> |
The call object. |
GenerateSshScriptAsync(GenerateSshScriptRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<SshScript> GenerateSshScriptAsync(GenerateSshScriptRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))Generate a SSH configuration script to configure the reverse SSH connectivity.
| Parameters | |
|---|---|
| Name | Description |
request |
GenerateSshScriptRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
Nullable<DateTime>An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCall<SshScript> |
The call object. |
GetConnectionProfile(GetConnectionProfileRequest, CallOptions)
public virtual ConnectionProfile GetConnectionProfile(GetConnectionProfileRequest request, CallOptions options)Gets details of a single connection profile.
| Parameters | |
|---|---|
| Name | Description |
request |
GetConnectionProfileRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
ConnectionProfile |
The response received from the server. |
GetConnectionProfile(GetConnectionProfileRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual ConnectionProfile GetConnectionProfile(GetConnectionProfileRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))Gets details of a single connection profile.
| Parameters | |
|---|---|
| Name | Description |
request |
GetConnectionProfileRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
Nullable<DateTime>An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
ConnectionProfile |
The response received from the server. |
GetConnectionProfileAsync(GetConnectionProfileRequest, CallOptions)
public virtual AsyncUnaryCall<ConnectionProfile> GetConnectionProfileAsync(GetConnectionProfileRequest request, CallOptions options)Gets details of a single connection profile.
| Parameters | |
|---|---|
| Name | Description |
request |
GetConnectionProfileRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCall<ConnectionProfile> |
The call object. |
GetConnectionProfileAsync(GetConnectionProfileRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<ConnectionProfile> GetConnectionProfileAsync(GetConnectionProfileRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))Gets details of a single connection profile.
| Parameters | |
|---|---|
| Name | Description |
request |
GetConnectionProfileRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
Nullable<DateTime>An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCall<ConnectionProfile> |
The call object. |
GetMigrationJob(GetMigrationJobRequest, CallOptions)
public virtual MigrationJob GetMigrationJob(GetMigrationJobRequest request, CallOptions options)Gets details of a single migration job.
| Parameters | |
|---|---|
| Name | Description |
request |
GetMigrationJobRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
MigrationJob |
The response received from the server. |
GetMigrationJob(GetMigrationJobRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual MigrationJob GetMigrationJob(GetMigrationJobRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))Gets details of a single migration job.
| Parameters | |
|---|---|
| Name | Description |
request |
GetMigrationJobRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
Nullable<DateTime>An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
MigrationJob |
The response received from the server. |
GetMigrationJobAsync(GetMigrationJobRequest, CallOptions)
public virtual AsyncUnaryCall<MigrationJob> GetMigrationJobAsync(GetMigrationJobRequest request, CallOptions options)Gets details of a single migration job.
| Parameters | |
|---|---|
| Name | Description |
request |
GetMigrationJobRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCall<MigrationJob> |
The call object. |
GetMigrationJobAsync(GetMigrationJobRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<MigrationJob> GetMigrationJobAsync(GetMigrationJobRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))Gets details of a single migration job.
| Parameters | |
|---|---|
| Name | Description |
request |
GetMigrationJobRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
Nullable<DateTime>An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCall<MigrationJob> |
The call object. |
ListConnectionProfiles(ListConnectionProfilesRequest, CallOptions)
public virtual ListConnectionProfilesResponse ListConnectionProfiles(ListConnectionProfilesRequest request, CallOptions options)Retrieve a list of all connection profiles in a given project and location.
| Parameters | |
|---|---|
| Name | Description |
request |
ListConnectionProfilesRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
ListConnectionProfilesResponse |
The response received from the server. |
ListConnectionProfiles(ListConnectionProfilesRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual ListConnectionProfilesResponse ListConnectionProfiles(ListConnectionProfilesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))Retrieve a list of all connection profiles in a given project and location.
| Parameters | |
|---|---|
| Name | Description |
request |
ListConnectionProfilesRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
Nullable<DateTime>An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
ListConnectionProfilesResponse |
The response received from the server. |
ListConnectionProfilesAsync(ListConnectionProfilesRequest, CallOptions)
public virtual AsyncUnaryCall<ListConnectionProfilesResponse> ListConnectionProfilesAsync(ListConnectionProfilesRequest request, CallOptions options)Retrieve a list of all connection profiles in a given project and location.
| Parameters | |
|---|---|
| Name | Description |
request |
ListConnectionProfilesRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCall<ListConnectionProfilesResponse> |
The call object. |
ListConnectionProfilesAsync(ListConnectionProfilesRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<ListConnectionProfilesResponse> ListConnectionProfilesAsync(ListConnectionProfilesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))Retrieve a list of all connection profiles in a given project and location.
| Parameters | |
|---|---|
| Name | Description |
request |
ListConnectionProfilesRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
Nullable<DateTime>An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCall<ListConnectionProfilesResponse> |
The call object. |
ListMigrationJobs(ListMigrationJobsRequest, CallOptions)
public virtual ListMigrationJobsResponse ListMigrationJobs(ListMigrationJobsRequest request, CallOptions options)Lists migration jobs in a given project and location.
| Parameters | |
|---|---|
| Name | Description |
request |
ListMigrationJobsRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
ListMigrationJobsResponse |
The response received from the server. |
ListMigrationJobs(ListMigrationJobsRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual ListMigrationJobsResponse ListMigrationJobs(ListMigrationJobsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))Lists migration jobs in a given project and location.
| Parameters | |
|---|---|
| Name | Description |
request |
ListMigrationJobsRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
Nullable<DateTime>An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
ListMigrationJobsResponse |
The response received from the server. |
ListMigrationJobsAsync(ListMigrationJobsRequest, CallOptions)
public virtual AsyncUnaryCall<ListMigrationJobsResponse> ListMigrationJobsAsync(ListMigrationJobsRequest request, CallOptions options)Lists migration jobs in a given project and location.
| Parameters | |
|---|---|
| Name | Description |
request |
ListMigrationJobsRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCall<ListMigrationJobsResponse> |
The call object. |
ListMigrationJobsAsync(ListMigrationJobsRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<ListMigrationJobsResponse> ListMigrationJobsAsync(ListMigrationJobsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))Lists migration jobs in a given project and location.
| Parameters | |
|---|---|
| Name | Description |
request |
ListMigrationJobsRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
Nullable<DateTime>An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCall<ListMigrationJobsResponse> |
The call object. |
NewInstance(ClientBase.ClientBaseConfiguration)
protected override DataMigrationService.DataMigrationServiceClient NewInstance(ClientBase.ClientBaseConfiguration configuration)Creates a new instance of client from given ClientBaseConfiguration.
| Parameter | |
|---|---|
| Name | Description |
configuration |
ClientBase.ClientBaseConfiguration |
| Returns | |
|---|---|
| Type | Description |
DataMigrationService.DataMigrationServiceClient |
|
PromoteMigrationJob(PromoteMigrationJobRequest, CallOptions)
public virtual Operation PromoteMigrationJob(PromoteMigrationJobRequest request, CallOptions options)Promote a migration job, stopping replication to the destination and promoting the destination to be a standalone database.
| Parameters | |
|---|---|
| Name | Description |
request |
PromoteMigrationJobRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
Operation |
The response received from the server. |
PromoteMigrationJob(PromoteMigrationJobRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual Operation PromoteMigrationJob(PromoteMigrationJobRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))Promote a migration job, stopping replication to the destination and promoting the destination to be a standalone database.
| Parameters | |
|---|---|
| Name | Description |
request |
PromoteMigrationJobRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
Nullable<DateTime>An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
Operation |
The response received from the server. |
PromoteMigrationJobAsync(PromoteMigrationJobRequest, CallOptions)
public virtual AsyncUnaryCall<Operation> PromoteMigrationJobAsync(PromoteMigrationJobRequest request, CallOptions options)Promote a migration job, stopping replication to the destination and promoting the destination to be a standalone database.
| Parameters | |
|---|---|
| Name | Description |
request |
PromoteMigrationJobRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCall<Operation> |
The call object. |
PromoteMigrationJobAsync(PromoteMigrationJobRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<Operation> PromoteMigrationJobAsync(PromoteMigrationJobRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))Promote a migration job, stopping replication to the destination and promoting the destination to be a standalone database.
| Parameters | |
|---|---|
| Name | Description |
request |
PromoteMigrationJobRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
Nullable<DateTime>An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCall<Operation> |
The call object. |
RestartMigrationJob(RestartMigrationJobRequest, CallOptions)
public virtual Operation RestartMigrationJob(RestartMigrationJobRequest request, CallOptions options)Restart a stopped or failed migration job, resetting the destination instance to its original state and starting the migration process from scratch.
| Parameters | |
|---|---|
| Name | Description |
request |
RestartMigrationJobRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
Operation |
The response received from the server. |
RestartMigrationJob(RestartMigrationJobRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual Operation RestartMigrationJob(RestartMigrationJobRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))Restart a stopped or failed migration job, resetting the destination instance to its original state and starting the migration process from scratch.
| Parameters | |
|---|---|
| Name | Description |
request |
RestartMigrationJobRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
Nullable<DateTime>An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
Operation |
The response received from the server. |
RestartMigrationJobAsync(RestartMigrationJobRequest, CallOptions)
public virtual AsyncUnaryCall<Operation> RestartMigrationJobAsync(RestartMigrationJobRequest request, CallOptions options)Restart a stopped or failed migration job, resetting the destination instance to its original state and starting the migration process from scratch.
| Parameters | |
|---|---|
| Name | Description |
request |
RestartMigrationJobRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCall<Operation> |
The call object. |
RestartMigrationJobAsync(RestartMigrationJobRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<Operation> RestartMigrationJobAsync(RestartMigrationJobRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))Restart a stopped or failed migration job, resetting the destination instance to its original state and starting the migration process from scratch.
| Parameters | |
|---|---|
| Name | Description |
request |
RestartMigrationJobRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
Nullable<DateTime>An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCall<Operation> |
The call object. |
ResumeMigrationJob(ResumeMigrationJobRequest, CallOptions)
public virtual Operation ResumeMigrationJob(ResumeMigrationJobRequest request, CallOptions options)Resume a migration job that is currently stopped and is resumable (was stopped during CDC phase).
| Parameters | |
|---|---|
| Name | Description |
request |
ResumeMigrationJobRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
Operation |
The response received from the server. |
ResumeMigrationJob(ResumeMigrationJobRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual Operation ResumeMigrationJob(ResumeMigrationJobRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))Resume a migration job that is currently stopped and is resumable (was stopped during CDC phase).
| Parameters | |
|---|---|
| Name | Description |
request |
ResumeMigrationJobRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
Nullable<DateTime>An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
Operation |
The response received from the server. |
ResumeMigrationJobAsync(ResumeMigrationJobRequest, CallOptions)
public virtual AsyncUnaryCall<Operation> ResumeMigrationJobAsync(ResumeMigrationJobRequest request, CallOptions options)Resume a migration job that is currently stopped and is resumable (was stopped during CDC phase).
| Parameters | |
|---|---|
| Name | Description |
request |
ResumeMigrationJobRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCall<Operation> |
The call object. |
ResumeMigrationJobAsync(ResumeMigrationJobRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<Operation> ResumeMigrationJobAsync(ResumeMigrationJobRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))Resume a migration job that is currently stopped and is resumable (was stopped during CDC phase).
| Parameters | |
|---|---|
| Name | Description |
request |
ResumeMigrationJobRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
Nullable<DateTime>An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCall<Operation> |
The call object. |
StartMigrationJob(StartMigrationJobRequest, CallOptions)
public virtual Operation StartMigrationJob(StartMigrationJobRequest request, CallOptions options)Start an already created migration job.
| Parameters | |
|---|---|
| Name | Description |
request |
StartMigrationJobRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
Operation |
The response received from the server. |
StartMigrationJob(StartMigrationJobRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual Operation StartMigrationJob(StartMigrationJobRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))Start an already created migration job.
| Parameters | |
|---|---|
| Name | Description |
request |
StartMigrationJobRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
Nullable<DateTime>An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
Operation |
The response received from the server. |
StartMigrationJobAsync(StartMigrationJobRequest, CallOptions)
public virtual AsyncUnaryCall<Operation> StartMigrationJobAsync(StartMigrationJobRequest request, CallOptions options)Start an already created migration job.
| Parameters | |
|---|---|
| Name | Description |
request |
StartMigrationJobRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCall<Operation> |
The call object. |
StartMigrationJobAsync(StartMigrationJobRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<Operation> StartMigrationJobAsync(StartMigrationJobRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))Start an already created migration job.
| Parameters | |
|---|---|
| Name | Description |
request |
StartMigrationJobRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
Nullable<DateTime>An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCall<Operation> |
The call object. |
StopMigrationJob(StopMigrationJobRequest, CallOptions)
public virtual Operation StopMigrationJob(StopMigrationJobRequest request, CallOptions options)Stops a running migration job.
| Parameters | |
|---|---|
| Name | Description |
request |
StopMigrationJobRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
Operation |
The response received from the server. |
StopMigrationJob(StopMigrationJobRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual Operation StopMigrationJob(StopMigrationJobRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))Stops a running migration job.
| Parameters | |
|---|---|
| Name | Description |
request |
StopMigrationJobRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
Nullable<DateTime>An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
Operation |
The response received from the server. |
StopMigrationJobAsync(StopMigrationJobRequest, CallOptions)
public virtual AsyncUnaryCall<Operation> StopMigrationJobAsync(StopMigrationJobRequest request, CallOptions options)Stops a running migration job.
| Parameters | |
|---|---|
| Name | Description |
request |
StopMigrationJobRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCall<Operation> |
The call object. |
StopMigrationJobAsync(StopMigrationJobRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<Operation> StopMigrationJobAsync(StopMigrationJobRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))Stops a running migration job.
| Parameters | |
|---|---|
| Name | Description |
request |
StopMigrationJobRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
Nullable<DateTime>An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCall<Operation> |
The call object. |
UpdateConnectionProfile(UpdateConnectionProfileRequest, CallOptions)
public virtual Operation UpdateConnectionProfile(UpdateConnectionProfileRequest request, CallOptions options)Update the configuration of a single connection profile.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateConnectionProfileRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
Operation |
The response received from the server. |
UpdateConnectionProfile(UpdateConnectionProfileRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual Operation UpdateConnectionProfile(UpdateConnectionProfileRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))Update the configuration of a single connection profile.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateConnectionProfileRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
Nullable<DateTime>An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
Operation |
The response received from the server. |
UpdateConnectionProfileAsync(UpdateConnectionProfileRequest, CallOptions)
public virtual AsyncUnaryCall<Operation> UpdateConnectionProfileAsync(UpdateConnectionProfileRequest request, CallOptions options)Update the configuration of a single connection profile.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateConnectionProfileRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCall<Operation> |
The call object. |
UpdateConnectionProfileAsync(UpdateConnectionProfileRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<Operation> UpdateConnectionProfileAsync(UpdateConnectionProfileRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))Update the configuration of a single connection profile.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateConnectionProfileRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
Nullable<DateTime>An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCall<Operation> |
The call object. |
UpdateMigrationJob(UpdateMigrationJobRequest, CallOptions)
public virtual Operation UpdateMigrationJob(UpdateMigrationJobRequest request, CallOptions options)Updates the parameters of a single migration job.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateMigrationJobRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
Operation |
The response received from the server. |
UpdateMigrationJob(UpdateMigrationJobRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual Operation UpdateMigrationJob(UpdateMigrationJobRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))Updates the parameters of a single migration job.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateMigrationJobRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
Nullable<DateTime>An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
Operation |
The response received from the server. |
UpdateMigrationJobAsync(UpdateMigrationJobRequest, CallOptions)
public virtual AsyncUnaryCall<Operation> UpdateMigrationJobAsync(UpdateMigrationJobRequest request, CallOptions options)Updates the parameters of a single migration job.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateMigrationJobRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCall<Operation> |
The call object. |
UpdateMigrationJobAsync(UpdateMigrationJobRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<Operation> UpdateMigrationJobAsync(UpdateMigrationJobRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))Updates the parameters of a single migration job.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateMigrationJobRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
Nullable<DateTime>An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCall<Operation> |
The call object. |
VerifyMigrationJob(VerifyMigrationJobRequest, CallOptions)
public virtual Operation VerifyMigrationJob(VerifyMigrationJobRequest request, CallOptions options)Verify a migration job, making sure the destination can reach the source and that all configuration and prerequisites are met.
| Parameters | |
|---|---|
| Name | Description |
request |
VerifyMigrationJobRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
Operation |
The response received from the server. |
VerifyMigrationJob(VerifyMigrationJobRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual Operation VerifyMigrationJob(VerifyMigrationJobRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))Verify a migration job, making sure the destination can reach the source and that all configuration and prerequisites are met.
| Parameters | |
|---|---|
| Name | Description |
request |
VerifyMigrationJobRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
Nullable<DateTime>An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
Operation |
The response received from the server. |
VerifyMigrationJobAsync(VerifyMigrationJobRequest, CallOptions)
public virtual AsyncUnaryCall<Operation> VerifyMigrationJobAsync(VerifyMigrationJobRequest request, CallOptions options)Verify a migration job, making sure the destination can reach the source and that all configuration and prerequisites are met.
| Parameters | |
|---|---|
| Name | Description |
request |
VerifyMigrationJobRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCall<Operation> |
The call object. |
VerifyMigrationJobAsync(VerifyMigrationJobRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<Operation> VerifyMigrationJobAsync(VerifyMigrationJobRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))Verify a migration job, making sure the destination can reach the source and that all configuration and prerequisites are met.
| Parameters | |
|---|---|
| Name | Description |
request |
VerifyMigrationJobRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
Nullable<DateTime>An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCall<Operation> |
The call object. |