2019-10-23 00:02:59 +03:00
|
|
|
{
|
|
|
|
"name": "vscode-azurevirtualmachines",
|
|
|
|
"displayName": "Azure Virtual Machines",
|
|
|
|
"description": "%extension.description%",
|
2023-05-17 22:19:58 +03:00
|
|
|
"version": "0.6.5",
|
2019-10-23 00:02:59 +03:00
|
|
|
"publisher": "ms-azuretools",
|
|
|
|
"icon": "resources/azure-vm.png",
|
2022-07-12 22:08:44 +03:00
|
|
|
"aiKey": "0c6ae279ed8443289764825290e4f9e2-1a736e7c-1324-4338-be46-fc2a58ae4d14-7255",
|
2019-10-23 00:02:59 +03:00
|
|
|
"engines": {
|
2022-11-17 00:58:43 +03:00
|
|
|
"vscode": "^1.66.0"
|
2019-10-23 00:02:59 +03:00
|
|
|
},
|
|
|
|
"repository": {
|
|
|
|
"type": "git",
|
|
|
|
"url": "https://github.com/microsoft/vscode-azurevirtualmachines"
|
|
|
|
},
|
|
|
|
"galleryBanner": {
|
2020-02-22 05:07:07 +03:00
|
|
|
"color": "#3a3d41",
|
2019-10-23 00:02:59 +03:00
|
|
|
"theme": "dark"
|
|
|
|
},
|
2020-09-01 21:47:41 +03:00
|
|
|
"homepage": "https://github.com/Microsoft/vscode-azurevirtualmachines/blob/main/README.md",
|
2019-10-23 00:02:59 +03:00
|
|
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
|
|
"categories": [
|
|
|
|
"Azure"
|
|
|
|
],
|
2020-06-16 04:03:02 +03:00
|
|
|
"extensionKind": [
|
|
|
|
"ui",
|
|
|
|
"workspace"
|
|
|
|
],
|
2019-10-23 00:02:59 +03:00
|
|
|
"keywords": [
|
|
|
|
"Azure",
|
|
|
|
"Virtual Machines",
|
2020-08-21 21:21:47 +03:00
|
|
|
"VMs",
|
|
|
|
"SSH",
|
2019-10-23 00:02:59 +03:00
|
|
|
"Remote",
|
|
|
|
"multi-root ready"
|
|
|
|
],
|
|
|
|
"preview": true,
|
|
|
|
"activationEvents": [
|
2021-10-01 23:35:30 +03:00
|
|
|
"onCommand:azureVirtualMachines.addSshKey",
|
2020-08-26 04:33:47 +03:00
|
|
|
"onCommand:azureVirtualMachines.createVirtualMachine",
|
|
|
|
"onCommand:azureVirtualMachines.createVirtualMachineAdvanced",
|
|
|
|
"onCommand:azureVirtualMachines.deleteVirtualMachine",
|
2019-10-23 00:02:59 +03:00
|
|
|
"onCommand:azureVirtualMachines.openInPortal",
|
2021-10-01 23:35:30 +03:00
|
|
|
"onCommand:azureVirtualMachines.refresh",
|
2021-02-17 04:57:06 +03:00
|
|
|
"onCommand:azureVirtualMachines.reportIssue",
|
2021-10-01 23:35:30 +03:00
|
|
|
"onCommand:azureVirtualMachines.restartVirtualMachine",
|
|
|
|
"onCommand:azureVirtualMachines.startVirtualMachine",
|
|
|
|
"onCommand:azureVirtualMachines.stopVirtualMachine",
|
2022-05-14 00:39:13 +03:00
|
|
|
"onCommand:azureVirtualMachines.viewProperties"
|
2019-10-23 00:02:59 +03:00
|
|
|
],
|
|
|
|
"main": "./main.js",
|
|
|
|
"contributes": {
|
2022-05-14 00:39:13 +03:00
|
|
|
"x-azResources": {
|
2023-01-17 21:01:30 +03:00
|
|
|
"azure": {
|
|
|
|
"branches": [
|
|
|
|
{
|
|
|
|
"type": "VirtualMachines"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
2022-05-14 00:39:13 +03:00
|
|
|
"activation": {
|
|
|
|
"onFetch": [
|
|
|
|
"microsoft.compute/virtualmachines"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"commands": [
|
|
|
|
{
|
|
|
|
"command": "azureVirtualMachines.createVirtualMachine",
|
|
|
|
"title": "%azureVirtualMachines.createVirtualMachine%",
|
|
|
|
"type": "microsoft.compute/virtualmachines",
|
|
|
|
"detail": "%azureVirtualMachines.createVirtualMachineDetail%"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
2019-10-23 00:02:59 +03:00
|
|
|
"commands": [
|
|
|
|
{
|
2021-10-01 23:35:30 +03:00
|
|
|
"command": "azureVirtualMachines.addSshKey",
|
|
|
|
"title": "%azureVirtualMachines.addSshKey%",
|
|
|
|
"category": "Azure Virtual Machines"
|
2019-10-23 00:02:59 +03:00
|
|
|
},
|
|
|
|
{
|
2021-10-01 23:35:30 +03:00
|
|
|
"command": "azureVirtualMachines.copyIpAddress",
|
|
|
|
"title": "%azureVirtualMachines.copyIpAddress%",
|
2019-10-23 00:02:59 +03:00
|
|
|
"category": "Azure Virtual Machines"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"command": "azureVirtualMachines.createVirtualMachine",
|
2020-02-05 04:34:23 +03:00
|
|
|
"title": "%azureVirtualMachines.createVirtualMachine%",
|
2020-02-20 22:03:42 +03:00
|
|
|
"category": "Azure Virtual Machines",
|
2021-04-08 21:20:25 +03:00
|
|
|
"icon": "$(add)"
|
2020-02-05 00:52:48 +03:00
|
|
|
},
|
2020-08-12 21:25:59 +03:00
|
|
|
{
|
|
|
|
"command": "azureVirtualMachines.createVirtualMachineAdvanced",
|
|
|
|
"title": "%azureVirtualMachines.createVirtualMachineAdvanced%",
|
|
|
|
"category": "Azure Virtual Machines"
|
|
|
|
},
|
2020-02-22 00:19:56 +03:00
|
|
|
{
|
2021-10-01 23:35:30 +03:00
|
|
|
"command": "azureVirtualMachines.deleteVirtualMachine",
|
|
|
|
"title": "%azureVirtualMachines.deleteVirtualMachine%",
|
2020-02-22 00:19:56 +03:00
|
|
|
"category": "Azure Virtual Machines"
|
|
|
|
},
|
2020-02-20 03:06:22 +03:00
|
|
|
{
|
2021-10-01 23:35:30 +03:00
|
|
|
"command": "azureVirtualMachines.openInRemoteSsh",
|
|
|
|
"title": "%azureVirtualMachines.openInRemoteSsh%",
|
2020-02-20 03:06:22 +03:00
|
|
|
"category": "Azure Virtual Machines"
|
|
|
|
},
|
2019-10-23 00:02:59 +03:00
|
|
|
{
|
2021-10-01 23:35:30 +03:00
|
|
|
"command": "azureVirtualMachines.reportIssue",
|
|
|
|
"title": "%azureVirtualMachines.reportIssue%",
|
2020-08-25 02:16:48 +03:00
|
|
|
"category": "Azure Virtual Machines"
|
|
|
|
},
|
|
|
|
{
|
2021-10-01 23:35:30 +03:00
|
|
|
"command": "azureVirtualMachines.restartVirtualMachine",
|
|
|
|
"title": "%azureVirtualMachines.restartVirtualMachine%",
|
2020-08-25 02:16:48 +03:00
|
|
|
"category": "Azure Virtual Machines"
|
2020-08-26 04:33:47 +03:00
|
|
|
},
|
2021-10-01 23:35:30 +03:00
|
|
|
{
|
|
|
|
"command": "azureVirtualMachines.startVirtualMachine",
|
|
|
|
"title": "%azureVirtualMachines.startVirtualMachine%",
|
2020-08-26 04:33:47 +03:00
|
|
|
"category": "Azure Virtual Machines"
|
2021-01-12 21:13:46 +03:00
|
|
|
},
|
|
|
|
{
|
2021-10-01 23:35:30 +03:00
|
|
|
"command": "azureVirtualMachines.stopVirtualMachine",
|
|
|
|
"title": "%azureVirtualMachines.stopVirtualMachine%",
|
2021-01-12 21:13:46 +03:00
|
|
|
"category": "Azure Virtual Machines"
|
2019-10-23 00:02:59 +03:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"menus": {
|
|
|
|
"view/item/context": [
|
|
|
|
{
|
|
|
|
"command": "azureVirtualMachines.createVirtualMachine",
|
2023-01-17 21:01:30 +03:00
|
|
|
"when": "view == azureResourceGroups && viewItem =~ /virtualmachines/i && viewItem =~ /azureResourceTypeGroup/i",
|
2019-10-23 00:02:59 +03:00
|
|
|
"group": "1@1"
|
|
|
|
},
|
2020-08-12 21:25:59 +03:00
|
|
|
{
|
|
|
|
"command": "azureVirtualMachines.createVirtualMachineAdvanced",
|
2023-01-17 21:01:30 +03:00
|
|
|
"when": "view == azureResourceGroups && viewItem =~ /virtualmachines/i && viewItem =~ /azureResourceTypeGroup/i",
|
2020-08-12 21:25:59 +03:00
|
|
|
"group": "1@2"
|
|
|
|
},
|
2019-10-23 00:02:59 +03:00
|
|
|
{
|
2020-08-25 02:16:48 +03:00
|
|
|
"command": "azureVirtualMachines.copyIpAddress",
|
2023-05-17 22:19:58 +03:00
|
|
|
"when": "view =~ /(azureResourceGroups|azureFocusView)/ && viewItem =~ /virtualmachine(?!s)/i",
|
2021-01-12 21:13:46 +03:00
|
|
|
"group": "1@2"
|
2020-02-05 00:52:48 +03:00
|
|
|
},
|
|
|
|
{
|
2020-02-22 00:19:56 +03:00
|
|
|
"command": "azureVirtualMachines.startVirtualMachine",
|
2023-05-17 22:19:58 +03:00
|
|
|
"when": "view =~ /(azureResourceGroups|azureFocusView)/ && viewItem =~ /virtualmachine(?!s)/i",
|
2020-02-05 01:08:11 +03:00
|
|
|
"group": "2@1"
|
2020-02-20 03:06:22 +03:00
|
|
|
},
|
|
|
|
{
|
2020-08-25 01:50:59 +03:00
|
|
|
"command": "azureVirtualMachines.restartVirtualMachine",
|
2023-05-17 22:19:58 +03:00
|
|
|
"when": "view =~ /(azureResourceGroups|azureFocusView)/ && viewItem =~ /virtualmachine(?!s)/i",
|
2020-02-20 03:06:22 +03:00
|
|
|
"group": "2@2"
|
2020-02-22 00:19:56 +03:00
|
|
|
},
|
|
|
|
{
|
2020-08-25 01:50:59 +03:00
|
|
|
"command": "azureVirtualMachines.stopVirtualMachine",
|
2023-05-17 22:19:58 +03:00
|
|
|
"when": "view =~ /(azureResourceGroups|azureFocusView)/ && viewItem =~ /virtualmachine(?!s)/i",
|
2020-02-22 00:19:56 +03:00
|
|
|
"group": "2@3"
|
|
|
|
},
|
2020-08-25 01:50:59 +03:00
|
|
|
{
|
|
|
|
"command": "azureVirtualMachines.deleteVirtualMachine",
|
2023-05-17 22:19:58 +03:00
|
|
|
"when": "view =~ /(azureResourceGroups|azureFocusView)/ && viewItem =~ /virtualmachine(?!s)/i",
|
2020-08-25 01:50:59 +03:00
|
|
|
"group": "2@4"
|
|
|
|
},
|
2021-01-12 21:13:46 +03:00
|
|
|
{
|
|
|
|
"command": "azureVirtualMachines.openInRemoteSsh",
|
2023-05-17 22:19:58 +03:00
|
|
|
"when": "view =~ /(azureResourceGroups|azureFocusView)/ && viewItem =~ /linuxVirtualMachine/",
|
2021-01-12 21:13:46 +03:00
|
|
|
"group": "1@1"
|
|
|
|
},
|
2020-02-22 00:19:56 +03:00
|
|
|
{
|
2020-02-22 03:37:45 +03:00
|
|
|
"command": "azureVirtualMachines.addSshKey",
|
2023-05-17 22:19:58 +03:00
|
|
|
"when": "view =~ /(azureResourceGroups|azureFocusView)/ && viewItem =~ /linuxVirtualMachine/",
|
2021-01-12 21:13:46 +03:00
|
|
|
"group": "1@3"
|
2019-10-23 00:02:59 +03:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"explorer/context": [],
|
|
|
|
"editor/context": []
|
|
|
|
},
|
|
|
|
"configuration": [
|
|
|
|
{
|
|
|
|
"title": "Azure Virtual Machines",
|
|
|
|
"properties": {
|
2020-02-05 04:34:23 +03:00
|
|
|
"azureVirtualMachines.enableOutputTimestamps": {
|
|
|
|
"type": "boolean",
|
|
|
|
"description": "%azureVirtualMachines.enableOutputTimestamps%",
|
|
|
|
"default": true
|
2020-03-03 21:04:38 +03:00
|
|
|
},
|
|
|
|
"azureVirtualMachines.promptForPassphrase": {
|
|
|
|
"type": "boolean",
|
|
|
|
"description": "%azureVirtualMachines.promptForPassphrase%",
|
|
|
|
"default": true
|
2019-10-23 00:02:59 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"scripts": {
|
|
|
|
"vscode:prepublish": "npm run webpack-prod",
|
2020-04-02 00:53:32 +03:00
|
|
|
"build": "tsc",
|
2020-08-26 23:49:35 +03:00
|
|
|
"cleanReadme": "gulp cleanReadme",
|
2020-04-02 00:53:32 +03:00
|
|
|
"compile": "tsc -watch",
|
2020-10-23 22:28:00 +03:00
|
|
|
"package": "vsce package --githubBranch main",
|
2021-05-14 17:39:43 +03:00
|
|
|
"lint": "eslint --ext .ts .",
|
|
|
|
"lint-fix": "eslint --ext .ts . --fix",
|
2022-11-17 00:58:43 +03:00
|
|
|
"pretest": "npm run webpack-prod",
|
2020-04-02 00:53:32 +03:00
|
|
|
"test": "node ./out/test/runTest.js",
|
2019-10-23 00:02:59 +03:00
|
|
|
"webpack": "npm run build && gulp webpack-dev",
|
|
|
|
"webpack-prod": "npm run build && gulp webpack-prod",
|
2020-04-02 00:53:32 +03:00
|
|
|
"webpack-profile": "webpack --profile --json --mode production > webpack-stats.json && echo Use http://webpack.github.io/analyse to analyze the stats",
|
|
|
|
"all": "npm i && npm run lint && npm test"
|
2019-10-23 00:02:59 +03:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2021-08-12 21:39:19 +03:00
|
|
|
"@microsoft/eslint-config-azuretools": "^0.1.0",
|
2022-11-17 00:58:43 +03:00
|
|
|
"@microsoft/vscode-azext-dev": "^0.1.4",
|
2021-02-09 03:35:42 +03:00
|
|
|
"@types/fs-extra": "^8.1.1",
|
|
|
|
"@types/gulp": "^4.0.8",
|
2021-04-14 22:14:34 +03:00
|
|
|
"@types/mocha": "^8.2.2",
|
2021-08-16 23:52:38 +03:00
|
|
|
"@types/node": "^14.0.0",
|
2022-11-17 00:58:43 +03:00
|
|
|
"@types/vscode": "1.66.0",
|
2021-01-22 23:21:09 +03:00
|
|
|
"@types/which": "^1.3.2",
|
2021-07-19 20:36:21 +03:00
|
|
|
"@typescript-eslint/eslint-plugin": "^4.28.3",
|
2022-11-17 00:58:43 +03:00
|
|
|
"@vscode/test-electron": "^2.1.5",
|
2021-05-14 17:39:43 +03:00
|
|
|
"eslint": "^7.19.0",
|
|
|
|
"eslint-plugin-import": "^2.22.1",
|
2020-04-02 00:53:32 +03:00
|
|
|
"glob": "^7.1.6",
|
2020-02-26 04:33:37 +03:00
|
|
|
"gulp": "^4.0.2",
|
2021-10-01 23:35:30 +03:00
|
|
|
"husky": "^7.0.2",
|
2022-11-02 20:33:54 +03:00
|
|
|
"mocha": "^10.1.0",
|
2021-04-14 22:14:34 +03:00
|
|
|
"mocha-junit-reporter": "^2.0.0",
|
2021-02-09 03:35:42 +03:00
|
|
|
"mocha-multi-reporters": "^1.5.1",
|
2019-10-23 00:02:59 +03:00
|
|
|
"ts-node": "^7.0.1",
|
2021-07-19 20:36:21 +03:00
|
|
|
"typescript": "^4.3.5",
|
2022-11-02 20:33:16 +03:00
|
|
|
"vsce": "^2.13.0",
|
2021-04-01 21:39:31 +03:00
|
|
|
"webpack": "^5.28.0",
|
|
|
|
"webpack-cli": "^4.6.0"
|
2019-10-23 00:02:59 +03:00
|
|
|
},
|
|
|
|
"dependencies": {
|
2022-02-09 01:41:35 +03:00
|
|
|
"@azure/arm-compute": "^17.1.0",
|
|
|
|
"@azure/arm-network": "^26.0.0",
|
2021-05-07 00:58:23 +03:00
|
|
|
"@azure/arm-network-profile-2020-09-01-hybrid": "^1.0.0",
|
2022-02-09 01:41:35 +03:00
|
|
|
"@azure/arm-resources": "^5.0.0",
|
2021-05-07 00:58:23 +03:00
|
|
|
"@azure/arm-resources-profile-2020-09-01-hybrid": "^1.0.0",
|
2022-07-21 19:24:25 +03:00
|
|
|
"@microsoft/vscode-azext-azureutils": "^0.3.4",
|
2023-01-17 21:01:30 +03:00
|
|
|
"@microsoft/vscode-azext-utils": "^0.3.26",
|
2020-02-04 03:20:06 +03:00
|
|
|
"fs-extra": "^8.1.0",
|
2021-04-01 21:39:31 +03:00
|
|
|
"open": "^8.0.4",
|
2019-10-23 00:02:59 +03:00
|
|
|
"semver": "^5.7.0",
|
2022-11-11 20:30:59 +03:00
|
|
|
"ssh-config": "^4.1.4",
|
2021-01-22 23:21:09 +03:00
|
|
|
"vscode-nls": "^4.1.0",
|
|
|
|
"which": "^2.0.2"
|
2019-10-23 00:02:59 +03:00
|
|
|
},
|
|
|
|
"extensionDependencies": [
|
2021-02-18 01:53:08 +03:00
|
|
|
"ms-vscode.azure-account",
|
|
|
|
"ms-azuretools.vscode-azureresourcegroups"
|
2019-10-23 00:02:59 +03:00
|
|
|
]
|
|
|
|
}
|