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
| Name | database_migrations_mongo_to_cosmos_db_ru_mongo_for_scopes |
| Type | Resource |
| Id | azure.data_migration.database_migrations_mongo_to_cosmos_db_ru_mongo_for_scopes |
Fields
The following fields are returned by SELECT queries:
- get
| Name | Datatype | Description |
|---|---|---|
id | string | |
name | string | |
properties | object | Database Migration Resource properties for CosmosDb for Mongo. (x-ms-discriminator-value: MongoToCosmosDbMongo) |
systemData | object | Metadata pertaining to creation and last modification of the resource. |
type | string |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get | select | resourceGroupName, targetResourceName, subscriptionId | Get 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.
| Name | Datatype | Description |
|---|---|---|
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. |
subscriptionId | string | Subscription ID that identifies an Azure subscription. |
targetResourceName | string | The name of the target resource/account. |
SELECT examples
- get
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
;