Skip to content

Commit dedb849

Browse files
authored
Automation script Section addition (#73)
* auto script blurb added * script related details added. * resourcegroup update to match script * Update to OWNER and LOCATION env variables * updated the free trial url
1 parent 2f0597c commit dedb849

File tree

6 files changed

+116
-53
lines changed

6 files changed

+116
-53
lines changed

auto-lab.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,11 @@
2424
NAME="n4a-auto-lab.sh"
2525
VERSION="1"
2626
LOG_FILE="n4a-autolab.log" # not used yet, but will be soon
27-
export LOCATION=centralus # can be changed to your location
27+
export MY_LOCATION=centralus # can be changed to your location
2828

2929
# On OS X, you can pull your username. You can also set it yourself for use in the script:
3030
# export OWNER=<your name>
31-
export OWNER=$(whoami)
31+
export MY_NAME=$(whoami)
3232

3333
#-------------------------------------------------------------------------
3434
# Sourced files

functions.sh

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -64,19 +64,19 @@ padding $LGTH
6464
# Removing this lock at the start makes things run smoother.
6565
# If you changed the username for Owner you may need to edit this path.
6666

67-
rm -rf /Users/${OWNER}/.kube/config.lock
67+
rm -rf /Users/${MY_NAME}/.kube/config.lock
6868
# Workaround on OS X for permissions for kubectl
6969
export KUBECONFIG="~/.kube/config"
7070

7171
# Set some system variables for use in the script.
7272
# you should be logged into azure cli before running this script
7373

74-
export MY_RESOURCEGROUP=${OWNER}-n4a-workshop
74+
export MY_RESOURCEGROUP=${MY_NAME}-n4a-workshop
7575
export MY_AZURE_PUBLIC_IP_NAME=n4a-publicIP # we chose this to standardize names for the workshop
7676
export MY_PUBLICIP=$(curl -s ipinfo.io/ip)
7777
export MY_SUBSCRIPTIONID=$(az account show --query id -o tsv)
7878

79-
if [[ -z "$OWNER" || -z "$MY_RESOURCEGROUP" || -z "$MY_PUBLICIP" || -z "$MY_SUBSCRIPTIONID" ]]; then
79+
if [[ -z "$MY_NAME" || -z "$MY_RESOURCEGROUP" || -z "$MY_PUBLICIP" || -z "$MY_SUBSCRIPTIONID" ]]; then
8080
cfail
8181
exit 1
8282
else
@@ -88,9 +88,9 @@ fi
8888
YELLOW='\033[01;33m'
8989
ENDCOLOR='\033[00;00m'
9090

91-
echo -e "\t${YELLOW}OWNER:${ENDCOLOR} $OWNER"
91+
echo -e "\t${YELLOW}MY_NAME:${ENDCOLOR} $MY_NAME"
9292
echo -e "\t${YELLOW}MY_RESOURCEGROUP:${ENDCOLOR} $MY_RESOURCEGROUP"
93-
echo -e "\t${YELLOW}LOCATION:${ENDCOLOR} $LOCATION"
93+
echo -e "\t${YELLOW}MY_LOCATION:${ENDCOLOR} $MY_LOCATION"
9494
echo -e "\t${YELLOW}MY_PUBLICIP:${ENDCOLOR} $MY_PUBLICIP"
9595
echo -e "\t${YELLOW}MY_SUBSCRIPTIONID:${ENDCOLOR} $MY_SUBSCRIPTIONID"
9696

@@ -117,7 +117,7 @@ LGTH=${#MESSAGE}
117117
echo -ne $MESSAGE
118118
padding $LGTH
119119

120-
CREATE_RESOURCE_GROUP=`az group create --name $MY_RESOURCEGROUP --location $LOCATION --tags owner="$OWNER"`
120+
CREATE_RESOURCE_GROUP=`az group create --name $MY_RESOURCEGROUP --location $MY_LOCATION --tags owner="$MY_NAME"`
121121

122122
if [[ -z "$CREATE_RESOURCE_GROUP" ]]; then
123123
cfail
@@ -210,7 +210,7 @@ LGTH=${#MESSAGE}
210210
echo -ne $MESSAGE
211211
padding $LGTH
212212

213-
CREATE_PUBLIC_IP=`az network public-ip create --name $MY_AZURE_PUBLIC_IP_NAME --resource-group $MY_RESOURCEGROUP --allocation-method Static --sku Standard --location $LOCATION --tags owner="$OWNER" --zone 1`
213+
CREATE_PUBLIC_IP=`az network public-ip create --name $MY_AZURE_PUBLIC_IP_NAME --resource-group $MY_RESOURCEGROUP --allocation-method Static --sku Standard --location $MY_LOCATION --tags owner="$MY_NAME" --zone 1`
214214

215215
export MY_AZURE_PUBLIC_IP=$(az network public-ip show --resource-group $MY_RESOURCEGROUP --name $MY_AZURE_PUBLIC_IP_NAME --query ipAddress --output tsv)
216216

@@ -400,7 +400,7 @@ function create_aks_cluster1(){
400400
# Set some variables to use with this part of the lab setup
401401
export MY_AKS1=n4a-aks1
402402
export MY_AKS2=n4a-aks2
403-
export MY_NAME=${OWNER:-$(whoami)}
403+
export MY_NAME=${MY_NAME:-$(whoami)}
404404
export K8S_VERSION=1.29
405405
export MY_SUBNET1=$(az network vnet subnet show -g $MY_RESOURCEGROUP -n aks1-subnet --vnet-name n4a-vnet --only-show-errors --query id -o tsv)
406406
export MY_SUBNET2=$(az network vnet subnet show -g $MY_RESOURCEGROUP -n aks2-subnet --vnet-name n4a-vnet --only-show-errors --query id -o tsv)
@@ -710,7 +710,7 @@ kubectl describe gc nginx-configuration -n nginx-ingress > /dev/null 2>&1 &
710710
kubectl apply -f labs/lab4/redis-leader-ts.yaml > /dev/null 2>&1 &
711711
kubectl apply -f labs/lab4/redis-follower-ts.yaml > /dev/null 2>&1 &
712712
kubectl apply -f labs/lab4/nodeport-static-redis.yaml > /dev/null 2>&1 &
713-
rm -rf /Users/${OWNER}/.kube/config.lock
713+
rm -rf /Users/${MY_NAME}/.kube/config.lock
714714

715715
echo -ne $MESSAGE
716716
padding $LGTH
@@ -817,9 +817,9 @@ export MY_N4A_ID=$MY_N4A_ID
817817
export MY_LOG_ANALYTICS_ID=$MY_LOG_ANALYTICS_ID
818818
export AKS1_NIC=$AKS1_NIC
819819
export AKS2_NIC=$AKS2_NIC
820-
export OWNER=$OWNER
820+
export MY_NAME=$MY_NAME
821821
export MY_RESOURCEGROUP=$MY_RESOURCEGROUP
822-
export LOCATION=$LOCATION
822+
export MY_LOCATION=$MY_LOCATION
823823
export MY_PUBLICIP=$MY_PUBLICIP
824824
export MY_SUBSCRIPTIONID=$MY_SUBSCRIPTIONID
825825
export MY_AZURE_PUBLIC_IP=$MY_AZURE_PUBLIC_IP

labs/lab1/readme.md

Lines changed: 38 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ By the end of the lab you will be able to:
5555
az extension add --name nginx
5656
```
5757

58-
1. Create a new Azure Resource Group called `<name>-workshop` , where `<name>` is your last name (or any unique value). This would hold all the Azure resources that you would create for this workshop.
58+
1. Create a new Azure Resource Group called `<name>-n4a-workshop` , where `<name>` is your last name (or any unique value). This would hold all the Azure resources that you would create for this workshop.
5959

6060
Check out the available [Datacenter regions](https://azure.microsoft.com/en-us/explore/global-infrastructure/geographies/#geographies) and decide on a region that is closest to you and meets your needs.
6161

@@ -64,10 +64,13 @@ By the end of the lab you will be able to:
6464
I am located in Chicago, Illinois so I will opt to use `Central US` as my Azure location.
6565

6666
```bash
67-
az group create --name <name>-workshop --location <MY_Location>
67+
az group create --name <name>-n4a-workshop --location <My_Location>
6868
6969
## example
70-
az group create --name s.dutta-workshop --location centralus
70+
export MY_NAME=$(whoami)
71+
export MY_LOCATION=centralus
72+
73+
az group create --name ${MY_NAME}-n4a-workshop --location ${MY_LOCATION}
7174
```
7275

7376
1. Make sure the new Azure Resource Group has been created by running below command.
@@ -97,7 +100,7 @@ aks2-subnet | 172.16.20.0/23 | AKS Cluster #2
97100

98101
```bash
99102
## Set environment variables
100-
export MY_RESOURCEGROUP=s.dutta-workshop
103+
export MY_RESOURCEGROUP=${MY_NAME}-n4a-workshop
101104
export MY_PUBLICIP=$(curl ipinfo.io/ip)
102105
```
103106

@@ -119,11 +122,11 @@ aks2-subnet | 172.16.20.0/23 | AKS Cluster #2
119122
},
120123
"enableDdosProtection": false,
121124
"etag": "W/\"be1dfac2-9879-4a22-abe4-717badebb0ec\"",
122-
"id": "/subscriptions/<SUBSCRIPTION_ID>/resourceGroups/s.dutta-workshop/providers/Microsoft.Network/virtualNetworks/n4a-vnet",
125+
"id": "/subscriptions/<SUBSCRIPTION_ID>/resourceGroups/sh.dutta-n4a-workshop/providers/Microsoft.Network/virtualNetworks/n4a-vnet",
123126
"location": "centralus",
124127
"name": "n4a-vnet",
125128
"provisioningState": "Succeeded",
126-
"resourceGroup": "s.dutta-workshop",
129+
"resourceGroup": "sh.dutta-n4a-workshop",
127130
"resourceGuid": "xxxx-xxxx-xxxx-xxxx-xxxx",
128131
"subnets": [],
129132
"type": "Microsoft.Network/virtualNetworks",
@@ -193,12 +196,12 @@ aks2-subnet | 172.16.20.0/23 | AKS Cluster #2
193196
"destinationPortRanges": [],
194197
"direction": "Inbound",
195198
"etag": "W/\"7a178961-d3b8-4562-8493-4fcd7752e37b\"",
196-
"id": "/subscriptions/<SUBSCRIPTION_ID>/resourceGroups/s.dutta-workshop/providers/Microsoft.Network/networkSecurityGroups/n4a-nsg/securityRules/HTTP",
199+
"id": "/subscriptions/<SUBSCRIPTION_ID>/resourceGroups/sh.dutta-n4a-workshop/providers/Microsoft.Network/networkSecurityGroups/n4a-nsg/securityRules/HTTP",
197200
"name": "HTTP",
198201
"priority": 320,
199202
"protocol": "Tcp",
200203
"provisioningState": "Succeeded",
201-
"resourceGroup": "s.dutta-workshop",
204+
"resourceGroup": "sh.dutta-n4a-workshop",
202205
"sourceAddressPrefix": "<MY_PUBLICIP>",
203206
"sourceAddressPrefixes": [],
204207
"sourcePortRange": "*",
@@ -216,12 +219,12 @@ aks2-subnet | 172.16.20.0/23 | AKS Cluster #2
216219
"destinationPortRanges": [],
217220
"direction": "Inbound",
218221
"etag": "W/\"dc717c9f-3790-45ba-b7aa-e5e39c11142d\"",
219-
"id": "/subscriptions/<SUBSCRIPTION_ID>/resourceGroups/s.dutta-workshop/providers/Microsoft.Network/networkSecurityGroups/n4a-nsg/securityRules/HTTPS",
222+
"id": "/subscriptions/<SUBSCRIPTION_ID>/resourceGroups/sh.dutta-n4a-workshop/providers/Microsoft.Network/networkSecurityGroups/n4a-nsg/securityRules/HTTPS",
220223
"name": "HTTPS",
221224
"priority": 300,
222225
"protocol": "Tcp",
223226
"provisioningState": "Succeeded",
224-
"resourceGroup": "s.dutta-workshop",
227+
"resourceGroup": "sh.dutta-n4a-workshop",
225228
"sourceAddressPrefix": "<MY_PUBLICIP>",
226229
"sourceAddressPrefixes": [],
227230
"sourcePortRange": "*",
@@ -254,25 +257,25 @@ aks2-subnet | 172.16.20.0/23 | AKS Cluster #2
254257
"Microsoft.Network/virtualNetworks/subnets/join/action"
255258
],
256259
"etag": "W/\"a615708f-145c-4568-a7b1-29b262f04065\"",
257-
"id": "/subscriptions/<SUBSCRIPTION_ID>/resourceGroups/s.dutta-workshop/providers/Microsoft.Network/virtualNetworks/n4a-vnet/subnets/n4a-subnet/delegations/0",
260+
"id": "/subscriptions/<SUBSCRIPTION_ID>/resourceGroups/sh.dutta-n4a-workshop/providers/Microsoft.Network/virtualNetworks/n4a-vnet/subnets/n4a-subnet/delegations/0",
258261
"name": "0",
259262
"provisioningState": "Succeeded",
260-
"resourceGroup": "s.dutta-workshop",
263+
"resourceGroup": "sh.dutta-n4a-workshop",
261264
"serviceName": "NGINX.NGINXPLUS/nginxDeployments",
262265
"type": "Microsoft.Network/virtualNetworks/subnets/delegations"
263266
}
264267
],
265268
"etag": "W/\"a615708f-145c-4568-a7b1-29b262f04065\"",
266-
"id": "/subscriptions/<SUBSCRIPTION_ID>/resourceGroups/s.dutta-workshop/providers/Microsoft.Network/virtualNetworks/n4a-vnet/subnets/n4a-subnet",
269+
"id": "/subscriptions/<SUBSCRIPTION_ID>/resourceGroups/sh.dutta-n4a-workshop/providers/Microsoft.Network/virtualNetworks/n4a-vnet/subnets/n4a-subnet",
267270
"name": "n4a-subnet",
268271
"networkSecurityGroup": {
269-
"id": "/subscriptions/<SUBSCRIPTION_ID>/resourceGroups/s.dutta-workshop/providers/Microsoft.Network/networkSecurityGroups/n4a-nsg",
270-
"resourceGroup": "s.dutta-workshop"
272+
"id": "/subscriptions/<SUBSCRIPTION_ID>/resourceGroups/sh.dutta-n4a-workshop/providers/Microsoft.Network/networkSecurityGroups/n4a-nsg",
273+
"resourceGroup": "sh.dutta-n4a-workshop"
271274
},
272275
"privateEndpointNetworkPolicies": "Disabled",
273276
"privateLinkServiceNetworkPolicies": "Enabled",
274277
"provisioningState": "Succeeded",
275-
"resourceGroup": "s.dutta-workshop",
278+
"resourceGroup": "sh.dutta-n4a-workshop",
276279
"type": "Microsoft.Network/virtualNetworks/subnets"
277280
}
278281
```
@@ -334,7 +337,7 @@ Your completed Vnet/Subnets should look similar to this:
334337
"protectionMode": "VirtualNetworkInherited"
335338
},
336339
"etag": "W/\"cbeb62f5-3ecc-404f-919d-bdea24c7b9f3\"",
337-
"id": "/subscriptions/<SUBSCRIPTION_ID>/resourceGroups/s.dutta-workshop/providers/Microsoft.Network/publicIPAddresses/n4a-publicIP",
340+
"id": "/subscriptions/<SUBSCRIPTION_ID>/resourceGroups/sh.dutta-n4a-workshop/providers/Microsoft.Network/publicIPAddresses/n4a-publicIP",
338341
"idleTimeoutInMinutes": 4,
339342
"ipAddress": "<AZURE_ASSIGNED_PUBLICIP>",
340343
"ipTags": [],
@@ -343,7 +346,7 @@ Your completed Vnet/Subnets should look similar to this:
343346
"provisioningState": "Succeeded",
344347
"publicIPAddressVersion": "IPv4",
345348
"publicIPAllocationMethod": "Static",
346-
"resourceGroup": "s.dutta-workshop",
349+
"resourceGroup": "sh.dutta-n4a-workshop",
347350
"resourceGuid": "xxxx-xxxx-xxxx-xxxx-xxxx",
348351
"sku": {
349352
"name": "Standard",
@@ -368,11 +371,11 @@ Your completed Vnet/Subnets should look similar to this:
368371
##Sample Output##
369372
{
370373
"clientId": "xxxx-xxxx-xxxx-xxxx-xxxx",
371-
"id": "/subscriptions/<SUBSCRIPTION_ID>/resourcegroups/s.dutta-workshop/providers/Microsoft.ManagedIdentity/userAssignedIdentities/n4a-useridentity",
374+
"id": "/subscriptions/<SUBSCRIPTION_ID>/resourcegroups/sh.dutta-n4a-workshop/providers/Microsoft.ManagedIdentity/userAssignedIdentities/n4a-useridentity",
372375
"location": "centralus",
373376
"name": "n4a-useridentity",
374377
"principalId": "xxxx-xxxx-xxxx-xxxx-xxxx",
375-
"resourceGroup": "s.dutta-workshop",
378+
"resourceGroup": "sh.dutta-n4a-workshop",
376379
"systemData": null,
377380
"tags": {},
378381
"tenantId": "xxxx-xxxx-xxxx-xxxx-xxxx",
@@ -390,7 +393,7 @@ Your completed Vnet/Subnets should look similar to this:
390393
391394
```bash
392395
## Set environment variables
393-
export MY_RESOURCEGROUP=s.dutta-workshop
396+
export MY_RESOURCEGROUP=${MY_NAME}-n4a-workshop
394397
export MY_SUBSCRIPTIONID=$(az account show --query id -o tsv)
395398
```
396399
@@ -406,13 +409,13 @@ Your completed Vnet/Subnets should look similar to this:
406409
```bash
407410
##Sample Output##
408411
{
409-
"id": "/subscriptions/<SUBSCRIPTION_ID>/resourceGroups/s.dutta-workshop/providers/Nginx.NginxPlus/nginxDeployments/nginx4a",
412+
"id": "/subscriptions/<SUBSCRIPTION_ID>/resourceGroups/sh.dutta-n4a-workshop/providers/Nginx.NginxPlus/nginxDeployments/nginx4a",
410413
"identity": {
411414
"principalId": "xxxx-xxxx-xxxx-xxxx-xxxx",
412415
"tenantId": "xxxx-xxxx-xxxx-xxxx-xxxx",
413416
"type": "SystemAssigned, UserAssigned",
414417
"userAssignedIdentities": {
415-
"/subscriptions/<SUBSCRIPTION_ID>/resourceGroups/s.dutta-workshop/providers/Microsoft.ManagedIdentity/userAssignedIdentities/n4a-useridentity": {
418+
"/subscriptions/<SUBSCRIPTION_ID>/resourceGroups/sh.dutta-n4a-workshop/providers/Microsoft.ManagedIdentity/userAssignedIdentities/n4a-useridentity": {
416419
"clientId": "xxxx-xxxx-xxxx-xxxx-xxxx",
417420
"principalId": "xxxx-xxxx-xxxx-xxxx-xxxx"
418421
}
@@ -426,18 +429,18 @@ Your completed Vnet/Subnets should look similar to this:
426429
},
427430
"enableDiagnosticsSupport": false,
428431
"ipAddress": "<AZURE_ASSIGNED_PUBLICIP>",
429-
"managedResourceGroup": "NGX_s.dutta-workshop_nginx4a_centralus",
432+
"managedResourceGroup": "NGX_sh.dutta-n4a-workshop_nginx4a_centralus",
430433
"networkProfile": {
431434
"frontEndIPConfiguration": {
432435
"publicIPAddresses": [
433436
{
434-
"id": "/subscriptions/<SUBSCRIPTION_ID>/resourceGroups/s.dutta-workshop/providers/Microsoft.Network/publicIPAddresses/n4a-publicIP",
435-
"resourceGroup": "s.dutta-workshop"
437+
"id": "/subscriptions/<SUBSCRIPTION_ID>/resourceGroups/sh.dutta-n4a-workshop/providers/Microsoft.Network/publicIPAddresses/n4a-publicIP",
438+
"resourceGroup": "sh.dutta-n4a-workshop"
436439
}
437440
]
438441
},
439442
"networkInterfaceConfiguration": {
440-
"subnetId": "/subscriptions/<SUBSCRIPTION_ID>/resourceGroups/s.dutta-workshop/providers/Microsoft.Network/virtualNetworks/n4a-vnet/subnets/n4a-subnet"
443+
"subnetId": "/subscriptions/<SUBSCRIPTION_ID>/resourceGroups/sh.dutta-n4a-workshop/providers/Microsoft.Network/virtualNetworks/n4a-vnet/subnets/n4a-subnet"
441444
}
442445
},
443446
"nginxVersion": "1.25.1 (nginx-plus-r30-p2)",
@@ -447,7 +450,7 @@ Your completed Vnet/Subnets should look similar to this:
447450
},
448451
"userProfile": {}
449452
},
450-
"resourceGroup": "s.dutta-workshop",
453+
"resourceGroup": "sh.dutta-n4a-workshop",
451454
"sku": {
452455
"name": "standard_Monthly"
453456
},
@@ -487,14 +490,14 @@ In this section you will create a Log Analytics resource that would collect Ngin
487490
"features": {
488491
"enableLogAccessUsingOnlyResourcePermissions": true
489492
},
490-
"id": "/subscriptions/<SUBSCRIPTION_ID>/resourceGroups/s.dutta-workshop/providers/Microsoft.OperationalInsights/workspaces/n4a-loganalytics",
493+
"id": "/subscriptions/<SUBSCRIPTION_ID>/resourceGroups/sh.dutta-n4a-workshop/providers/Microsoft.OperationalInsights/workspaces/n4a-loganalytics",
491494
"location": "centralus",
492495
"modifiedDate": "2024-04-29T16:05:07.3687572Z",
493496
"name": "n4a-loganalytics",
494497
"provisioningState": "Succeeded",
495498
"publicNetworkAccessForIngestion": "Enabled",
496499
"publicNetworkAccessForQuery": "Enabled",
497-
"resourceGroup": "s.dutta-workshop",
500+
"resourceGroup": "sh.dutta-n4a-workshop",
498501
"retentionInDays": 30,
499502
"sku": {
500503
"lastSkuUpdate": "2024-04-17T20:42:48.2028783Z",
@@ -523,13 +526,13 @@ In this section you will create a Log Analytics resource that would collect Ngin
523526
```bash
524527
##Sample Output##
525528
{
526-
"id": "/subscriptions/<SUBSCRIPTION_ID>/resourceGroups/s.dutta-workshop/providers/Nginx.NginxPlus/nginxDeployments/nginx4a",
529+
"id": "/subscriptions/<SUBSCRIPTION_ID>/resourceGroups/sh.dutta-n4a-workshop/providers/Nginx.NginxPlus/nginxDeployments/nginx4a",
527530
"identity": {
528531
"principalId": "xxxx-xxxx-xxxx-xxxx-xxxx",
529532
"tenantId": "xxxx-xxxx-xxxx-xxxx-xxxx",
530533
"type": "SystemAssigned, UserAssigned",
531534
"userAssignedIdentities": {
532-
"/subscriptions/<SUBSCRIPTION_ID>/resourceGroups/s.dutta-workshop/providers/Microsoft.ManagedIdentity/userAssignedIdentities/n4a-useridentity": {
535+
"/subscriptions/<SUBSCRIPTION_ID>/resourceGroups/sh.dutta-n4a-workshop/providers/Microsoft.ManagedIdentity/userAssignedIdentities/n4a-useridentity": {
533536
"clientId": "xxxx-xxxx-xxxx-xxxx-xxxx",
534537
"principalId": "xxxx-xxxx-xxxx-xxxx-xxxx"
535538
}
@@ -579,7 +582,7 @@ In this section you will create a Log Analytics resource that would collect Ngin
579582
```bash
580583
##Sample Output##
581584
{
582-
"id": "/subscriptions/<SUBSCRIPTION_ID>/resourcegroups/s.dutta-workshop/providers/nginx.nginxplus/nginxdeployments/nginx4a/providers/microsoft.insights/diagnosticSettings/n4a-nginxlogs",
585+
"id": "/subscriptions/<SUBSCRIPTION_ID>/resourcegroups/sh.dutta-n4a-workshop/providers/nginx.nginxplus/nginxdeployments/nginx4a/providers/microsoft.insights/diagnosticSettings/n4a-nginxlogs",
583586
"logs": [
584587
{
585588
"category": "NginxLogs",
@@ -592,9 +595,9 @@ In this section you will create a Log Analytics resource that would collect Ngin
592595
],
593596
"metrics": [],
594597
"name": "n4a-nginxlogs",
595-
"resourceGroup": "s.dutta-workshop",
598+
"resourceGroup": "sh.dutta-n4a-workshop",
596599
"type": "Microsoft.Insights/diagnosticSettings",
597-
"workspaceId": "/subscriptions/<SUBSCRIPTION_ID>/resourceGroups/s.dutta-workshop/providers/Microsoft.OperationalInsights/workspaces/n4a-loganalytics"
600+
"workspaceId": "/subscriptions/<SUBSCRIPTION_ID>/resourceGroups/sh.dutta-n4a-workshop/providers/Microsoft.OperationalInsights/workspaces/n4a-loganalytics"
598601
}
599602
```
600603

0 commit comments

Comments
 (0)