Learn More — Back to Learn More Index
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.
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.
Subscription Discovery: All available Azure subscriptions are listed.
Tip: You can
filter
which subscriptions are shown in theService Discovery
panel. Click the funnel icon next to the service discovery provider name, wait for the list to populate, and select the subscriptions you want to include.
VM Filtering by Tag:
The plugin searches for virtual machines within your selected subscriptions that have a specific tag assigned. By default, the tag is set to DocumentDB
, but you can change this in the filter function as needed.
Tip: When using Service Discovery from within the
DocumentDB Connections
area, you’ll always be asked to confirm thetag
used. TheService Discovery
area works with the defaultDocumentDB
tag. Changing it is possible using thefilter
feature.
Connection Options:
DocumentDB Connections
list using the context menu or by clicking the save icon next to its name.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.