DatabaseMigrationsMongoToCosmosDbRUMongoes Interface

public interface DatabaseMigrationsMongoToCosmosDbRUMongoes

Resource collection API of DatabaseMigrationsMongoToCosmosDbRUMongoes.

Method Summary

Modifier and Type Method and Description
abstract Blank define(String name)

Begins definition for a new DatabaseMigrationCosmosDbMongo 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 void deleteById(String id)

Delete Database Migration resource.

abstract void deleteByIdWithResponse(String id, Boolean force, Context context)

Delete Database Migration resource.

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

Get Database Migration resource.

abstract DatabaseMigrationCosmosDbMongo getById(String id)

Get Database Migration resource.

abstract Response<DatabaseMigrationCosmosDbMongo> getByIdWithResponse(String id, Context context)

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

define

public abstract DatabaseMigrationCosmosDbMongo.DefinitionStages.Blank define(String name)

Begins definition for a new DatabaseMigrationCosmosDbMongo resource.

Parameters:

name - resource name.

Returns:

the first stage of the new DatabaseMigrationCosmosDbMongo definition.

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.

deleteById

public abstract void deleteById(String id)

Delete Database Migration resource.

Parameters:

id - the resource ID.

deleteByIdWithResponse

public abstract void deleteByIdWithResponse(String id, Boolean force, Context context)

Delete Database Migration resource.

Parameters:

id - the resource ID.
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.

getById

public abstract DatabaseMigrationCosmosDbMongo getById(String id)

Get Database Migration resource.

Parameters:

id - the resource ID.

Returns:

database Migration resource along with Response<T>.

getByIdWithResponse

public abstract Response<DatabaseMigrationCosmosDbMongo> getByIdWithResponse(String id, Context context)

Get Database Migration resource.

Parameters:

id - the resource ID.
context - The context to associate with this operation.

Returns:

database Migration resource along with Response<T>.

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