DatabaseMigrationsSqlDb interface
Interface representing a DatabaseMigrationsSqlDb.
Methods
Method Details
beginCancel(string, string, string, MigrationOperationInput, DatabaseMigrationsSqlDbCancelOptionalParams)
Stop on going migration for the database.
function beginCancel(resourceGroupName: string, sqlDbInstanceName: string, targetDbName: string, parameters: MigrationOperationInput, options?: DatabaseMigrationsSqlDbCancelOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>
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.
- sqlDbInstanceName
-
string
- targetDbName
-
string
The name of the target database.
- parameters
- MigrationOperationInput
Required migration operation ID for which cancel will be initiated.
The options parameters.
Returns
Promise<@azure/core-lro.SimplePollerLike<OperationState<void>, void>>
beginCancelAndWait(string, string, string, MigrationOperationInput, DatabaseMigrationsSqlDbCancelOptionalParams)
Stop on going migration for the database.
function beginCancelAndWait(resourceGroupName: string, sqlDbInstanceName: string, targetDbName: string, parameters: MigrationOperationInput, options?: DatabaseMigrationsSqlDbCancelOptionalParams): Promise<void>
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.
- sqlDbInstanceName
-
string
- targetDbName
-
string
The name of the target database.
- parameters
- MigrationOperationInput
Required migration operation ID for which cancel will be initiated.
The options parameters.
Returns
Promise<void>
beginCreateOrUpdate(string, string, string, DatabaseMigrationSqlDb, DatabaseMigrationsSqlDbCreateOrUpdateOptionalParams)
Create or Update Database Migration resource.
function beginCreateOrUpdate(resourceGroupName: string, sqlDbInstanceName: string, targetDbName: string, parameters: DatabaseMigrationSqlDb, options?: DatabaseMigrationsSqlDbCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<DatabaseMigrationSqlDb>, DatabaseMigrationSqlDb>>
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.
- sqlDbInstanceName
-
string
- targetDbName
-
string
The name of the target database.
- parameters
- DatabaseMigrationSqlDb
Details of Sql Db migration resource.
The options parameters.
Returns
Promise<@azure/core-lro.SimplePollerLike<OperationState<DatabaseMigrationSqlDb>, DatabaseMigrationSqlDb>>
beginCreateOrUpdateAndWait(string, string, string, DatabaseMigrationSqlDb, DatabaseMigrationsSqlDbCreateOrUpdateOptionalParams)
Create or Update Database Migration resource.
function beginCreateOrUpdateAndWait(resourceGroupName: string, sqlDbInstanceName: string, targetDbName: string, parameters: DatabaseMigrationSqlDb, options?: DatabaseMigrationsSqlDbCreateOrUpdateOptionalParams): Promise<DatabaseMigrationSqlDb>
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.
- sqlDbInstanceName
-
string
- targetDbName
-
string
The name of the target database.
- parameters
- DatabaseMigrationSqlDb
Details of Sql Db migration resource.
The options parameters.
Returns
Promise<DatabaseMigrationSqlDb>
beginDelete(string, string, string, DatabaseMigrationsSqlDbDeleteOptionalParams)
Delete Database Migration resource.
function beginDelete(resourceGroupName: string, sqlDbInstanceName: string, targetDbName: string, options?: DatabaseMigrationsSqlDbDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>
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.
- sqlDbInstanceName
-
string
- targetDbName
-
string
The name of the target database.
The options parameters.
Returns
Promise<@azure/core-lro.SimplePollerLike<OperationState<void>, void>>
beginDeleteAndWait(string, string, string, DatabaseMigrationsSqlDbDeleteOptionalParams)
Delete Database Migration resource.
function beginDeleteAndWait(resourceGroupName: string, sqlDbInstanceName: string, targetDbName: string, options?: DatabaseMigrationsSqlDbDeleteOptionalParams): Promise<void>
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.
- sqlDbInstanceName
-
string
- targetDbName
-
string
The name of the target database.
The options parameters.
Returns
Promise<void>
beginRetry(string, string, string, MigrationOperationInput, DatabaseMigrationsSqlDbRetryOptionalParams)
Retry on going migration for the database.
function beginRetry(resourceGroupName: string, sqlDbInstanceName: string, targetDbName: string, migrationOperationInput: MigrationOperationInput, options?: DatabaseMigrationsSqlDbRetryOptionalParams): Promise<SimplePollerLike<OperationState<DatabaseMigrationSqlDb>, DatabaseMigrationSqlDb>>
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.
- sqlDbInstanceName
-
string
- targetDbName
-
string
The name of the target database.
- migrationOperationInput
- MigrationOperationInput
Required migration operation ID for which retry will be initiated.
The options parameters.
Returns
Promise<@azure/core-lro.SimplePollerLike<OperationState<DatabaseMigrationSqlDb>, DatabaseMigrationSqlDb>>
beginRetryAndWait(string, string, string, MigrationOperationInput, DatabaseMigrationsSqlDbRetryOptionalParams)
Retry on going migration for the database.
function beginRetryAndWait(resourceGroupName: string, sqlDbInstanceName: string, targetDbName: string, migrationOperationInput: MigrationOperationInput, options?: DatabaseMigrationsSqlDbRetryOptionalParams): Promise<DatabaseMigrationSqlDb>
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.
- sqlDbInstanceName
-
string
- targetDbName
-
string
The name of the target database.
- migrationOperationInput
- MigrationOperationInput
Required migration operation ID for which retry will be initiated.
The options parameters.
Returns
Promise<DatabaseMigrationSqlDb>
get(string, string, string, DatabaseMigrationsSqlDbGetOptionalParams)
Retrieve the Database Migration resource.
function get(resourceGroupName: string, sqlDbInstanceName: string, targetDbName: string, options?: DatabaseMigrationsSqlDbGetOptionalParams): Promise<DatabaseMigrationSqlDb>
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.
- sqlDbInstanceName
-
string
- targetDbName
-
string
The name of the target database.
The options parameters.
Returns
Promise<DatabaseMigrationSqlDb>