Share via


MigrationServices interface

Interface representing a MigrationServices.

Methods

beginCreateOrUpdate(string, string, MigrationService, MigrationServicesCreateOrUpdateOptionalParams)

Create or Update Database Migration Service.

beginCreateOrUpdateAndWait(string, string, MigrationService, MigrationServicesCreateOrUpdateOptionalParams)

Create or Update Database Migration Service.

beginDelete(string, string, MigrationServicesDeleteOptionalParams)

Delete Database Migration Service.

beginDeleteAndWait(string, string, MigrationServicesDeleteOptionalParams)

Delete Database Migration Service.

beginUpdate(string, string, MigrationServiceUpdate, MigrationServicesUpdateOptionalParams)

Update Database Migration Service.

beginUpdateAndWait(string, string, MigrationServiceUpdate, MigrationServicesUpdateOptionalParams)

Update Database Migration Service.

get(string, string, MigrationServicesGetOptionalParams)

Retrieve the Database Migration Service

listByResourceGroup(string, MigrationServicesListByResourceGroupOptionalParams)

Retrieve all migration services in the resource group.

listBySubscription(MigrationServicesListBySubscriptionOptionalParams)

Retrieve all migration services in the subscriptions.

listMigrations(string, string, MigrationServicesListMigrationsOptionalParams)

Retrieve the List of database migrations attached to the service.

Method Details

beginCreateOrUpdate(string, string, MigrationService, MigrationServicesCreateOrUpdateOptionalParams)

Create or Update Database Migration Service.

function beginCreateOrUpdate(resourceGroupName: string, migrationServiceName: string, parameters: MigrationService, options?: MigrationServicesCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<MigrationService>, MigrationService>>

Parameters

resourceGroupName

string

Name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.

migrationServiceName

string

Name of the Migration Service.

parameters
MigrationService

Details of MigrationService resource.

options
MigrationServicesCreateOrUpdateOptionalParams

The options parameters.

Returns

Promise<@azure/core-lro.SimplePollerLike<OperationState<MigrationService>, MigrationService>>

beginCreateOrUpdateAndWait(string, string, MigrationService, MigrationServicesCreateOrUpdateOptionalParams)

Create or Update Database Migration Service.

function beginCreateOrUpdateAndWait(resourceGroupName: string, migrationServiceName: string, parameters: MigrationService, options?: MigrationServicesCreateOrUpdateOptionalParams): Promise<MigrationService>

Parameters

resourceGroupName

string

Name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.

migrationServiceName

string

Name of the Migration Service.

parameters
MigrationService

Details of MigrationService resource.

options
MigrationServicesCreateOrUpdateOptionalParams

The options parameters.

Returns

Promise<MigrationService>

beginDelete(string, string, MigrationServicesDeleteOptionalParams)

Delete Database Migration Service.

function beginDelete(resourceGroupName: string, migrationServiceName: string, options?: MigrationServicesDeleteOptionalParams): Promise<SimplePollerLike<OperationState<MigrationServicesDeleteHeaders>, MigrationServicesDeleteHeaders>>

Parameters

resourceGroupName

string

Name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.

migrationServiceName

string

Name of the Migration Service.

options
MigrationServicesDeleteOptionalParams

The options parameters.

Returns

beginDeleteAndWait(string, string, MigrationServicesDeleteOptionalParams)

Delete Database Migration Service.

function beginDeleteAndWait(resourceGroupName: string, migrationServiceName: string, options?: MigrationServicesDeleteOptionalParams): Promise<MigrationServicesDeleteHeaders>

Parameters

resourceGroupName

string

Name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.

migrationServiceName

string

Name of the Migration Service.

options
MigrationServicesDeleteOptionalParams

The options parameters.

Returns

beginUpdate(string, string, MigrationServiceUpdate, MigrationServicesUpdateOptionalParams)

Update Database Migration Service.

function beginUpdate(resourceGroupName: string, migrationServiceName: string, parameters: MigrationServiceUpdate, options?: MigrationServicesUpdateOptionalParams): Promise<SimplePollerLike<OperationState<MigrationService>, MigrationService>>

Parameters

resourceGroupName

string

Name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.

migrationServiceName

string

Name of the Migration Service.

parameters
MigrationServiceUpdate

Details of MigrationService resource.

options
MigrationServicesUpdateOptionalParams

The options parameters.

Returns

Promise<@azure/core-lro.SimplePollerLike<OperationState<MigrationService>, MigrationService>>

beginUpdateAndWait(string, string, MigrationServiceUpdate, MigrationServicesUpdateOptionalParams)

Update Database Migration Service.

function beginUpdateAndWait(resourceGroupName: string, migrationServiceName: string, parameters: MigrationServiceUpdate, options?: MigrationServicesUpdateOptionalParams): Promise<MigrationService>

Parameters

resourceGroupName

string

Name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.

migrationServiceName

string

Name of the Migration Service.

parameters
MigrationServiceUpdate

Details of MigrationService resource.

options
MigrationServicesUpdateOptionalParams

The options parameters.

Returns

Promise<MigrationService>

get(string, string, MigrationServicesGetOptionalParams)

Retrieve the Database Migration Service

function get(resourceGroupName: string, migrationServiceName: string, options?: MigrationServicesGetOptionalParams): Promise<MigrationService>

Parameters

resourceGroupName

string

Name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.

migrationServiceName

string

Name of the Migration Service.

options
MigrationServicesGetOptionalParams

The options parameters.

Returns

Promise<MigrationService>

listByResourceGroup(string, MigrationServicesListByResourceGroupOptionalParams)

Retrieve all migration services in the resource group.

function listByResourceGroup(resourceGroupName: string, options?: MigrationServicesListByResourceGroupOptionalParams): PagedAsyncIterableIterator<MigrationService, MigrationService[], PageSettings>

Parameters

resourceGroupName

string

Name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.

options
MigrationServicesListByResourceGroupOptionalParams

The options parameters.

Returns

listBySubscription(MigrationServicesListBySubscriptionOptionalParams)

Retrieve all migration services in the subscriptions.

function listBySubscription(options?: MigrationServicesListBySubscriptionOptionalParams): PagedAsyncIterableIterator<MigrationService, MigrationService[], PageSettings>

Parameters

options
MigrationServicesListBySubscriptionOptionalParams

The options parameters.

Returns

listMigrations(string, string, MigrationServicesListMigrationsOptionalParams)

Retrieve the List of database migrations attached to the service.

function listMigrations(resourceGroupName: string, migrationServiceName: string, options?: MigrationServicesListMigrationsOptionalParams): PagedAsyncIterableIterator<DatabaseMigrationBase, DatabaseMigrationBase[], PageSettings>

Parameters

resourceGroupName

string

Name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.

migrationServiceName

string

Name of the Migration Service.

options
MigrationServicesListMigrationsOptionalParams

The options parameters.

Returns