Learn More — Back to Learn More Index
The Azure CosmosDB for MongoDB (RU) plugin is available as part of the Service Discovery feature in DocumentDB for VS Code. This plugin helps you find and connect to Azure Cosmos DB accounts provisioned with Request Units (RU) for the MongoDB API by handling authentication, resource discovery, and connection creation from inside the extension.
You can access this plugin in two ways:
Service Discovery
panel in the extension sidebar.Azure CosmosDB for MongoDB (RU)
option.When you use the Azure CosmosDB for MongoDB (RU) plugin, the extension performs the following steps:
Authentication: The plugin uses your Azure credentials available in VS Code. If needed, it will prompt you to sign in via the standard Azure sign-in flows.
Subscription Discovery: The plugin lists subscriptions available to your account so you can pick where to search for resources.
Account Discovery: The provider queries Azure using the CosmosDB Management Client and filters results by the MongoDB “kind” for RU-based accounts. This ensures the list contains accounts that support the MongoDB API under RU provisioning.
Connection Options:
DocumentDB Connections
list using the context menu or the save icon next to its name.If you have suggestions for improving this provider or would like to add support for additional resource types, please join the discussion board and share your feedback.