{ "name": "azurecore", "displayName": "%azure.displayName%", "description": "%azure.description%", "version": "0.1.0", "publisher": "Microsoft", "preview": true, "engines": { "vscode": "^1.30.1", "azdata": "*" }, "activationEvents": [ "*" ], "enableProposedApi": true, "main": "./out/extension", "repository": { "type": "git", "url": "https://github.com/Microsoft/azuredatastudio.git" }, "capabilities": { "virtualWorkspaces": false, "untrustedWorkspaces": { "supported": true } }, "contributes": { "resourceViewResources": [ { "id": "azure-resources", "name": "%azure.resource.view.title%", "icon": "./resources/azure.svg" } ], "configuration": [ { "type": "object", "title": "%azure.resource.config.title%", "properties": { "azure.resource.config.filter": { "type": "array", "default": null, "description": "%azure.resource.config.filter.description%" }, "azure.tenant.config.filter": { "type": "array", "default": [], "description": "%azure.tenant.config.filter.description%" } } }, { "type": "object", "title": "%config.azureAccountConfigurationSection%", "properties": { "accounts.azure.cloud.enablePublicCloud": { "type": "boolean", "default": true, "description": "%config.enablePublicCloudDescription%" }, "accounts.azure.cloud.enableUsGovCloud": { "type": "boolean", "default": false, "description": "%config.enableUsGovCloudDescription%" }, "accounts.azure.cloud.enableChinaCloud": { "type": "boolean", "default": false, "description": "%config.enableChinaCloudDescription%" } } }, { "type": "object", "title": "%config.azureAuthMethodConfigurationSection%", "properties": { "accounts.azure.auth.codeGrant": { "type": "boolean", "default": true, "description": "%config.azureCodeGrantMethod%" }, "accounts.azure.auth.deviceCode": { "type": "boolean", "default": false, "description": "%config.azureDeviceCodeMethod%" } } }, { "type": "object", "title": "Azure", "properties": { "azure.noSystemKeychain": { "type": "boolean", "default": true, "description": "%config.noSystemKeychain%", "when": "isLinux || isWeb" }, "azure.piiLogging": { "type": "boolean", "default": false, "description": "%config.piiLogging%" }, "azure.loggingLevel": { "type": "string", "description": "%config.loggingLevel%", "default": "Error", "enum": [ "Off", "Critical", "Error", "Warning", "Information", "Verbose", "All" ] }, "azure.authenticationLibrary": { "type": "string", "description": "%config.authenticationLibrary%", "default": "MSAL", "enum": [ "ADAL", "MSAL" ], "enumDescriptions": [ "Azure Active Directory Authentication Library", "Microsoft Authentication Library" ], "deprecationMessage": "Warning: ADAL has been deprecated, and is scheduled to be removed in a future release. Please use MSAL (default option) instead." } } } ], "account-type": [ { "id": "microsoft", "icon": { "light": "./resources/light/microsoft_account_light.svg", "dark": "./resources/dark/microsoft_account_dark.svg" } }, { "id": "work_school", "icon": { "light": "./resources/light/work_school_account_light.svg", "dark": "./resources/dark/work_school_account_dark.svg" } } ], "commands": [ { "command": "accounts.clearTokenCache", "title": "%accounts.clearTokenCache%", "category": "Azure Accounts" }, { "command": "azure.resource.signin", "title": "%azure.resource.signin.title%", "icon": "$(add)" }, { "command": "azure.resource.refreshall", "title": "%azure.resource.refreshall.title%", "icon": "$(refresh)" }, { "command": "azure.resource.azureview.refresh", "title": "%azure.resource.refresh.title%", "icon": "$(refresh)" }, { "command": "azure.resource.connectiondialog.refresh", "title": "%azure.resource.refresh.title%", "icon": "$(refresh)" }, { "command": "azure.resource.selectsubscriptions", "title": "%azure.resource.selectsubscriptions.title%", "icon": "$(filter)" }, { "command": "azure.resource.startterminal", "title": "%azure.resource.startterminal.title%", "icon": "$(console)" }, { "command": "azure.resource.openInAzurePortal", "title": "%azure.openInAzurePortal.title%" }, { "command": "azure.resource.connectsqlserver", "title": "%azure.resource.connectsqlserver.title%", "icon": { "dark": "resources/dark/connect_to_inverse.svg", "light": "resources/light/connect_to.svg" } }, { "command": "azure.resource.connectsqldb", "title": "%azure.resource.connectsqldb.title%", "icon": { "dark": "resources/dark/add_to_server_list_inverse.svg", "light": "resources/light/add_to_server_list.svg" } }, { "command": "azure.dataGrid.openInAzurePortal", "title": "%azure.openInAzurePortal.title%" } ], "connectionTreeProvider": [ { "id": "connectionDialog/azureResourceExplorer", "name": "%azure.resource.explorer.title%" } ], "dataExplorer": { "dataExplorer": [ { "id": "azureResourceExplorer", "name": "%azure.resource.explorer.title%" } ] }, "menus": { "commandPalette": [ { "command": "azure.resource.signin", "when": "true" }, { "command": "azure.resource.refreshall", "when": "true" }, { "command": "azure.resource.selectsubscriptions", "when": "false" }, { "command": "azure.resource.azureview.refresh", "when": "false" }, { "command": "azure.resource.connectiondialog.refresh", "when": "false" }, { "command": "azure.resource.connectsqlserver", "when": "false" }, { "command": "azure.dataGrid.openInAzurePortal", "when": "false" } ], "view/title": [ { "command": "azure.resource.signin", "when": "view == azureResourceExplorer", "group": "navigation@1" }, { "command": "azure.resource.refreshall", "when": "view == azureResourceExplorer", "group": "navigation@2" } ], "view/item/context": [ { "command": "azure.resource.selectsubscriptions", "when": "viewItem == azure.resource.itemType.account", "group": "inline" }, { "command": "azure.resource.selectsubscriptions", "when": "viewItem == azure.resource.itemType.account", "group": "azurecore" }, { "command": "azure.resource.azureview.refresh", "when": "viewItem =~ /^azure\\.resource\\.itemType\\.(?:account|subscription|databaseContainer|databaseServerContainer|synapseSqlPoolContainer|synapseWorkspaceContainer)$/", "group": "inline" }, { "command": "azure.resource.azureview.refresh", "when": "viewItem =~ /^azure\\.resource\\.itemType\\.(?:account|subscription|databaseContainer|databaseServerContainer|synapseSqlPoolContainer|synapseWorkspaceContainer)$/", "group": "azurecore" }, { "command": "azure.resource.connectsqlserver", "when": "viewItem =~ /^azure\\.resource\\.itemType\\.(?:database|databaseServer|synapseSqlPool|synapseWorkspace|sqlInstance)$/", "group": "inline" }, { "command": "azure.resource.connectsqlserver", "when": "viewItem =~ /^azure\\.resource\\.itemType\\.(?:database|databaseServer|synapseSqlPool|synapseWorkspace|sqlInstance)$/", "group": "azurecore" }, { "command": "azure.resource.startterminal", "when": "viewItem == azure.resource.itemType.account", "group": "inline" }, { "command": "azure.resource.connectsqlserver", "when": "viewItem == azure.resource.itemType.azureDataExplorer", "group": "inline" }, { "command": "azure.resource.connectsqlserver", "when": "viewItem == azure.resource.itemType.azureMonitor", "group": "inline" }, { "command": "azure.resource.startterminal", "when": "viewItem == azure.resource.itemType.account", "group": "azurecore" } ], "connectionDialog/browseTree": [ { "command": "azure.resource.selectsubscriptions", "when": "contextValue == azure.resource.itemType.account", "group": "navigation" }, { "command": "azure.resource.connectiondialog.refresh", "when": "contextValue == azure.resource.itemType.account", "group": "navigation" }, { "command": "azure.resource.signin", "when": "treeId == connectionDialog/azureResourceExplorer", "group": "navigation" }, { "command": "azure.resource.refreshall", "when": "treeId == connectionDialog/azureResourceExplorer", "group": "navigation" } ], "dataGrid/item/context": [ { "command": "azure.dataGrid.openInAzurePortal" } ] }, "hasAzureResourceProviders": true }, "dependencies": { "@azure/arm-resourcegraph": "^4.0.0", "@azure/arm-subscriptions": "^3.0.0", "@azure/msal-common": "^11.0.0", "@azure/msal-node": "^1.16.0", "@azure/storage-blob": "^12.13.0", "axios": "^0.27.2", "lockfile": "1.0.4", "node-fetch": "^2.6.7", "qs": "^6.9.1", "universalify": "^0.1.2", "vscode-nls": "^4.0.0", "ws": "^7.4.6" }, "devDependencies": { "@microsoft/azdata-test": "^3.0.1", "@microsoft/vscodetestcover": "^1.2.1", "@types/keytar": "4.4.0", "@types/lockfile": "^1.0.2", "@types/mocha": "^7.0.2", "@types/node": "^12.20.55", "@types/qs": "^6.9.1", "@types/request": "^2.48.1", "@types/sinon": "^9.0.4", "@types/ws": "^6.0.4", "mocha": "^7.1.1", "should": "^13.2.1", "sinon": "^9.0.2", "typemoq": "^2.1.0" } }