User Manual β Back to User Manual
The Azure VMs (DocumentDB) plugin is available as part of the Service Discovery feature in DocumentDB for VS Code. This plugin helps you locate and connect to your virtual machines hosted in Azure that are running self-hosted DocumentDB or MongoDB instances.
π 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 VMs (DocumentDB) option.
When you use the Azure VMs (DocumentDB) plugin, the following steps are performed:
Authentication: The plugin authenticates you with Azure using your credentials. See Managing Azure Accounts for details on managing your Azure accounts.
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.
DocumentDBDocumentDB Connections area (via βAdd New Connectionβ), youβll be prompted to confirm or change the tag used for filteringDocumentDB tag, but you can change this using the filter featureπ‘ Tip: To use this plugin effectively, ensure your Azure VMs running DocumentDB or MongoDB instances are tagged appropriately. You can add or modify tags in the Azure Portal under the VMβs βTagsβ section.
DocumentDB Connections list using the context menu or by clicking 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 account and subscription management, see Managing Azure Discovery (Accounts, Tenants, and Subscriptions).
In addition to the standard tenant and subscription filtering, the Azure VMs provider includes tag-based filtering:
Filter Flow for Azure VMs:
Step 1: Select Tenants (if multi-tenant)
Step 2: Select Subscriptions
Step 3: Configure VM Tag Filter
ββββββββββββββββββββββββββββββββββββββββββββββ
β Enter the tag name to filter VMs β
ββββββββββββββββββββββββββββββββββββββββββββββ€
β DocumentDB β β Default value
ββββββββββββββββββββββββββββββββββββββββββββββ
The tag filter is also persisted and will be pre-filled with your last selection when you reopen the filter wizard.
If you have suggestions for improving this plugin or would like to see support for additional VM filtering options, please join the discussion board and share your feedback.