I am trying different approaches to create the dataset of Azure data factory for the type Cosmos DB Mongo DB for the data migration and not getting anthing when verified the Microsoft links.
Can someone help me to create the Dataset for Source and Destination of type cosmos DB mongo DB type in Azure data factory
After creating linkedservice for azure cosmos mongo db api, you can use the below bicep script to create datasets.
Sample bicep code to create datasets:
type: 'CosmosDbMongoDbApiCollection': This line specifies the type of the dataset resource, which is "CosmosDbMongoDbApiCollection" in this case.
typeProperties: {...}: This section contains the type-specific properties of the dataset resource. In this case, it includes the name of the collection that the dataset will use.
Reference: MS document - https://learn.microsoft.com/en-us/azure/templates/microsoft.datafactory/factories/datasets?pivots=deployment-language-bicep