次の方法で共有


DatabaseMigrationsSqlMisClient Interface

public interface DatabaseMigrationsSqlMisClient

An instance of this class provides access to all the operations defined in DatabaseMigrationsSqlMisClient.

Method Summary

Modifier and Type Method and Description
abstract SyncPoller<PollResult<Void>,Void> beginCancel(String resourceGroupName, String managedInstanceName, String targetDbName, MigrationOperationInput parameters)

Stop in-progress database migration to SQL Managed Instance.

abstract SyncPoller<PollResult<Void>,Void> beginCancel(String resourceGroupName, String managedInstanceName, String targetDbName, MigrationOperationInput parameters, Context context)

Stop in-progress database migration to SQL Managed Instance.

abstract SyncPoller<PollResult<DatabaseMigrationSqlMiInner>,DatabaseMigrationSqlMiInner> beginCreateOrUpdate(String resourceGroupName, String managedInstanceName, String targetDbName, DatabaseMigrationSqlMiInner parameters)

Create a new database migration to a given SQL Managed Instance.

abstract SyncPoller<PollResult<DatabaseMigrationSqlMiInner>,DatabaseMigrationSqlMiInner> beginCreateOrUpdate(String resourceGroupName, String managedInstanceName, String targetDbName, DatabaseMigrationSqlMiInner parameters, Context context)

Create a new database migration to a given SQL Managed Instance.

abstract SyncPoller<PollResult<Void>,Void> beginCutover(String resourceGroupName, String managedInstanceName, String targetDbName, MigrationOperationInput parameters)

Initiate cutover for in-progress online database migration to SQL Managed Instance.

abstract SyncPoller<PollResult<Void>,Void> beginCutover(String resourceGroupName, String managedInstanceName, String targetDbName, MigrationOperationInput parameters, Context context)

Initiate cutover for in-progress online database migration to SQL Managed Instance.

abstract void cancel(String resourceGroupName, String managedInstanceName, String targetDbName, MigrationOperationInput parameters)

Stop in-progress database migration to SQL Managed Instance.

abstract void cancel(String resourceGroupName, String managedInstanceName, String targetDbName, MigrationOperationInput parameters, Context context)

Stop in-progress database migration to SQL Managed Instance.

abstract DatabaseMigrationSqlMiInner createOrUpdate(String resourceGroupName, String managedInstanceName, String targetDbName, DatabaseMigrationSqlMiInner parameters)

Create a new database migration to a given SQL Managed Instance.

abstract DatabaseMigrationSqlMiInner createOrUpdate(String resourceGroupName, String managedInstanceName, String targetDbName, DatabaseMigrationSqlMiInner parameters, Context context)

Create a new database migration to a given SQL Managed Instance.

abstract void cutover(String resourceGroupName, String managedInstanceName, String targetDbName, MigrationOperationInput parameters)

Initiate cutover for in-progress online database migration to SQL Managed Instance.

abstract void cutover(String resourceGroupName, String managedInstanceName, String targetDbName, MigrationOperationInput parameters, Context context)

Initiate cutover for in-progress online database migration to SQL Managed Instance.

abstract DatabaseMigrationSqlMiInner get(String resourceGroupName, String managedInstanceName, String targetDbName)

Retrieve the specified database migration for a given SQL Managed Instance.

abstract Response<DatabaseMigrationSqlMiInner> getWithResponse(String resourceGroupName, String managedInstanceName, String targetDbName, UUID migrationOperationId, String expand, Context context)

Retrieve the specified database migration for a given SQL Managed Instance.

Method Details

beginCancel

public abstract SyncPoller<PollResult<Void>,Void> beginCancel(String resourceGroupName, String managedInstanceName, String targetDbName, MigrationOperationInput parameters)

Stop in-progress database migration to SQL Managed Instance.

Parameters:

resourceGroupName - Name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
managedInstanceName - The managedInstanceName parameter.
targetDbName - The name of the target database.
parameters - Required migration operation ID for which cancel will be initiated.

Returns:

the SyncPoller<T,U> for polling of long-running operation.

beginCancel

public abstract SyncPoller<PollResult<Void>,Void> beginCancel(String resourceGroupName, String managedInstanceName, String targetDbName, MigrationOperationInput parameters, Context context)

Stop in-progress database migration to SQL Managed Instance.

Parameters:

resourceGroupName - Name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
managedInstanceName - The managedInstanceName parameter.
targetDbName - The name of the target database.
parameters - Required migration operation ID for which cancel will be initiated.
context - The context to associate with this operation.

Returns:

the SyncPoller<T,U> for polling of long-running operation.

beginCreateOrUpdate

public abstract SyncPoller<PollResult<DatabaseMigrationSqlMiInner>,DatabaseMigrationSqlMiInner> beginCreateOrUpdate(String resourceGroupName, String managedInstanceName, String targetDbName, DatabaseMigrationSqlMiInner parameters)

Create a new database migration to a given SQL Managed Instance.

Parameters:

resourceGroupName - Name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
managedInstanceName - The managedInstanceName parameter.
targetDbName - The name of the target database.
parameters - Details of SqlMigrationService resource.

Returns:

the SyncPoller<T,U> for polling of database Migration Resource for SQL Managed Instance.

beginCreateOrUpdate

