DatabaseMigrationsMongoToCosmosDbRUMongo interface
Interface representing a DatabaseMigrationsMongoToCosmosDbRUMongo.
Methods
| begin |
Create or Update Database Migration resource. |
| begin |
Create or Update Database Migration resource. |
| begin |
Delete Database Migration resource. |
| begin |
Delete Database Migration resource. |
| get(string, string, string, Database |
Get Database Migration resource. |
| list |
Get Database Migration resources for the scope. |
Method Details
beginCreate(string, string, string, DatabaseMigrationCosmosDbMongo, DatabaseMigrationsMongoToCosmosDbRUMongoCreateOptionalParams)
Create or Update Database Migration resource.
function beginCreate(resourceGroupName: string, targetResourceName: string, migrationName: string, parameters: DatabaseMigrationCosmosDbMongo, options?: DatabaseMigrationsMongoToCosmosDbRUMongoCreateOptionalParams): Promise<SimplePollerLike<OperationState<DatabaseMigrationCosmosDbMongo>, DatabaseMigrationCosmosDbMongo>>
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.
- targetResourceName
-
string
The name of the target resource/account.
- migrationName
-
string
Name of the migration.
- parameters
- DatabaseMigrationCosmosDbMongo
Details of CosmosDB for Mongo API Migration resource.
The options parameters.
Returns
Promise<@azure/core-lro.SimplePollerLike<OperationState<DatabaseMigrationCosmosDbMongo>, DatabaseMigrationCosmosDbMongo>>
beginCreateAndWait(string, string, string, DatabaseMigrationCosmosDbMongo, DatabaseMigrationsMongoToCosmosDbRUMongoCreateOptionalParams)
Create or Update Database Migration resource.
function beginCreateAndWait(resourceGroupName: string, targetResourceName: string, migrationName: string, parameters: DatabaseMigrationCosmosDbMongo, options?: DatabaseMigrationsMongoToCosmosDbRUMongoCreateOptionalParams): Promise<DatabaseMigrationCosmosDbMongo>
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.
- targetResourceName
-
string
The name of the target resource/account.
- migrationName
-
string
Name of the migration.
- parameters
- DatabaseMigrationCosmosDbMongo
Details of CosmosDB for Mongo API Migration resource.
The options parameters.
Returns
Promise<DatabaseMigrationCosmosDbMongo>
beginDelete(string, string, string, DatabaseMigrationsMongoToCosmosDbRUMongoDeleteOptionalParams)
Delete Database Migration resource.
function beginDelete(resourceGroupName: string, targetResourceName: string, migrationName: string, options?: DatabaseMigrationsMongoToCosmosDbRUMongoDeleteOptionalParams): Promise<SimplePollerLike<OperationState<DatabaseMigrationsMongoToCosmosDbRUMongoDeleteHeaders>, DatabaseMigrationsMongoToCosmosDbRUMongoDeleteHeaders>>
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.
- targetResourceName
-
string
The name of the target resource/account.
- migrationName
-
string
Name of the migration.
The options parameters.
Returns
Promise<@azure/core-lro.SimplePollerLike<OperationState<DatabaseMigrationsMongoToCosmosDbRUMongoDeleteHeaders>, DatabaseMigrationsMongoToCosmosDbRUMongoDeleteHeaders>>
beginDeleteAndWait(string, string, string, DatabaseMigrationsMongoToCosmosDbRUMongoDeleteOptionalParams)
Delete Database Migration resource.
function beginDeleteAndWait(resourceGroupName: string, targetResourceName: string, migrationName: string, options?: DatabaseMigrationsMongoToCosmosDbRUMongoDeleteOptionalParams): Promise<DatabaseMigrationsMongoToCosmosDbRUMongoDeleteHeaders>
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.
- targetResourceName
-
string
The name of the target resource/account.
- migrationName
-
string
Name of the migration.
The options parameters.
Returns
get(string, string, string, DatabaseMigrationsMongoToCosmosDbRUMongoGetOptionalParams)
Get Database Migration resource.
function get(resourceGroupName: string, targetResourceName: string, migrationName: string, options?: DatabaseMigrationsMongoToCosmosDbRUMongoGetOptionalParams): Promise<DatabaseMigrationCosmosDbMongo>
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.
- targetResourceName
-
string
The name of the target resource/account.
- migrationName
-
string
Name of the migration.
The options parameters.
Returns
Promise<DatabaseMigrationCosmosDbMongo>
listForScope(string, string, DatabaseMigrationsMongoToCosmosDbRUMongoGetForScopeOptionalParams)
Get Database Migration resources for the scope.
function listForScope(resourceGroupName: string, targetResourceName: string, options?: DatabaseMigrationsMongoToCosmosDbRUMongoGetForScopeOptionalParams): PagedAsyncIterableIterator<DatabaseMigrationCosmosDbMongo, DatabaseMigrationCosmosDbMongo[], 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.
- targetResourceName
-
string
The name of the target resource/account.
The options parameters.