Share via


DatabaseMigrationsMongoToCosmosDbvCoreMongoes Interface

public interface DatabaseMigrationsMongoToCosmosDbvCoreMongoes

Resource collection API of DatabaseMigrationsMongoToCosmosDbvCoreMongoes.

Method Summary

Modifier and Type Method and Description
abstract DatabaseMigrationCosmosDbMongo create(String resourceGroupName, String targetResourceName, String migrationName, DatabaseMigrationCosmosDbMongoInner parameters)

Create or Update Database Migration resource.

abstract DatabaseMigrationCosmosDbMongo create(String resourceGroupName, String targetResourceName, String migrationName, DatabaseMigrationCosmosDbMongoInner parameters, Context context)

Create or Update Database Migration resource.

abstract void delete(String resourceGroupName, String targetResourceName, String migrationName)

Delete Database Migration resource.

abstract void delete(String resourceGroupName, String targetResourceName, String migrationName, Boolean force, Context context)

Delete Database Migration resource.

abstract DatabaseMigrationCosmosDbMongo get(String resourceGroupName, String targetResourceName, String migrationName)

Get Database Migration resource.

abstract PagedIterable<DatabaseMigrationCosmosDbMongo> getForScope(String resourceGroupName, String targetResourceName)

Get Database Migration resources for the scope.

abstract PagedIterable<DatabaseMigrationCosmosDbMongo> getForScope(String resourceGroupName, String targetResourceName, Context context)

Get Database Migration resources for the scope.

abstract Response<DatabaseMigrationCosmosDbMongo> getWithResponse(String resourceGroupName, String targetResourceName, String migrationName, Context context)

Get Database Migration resource.

Method Details

create

public abstract DatabaseMigrationCosmosDbMongo create(String resourceGroupName, String targetResourceName, String migrationName, DatabaseMigrationCosmosDbMongoInner parameters)

Create or Update Database Migration resource.

Parameters:

resourceGroupName - Name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
targetResourceName - The name of the target resource/account.
migrationName - Name of the migration.
parameters - Details of CosmosDB for Mongo API Migration resource.

Returns:

database Migration Resource for Mongo to CosmosDb.

create

public abstract DatabaseMigrationCosmosDbMongo create(String resourceGroupName, String targetResourceName, String migrationName, DatabaseMigrationCosmosDbMongoInner parameters, Context context)

Create or Update Database Migration resource.

Parameters:

resourceGroupName - Name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
targetResourceName - The name of the target resource/account.
migrationName - Name of the migration.
parameters - Details of CosmosDB for Mongo API Migration resource.
context - The context to associate with this operation.

Returns:

database Migration Resource for Mongo to CosmosDb.

delete

public abstract void delete(String resourceGroupName, String targetResourceName, String migrationName)

Delete Database Migration resource.

Parameters:

resourceGroupName - Name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
targetResourceName - The name of the target resource/account.
migrationName - Name of the migration.

delete

public abstract void delete(String resourceGroupName, String targetResourceName, String migrationName, Boolean force, Context context)

Delete Database Migration resource.

Parameters:

resourceGroupName - Name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
targetResourceName - The name of the target resource/account.
migrationName - Name of the migration.
force - Optional force delete boolean. If this is provided as true, migration will be deleted even if active.
context - The context to associate with this operation.

get

public abstract DatabaseMigrationCosmosDbMongo get(String resourceGroupName, String targetResourceName, String migrationName)

Get Database Migration resource.

Parameters:

resourceGroupName - Name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
targetResourceName - The name of the target resource/account.
migrationName - Name of the migration.

Returns:

database Migration resource.

getForScope

public abstract PagedIterable<DatabaseMigrationCosmosDbMongo> getForScope(String resourceGroupName, String targetResourceName)

Get Database Migration resources for the scope.

Parameters:

resourceGroupName - Name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
targetResourceName - The name of the target resource/account.

Returns:

database Migration resources for the scope as paginated response with PagedIterable<T>.

getForScope

public abstract PagedIterable<DatabaseMigrationCosmosDbMongo> getForScope(String resourceGroupName, String targetResourceName, Context context)

Get Database Migration resources for the scope.

Parameters:

resourceGroupName - Name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
targetResourceName - The name of the target resource/account.
context - The context to associate with this operation.

Returns:

database Migration resources for the scope as paginated response with PagedIterable<T>.

getWithResponse

public abstract Response<DatabaseMigrationCosmosDbMongo> getWithResponse(String resourceGroupName, String targetResourceName, String migrationName, Context context)

Get Database Migration resource.

Parameters:

resourceGroupName - Name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
targetResourceName - The name of the target resource/account.
migrationName - Name of the migration.
context - The context to associate with this operation.

Returns:

database Migration resource along with Response<T>.

Applies to