Skip to content

Commit c204f23

Browse files
committed
acrolinx
1 parent 96b006f commit c204f23

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

articles/azure-resource-manager/templates/quickstart-create-templates-use-visual-studio-code.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,15 @@ ms.author: nepeters
1212

1313
# Quickstart: Create Azure Resource Manager templates by using Visual Studio Code
1414

15-
The Azure Resource Manager (ARM) Tools for Visual Studio Code provides language support, resource snippets, and resource auto-completion to help you create and validate Azure Resource Manager templates. In this quickstart, you use the ARM tools to create an Azure Resource Manager template from scratch. While doing so you experience ARM tools capabilities such as ARM template snippets, validation, completions, and parameter file support.
15+
The Azure Resource Manager (ARM) Tools for Visual Studio Code provide language support, resource snippets, and resource autocompletion to help you create and validate Azure Resource Manager templates. In this quickstart, you use the ARM tools to create an Azure Resource Manager template from scratch. While doing so you experience ARM tools capabilities such as ARM template snippets, validation, completions, and parameter file support.
1616

17-
In order to complete this quickstart, you need [Visual Studio Code](https://code.visualstudio.com/), with the [Azure Resource Manager (ARM) tools extension](https://marketplace.visualstudio.com/items?itemName=msazurermtools.azurerm-vscode-tools) installed. You also need either the [Azure CLI]() or the Azure PowerShell module installed and authenticated.
17+
To complete this quickstart, you need [Visual Studio Code](https://code.visualstudio.com/), with the [Azure Resource Manager (ARM) tools extension](https://marketplace.visualstudio.com/items?itemName=msazurermtools.azurerm-vscode-tools) installed. You also need either the [Azure CLI]() or the Azure PowerShell module installed and authenticated.
1818

1919
If you don't have an Azure subscription, [create a free account](https://azure.microsoft.com/free/) before you begin.
2020

2121
## Create an ARM template
2222

23-
Create and open with Visual Studio Code a new file named *azuredeploy.json*. Enter `arm` into the code editor which initiates ARM Tools snippets for scaffolding out an ARM template.
23+
Create and open with Visual Studio Code a new file named *azuredeploy.json*. Enter `arm` into the code editor, which initiates ARM Tools snippets for scaffolding out an ARM template.
2424

2525
Select `arm!` to create a template scoped for an Azure resource group deployment.
2626

@@ -30,7 +30,7 @@ This snippet creates the basic building blocks for an ARM template.
3030

3131
![](./media/quickstart-create-templates-use-visual-studio-code/2.png)
3232

33-
Notice that the VS Code language mode has changed from *JSON* to *Azure Resource Manager Template*. The ARM Tools extension includes a language server specific to ARM templates which provides ARM template specific validation, completion, and other language services.
33+
Notice that the VS Code language mode has changed from *JSON* to *Azure Resource Manager Template*. The ARM Tools extension includes a language server specific to ARM templates which provides ARM template-specific validation, completion, and other language services.
3434

3535
![](./media/quickstart-create-templates-use-visual-studio-code/3.png)
3636

@@ -42,7 +42,7 @@ Place the cursor in the template **resources** block, type in `storage`, and sel
4242

4343
![](./media/quickstart-create-templates-use-visual-studio-code/4.png)
4444

45-
This adds a storage resource to the template.
45+
This action adds a storage resource to the template.
4646

4747
![](./media/quickstart-create-templates-use-visual-studio-code/5.png)
4848

@@ -54,7 +54,7 @@ The **tab** key can be used to tab through configurable properties on the storag
5454

5555
One of the most powerful capabilities of the ARM Tools extension for VS Code is its integration with Azure schemas. Azure schemas provide the extension with validation and resource-aware completion capabilities. Let's modify the storage account to see validation and completion in action.
5656

57-
First, update the storage account kind to an invalid value such as `megaStorage`. Notice that this produces a warning indicating that `megaStorage` is not a valid value.
57+
First, update the storage account kind to an invalid value such as `megaStorage`. Notice that this action produces a warning indicating that `megaStorage` is not a valid value.
5858

5959
![](./media/quickstart-create-templates-use-visual-studio-code/7.png)
6060

@@ -66,7 +66,7 @@ To use the completion capabilities, remove `megaStorage`, place the cursor insid
6666

6767
Now create and use a parameter to specify the storage account name.
6868

69-
Place your cursor in the parameters block, add a carriage return, type `par`, and then select the `arm-param-value` snippet. This adds a generic parameter to the template.
69+
Place your cursor in the parameters block, add a carriage return, type `par`, and then select the `arm-param-value` snippet. This action adds a generic parameter to the template.
7070

7171
![](./media/quickstart-create-templates-use-visual-studio-code/9.png)
7272

@@ -88,7 +88,7 @@ Entering a single quote `'` inside of the round brackets produces a list of all
8888

8989
## Create a parameter file
9090

91-
An ARM template parameter file allows you to store environment-specific parameter values and pass these in as a group at deployment time. For example, you may have a parameter file with values specific to a test environment and another for a production environment.
91+
An ARM template parameter file allows you to store environment-specific parameter values and pass these values in as a group at deployment time. For example, you may have a parameter file with values specific to a test environment and another for a production environment.
9292

9393
The ARM Tools extension for VS Code makes it easy to create a parameter file from your existing templates. To do so, right-click on the template in the code editor and select `Select/Create Parameter File`.
9494

@@ -98,11 +98,11 @@ Select `New` > `All Parameters` > Select a name and location for the parameter f
9898

9999
![](./media/quickstart-create-templates-use-visual-studio-code/15.png)
100100

101-
This will create a new parameters file and map it with the template from which it was created. You can see and modify the current template/parameter file mapping in the VS Code status bar while the template is selected.
101+
This action creates a new parameters file and map it with the template from which it was created. You can see and modify the current template/parameter file mapping in the VS Code status bar while the template is selected.
102102

103103
![](./media/quickstart-create-templates-use-visual-studio-code/16.png)
104104

105-
Now that the parameter file has been mapped to the template, the ARM Tools extension validates both the template and parameter file together. To see this in practice, add a two-character value to the `storageAccountName` parameter in the parameter file and save the file.
105+
Now that the parameter file has been mapped to the template, the ARM Tools extension validates both the template and parameter file together. To see this validation in practice, add a two-character value to the `storageAccountName` parameter in the parameter file and save the file.
106106

107107
![](./media/quickstart-create-templates-use-visual-studio-code/17.png)
108108

@@ -112,7 +112,7 @@ Navigate back to the ARM template and notice that an error has been raised indic
112112

113113
Update the value to something appropriate, save the file, and navigate back to the template. Notice that the error on the parameter has been resolved.
114114

115-
## Template deployment
115+
## Deploy the template
116116

117117
Open the integrated VS Code terminal using the `ctrl` + ```` ` ```` key combination and use either the Azure CLI or Azure PowerShell module to deploy the template.
118118

0 commit comments

Comments
 (0)