[BindServiceMethod(typeof(DataMigrationService), "BindService")]
public abstract class DataMigrationServiceBaseBase class for server-side implementations of DataMigrationService
Namespace
Google.Cloud.CloudDms.V1Assembly
Google.Cloud.CloudDms.V1.dll
Methods
CreateConnectionProfile(CreateConnectionProfileRequest, ServerCallContext)
public virtual Task<Operation> CreateConnectionProfile(CreateConnectionProfileRequest request, ServerCallContext context)Creates a new connection profile in a given project and location.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateConnectionProfileRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
Task<Operation> |
The response to send back to the client (wrapped by a task). |
CreateMigrationJob(CreateMigrationJobRequest, ServerCallContext)
public virtual Task<Operation> CreateMigrationJob(CreateMigrationJobRequest request, ServerCallContext context)Creates a new migration job in a given project and location.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateMigrationJobRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
Task<Operation> |
The response to send back to the client (wrapped by a task). |
DeleteConnectionProfile(DeleteConnectionProfileRequest, ServerCallContext)
public virtual Task<Operation> DeleteConnectionProfile(DeleteConnectionProfileRequest request, ServerCallContext context)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 received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
Task<Operation> |
The response to send back to the client (wrapped by a task). |
DeleteMigrationJob(DeleteMigrationJobRequest, ServerCallContext)
public virtual Task<Operation> DeleteMigrationJob(DeleteMigrationJobRequest request, ServerCallContext context)Deletes a single migration job.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteMigrationJobRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
Task<Operation> |
The response to send back to the client (wrapped by a task). |
GenerateSshScript(GenerateSshScriptRequest, ServerCallContext)
public virtual Task<SshScript> GenerateSshScript(GenerateSshScriptRequest request, ServerCallContext context)Generate a SSH configuration script to configure the reverse SSH connectivity.
| Parameters | |
|---|---|
| Name | Description |
request |
GenerateSshScriptRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
Task<SshScript> |
The response to send back to the client (wrapped by a task). |
GetConnectionProfile(GetConnectionProfileRequest, ServerCallContext)
public virtual Task<ConnectionProfile> GetConnectionProfile(GetConnectionProfileRequest request, ServerCallContext context)Gets details of a single connection profile.
| Parameters | |
|---|---|
| Name | Description |
request |
GetConnectionProfileRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
Task<ConnectionProfile> |
The response to send back to the client (wrapped by a task). |
GetMigrationJob(GetMigrationJobRequest, ServerCallContext)
public virtual Task<MigrationJob> GetMigrationJob(GetMigrationJobRequest request, ServerCallContext context)Gets details of a single migration job.
| Parameters | |
|---|---|
| Name | Description |
request |
GetMigrationJobRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
Task<MigrationJob> |
The response to send back to the client (wrapped by a task). |
ListConnectionProfiles(ListConnectionProfilesRequest, ServerCallContext)
public virtual Task<ListConnectionProfilesResponse> ListConnectionProfiles(ListConnectionProfilesRequest request, ServerCallContext context)Retrieve a list of all connection profiles in a given project and location.
| Parameters | |
|---|---|
| Name | Description |
request |
ListConnectionProfilesRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
Task<ListConnectionProfilesResponse> |
The response to send back to the client (wrapped by a task). |
ListMigrationJobs(ListMigrationJobsRequest, ServerCallContext)
public virtual Task<ListMigrationJobsResponse> ListMigrationJobs(ListMigrationJobsRequest request, ServerCallContext context)Lists migration jobs in a given project and location.
| Parameters | |
|---|---|
| Name | Description |
request |
ListMigrationJobsRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
Task<ListMigrationJobsResponse> |
The response to send back to the client (wrapped by a task). |
PromoteMigrationJob(PromoteMigrationJobRequest, ServerCallContext)
public virtual Task<Operation> PromoteMigrationJob(PromoteMigrationJobRequest request, ServerCallContext context)Promote a migration job, stopping replication to the destination and promoting the destination to be a standalone database.
| Parameters | |
|---|---|
| Name | Description |
request |
PromoteMigrationJobRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
Task<Operation> |
The response to send back to the client (wrapped by a task). |
RestartMigrationJob(RestartMigrationJobRequest, ServerCallContext)
public virtual Task<Operation> RestartMigrationJob(RestartMigrationJobRequest request, ServerCallContext context)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 received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
Task<Operation> |
The response to send back to the client (wrapped by a task). |
ResumeMigrationJob(ResumeMigrationJobRequest, ServerCallContext)
public virtual Task<Operation> ResumeMigrationJob(ResumeMigrationJobRequest request, ServerCallContext context)Resume a migration job that is currently stopped and is resumable (was stopped during CDC phase).
| Parameters | |
|---|---|
| Name | Description |
request |
ResumeMigrationJobRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
Task<Operation> |
The response to send back to the client (wrapped by a task). |
StartMigrationJob(StartMigrationJobRequest, ServerCallContext)
public virtual Task<Operation> StartMigrationJob(StartMigrationJobRequest request, ServerCallContext context)Start an already created migration job.
| Parameters | |
|---|---|
| Name | Description |
request |
StartMigrationJobRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
Task<Operation> |
The response to send back to the client (wrapped by a task). |
StopMigrationJob(StopMigrationJobRequest, ServerCallContext)
public virtual Task<Operation> StopMigrationJob(StopMigrationJobRequest request, ServerCallContext context)Stops a running migration job.
| Parameters | |
|---|---|
| Name | Description |
request |
StopMigrationJobRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
Task<Operation> |
The response to send back to the client (wrapped by a task). |
UpdateConnectionProfile(UpdateConnectionProfileRequest, ServerCallContext)
public virtual Task<Operation> UpdateConnectionProfile(UpdateConnectionProfileRequest request, ServerCallContext context)Update the configuration of a single connection profile.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateConnectionProfileRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
Task<Operation> |
The response to send back to the client (wrapped by a task). |
UpdateMigrationJob(UpdateMigrationJobRequest, ServerCallContext)
public virtual Task<Operation> UpdateMigrationJob(UpdateMigrationJobRequest request, ServerCallContext context)Updates the parameters of a single migration job.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateMigrationJobRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
Task<Operation> |
The response to send back to the client (wrapped by a task). |
VerifyMigrationJob(VerifyMigrationJobRequest, ServerCallContext)
public virtual Task<Operation> VerifyMigrationJob(VerifyMigrationJobRequest request, ServerCallContext context)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 received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
Task<Operation> |
The response to send back to the client (wrapped by a task). |