Cosmos DB

Collections

Microsoft.DocumentDB/databaseAccounts/mongodbDatabases/collections

Control plane
Supported
Data plane
Partial
API versions
47 25 stable
Ships in
Plugin Microsoft.DocumentDB 2026.11
Plan
Standard and above

Data as of 2026-11-20

API versions

The API versions Locally supports for Microsoft.DocumentDB/databaseAccounts/mongodbDatabases/collections.

API versionStatusControl planeData plane
2026-07-15 stable Supported Partial
2026-04-01-preview preview Supported Partial
2026-03-15 stable Supported Partial
2025-11-01-preview preview Supported Partial
2025-10-15 stable Supported Partial
2025-05-01-preview preview Supported Partial
2025-04-15 stable Supported Partial
2024-12-01-preview preview Supported Partial
2024-11-15 stable Supported Partial
2024-09-01-preview preview Supported Partial
2024-08-15 stable Supported Partial
2024-05-15-preview preview Supported Partial
2024-05-15 stable Supported Partial
2024-02-15-preview preview Supported Partial
2023-11-15-preview preview Supported Partial
2023-11-15 stable Supported Partial
2023-09-15-preview preview Supported Partial
2023-09-15 stable Supported Partial
2023-04-15 stable Supported Partial
2023-03-15-preview preview Supported Partial
2023-03-15 stable Supported Partial
2023-03-01-preview preview Supported Partial
2022-11-15-preview preview Supported Partial
2022-11-15 stable Supported Partial
2022-08-15-preview preview Supported Partial
2022-08-15 stable Supported Partial
2022-05-15-preview preview Supported Partial
2022-05-15 stable Supported Partial
2022-02-15-preview preview Supported Partial
2021-11-15-preview preview Supported Partial
2021-10-15-preview preview Supported Partial
2021-10-15 stable Supported Partial
2021-07-01-preview preview Supported Partial
2021-06-15 stable Supported Partial
2021-05-15 stable Supported Partial
2021-04-15 stable Supported Partial
2021-04-01-preview preview Supported Partial
2021-03-15 stable Supported Partial
2021-03-01-preview preview Supported Partial
2021-01-15 stable Supported Partial
2020-09-01 stable Supported Partial
2020-06-01-preview preview Supported Partial
2020-04-01 stable Supported Partial
2020-03-01 stable Supported Partial
2019-12-12 stable Supported Partial
2019-08-01-preview preview Supported Partial
2019-08-01 stable Supported Partial

Note: This is generated from the latest version of the plugin (2026.11) as of 2026-11-20, and may differ in older versions. We aim to keep this information accurate and up to date; if you find something we're missing, then please let us know.

Nested resource types

The resource types nested under Microsoft.DocumentDB/databaseAccounts/mongodbDatabases/collections. Click one to see more information.

Features

  • CRUD: insert, find, update, delete and findAndModify.
  • Aggregation pipeline, including $lookup, $facet, $merge and $geoNear, with stages and operators gated by the account's server version.
  • Change streams
  • Multi-document transactions on server version 4.0 and later.
  • TTL and unique indexes
  • Shard keys, set with shardCollection and enforced on writes.
  • Extension commands: CreateCollection, UpdateCollection and GetCollection, with throughput and shard key.

Limitations

  • $setWindowFields, $bucket, $densify, $fill and $unionWith are rejected, and $graphLookup needs server version 4.0 or earlier.
  • Autoscale throughput can't be set through the extension commands at this time.
  • MongoDB collections aren't covered by restore at this time.
  • Stages after $changeStream are rejected at this time.
  • Tailable cursors aren't supported at this time.
  • The pipeline form of $lookup is rejected at this time.

Documentation

A local cloud for you and your AI agents.

Your Azure infrastructure, running on your machine. Deploy in seconds, break things freely, and ship to Azure when you're ready.