MigrationServices interface
Interface representing a MigrationServices.
Methods
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.
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.
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.
The options parameters.
Returns
Promise<@azure/core-lro.SimplePollerLike<OperationState<MigrationServicesDeleteHeaders>, MigrationServicesDeleteHeaders>>
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.
The options parameters.
Returns
Promise<MigrationServicesDeleteHeaders>
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.
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.
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.
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.
The options parameters.
Returns
listBySubscription(MigrationServicesListBySubscriptionOptionalParams)
Retrieve all migration services in the subscriptions.
function listBySubscription(options?: MigrationServicesListBySubscriptionOptionalParams): PagedAsyncIterableIterator<MigrationService, MigrationService[], PageSettings>
Parameters
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.
The options parameters.