forked from microsoft/AzUrlShortener
-
Notifications
You must be signed in to change notification settings - Fork 0
/
debug.azcli
37 lines (18 loc) · 1.56 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
30
31
32
33
34
35
36
37
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
# --> IN PROGRESS <-- --> IN PROGRESS <-- --> IN PROGRESS <--
# Create the Service Princiapl and other Azure AD stuff for V1.x
#TenantID=$(az account list --query "[?name=='Frank Perso Dev'].tenantId" --output tsv)
#appID=$(az ad app create --display-name TinyAdminTestUI --reply-urls https://blue-stone-0c390700f.azurestaticapps.net/authentication/login-callback --query 'appId' -o tsv)
# --> END of IN PROGRESS zone <--