MigrationServices Interface

public interface MigrationServices

Resource collection API of MigrationServices.

Method Summary

Modifier and Type Method and Description
abstract Blank define(String name)

Begins definition for a new MigrationService resource.

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

Delete Database Migration Service.

abstract void deleteById(String id)

Delete Database Migration Service.

abstract void deleteByIdWithResponse(String id, Context context)

Delete Database Migration Service.

abstract void deleteByResourceGroup(String resourceGroupName, String migrationServiceName)

Delete Database Migration Service.

abstract MigrationService getById(String id)

Retrieve the Database Migration Service.

abstract Response<MigrationService> getByIdWithResponse(String id, Context context)

Retrieve the Database Migration Service.

abstract MigrationService getByResourceGroup(String resourceGroupName, String migrationServiceName)

Retrieve the Database Migration Service.

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

Retrieve the Database Migration Service.

abstract PagedIterable<MigrationService> list()

Retrieve all migration services in the subscriptions.

abstract PagedIterable<MigrationService> list(Context context)

Retrieve all migration services in the subscriptions.

abstract PagedIterable<MigrationService> listByResourceGroup(String resourceGroupName)

Retrieve all migration services in the resource group.

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

Retrieve all migration services in the resource group.

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

Retrieve the List of database migrations attached to the service.

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

Retrieve the List of database migrations attached to the service.

Method Details

define

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

Begins definition for a new MigrationService resource.

Parameters:

name - resource name.

Returns:

the first stage of the new MigrationService definition.

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.

deleteById

public abstract void deleteById(String id)

Delete Database Migration Service.

Parameters:

id - the resource ID.

deleteByIdWithResponse

public abstract void deleteByIdWithResponse(String id, Context context)

Delete Database Migration Service.

Parameters:

id - the resource ID.
context - The context to associate with this operation.

deleteByResourceGroup

public abstract void deleteByResourceGroup(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.

getById

public abstract MigrationService getById(String id)

Retrieve the Database Migration Service.

Parameters:

id - the resource ID.

Returns:

a Migration Service along with Response<T>.

getByIdWithResponse

public abstract Response<MigrationService> getByIdWithResponse(String id, Context context)

Retrieve the Database Migration Service.

Parameters:

id - the resource ID.
context - The context to associate with this operation.

Returns:

a Migration Service along with Response<T>.

getByResourceGroup

public abstract MigrationService 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<MigrationService> 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<MigrationService> list()

Retrieve all migration services in the subscriptions.

Returns:

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

list

public abstract PagedIterable<MigrationService> 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<MigrationService> 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<MigrationService> 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<DatabaseMigrationBase> 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<DatabaseMigrationBase> 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>.

Applies to