Skip to content

Commit f8d6b18

Browse files
committed
add image
1 parent c9adc16 commit f8d6b18

File tree

2 files changed

+22
-8
lines changed

2 files changed

+22
-8
lines changed

articles/azure-resource-manager/templates/deploy-to-azure-button.md

Lines changed: 22 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -24,38 +24,52 @@ The image appears as:
2424

2525
To create the URL for your template, start with the raw URL to the template in your repo:
2626

27-
`https://raw.githubusercontent.com/Azure/azure-quickstart-templates/master/101-storage-account-create/azuredeploy.json`
27+
```html
28+
https://raw.githubusercontent.com/Azure/azure-quickstart-templates/master/101-storage-account-create/azuredeploy.json
29+
```
2830

2931
Then, URL encode it.
3032

31-
`https%3A%2F%2Fraw.githubusercontent.com%2FAzure%2Fazure-quickstart-templates%2Fmaster%2F101-storage-account-create%2Fazuredeploy.json`
33+
```html
34+
https%3A%2F%2Fraw.githubusercontent.com%2FAzure%2Fazure-quickstart-templates%2Fmaster%2F101-storage-account-create%2Fazuredeploy.json
35+
```
3236

3337
Each link starts with the same base URL:
3438

35-
`https://portal.azure.com/#create/Microsoft.Template/uri/`
39+
```html
40+
https://portal.azure.com/#create/Microsoft.Template/uri/
41+
```
3642

37-
Add your URL-encoded template link to the base URL.
43+
Add your URL-encoded template link to the end of the base URL.
3844

39-
`https://portal.azure.com/#create/Microsoft.Template/uri/https%3A%2F%2Fraw.githubusercontent.com%2FAzure%2Fazure-quickstart-templates%2Fmaster%2F101-storage-account-create%2Fazuredeploy.json`
45+
```html
46+
https://portal.azure.com/#create/Microsoft.Template/uri/https%3A%2F%2Fraw.githubusercontent.com%2FAzure%2Fazure-quickstart-templates%2Fmaster%2F101-storage-account-create%2Fazuredeploy.json
47+
```
4048

4149
You have your full URL for the link.
4250

4351
## Create Deploy to Azure button
4452

45-
The link you add to your web page or GitHub repository contains the URI and the image.
53+
Finally, put the link and image together.
4654

4755
```html
4856
<a href="https://portal.azure.com/#create/Microsoft.Template/uri/https%3A%2F%2Fraw.githubusercontent.com%2FAzure%2Fazure-quickstart-templates%2Fmaster%2F101-storage-account-create%2Fazuredeploy.json" target="_blank">
4957
<img src="https://aka.ms/deploytoazurebutton"/>
5058
</a>
5159
```
5260

53-
You can deploy the example template with the following button:
61+
## Deploy the template
5462

55-
<a href="https://portal.azure.com/#create/Microsoft.Template/uri/https://portal.azure.com/#create/Microsoft.Template/uri/https%3A%2F%2Fraw.githubusercontent.com%2FAzure%2Fazure-quickstart-templates%2Fmaster%2F101-storage-account-create%2Fazuredeploy.json" target="_blank">
63+
To test the full solution, select the following button:
64+
<br><br>
65+
<a href="https://portal.azure.com/#create/Microsoft.Template/uri/https%3A%2F%2Fraw.githubusercontent.com%2FAzure%2Fazure-quickstart-templates%2Fmaster%2F101-storage-account-create%2Fazuredeploy.json" target="_blank">
5666
<img src="https://aka.ms/deploytoazurebutton"/>
5767
</a>
5868

69+
The portal displays a pane that allows you to easily provide parameter values. The parameters are pre-filled with the default values from the template.
70+
71+
![Use portal to deploy](./media/deploy-to-azure-button/portal.png)
72+
5973
## Next steps
6074

6175
- To learn more about templates, see [Understand the structure and syntax of Azure Resource Manager templates](template-syntax.md).
104 KB
Loading

0 commit comments

Comments
 (0)