@@ -24,38 +24,52 @@ The image appears as:
24
24
25
25
To create the URL for your template, start with the raw URL to the template in your repo:
26
26
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
+ ```
28
30
29
31
Then, URL encode it.
30
32
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
+ ```
32
36
33
37
Each link starts with the same base URL:
34
38
35
- ` https://portal.azure.com/#create/Microsoft.Template/uri/ `
39
+ ``` html
40
+ https://portal.azure.com/#create/Microsoft.Template/uri/
41
+ ```
36
42
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.
38
44
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
+ ```
40
48
41
49
You have your full URL for the link.
42
50
43
51
## Create Deploy to Azure button
44
52
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 .
46
54
47
55
``` html
48
56
<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" >
49
57
<img src =" https://aka.ms/deploytoazurebutton" />
50
58
</a >
51
59
```
52
60
53
- You can deploy the example template with the following button:
61
+ ## Deploy the template
54
62
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 " >
56
66
<img src =" https://aka.ms/deploytoazurebutton " />
57
67
</a >
58
68
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
+
59
73
## Next steps
60
74
61
75
- To learn more about templates, see [ Understand the structure and syntax of Azure Resource Manager templates] ( template-syntax.md ) .
0 commit comments