Files
azuredatastudio/extensions/azuremonitor/package.json
Benjin Dubishar b1c2cc1740 Converting remaining services to use runWithErrorHandling() (#22720)
* Converting remaining services to use `runWithErrorHandling()`

* Updating sqlops-dataprotocolclient to 1.3.3

* upgrading dataprotocol and swapping to that baseService

* Adding async to make thenable -> promise conversion happy

---------

Co-authored-by: Alan Ren <alanren@microsoft.com>
2023-04-14 16:08:07 -07:00

227 lines
7.0 KiB
JSON

{
"name": "azuremonitor",
"description": "%azuremonitor.description%",
"version": "0.1.10",
"publisher": "Microsoft",
"aiKey": "29a207bb14f84905966a8f22524cb730-25407f35-11b6-4d4e-8114-ab9e843cb52f-7380",
"activationEvents": [
"*"
],
"engines": {
"vscode": "*",
"azdata": ">=1.31.0"
},
"main": "./out/main",
"repository": {
"type": "git",
"url": "https://github.com/Microsoft/azuredatastudio.git"
},
"capabilities": {
"virtualWorkspaces": false,
"untrustedWorkspaces": {
"supported": true
}
},
"typings": "./src/azuremonitor",
"contributes": {
"connectionProvider": {
"providerId": "LOGANALYTICS",
"languageMode": "loganalytics",
"displayName": "%azuremonitor.displayName%",
"notebookKernelAlias": "LogAnalytics",
"azureResource": "AzureLogAnalytics",
"iconPath": [
{
"id": "azuremonitor:cloud",
"path": {
"light": "resources/light/azure_monitor_light.svg",
"dark": "resources/dark/azure_monitor_dark.svg"
},
"default": true
}
],
"connectionOptions": [
{
"specialValueType": "serverName",
"isIdentity": true,
"name": "server",
"displayName": "%azuremonitor.connectionProperties.serverName.displayName%",
"description": "%azuremonitor.connectionProperties.serverName.description%",
"groupName": "%azuremonitor.connectionProperties.groupName.source%",
"valueType": "string",
"defaultValue": null,
"objectType": null,
"categoryValues": [],
"isRequired": true,
"isArray": false
},
{
"specialValueType": "authType",
"isIdentity": true,
"name": "authenticationType",
"displayName": "%azuremonitor.connectionProperties.authType.displayName%",
"description": "%azuremonitor.connectionProperties.authType.description%",
"groupName": "%azuremonitor.connectionProperties.groupName.security%",
"valueType": "category",
"defaultValue": "AzureMFA",
"objectType": null,
"categoryValues": [
{
"displayName": "%azuremonitor.connectionProperties.authType.categoryValues.azureMFA%",
"name": "AzureMFA"
}
],
"isRequired": true,
"isArray": false
},
{
"specialValueType": "connectionName",
"isIdentity": true,
"name": "connectionName",
"displayName": "%azuremonitor.connectionProperties.connectionName.displayName%",
"description": "%azuremonitor.connectionProperties.connectionName.description%",
"groupName": "%azuremonitor.connectionProperties.groupName.source%",
"valueType": "string",
"defaultValue": null,
"objectType": null,
"categoryValues": null,
"isRequired": false,
"isArray": false
},
{
"specialValueType": "userName",
"isIdentity": true,
"name": "user",
"displayName": "%azuremonitor.connectionProperties.userName.displayName%",
"description": "%azuremonitor.connectionProperties.userName.description%",
"groupName": "%azuremonitor.connectionProperties.groupName.security%",
"valueType": "string",
"defaultValue": null,
"objectType": null,
"categoryValues": null,
"isRequired": true,
"isArray": false
},
{
"specialValueType": "password",
"isIdentity": true,
"name": "password",
"displayName": "%azuremonitor.connectionProperties.password.displayName%",
"description": "%azuremonitor.connectionProperties.password.description%",
"groupName": "%azuremonitor.connectionProperties.groupName.security%",
"valueType": "password",
"defaultValue": null,
"objectType": null,
"categoryValues": null,
"isRequired": true,
"isArray": false
}
]
},
"dashboard": {
"provider": "LOGANALYTICS",
"flavors": [
{
"flavor": "cloud",
"conditions": [
{
"field": "isCloud",
"operator": "==",
"value": true
}
],
"databaseProperties": [
{
"displayName": "%azuremonitor.cloud.workspaceProperties.name%",
"value": "name"
},
{
"displayName": "%azuremonitor.cloud.workspaceProperties.id%",
"value": "id"
}
],
"serverProperties": [],
"databasesListProperties": [
{
"displayName": "%azuremonitor.databasesListProperties.name%",
"value": "name",
"widthWeight": 60
},
{
"displayName": "%azuremonitor.databasesListProperties.size%",
"value": "sizeInMB",
"widthWeight": 20
}
],
"objectsListProperties": [
{
"displayName": "%azuremonitor.objectsListProperties.name%",
"value": "name",
"widthWeight": 60
},
{
"displayName": "%azuremonitor.objectsListProperties.metadataTypeName%",
"value": "metadataTypeName",
"widthWeight": 20
}
]
}
]
},
"languages": [
{
"id": "loganalytics",
"aliases": [
"LogAnalytics",
"loganalytics"
],
"extensions": [
".loganalytics"
],
"configuration": "./language-configuration.json"
}
],
"grammars": [
{
"language": "loganalytics",
"scopeName": "source.azuremonitor",
"path": "./syntaxes/azuremonitor.tmLanguage"
}
],
"themes": [
{
"label": "[Kuskus] Azure Monitor Logs (Dark)",
"uiTheme": "vs-dark",
"path": "./themes/kuskus-azuremonitorlogs-dark.json"
},
{
"label": "[Kuskus] Azure Monitor Logs 2 (Dark)",
"uiTheme": "vs-dark",
"path": "./themes/kuskus-azuremonitorlogs-2-dark.json"
}
],
"outputChannels": [
"AzureMonitorLogs"
]
},
"scripts": {
"compile": "gulp compile-extension:azuremonitor-client",
"update-grammar": "node ../../build/npm/update-grammar.js Microsoft/vscode-azuremonitor ./syntaxes/azuremonitor.tmLanguage"
},
"dependencies": {
"dataprotocol-client": "github:Microsoft/sqlops-dataprotocolclient#1.3.4",
"figures": "^2.0.0",
"find-remove": "1.2.1",
"@microsoft/ads-service-downloader": "^1.2.1",
"@microsoft/ads-extension-telemetry": "^3.0.1",
"vscode-languageclient": "5.2.1",
"vscode-nls": "^4.0.0"
},
"devDependencies": {},
"__metadata": {
"id": "83",
"publisherDisplayName": "Microsoft",
"publisherId": "Microsoft"
}
}