User Manual β Back to User Manual
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.
π Managing Azure Resources: This provider shares common Azure management features with other Azure-based providers. See Managing Azure Discovery (Accounts, Tenants, and Subscriptions) for detailed information about:
- Managing Azure accounts and credentials
- Filtering by tenants and subscriptions
- Troubleshooting common issues
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. See Managing Azure Accounts for details on managing your credentials.
Resource Filtering (Service Discovery Panel): When accessing this plugin from the Service Discovery panel, you can control which resources are displayed by filtering tenants and subscriptions. Click the funnel icon next to the provider name to configure filters. See Filtering Azure Resources for more information.
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.
DocumentDB Connections list using the context menu or the save icon next to its name.For an overview of how service discovery works, see the Service Discovery documentation. For details on managing your Azure accounts and subscriptions, refer to the Managing Azure Subscriptions guide.
This provider supports the following management features:
For detailed instructions on these features, see Managing Azure Discovery (Accounts, Tenants, and Subscriptions).
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.