Skip to content

Commit 36b8c12

Browse files
authored
Merge pull request #36 from bradygaster/telemetry
Telemetry
2 parents 58e2c50 + 4738eaa commit 36b8c12

19 files changed

+423
-137
lines changed

CONTRIBUTING.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,15 @@ We've added some guideliness to help you in your quest. Please read and feel fre
1010
4. Let us know if you have any questions or you're unsure of something
1111
5. Please fork the project and create a new branch to commit your work
1212
6. DO NOT push to master. If you don't know what this means, refresh your memory [here](https://git-scm.com/book/en/v2/Git-Branching-Branches-in-a-Nutshell)
13+
7. We use [App Insights](https://azure.microsoft.com/en-us/services/application-insights/) to track telemetry and ask that you make use of the `telemetry` module to capture telemetry on features you add.
1314

1415
## Setting up the project locally
1516
1. Ensure you have Node.js installed. Get it [here](https://nodejs.org/en/)
1617
2. Ensure you have Visual Studio Code installed. Get it [here](https://code.visualstudio.com/Download)
1718
3. Ensure you have Git installed. Get it [here](https://git-scm.com/download)
1819
4. Open the command line of your choice and navigate to the root of the project folder
1920
5. Run `npm install` to install the npm packages necessary to run the project
21+
6. Edit the `constants.js` file and provide your own Instrumentation Key to use during development so you can see how your telemetry is coming in. Prior to being deployed to the marketplace, I'll update this to be the production key.
2022

2123
## Testing your code changes
2224
At the moment we don't have automated tests. Trust us, we're working on it. However, you're more than welcome to contribute if you've got time or feel you're up to the task. To test your code changes, launch the debugger from within VS Code. This will launch a separate instance of VS Code with the extension already installed. Step through the code as you would do norrmally.

README.md

Lines changed: 30 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,33 @@
22

33
This extension for [Visual Studio Code](http://code.visualstudio.com) gives Azure developers some convenient commands for creating or accessing resources directly in the editor.
44

5-
## New in v1.1.0
5+
## New in v1.2.0
6+
Here's a brief summary of the new features included in the 1.2.0 release.
67

7-
- **Azure Key Vault creation.**
8+
### Export Template
89

9-
You can now use the Azure Tools for Visual Studio Code to create new Key Vault instances. Selecting the **Create Key Vault** command. Then you can create a new or select an existing resource group into which your new Key Vault will be created.
10+
In 1.2.0 we've added support for exporting existing resource groups to ARM templates saved in your workspace. First, you invoke the `Export` command using the palette.
1011

11-
![Create Key Vault](media/docs/Screenshot_150.png)
12+
![Export command](media/docs/Screenshot_162.png)
13+
14+
Then you select an existing resource group.
15+
16+
![Select a resource group](media/docs/Screenshot_163.png)
17+
18+
A few seconds later, the resource group's contents are downloaded as an ARM template and stored into your current workspace's `arm-templates` folder.
19+
20+
![Export command](media/docs/Screenshot_164.png)
21+
22+
> **Note:** As of the 1.2.0 release time frame there are a few kinks in the particular Azure API call we're using; certain details of your resources might not be persisted exactly right. You can use the great features contained in the [Azure Resource Manager Tools extension](https://marketplace.visualstudio.com/items?itemName=msazurermtools.azurerm-vscode-tools) (which bundled with this extension) to make tweaks. The API owners are working on making great improvements to this functionality so it'll improve in future releases of the back-end API.
23+
24+
### Azure Batch account creation
25+
26+
From within Visual Studio Code you can use the `Create Azure Batch` command from the palette, shown below, to create new Azure Batch accounts. Future releases may add support for scripting against your Batch account, creating Jobs, and so forth. Feel free to send the team requests for additional Batch features via our [GitHub Issues page](https://github.com/bradygaster/azure-tools-vscode/issues).
27+
28+
![Create Key Vault](media/docs/Screenshot_161.png)
1229

1330
## Features
31+
- Azure Key Vault Creation
1432
- Search the [Azure QuickStart Templates](https://github.com/Azure/azure-quickstart-templates) GitHub repository
1533
- Download Azure Resource Manager (ARM) template and parameter files to workspace
1634
- Uses the [Azure Resource Manager Tools](https://marketplace.visualstudio.com/items?itemName=msazurermtools.azurerm-vscode-tools) extension to simplify the template-editing experience
@@ -30,8 +48,14 @@ Each of these commands is visible directly from commands visible in the command
3048

3149
![Azure Tools Commands](media/docs/commands.png)
3250

33-
## New Azure Resource Manager (ARM) Features
34-
**New in 1.0.0** - Now you can use keyword searches to find one of the numerous existing templates in the Azure QuickStart Templates repository, then download the templates you find and deploy them **all within Visual Studio Code**.
51+
## Azure Key Vault creation
52+
53+
You can now use the Azure Tools for Visual Studio Code to create new Key Vault instances. Selecting the **Create Key Vault** command. Then you can create a new or select an existing resource group into which your new Key Vault will be created.
54+
55+
![Create Key Vault](media/docs/Screenshot_150.png)
56+
57+
## Azure Resource Manager (ARM) Features
58+
You can use keyword searches to find one of the numerous existing templates in the Azure QuickStart Templates repository, then download the templates you find and deploy them **all within Visual Studio Code**.
3559

3660
### Search and Download from the Azure Template QuickStart Repository
3761
Templates in the QuickStart repository are easily searchable from within Visual Studio Code.

media/docs/Screenshot_161.png

105 KB
Loading

media/docs/Screenshot_162.png

108 KB
Loading

media/docs/Screenshot_163.png

82.9 KB
Loading

media/docs/Screenshot_164.png

147 KB
Loading

package.json

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -135,22 +135,23 @@
135135
"msazurermtools.azurerm-vscode-tools"
136136
],
137137
"dependencies": {
138+
"adal-node": "^0.1.17",
139+
"applicationinsights": "^0.18.0",
140+
"azure-arm-batch": "0.3.0",
138141
"azure-arm-keyvault": "0.11.4",
139142
"azure-arm-resource": "1.5.1-preview",
140143
"azure-arm-storage": "^0.13.4-preview",
141144
"azure-arm-website": "0.11.4",
142145
"azure-gallery": "^2.0.0-pre.20",
143-
"azure-arm-batch": "0.3.0",
144-
"documentdb": "1.10.1",
146+
"azure-keyvault": "^1.0.0",
145147
"copy-paste": "^1.3.0",
148+
"documentdb": "1.10.1",
146149
"download-file": "^0.1.5",
147150
"fs-path": "0.0.23",
148151
"get-urls": "^5.0.1",
152+
"moment": "^2.17.1",
149153
"ms-rest-azure": "1.15.2",
150154
"octonode": "^0.7.7",
151-
"open": "0.0.5",
152-
"moment": "^2.17.1",
153-
"azure-keyvault": "^1.0.0",
154-
"adal-node": "^0.1.17"
155+
"open": "0.0.5"
155156
}
156157
}

0 commit comments

Comments
 (0)