forked from microsoft/AzUrlShortener
-
Notifications
You must be signed in to change notification settings - Fork 0
/
debug.azcli
30 lines (13 loc) · 1.14 KB
/
debug.azcli
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
az group create -n c5mShortDemo -l eastus
## validate with Parameter file
az group deployment validate -g c5mShortDemo --template-file "deployment/azureDeploy.json" --parameters "deployment/azureDeploy.params.json" --verbose
## deploy it
az group deployment create -g c5mShortDemo -n cloud5minsv1 --template-file "deployment/azureDeploy.json" --parameters "deployment/azureDeploy.params.json" --verbose
#debug adminBlazorWebsite
az group deployment validate -g c5mShortDemo --template-file "src/adminTools/adminBlazorWebsite/deployment/adminBlazorWebsite-deployAzure.json" --parameters "src/adminTools/adminBlazorWebsite/deployment/adminBlazorWebsite-deployAzure.params.json" --verbose
az group deployment create -g c5mShortDemo -n cloud5minsv1 --template-file "deployment/azureDeploy.json" --parameters "deployment/azureDeploy.params.json" --verbose
# Debuging fake ARM template
## validate with Parameter file
az group deployment validate -g c5mShortDemo --template-file "deployment/debugARM.json" --verbose
## deploy it
az group deployment create -g c5mShortDemo -n cloud5minsv1 --template-file "deployment/debugARM.json" --verbose