public abstract SyncPoller<PollResult<DatabaseMigrationSqlMiInner>,DatabaseMigrationSqlMiInner> beginCreateOrUpdate(String resourceGroupName, String managedInstanceName, String targetDbName, DatabaseMigrationSqlMiInner parameters, Context context)

Create a new database migration to a given SQL Managed Instance.

Parameters:

resourceGroupName - Name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
managedInstanceName - The managedInstanceName parameter.
targetDbName - The name of the target database.
parameters - Details of SqlMigrationService resource.
context - The context to associate with this operation.

Returns:

the SyncPoller<T,U> for polling of database Migration Resource for SQL Managed Instance.

beginCutover

public abstract SyncPoller<PollResult<Void>,Void> beginCutover(String resourceGroupName, String managedInstanceName, String targetDbName, MigrationOperationInput parameters)

Initiate cutover for in-progress online database migration to SQL Managed Instance.

Parameters:

resourceGroupName - Name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
managedInstanceName - The managedInstanceName parameter.
targetDbName - The name of the target database.
parameters - Required migration operation ID for which cutover will be initiated.

Returns:

the SyncPoller<T,U> for polling of long-running operation.

beginCutover

public abstract SyncPoller<PollResult<Void>,Void> beginCutover(String resourceGroupName, String managedInstanceName, String targetDbName, MigrationOperationInput parameters, Context context)

Initiate cutover for in-progress online database migration to SQL Managed Instance.

Parameters:

resourceGroupName - Name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
managedInstanceName - The managedInstanceName parameter.
targetDbName - The name of the target database.
parameters - Required migration operation ID for which cutover will be initiated.
context - The context to associate with this operation.

Returns:

the SyncPoller<T,U> for polling of long-running operation.

cancel

public abstract void cancel(String resourceGroupName, String managedInstanceName, String targetDbName, MigrationOperationInput parameters)

Stop in-progress database migration to SQL Managed Instance.

Parameters:

resourceGroupName - Name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
managedInstanceName - The managedInstanceName parameter.
targetDbName - The name of the target database.
parameters - Required migration operation ID for which cancel will be initiated.

cancel

public abstract void cancel(String resourceGroupName, String managedInstanceName, String targetDbName, MigrationOperationInput parameters, Context context)

Stop in-progress database migration to SQL Managed Instance.

Parameters:

resourceGroupName - Name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
managedInstanceName - The managedInstanceName parameter.
targetDbName - The name of the target database.
parameters - Required migration operation ID for which cancel will be initiated.
context - The context to associate with this operation.

createOrUpdate

public abstract DatabaseMigrationSqlMiInner createOrUpdate(String resourceGroupName, String managedInstanceName, String targetDbName, DatabaseMigrationSqlMiInner parameters)

Create a new database migration to a given SQL Managed Instance.

Parameters:

resourceGroupName - Name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
managedInstanceName - The managedInstanceName parameter.
targetDbName - The name of the target database.
parameters - Details of SqlMigrationService resource.

Returns:

database Migration Resource for SQL Managed Instance.

createOrUpdate

public abstract DatabaseMigrationSqlMiInner createOrUpdate(String resourceGroupName, String managedInstanceName, String targetDbName, DatabaseMigrationSqlMiInner parameters, Context context)

Create a new database migration to a given SQL Managed Instance.

Parameters:

resourceGroupName - Name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
managedInstanceName - The managedInstanceName parameter.
targetDbName - The name of the target database.
parameters - Details of SqlMigrationService resource.
context - The context to associate with this operation.

Returns:

database Migration Resource for SQL Managed Instance.

cutover

public abstract void cutover(String resourceGroupName, String managedInstanceName, String targetDbName, MigrationOperationInput parameters)

Initiate cutover for in-progress online database migration to SQL Managed Instance.

Parameters:

resourceGroupName - Name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
managedInstanceName - The managedInstanceName parameter.
targetDbName - The name of the target database.
parameters - Required migration operation ID for which cutover will be initiated.

cutover

public abstract void cutover(String resourceGroupName, String managedInstanceName, String targetDbName, MigrationOperationInput parameters, Context context)

Initiate cutover for in-progress online database migration to SQL Managed Instance.

Parameters:

resourceGroupName - Name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
managedInstanceName - The managedInstanceName parameter.
targetDbName - The name of the target database.
parameters - Required migration operation ID for which cutover will be initiated.
context - The context to associate with this operation.

get

public abstract DatabaseMigrationSqlMiInner get(String resourceGroupName, String managedInstanceName, String targetDbName)

Retrieve the specified database migration for a given SQL Managed Instance.

Parameters:

resourceGroupName - Name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
managedInstanceName - The managedInstanceName parameter.
targetDbName - The name of the target database.

Returns:

database Migration Resource for SQL Managed Instance.

getWithResponse

public abstract Response<DatabaseMigrationSqlMiInner> getWithResponse(String resourceGroupName, String managedInstanceName, String targetDbName, UUID migrationOperationId, String expand, Context context)

Retrieve the specified database migration for a given SQL Managed Instance.

Parameters:

resourceGroupName - Name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
managedInstanceName - The managedInstanceName parameter.
targetDbName - The name of the target database.
migrationOperationId - Optional migration operation ID. If this is provided, then details of migration operation for that ID are retrieved. If not provided (default), then details related to most recent or current operation are retrieved.
expand - Complete migration details be included in the response.
context - The context to associate with this operation.

Returns:

database Migration Resource for SQL Managed Instance along with Response<T>.

Applies to