Share via


DatabaseMigrationsSqlMis Interface

public interface DatabaseMigrationsSqlMis

Resource collection API of DatabaseMigrationsSqlMis.

Method Summary

Modifier and Type Method and Description
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 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 Blank define(String name)

Begins definition for a new DatabaseMigrationSqlMi resource.

abstract DatabaseMigrationSqlMi delete(String resourceGroupName, String managedInstanceName, String targetDbName)

Delete Database Migration resource.

abstract DatabaseMigrationSqlMi delete(String resourceGroupName, String managedInstanceName, String targetDbName, Boolean force, Context context)

Delete Database Migration resource.

abstract DatabaseMigrationSqlMi deleteById(String id)

Delete Database Migration resource.

abstract DatabaseMigrationSqlMi deleteByIdWithResponse(String id, Boolean force, Context context)

Delete Database Migration resource.

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

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

abstract DatabaseMigrationSqlMi getById(String id)

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

abstract Response<DatabaseMigrationSqlMi> getByIdWithResponse(String id, UUID migrationOperationId, String expand, Context context)

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

abstract Response<DatabaseMigrationSqlMi> 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

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.

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.

define

public abstract DatabaseMigrationSqlMi.DefinitionStages.Blank define(String name)

Begins definition for a new DatabaseMigrationSqlMi resource.

Parameters:

name - resource name.

Returns:

the first stage of the new DatabaseMigrationSqlMi definition.

delete

public abstract DatabaseMigrationSqlMi delete(String resourceGroupName, String managedInstanceName, String targetDbName)

Delete Database Migration resource.

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.

delete

public abstract DatabaseMigrationSqlMi delete(String resourceGroupName, String managedInstanceName, String targetDbName, Boolean force, Context context)

Delete Database Migration resource.

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.
force - Optional force delete boolean. If this is provided as true, migration will be deleted even if active.
context - The context to associate with this operation.

Returns:

database Migration Resource for SQL Managed Instance.

deleteById

public abstract DatabaseMigrationSqlMi deleteById(String id)

Delete Database Migration resource.

Parameters:

id - the resource ID.

Returns:

database Migration Resource for SQL Managed Instance.

deleteByIdWithResponse

public abstract DatabaseMigrationSqlMi deleteByIdWithResponse(String id, Boolean force, Context context)

Delete Database Migration resource.

Parameters:

id - the resource ID.
force - Optional force delete boolean. If this is provided as true, migration will be deleted even if active.
context - The context to associate with this operation.

Returns:

database Migration Resource for SQL Managed Instance.

get

public abstract DatabaseMigrationSqlMi 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.

getById

public abstract DatabaseMigrationSqlMi getById(String id)

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

Parameters:

id - the resource ID.

Returns:

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

getByIdWithResponse

public abstract Response<DatabaseMigrationSqlMi> getByIdWithResponse(String id, UUID migrationOperationId, String expand, Context context)

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

Parameters:

id - the resource ID.
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>.

getWithResponse

public abstract Response<DatabaseMigrationSqlMi> 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