MigrationServicesClient Interface

public interface MigrationServicesClient

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

Method Summary

Modifier and Type Method and Description
abstract SyncPoller<PollResult<MigrationServiceInner>,MigrationServiceInner> beginCreateOrUpdate(String resourceGroupName, String migrationServiceName, MigrationServiceInner parameters)

Create or Update Database Migration Service.

abstract SyncPoller<PollResult<MigrationServiceInner>,MigrationServiceInner> beginCreateOrUpdate(String resourceGroupName, String migrationServiceName, MigrationServiceInner parameters, Context context)

Create or Update Database Migration Service.

abstract SyncPoller<PollResult<Void>,Void> beginDelete(String resourceGroupName, String migrationServiceName)

Delete Database Migration Service.

abstract SyncPoller<PollResult<Void>,Void> beginDelete(String resourceGroupName, String migrationServiceName, Context context)

Delete Database Migration Service.

abstract SyncPoller<PollResult<MigrationServiceInner>,MigrationServiceInner> beginUpdate(String resourceGroupName, String migrationServiceName, MigrationServiceUpdate parameters)

Update Database Migration Service.

abstract SyncPoller<PollResult<MigrationServiceInner>,MigrationServiceInner> beginUpdate(String resourceGroupName, String migrationServiceName, MigrationServiceUpdate parameters, Context context)

Update Database Migration Service.

abstract MigrationServiceInner createOrUpdate(String resourceGroupName, String migrationServiceName, MigrationServiceInner parameters)

Create or Update Database Migration Service.

abstract MigrationServiceInner createOrUpdate(String resourceGroupName, String migrationServiceName, MigrationServiceInner parameters, Context context)

Create or Update Database Migration Service.

abstract void delete(String resourceGroupName, String migrationServiceName)

Delete Database Migration Service.

abstract void delete(String resourceGroupName, String migrationServiceName, Context context)

Delete Database Migration Service.

abstract MigrationServiceInner getByResourceGroup(String resourceGroupName, String migrationServiceName)

Retrieve the Database Migration Service.

abstract Response<MigrationServiceInner> getByResourceGroupWithResponse(String resourceGroupName, String migrationServiceName, Context context)

Retrieve the Database Migration Service.

abstract PagedIterable<MigrationServiceInner> list()

Retrieve all migration services in the subscriptions.

abstract PagedIterable<MigrationServiceInner> list(Context context)

Retrieve all migration services in the subscriptions.

abstract PagedIterable<MigrationServiceInner> listByResourceGroup(String resourceGroupName)

Retrieve all migration services in the resource group.

abstract PagedIterable<MigrationServiceInner> listByResourceGroup(String resourceGroupName, Context context)

Retrieve all migration services in the resource group.

abstract PagedIterable<DatabaseMigrationBaseInner> listMigrations(String resourceGroupName, String migrationServiceName)

Retrieve the List of database migrations attached to the service.

abstract PagedIterable<DatabaseMigrationBaseInner> listMigrations(String resourceGroupName, String migrationServiceName, Context context)

Retrieve the List of database migrations attached to the service.

abstract MigrationServiceInner update(String resourceGroupName, String migrationServiceName, MigrationServiceUpdate parameters)

Update Database Migration Service.

abstract MigrationServiceInner update(String resourceGroupName, String migrationServiceName, MigrationServiceUpdate parameters, Context context)

Update Database Migration Service.

Method Details

beginCreateOrUpdate

public abstract SyncPoller<PollResult<MigrationServiceInner>,MigrationServiceInner> beginCreateOrUpdate(String resourceGroupName, String migrationServiceName, MigrationServiceInner parameters)

Create or Update Database Migration Service.

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.
migrationServiceName - Name of the Migration Service.
parameters - Details of MigrationService resource.

Returns:

the SyncPoller<T,U> for polling of a Migration Service.

beginCreateOrUpdate

public abstract SyncPoller<PollResult<MigrationServiceInner>,MigrationServiceInner> beginCreateOrUpdate(String resourceGroupName, String migrationServiceName, MigrationServiceInner parameters, Context context)

Create or Update Database Migration Service.

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.
migrationServiceName - Name of the Migration Service.
parameters - Details of MigrationService resource.
context - The context to associate with this operation.

Returns:

the SyncPoller<T,U> for polling of a Migration Service.

beginDelete

public abstract SyncPoller<PollResult<Void>,Void> beginDelete(String resourceGroupName, String migrationServiceName)

Delete Database Migration Service.

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.
migrationServiceName - Name of the Migration Service.

Returns:

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

beginDelete

public abstract SyncPoller<PollResult<Void>,Void> beginDelete(String resourceGroupName, String migrationServiceName, Context context)

Delete Database Migration Service.

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.
migrationServiceName - Name of the Migration Service.
context - The context to associate with this operation.

