Add support for CosmosDB - Mongo API (#19386)

* Display cdb nodes to browse azure tree

* Update icons

* Update node label

* Remove console logs

* Fix i18n in cosmosDbMongoTreeDataProvider

* Disable Mongo provider in azure tree for now

* Revert "Disable Mongo provider in azure tree for now"

This reverts commit 8b2d2079f43624596a41b82a71a5e40eef1ad4b1.

* Fix build issues related to merge

* Add COSMOSDB_MONGO in provider extension map

* Define providerId string as constant. Rename constants to follow azurecore/ naming conventions (all caps)
This commit is contained in:
Laurent Nguyen
2022-05-19 20:12:53 +02:00
committed by GitHub
parent 1bceb04a4a
commit 97a4ecdfbb
9 changed files with 191 additions and 2 deletions

View File

@@ -345,7 +345,8 @@ declare module 'azurecore' {
postgresServer = 'microsoft.dbforpostgresql/servers',
azureArcService = 'microsoft.azuredata/datacontrollers',
storageAccount = 'microsoft.storage/storageaccounts',
logAnalytics = 'microsoft.operationalinsights/workspaces'
logAnalytics = 'microsoft.operationalinsights/workspaces',
cosmosDbAccount = 'microsoft.documentdb/databaseaccounts'
}
export interface IAzureResourceProvider extends azdata.DataProvider {