Skip to main content

database_migrations_mongo_to_cosmos_db_ru_mongo_for_scopes

Creates, updates, deletes, gets or lists a database_migrations_mongo_to_cosmos_db_ru_mongo_for_scopes resource.

Overview

Namedatabase_migrations_mongo_to_cosmos_db_ru_mongo_for_scopes
TypeResource
Idazure.data_migration.database_migrations_mongo_to_cosmos_db_ru_mongo_for_scopes

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
idstring
namestring
propertiesobjectDatabase Migration Resource properties for CosmosDb for Mongo. (x-ms-discriminator-value: MongoToCosmosDbMongo)
systemDataobjectMetadata pertaining to creation and last modification of the resource.
typestring

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectresourceGroupName, targetResourceName, subscriptionIdGet Database Migration resources for the scope.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
resourceGroupNamestringName of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
subscriptionIdstringSubscription ID that identifies an Azure subscription.
targetResourceNamestringThe name of the target resource/account.

SELECT examples

Get Database Migration resources for the scope.

SELECT
id,
name,
properties,
systemData,
type
FROM azure.data_migration.database_migrations_mongo_to_cosmos_db_ru_mongo_for_scopes
WHERE resourceGroupName = '{{ resourceGroupName }}' -- required
AND targetResourceName = '{{ targetResourceName }}' -- required
AND subscriptionId = '{{ subscriptionId }}' -- required
;