Returns:

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

beginUpdate

public abstract SyncPoller<PollResult<MigrationServiceInner>,MigrationServiceInner> beginUpdate(String resourceGroupName, String migrationServiceName, MigrationServiceUpdate parameters)

Update Database Migration Service.

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.
migrationServiceName - Name of the Migration Service.
parameters - Details of MigrationService resource.

Returns:

the SyncPoller<T,U> for polling of a Migration Service.

beginUpdate

public abstract SyncPoller<PollResult<MigrationServiceInner>,MigrationServiceInner> beginUpdate(String resourceGroupName, String migrationServiceName, MigrationServiceUpdate parameters, Context context)

Update Database Migration Service.

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.
migrationServiceName - Name of the Migration Service.
parameters - Details of MigrationService resource.
context - The context to associate with this operation.

Returns:

the SyncPoller<T,U> for polling of a Migration Service.

createOrUpdate

public abstract MigrationServiceInner createOrUpdate(String resourceGroupName, String migrationServiceName, MigrationServiceInner parameters)

Create or Update Database Migration Service.

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.
migrationServiceName - Name of the Migration Service.
parameters - Details of MigrationService resource.

Returns:

a Migration Service.

createOrUpdate

public abstract MigrationServiceInner createOrUpdate(String resourceGroupName, String migrationServiceName, MigrationServiceInner parameters, Context context)

Create or Update Database Migration Service.

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.
migrationServiceName - Name of the Migration Service.
parameters - Details of MigrationService resource.
context - The context to associate with this operation.

Returns:

a Migration Service.

delete

public abstract void delete(String resourceGroupName, String migrationServiceName)

Delete Database Migration Service.

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.
migrationServiceName - Name of the Migration Service.

delete

public abstract void delete(String resourceGroupName, String migrationServiceName, Context context)

Delete Database Migration Service.

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.
migrationServiceName - Name of the Migration Service.
context - The context to associate with this operation.

getByResourceGroup

public abstract MigrationServiceInner getByResourceGroup(String resourceGroupName, String migrationServiceName)

Retrieve the Database Migration Service.

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.
migrationServiceName - Name of the Migration Service.

Returns:

a Migration Service.

getByResourceGroupWithResponse

public abstract Response<MigrationServiceInner> getByResourceGroupWithResponse(String resourceGroupName, String migrationServiceName, Context context)

Retrieve the Database Migration Service.

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.
migrationServiceName - Name of the Migration Service.
context - The context to associate with this operation.

Returns:

a Migration Service along with Response<T>.

list

public abstract PagedIterable<MigrationServiceInner> list()

Retrieve all migration services in the subscriptions.

Returns:

a list of Migration Service as paginated response with PagedIterable<T>.

list

public abstract PagedIterable<MigrationServiceInner> list(Context context)

Retrieve all migration services in the subscriptions.

Parameters:

context - The context to associate with this operation.

Returns:

a list of Migration Service as paginated response with PagedIterable<T>.

listByResourceGroup

public abstract PagedIterable<MigrationServiceInner> listByResourceGroup(String resourceGroupName)

Retrieve all migration services in the resource group.

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.

Returns:

a list of Migration Service as paginated response with PagedIterable<T>.

listByResourceGroup

public abstract PagedIterable<MigrationServiceInner> listByResourceGroup(String resourceGroupName, Context context)

Retrieve all migration services in the resource group.

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.
context - The context to associate with this operation.

Returns:

a list of Migration Service as paginated response with PagedIterable<T>.

listMigrations

public abstract PagedIterable<DatabaseMigrationBaseInner> listMigrations(String resourceGroupName, String migrationServiceName)

Retrieve the List of database migrations attached to the service.

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.
migrationServiceName - Name of the Migration Service.

Returns:

a list of Database Migrations as paginated response with PagedIterable<T>.

listMigrations

public abstract PagedIterable<DatabaseMigrationBaseInner> listMigrations(String resourceGroupName, String migrationServiceName, Context context)

Retrieve the List of database migrations attached to the service.

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.
migrationServiceName - Name of the Migration Service.
context - The context to associate with this operation.

Returns:

a list of Database Migrations as paginated response with PagedIterable<T>.

update

public abstract MigrationServiceInner update(String resourceGroupName, String migrationServiceName, MigrationServiceUpdate parameters)

Update Database Migration Service.

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.
migrationServiceName - Name of the Migration Service.
parameters - Details of MigrationService resource.

Returns:

a Migration Service.

update

public abstract MigrationServiceInner update(String resourceGroupName, String migrationServiceName, MigrationServiceUpdate parameters, Context context)

Update Database Migration Service.

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.
migrationServiceName - Name of the Migration Service.
parameters - Details of MigrationService resource.
context - The context to associate with this operation.

Returns:

a Migration Service.

Applies to