Share via


DatabaseMigrationsMongoToCosmosDbRUMongo interface

Interface representing a DatabaseMigrationsMongoToCosmosDbRUMongo.

Methods

beginCreate(string, string, string, DatabaseMigrationCosmosDbMongo, DatabaseMigrationsMongoToCosmosDbRUMongoCreateOptionalParams)

Create or Update Database Migration resource.

beginCreateAndWait(string, string, string, DatabaseMigrationCosmosDbMongo, DatabaseMigrationsMongoToCosmosDbRUMongoCreateOptionalParams)

Create or Update Database Migration resource.

beginDelete(string, string, string, DatabaseMigrationsMongoToCosmosDbRUMongoDeleteOptionalParams)

Delete Database Migration resource.

beginDeleteAndWait(string, string, string, DatabaseMigrationsMongoToCosmosDbRUMongoDeleteOptionalParams)

Delete Database Migration resource.

get(string, string, string, DatabaseMigrationsMongoToCosmosDbRUMongoGetOptionalParams)

Get Database Migration resource.

listForScope(string, string, DatabaseMigrationsMongoToCosmosDbRUMongoGetForScopeOptionalParams)

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.

Returns

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.

Returns

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.

Returns

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.

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.

Returns

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.

Returns