-
Notifications
You must be signed in to change notification settings - Fork 124
/
mlz.portal.json
1028 lines (1028 loc) · 59.2 KB
/
mlz.portal.json
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
{
"$schema": "https://schema.management.azure.com/schemas/2021-09-09/uiFormDefinition.schema.json",
"handler": "Microsoft.Azure.CreateUIDef",
"version": "0.1.2-preview",
"parameters": {
"config": {
"basics": {}
},
"basics": []
},
"view": {
"kind": "Form",
"properties": {
"title": "Mission Landing Zone",
"isWizard": true,
"steps": [
{
"name": "basics",
"label": "Basics",
"elements": [
{
"name": "basicsDescriptionTextBlock",
"type": "Microsoft.Common.TextBlock",
"options": {
"text": "Mission Landing Zone is a prescriptive reference architecture with reference implementation of a SCCA compliant Hub and Spoke virtual network provided by Microsoft.",
"link": {
"label": "https://aka.ms/missionlz",
"uri": "https://aka.ms/missionlz"
}
}
},
{
"name": "armApiControls",
"label": "",
"type": "Microsoft.Common.Section",
"elements": [
{
"name": "subscriptionApi",
"type": "Microsoft.Solutions.ArmApiControl",
"request": {
"method": "GET",
"path": "subscriptions?api-version=2020-01-01"
}
},
{
"name": "locationsApi",
"type": "Microsoft.Solutions.ArmApiControl",
"request": {
"method": "GET",
"path": "locations?api-version=2019-11-01"
}
}
]
},
{
"name": "selectSubscriptions",
"label": "Select Subscription(s)",
"type": "Microsoft.Common.Section",
"elements": [
{
"name": "subscriptionDetailsText",
"type": "Microsoft.Common.TextBlock",
"options": {
"text": "Mission Landing Zone is configured for deployment into a single subscription or many subscriptions depending on your needs for resource counts, subscription boundaries, or billing."
}
}
]
},
{
"name": "hubSection",
"label": "Hub",
"type": "Microsoft.Common.Section",
"elements": [
{
"name": "hubSectionTextBlock",
"type": "Microsoft.Common.TextBlock",
"options": {
"text": "All network traffic is directed through the Azure Firewall residing in the Hub Virtual Network and houses the Azure Bastion host for secure remote access into the network."
}
},
{
"name": "hubSubscriptionId",
"label": "Hub Subscription",
"type": "Microsoft.Common.DropDown",
"defaultValue": "",
"toolTip": "Select the Subscription for your Mission Landing Zone Hub network, firewall, and remote access resources.",
"multiselect": false,
"selectAll": false,
"filter": true,
"filterPlaceholder": "Filter items ...",
"multiLine": true,
"constraints": {
"allowedValues": "[map(steps('basics').armApiControls.subscriptionApi.value, (item) => parse(concat('{\"label\":\"', item.displayName, '\",\"value\":\"', item.id, '\",\"description\":\"', 'ID: ', item.subscriptionId, '\"}')))]",
"required": true
}
}
]
},
{
"name": "identitySection",
"label": "Identity",
"type": "Microsoft.Common.Section",
"elements": [
{
"name": "identitySectionTextBlock",
"type": "Microsoft.Common.TextBlock",
"options": {
"text": "The Identity spoke can be used to house Active Directory and other AuthN and AuthZ solutions."
}
},
{
"name": "identitySubscriptionId",
"label": "Identity Subscription",
"type": "Microsoft.Common.DropDown",
"defaultValue": "",
"toolTip": "Select the Subscription for your Mission Landing Zone Identity network.",
"multiselect": false,
"selectAll": false,
"filter": true,
"filterPlaceholder": "Filter items ...",
"multiLine": true,
"constraints": {
"allowedValues": "[map(steps('basics').armApiControls.subscriptionApi.value, (item) => parse(concat('{\"label\":\"', item.displayName, '\",\"value\":\"', item.id, '\",\"description\":\"', 'ID: ', item.subscriptionId, '\"}')))]",
"required": true
}
}
]
},
{
"name": "operationsSection",
"label": "Operations",
"type": "Microsoft.Common.Section",
"elements": [
{
"name": "operationsSectionTextBlock",
"type": "Microsoft.Common.TextBlock",
"options": {
"text": "The Operations spoke can be used for operational tasks like logging and administration of workloads."
}
},
{
"name": "operationsSubscriptionId",
"label": "Operations Subscription",
"type": "Microsoft.Common.DropDown",
"defaultValue": "",
"toolTip": "Select the Subscription for your Mission Landing Zone Operations network.",
"multiselect": false,
"selectAll": false,
"filter": true,
"filterPlaceholder": "Filter items ...",
"multiLine": true,
"constraints": {
"allowedValues": "[map(steps('basics').armApiControls.subscriptionApi.value, (item) => parse(concat('{\"label\":\"', item.displayName, '\",\"value\":\"', item.id, '\",\"description\":\"', 'ID: ', item.subscriptionId, '\"}')))]",
"required": true
}
}
]
},
{
"name": "sharedServicesSection",
"label": "Shared Services",
"type": "Microsoft.Common.Section",
"elements": [
{
"name": "sharedServicesSectionTextBlock",
"type": "Microsoft.Common.TextBlock",
"options": {
"text": "The Shared Services spoke can be used to host services that are used by multiple workloads like source control and container registries."
}
},
{
"name": "sharedServicesSubscriptionId",
"label": "Shared Services Subscription",
"type": "Microsoft.Common.DropDown",
"defaultValue": "",
"toolTip": "Select the Subscription for your Mission Landing Zone Shared Services network.",
"multiselect": false,
"selectAll": false,
"filter": true,
"filterPlaceholder": "Filter items ...",
"multiLine": true,
"constraints": {
"allowedValues": "[map(steps('basics').armApiControls.subscriptionApi.value, (item) => parse(concat('{\"label\":\"', item.displayName, '\",\"value\":\"', item.id, '\",\"description\":\"', 'ID: ', item.subscriptionId, '\"}')))]",
"required": true
}
}
]
},
{
"name": "locationSection",
"label": "Location",
"type": "Microsoft.Common.Section",
"elements": [
{
"name": "infoBoxLocation",
"type": "Microsoft.Common.InfoBox",
"options": {
"text": "Since not all service features are available in all regions, Mission Landing Zone is available in a subset of regions.",
"style": "Info"
}
},
{
"name": "location",
"label": "Location",
"type": "Microsoft.Common.DropDown",
"defaultValue": "",
"toolTip": "Select the Location for your Mission Landing Zone.",
"multiselect": false,
"selectAll": false,
"filter": true,
"filterPlaceholder": "Filter items ...",
"multiLine": true,
"constraints": {
"allowedValues": "[map(filter(steps('basics').armApiControls.locationsApi.value,(item) => contains(split('eastus,eastus2,southcentralus,westus,westus2,usgovvirginia,usgovarizona,ussec,usnat', ','), item.name)),(item) => parse(concat('{\"label\":\"', item.regionalDisplayName, '\",\"value\":\"', item.name, '\"}')))]",
"required": true
}
}
]
},
{
"name": "namingSection",
"label": "Mission Landing Zone Name",
"type": "Microsoft.Common.Section",
"elements": [
{
"name": "resourcePrefix",
"label": "Resource Naming Prefix",
"type": "Microsoft.Common.TextBox",
"defaultValue": "",
"toolTip": "Specify a prefix (min 1 and max 10 lowercase characters and numbers) to prepend to all resources.",
"constraints": {
"required": true,
"validations": [
{
"regex": "^[a-z0-9]{1,10}$",
"message": "The prefix must be between 1-10 lowercase characters and numbers."
}
]
}
},
{
"name": "resourceSuffix",
"label": "Resource Naming Suffix",
"type": "Microsoft.Common.DropDown",
"defaultValue": "dev",
"toolTip": "Select a resource naming suffix to append to all resources.",
"multiselect": false,
"selectAll": false,
"filter": true,
"filterPlaceholder": "Filter items...",
"multiLine": true,
"constraints": {
"allowedValues": [
{
"label": "dev",
"description": "Select if you want to append 'dev' to your resources.",
"value": "dev"
},
{
"label": "test",
"description": "Select if you want to append 'test' to your resources.",
"value": "test"
},
{
"label": "prod",
"description": "Select if you want to append 'prod' to your resources.",
"value": "prod"
}
],
"required": true
}
}
]
}
]
},
{
"name": "networking",
"label": "Networking",
"elements": [
{
"name": "networkDescriptionTextBlock",
"type": "Microsoft.Common.TextBlock",
"options": {
"text": "Mission Landing Zone deploys virtual networks configured for SCCA compliance."
}
},
{
"name": "dodNeedsDescriptionTextBlock",
"type": "Microsoft.Common.TextBlock",
"options": {
"text": "SCCA guidance and architectures are specific to DoD customers, but they also help civilian customers comply with Trusted Internet Connections (TIC) guidance and help commercial customers that want to implement a secure DMZ to protect their Azure environments.",
"link": {
"label": "Learn more",
"uri": "https://docs.microsoft.com/en-us/azure/azure-government/compliance/secure-azure-computing-architecture"
}
}
},
{
"name": "infoBoxVirtualNetworkOverlap",
"type": "Microsoft.Common.InfoBox",
"options": {
"text": "Make sure that the address spaces do not overlap with each other for the Hub, Identity, Operations, or Shared Services networks.",
"style": "Info"
}
},
{
"name": "hubVirtualNetwork",
"label": "Hub Virtual Network",
"type": "Microsoft.Common.Section",
"elements": [
{
"name": "superNetworkAddressCidrRange",
"label": "Super Network CIDR Range",
"type": "Microsoft.Common.TextBox",
"defaultValue": "10.0.96.0/19",
"toolTip": "Specify an address CIDR range within the range [10,24].",
"constraints": {
"required": true,
"validations": [
{
"regex": "^(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(?:\/(1[0-9]|2[0-3]))$",
"message": "Invalid CIDR range. The address prefix must be in the range [10,24]."
}
]
}
},
{
"name": "virtualNetworkAddressCidrRange",
"label": "Hub Virtual Network CIDR Range",
"type": "Microsoft.Common.TextBox",
"defaultValue": "10.0.100.0/24",
"toolTip": "Specify an address CIDR range within the range [10,24].",
"constraints": {
"required": true,
"validations": [
{
"regex": "^(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(?:\/(1[0-9]|2[0-4]))$",
"message": "Invalid CIDR range. The address prefix must be in the range [10,24]."
},
{
"isValid": "[if(greaterOrEquals(last(split(steps('networking').hubVirtualNetwork.superNetworkAddressCidrRange, '/')), 8), equals(last(take(split(first(split(steps('networking').hubVirtualNetwork.superNetworkAddressCidrRange, '/')), '.'), 1)), last(take(split(first(split(steps('networking').hubVirtualNetwork.virtualNetworkAddressCidrRange, '/')), '.'), 1))), true)]",
"message": "CIDR range not within super network CIDR range (first octet)."
},
{
"isValid": "[if(greaterOrEquals(last(split(steps('networking').hubVirtualNetwork.superNetworkAddressCidrRange, '/')), 16), equals(last(take(split(first(split(steps('networking').hubVirtualNetwork.superNetworkAddressCidrRange, '/')), '.'), 2)), last(take(split(first(split(steps('networking').hubVirtualNetwork.virtualNetworkAddressCidrRange, '/')), '.'), 2))), true)]",
"message": "CIDR range not within super network CIDR range (second octet)."
},
{
"isValid": "[if(greaterOrEquals(last(split(steps('networking').hubVirtualNetwork.superNetworkAddressCidrRange, '/')), 24), equals(last(take(split(first(split(steps('networking').hubVirtualNetwork.superNetworkAddressCidrRange, '/')), '.'), 3)), last(take(split(first(split(steps('networking').hubVirtualNetwork.virtualNetworkAddressCidrRange, '/')), '.'), 3))), true)]",
"message": "CIDR range not within super network CIDR range (third octet)."
},
{
"isValid": "[lessOrEquals(last(split(steps('networking').hubVirtualNetwork.superNetworkAddressCidrRange, '/')), last(split(steps('networking').hubVirtualNetwork.virtualNetworkAddressCidrRange, '/')))]",
"message": "CIDR range not within super network CIDR range (subnet mask)."
}
]
}
},
{
"name": "subnetAddressCidrRange",
"label": "Hub Subnet CIDR Range",
"type": "Microsoft.Common.TextBox",
"defaultValue": "10.0.100.128/27",
"toolTip": "Specify a CIDR range for the default subnet within the Hub Virtual Network range [24,28].",
"constraints": {
"required": true,
"validations": [
{
"regex": "^(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(?:\/(2[4-8]))$",
"message": "Invalid CIDR range. The address prefix must be in the range [24,28]."
},
{
"isValid": "[if(greaterOrEquals(last(split(steps('networking').hubVirtualNetwork.virtualNetworkAddressCidrRange, '/')), 8), equals(last(take(split(first(split(steps('networking').hubVirtualNetwork.virtualNetworkAddressCidrRange, '/')), '.'), 1)), last(take(split(first(split(steps('networking').hubVirtualNetwork.subnetAddressCidrRange, '/')), '.'), 1))), true)]",
"message": "CIDR range not within virtual network CIDR range (first octet)."
},
{
"isValid": "[if(greaterOrEquals(last(split(steps('networking').hubVirtualNetwork.virtualNetworkAddressCidrRange, '/')), 16), equals(last(take(split(first(split(steps('networking').hubVirtualNetwork.virtualNetworkAddressCidrRange, '/')), '.'), 2)), last(take(split(first(split(steps('networking').hubVirtualNetwork.subnetAddressCidrRange, '/')), '.'), 2))), true)]",
"message": "CIDR range not within virtual network CIDR range (second octet)."
},
{
"isValid": "[if(greaterOrEquals(last(split(steps('networking').hubVirtualNetwork.virtualNetworkAddressCidrRange, '/')), 24), equals(last(take(split(first(split(steps('networking').hubVirtualNetwork.virtualNetworkAddressCidrRange, '/')), '.'), 3)), last(take(split(first(split(steps('networking').hubVirtualNetwork.subnetAddressCidrRange, '/')), '.'), 3))), true)]",
"message": "CIDR range not within virtual network CIDR range (third octet)."
},
{
"isValid": "[lessOrEquals(last(split(steps('networking').hubVirtualNetwork.virtualNetworkAddressCidrRange, '/')), last(split(steps('networking').hubVirtualNetwork.subnetAddressCidrRange, '/')))]",
"message": "CIDR range not within virtual network CIDR range (subnet mask)."
}
]
}
},
{
"name": "firewallClientSubnetAddressCidrRange",
"label": "Firewall Client Subnet CIDR Range",
"type": "Microsoft.Common.TextBox",
"defaultValue": "10.0.100.64/26",
"toolTip": "Specify a CIDR range for the Azure Firewall Client subnet within the Hub Virtual Network range. It must be of size /26 or larger.",
"constraints": {
"required": true,
"validations": [
{
"regex": "^(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(?:\/(2[4-6]))$",
"message": "Invalid CIDR range. The address prefix must be in the range [24,26]."
},
{
"isValid": "[if(greaterOrEquals(last(split(steps('networking').hubVirtualNetwork.virtualNetworkAddressCidrRange, '/')), 8), equals(last(take(split(first(split(steps('networking').hubVirtualNetwork.virtualNetworkAddressCidrRange, '/')), '.'), 1)), last(take(split(first(split(steps('networking').hubVirtualNetwork.firewallClientSubnetAddressCidrRange, '/')), '.'), 1))), true)]",
"message": "CIDR range not within virtual network CIDR range (first octet)."
},
{
"isValid": "[if(greaterOrEquals(last(split(steps('networking').hubVirtualNetwork.virtualNetworkAddressCidrRange, '/')), 16), equals(last(take(split(first(split(steps('networking').hubVirtualNetwork.virtualNetworkAddressCidrRange, '/')), '.'), 2)), last(take(split(first(split(steps('networking').hubVirtualNetwork.firewallClientSubnetAddressCidrRange, '/')), '.'), 2))), true)]",
"message": "CIDR range not within virtual network CIDR range (second octet)."
},
{
"isValid": "[if(greaterOrEquals(last(split(steps('networking').hubVirtualNetwork.virtualNetworkAddressCidrRange, '/')), 24), equals(last(take(split(first(split(steps('networking').hubVirtualNetwork.virtualNetworkAddressCidrRange, '/')), '.'), 3)), last(take(split(first(split(steps('networking').hubVirtualNetwork.firewallClientSubnetAddressCidrRange, '/')), '.'), 3))), true)]",
"message": "CIDR range not within virtual network CIDR range (third octet)."
},
{
"isValid": "[lessOrEquals(last(split(steps('networking').hubVirtualNetwork.virtualNetworkAddressCidrRange, '/')), last(split(steps('networking').hubVirtualNetwork.firewallClientSubnetAddressCidrRange, '/')))]",
"message": "CIDR range not within virtual network CIDR range (subnet mask)."
}
]
}
},
{
"name": "firewallManagementSubnetAddressCidrRange",
"label": "Firewall Management Subnet CIDR Range",
"type": "Microsoft.Common.TextBox",
"defaultValue": "10.0.100.0/26",
"toolTip": "Specify a CIDR range for the Azure Firewall Management subnet within the Hub Virtual Network range. It must be of size /26 or larger.",
"constraints": {
"required": true,
"validations": [
{
"regex": "^(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(?:\/(2[4-6]))$",
"message": "Invalid CIDR range. The address prefix must be in the range [24,26]."
},
{
"isValid": "[if(greaterOrEquals(last(split(steps('networking').hubVirtualNetwork.virtualNetworkAddressCidrRange, '/')), 8), equals(last(take(split(first(split(steps('networking').hubVirtualNetwork.virtualNetworkAddressCidrRange, '/')), '.'), 1)), last(take(split(first(split(steps('networking').hubVirtualNetwork.firewallManagementSubnetAddressCidrRange, '/')), '.'), 1))), true)]",
"message": "CIDR range not within virtual network CIDR range (first octet)."
},
{
"isValid": "[if(greaterOrEquals(last(split(steps('networking').hubVirtualNetwork.virtualNetworkAddressCidrRange, '/')), 16), equals(last(take(split(first(split(steps('networking').hubVirtualNetwork.virtualNetworkAddressCidrRange, '/')), '.'), 2)), last(take(split(first(split(steps('networking').hubVirtualNetwork.firewallManagementSubnetAddressCidrRange, '/')), '.'), 2))), true)]",
"message": "CIDR range not within virtual network CIDR range (second octet)."
},
{
"isValid": "[if(greaterOrEquals(last(split(steps('networking').hubVirtualNetwork.virtualNetworkAddressCidrRange, '/')), 24), equals(last(take(split(first(split(steps('networking').hubVirtualNetwork.virtualNetworkAddressCidrRange, '/')), '.'), 3)), last(take(split(first(split(steps('networking').hubVirtualNetwork.firewallManagementSubnetAddressCidrRange, '/')), '.'), 3))), true)]",
"message": "CIDR range not within virtual network CIDR range (third octet)."
},
{
"isValid": "[lessOrEquals(last(split(steps('networking').hubVirtualNetwork.virtualNetworkAddressCidrRange, '/')), last(split(steps('networking').hubVirtualNetwork.firewallManagementSubnetAddressCidrRange, '/')))]",
"message": "CIDR range not within virtual network CIDR range (subnet mask)."
}
]
}
}
]
},
{
"name": "identityVirtualNetwork",
"label": "Identity Virtual Network",
"type": "Microsoft.Common.Section",
"elements": [
{
"name": "virtualNetworkAddressCidrRange",
"label": "Identity Virtual Network CIDR Range",
"type": "Microsoft.Common.TextBox",
"defaultValue": "10.0.110.0/26",
"toolTip": "Specify an address CIDR range within the range [10,26].",
"constraints": {
"required": true,
"validations": [
{
"regex": "^(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(?:\/(1[0-9]|2[0-6]))$",
"message": "Invalid CIDR range. The address prefix must be in the range [10,26]."
}
]
}
},
{
"name": "subnetAddressCidrRange",
"label": "Identity Subnet CIDR Range",
"type": "Microsoft.Common.TextBox",
"defaultValue": "10.0.110.0/27",
"toolTip": "Specify a CIDR range for the default subnet within the Identity Virtual Network range [26,28].",
"constraints": {
"required": true,
"validations": [
{
"regex": "^(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(?:\/(2[6-8]))$",
"message": "Invalid CIDR range. The address prefix must be in the range [26,28]."
},
{
"isValid": "[if(greaterOrEquals(last(split(steps('networking').identityVirtualNetwork.virtualNetworkAddressCidrRange, '/')), 8), equals(last(take(split(first(split(steps('networking').identityVirtualNetwork.virtualNetworkAddressCidrRange, '/')), '.'), 1)), last(take(split(first(split(steps('networking').identityVirtualNetwork.subnetAddressCidrRange, '/')), '.'), 1))), true)]",
"message": "CIDR range not within virtual network CIDR range (first octet)."
},
{
"isValid": "[if(greaterOrEquals(last(split(steps('networking').identityVirtualNetwork.virtualNetworkAddressCidrRange, '/')), 16), equals(last(take(split(first(split(steps('networking').identityVirtualNetwork.virtualNetworkAddressCidrRange, '/')), '.'), 2)), last(take(split(first(split(steps('networking').identityVirtualNetwork.subnetAddressCidrRange, '/')), '.'), 2))), true)]",
"message": "CIDR range not within virtual network CIDR range (second octet)."
},
{
"isValid": "[if(greaterOrEquals(last(split(steps('networking').identityVirtualNetwork.virtualNetworkAddressCidrRange, '/')), 24), equals(last(take(split(first(split(steps('networking').identityVirtualNetwork.virtualNetworkAddressCidrRange, '/')), '.'), 3)), last(take(split(first(split(steps('networking').identityVirtualNetwork.subnetAddressCidrRange, '/')), '.'), 3))), true)]",
"message": "CIDR range not within virtual network CIDR range (third octet)."
},
{
"isValid": "[lessOrEquals(last(split(steps('networking').identityVirtualNetwork.virtualNetworkAddressCidrRange, '/')), last(split(steps('networking').identityVirtualNetwork.subnetAddressCidrRange, '/')))]",
"message": "CIDR range not within virtual network CIDR range (subnet mask)."
}
]
}
}
]
},
{
"name": "operationsVirtualNetwork",
"label": "Operations Virtual Network",
"type": "Microsoft.Common.Section",
"elements": [
{
"name": "virtualNetworkAddressCidrRange",
"label": "Operations Virtual Network CIDR Range",
"type": "Microsoft.Common.TextBox",
"defaultValue": "10.0.115.0/26",
"toolTip": "Specify an address CIDR range within the range [10,26].",
"constraints": {
"required": true,
"validations": [
{
"regex": "^(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(?:\/(1[0-9]|2[0-6]))$",
"message": "Invalid CIDR range. The address prefix must be in the range [10,26]."
}
]
}
},
{
"name": "subnetAddressCidrRange",
"label": "Operations Subnet CIDR Range",
"type": "Microsoft.Common.TextBox",
"defaultValue": "10.0.115.0/27",
"toolTip": "Specify a CIDR range for the default subnet within the Operations Virtual Network range [26,28].",
"constraints": {
"required": true,
"validations": [
{
"regex": "^(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(?:\/(2[6-8]))$",
"message": "Invalid CIDR range. The address prefix must be in the range [26,28]."
},
{
"isValid": "[if(greaterOrEquals(last(split(steps('networking').operationsVirtualNetwork.virtualNetworkAddressCidrRange, '/')), 8), equals(last(take(split(first(split(steps('networking').operationsVirtualNetwork.virtualNetworkAddressCidrRange, '/')), '.'), 1)), last(take(split(first(split(steps('networking').operationsVirtualNetwork.subnetAddressCidrRange, '/')), '.'), 1))), true)]",
"message": "CIDR range not within virtual network CIDR range (first octet)."
},
{
"isValid": "[if(greaterOrEquals(last(split(steps('networking').operationsVirtualNetwork.virtualNetworkAddressCidrRange, '/')), 16), equals(last(take(split(first(split(steps('networking').operationsVirtualNetwork.virtualNetworkAddressCidrRange, '/')), '.'), 2)), last(take(split(first(split(steps('networking').operationsVirtualNetwork.subnetAddressCidrRange, '/')), '.'), 2))), true)]",
"message": "CIDR range not within virtual network CIDR range (second octet)."
},
{
"isValid": "[if(greaterOrEquals(last(split(steps('networking').operationsVirtualNetwork.virtualNetworkAddressCidrRange, '/')), 24), equals(last(take(split(first(split(steps('networking').operationsVirtualNetwork.virtualNetworkAddressCidrRange, '/')), '.'), 3)), last(take(split(first(split(steps('networking').operationsVirtualNetwork.subnetAddressCidrRange, '/')), '.'), 3))), true)]",
"message": "CIDR range not within virtual network CIDR range (third octet)."
},
{
"isValid": "[lessOrEquals(last(split(steps('networking').operationsVirtualNetwork.virtualNetworkAddressCidrRange, '/')), last(split(steps('networking').operationsVirtualNetwork.subnetAddressCidrRange, '/')))]",
"message": "CIDR range not within virtual network CIDR range (subnet mask)."
}
]
}
}
]
},
{
"name": "sharedServicesVirtualNetwork",
"label": "Shared Services Virtual Network",
"type": "Microsoft.Common.Section",
"elements": [
{
"name": "virtualNetworkAddressCidrRange",
"label": "Shared Services Virtual Network CIDR Range",
"type": "Microsoft.Common.TextBox",
"defaultValue": "10.0.120.0/26",
"toolTip": "Specify an address CIDR range within the range [10,26].",
"constraints": {
"required": true,
"validations": [
{
"regex": "^(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(?:\/(1[0-9]|2[0-6]))$",
"message": "Invalid CIDR range. The address prefix must be in the range [10,26]."
}
]
}
},
{
"name": "subnetAddressCidrRange",
"label": "Shared Services Subnet CIDR Range",
"type": "Microsoft.Common.TextBox",
"defaultValue": "10.0.120.0/27",
"toolTip": "Specify a CIDR range for the default subnet within the Shared Services Virtual Network range [26,28].",
"constraints": {
"required": true,
"validations": [
{
"regex": "^(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(?:\/(2[6-8]))$",
"message": "Invalid CIDR range. The address prefix must be in the range [26,28]."
},
{
"isValid": "[if(greaterOrEquals(last(split(steps('networking').sharedServicesVirtualNetwork.virtualNetworkAddressCidrRange, '/')), 8), equals(last(take(split(first(split(steps('networking').sharedServicesVirtualNetwork.virtualNetworkAddressCidrRange, '/')), '.'), 1)), last(take(split(first(split(steps('networking').sharedServicesVirtualNetwork.subnetAddressCidrRange, '/')), '.'), 1))), true)]",
"message": "CIDR range not within virtual network CIDR range (first octet)."
},
{
"isValid": "[if(greaterOrEquals(last(split(steps('networking').sharedServicesVirtualNetwork.virtualNetworkAddressCidrRange, '/')), 16), equals(last(take(split(first(split(steps('networking').sharedServicesVirtualNetwork.virtualNetworkAddressCidrRange, '/')), '.'), 2)), last(take(split(first(split(steps('networking').sharedServicesVirtualNetwork.subnetAddressCidrRange, '/')), '.'), 2))), true)]",
"message": "CIDR range not within virtual network CIDR range (second octet)."
},
{
"isValid": "[if(greaterOrEquals(last(split(steps('networking').sharedServicesVirtualNetwork.virtualNetworkAddressCidrRange, '/')), 24), equals(last(take(split(first(split(steps('networking').sharedServicesVirtualNetwork.virtualNetworkAddressCidrRange, '/')), '.'), 3)), last(take(split(first(split(steps('networking').sharedServicesVirtualNetwork.subnetAddressCidrRange, '/')), '.'), 3))), true)]",
"message": "CIDR range not within virtual network CIDR range (third octet)."
},
{
"isValid": "[lessOrEquals(last(split(steps('networking').sharedServicesVirtualNetwork.virtualNetworkAddressCidrRange, '/')), last(split(steps('networking').sharedServicesVirtualNetwork.subnetAddressCidrRange, '/')))]",
"message": "CIDR range not within virtual network CIDR range (subnet mask)."
}
]
}
}
]
}
]
},
{
"name": "compliance",
"label": "Compliance",
"elements": [
{
"name": "complianceDescriptionTextBlock",
"type": "Microsoft.Common.TextBlock",
"options": {
"text": "Mission Landing Zone comes bundled with built-in policies that can be applied to the resources it deploys and the ability to enable Azure Security Center for the subscriptions it is deployed into.",
"link": {
"label": "Learn more",
"uri": "https://docs.microsoft.com/en-us/azure/defender-for-cloud/defender-for-cloud-introduction"
}
}
},
{
"name": "policySection",
"label": "Enable Azure Policy",
"type": "Microsoft.Common.Section",
"elements": [
{
"name": "policySubsetDetailsTextBlock",
"type": "Microsoft.Common.TextBlock",
"options": {
"text": "Mission Landing Zone comes bundled with a relevant subset of available Azure policies."
}
},
{
"name": "policyOptionalTextBlock",
"type": "Microsoft.Common.TextBlock",
"options": {
"text": "Enabling policies is optional, but recommended."
}
},
{
"name": "deployPolicy",
"type": "Microsoft.Common.CheckBox",
"label": "Create policy assignments?",
"toolTip": "Check here to create policy assignments for the resources created by Mission Landing Zone.",
"constraints": {
"required": false
}
},
{
"name": "policy",
"type": "Microsoft.Common.DropDown",
"label": "Policy Assignment",
"placeholder": "",
"defaultValue": "NIST SP 800-53",
"toolTip": "DoD IL5 is only available in AzureUsGovernment and will switch to NIST if tried in AzureCloud.",
"multiselect": false,
"selectAll": false,
"filter": true,
"filterPlaceholder": "Filter items ...",
"multiLine": true,
"defaultDescription": "Select one of the bundled built-in policy assignments.",
"constraints": {
"allowedValues": [
{
"label": "NIST SP 800-53",
"description": "The US National Institute of Standards and Technology (NIST) publishes a catalog of security and privacy controls, Special Publication (SP) 800-53, for all federal information systems in the United States (except those related to national security).",
"value": "NIST"
},
{
"label": "DoD IL5",
"description": "The Defense Information Systems Agency (DISA) is an agency of the US Department of Defense (DoD) that is responsible for developing and maintaining the DoD Cloud Computing Security Requirements Guide (SRG). These policies are only available for AzureUsGovernment and will switch to NIST if tried in AzureCloud.",
"value": "IL5"
},
{
"label": "CMMC",
"description": "The Cybersecurity Maturity Model Certification (CMMC) is a new framework developed by the US Department of Defense (DoD) that requires formal third-party audits of defense industrial base (DIB) contractor cybersecurity practices.",
"value": "CMMC"
}
]
},
"visible": "[steps('compliance').policySection.deployPolicy]"
}
]
},
{
"name": "securityCenterSection",
"label": "Enable Azure Security Center",
"type": "Microsoft.Common.Section",
"elements": [
{
"name": "securityCenterSubscriptionDetailsText",
"type": "Microsoft.Common.TextBlock",
"options": {
"text": "Mission Landing Zone can activate Azure Security Center for each subscription it is deployed into."
}
},
{
"name": "securityCenterOptionalDetailsText",
"type": "Microsoft.Common.TextBlock",
"options": {
"text": "Enabling Azure Security Center is optional, but recommended."
}
},
{
"name": "deployASC",
"type": "Microsoft.Common.CheckBox",
"label": "Enable Azure Security Center?",
"toolTip": "Check here to enable Azure Security Center for the subscriptions used to deploy Mission Landing Zone.",
"constraints": {
"required": false
}
},
{
"name": "emailSecurityContact",
"type": "Microsoft.Common.TextBox",
"label": "Security Contact E-Mail Address",
"defaultValue": "",
"toolTip": "Provide an e-mail address as a security contact for Azure Security Center",
"placeholder": "johndoe@contoso.com",
"multiLine": false,
"constraints": {
"required": "[steps('compliance').securityCenterSection.deployASC]",
"validations": [
{
"regex": "^[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$",
"message": "Provide a valid e-mail address"
}
]
},
"visible": "[steps('compliance').securityCenterSection.deployASC]"
}
]
},
{
"name": "sentinelSection",
"label": "Enable Azure Sentinel",
"type": "Microsoft.Common.Section",
"elements": [
{
"name": "sentinelSectionDetailsText",
"type": "Microsoft.Common.TextBlock",
"options": {
"text": "Mission Landing Zone can activate Azure Sentinel for the Log Analytics Workspace it deploys."
}
},
{
"name": "sentinelOptionalDetailsText",
"type": "Microsoft.Common.TextBlock",
"options": {
"text": "Enabling Azure Sentinel is optional, but recommended."
}
},
{
"name": "deploySentinel",
"type": "Microsoft.Common.CheckBox",
"label": "Enable Azure Sentinel?",
"toolTip": "Check here to enable Azure Sentinel Center for the Log Analytics Workspace Mission Landing Zone deploys.",
"constraints": {
"required": false
}
}
]
}
]
},
{
"name": "remoteAccess",
"label": "Remote Access",
"elements": [
{
"name": "remoteAccessDescriptionTextBlock",
"type": "Microsoft.Common.TextBlock",
"options": {
"text": "Mission Landing Zone can provision a Windows and a Linux virtual machine to securely access the network remotely using Azure Bastion hosts.",
"link": {
"label": "Learn more",
"uri": "https://docs.microsoft.com/en-us/azure/bastion/bastion-overview"
}
}
},
{
"name": "remoteAccessSection",
"label": "Enable Remote Access",
"type": "Microsoft.Common.Section",
"elements": [
{
"name": "remoteAccessOptionalTextBlock",
"type": "Microsoft.Common.TextBlock",
"options": {
"text": "Enabling remote access is optional, but recommended."
}
},
{
"name": "deployRemoteAccess",
"type": "Microsoft.Common.CheckBox",
"label": "Remotely access the network?",
"toolTip": "Check here to create an Azure Bastion Host and virtual machines to remotely access the network.",
"constraints": {
"required": false
}
}
]
},
{
"name": "azureBastionSubnetSection",
"label": "Azure Bastion Subnet",
"type": "Microsoft.Common.Section",
"visible": "[steps('remoteAccess').remoteAccessSection.deployRemoteAccess]",
"elements": [
{
"name": "remoteAccessSubnetTextBlock",
"type": "Microsoft.Common.TextBlock",
"options": {
"text": "Specify a CIDR range for the Azure Bastion Host subnet within the Hub Virtual Network range. It must be of size /26 or larger."
}
},
{
"name": "bastionSubnetAddressCidrRange",
"label": "Azure Bastion Subnet CIDR Range",
"type": "Microsoft.Common.TextBox",
"visible": "[steps('remoteAccess').remoteAccessSection.deployRemoteAccess]",
"defaultValue": "10.0.100.192/26",
"toolTip": "[concat('Specify a CIDR range for the Azure Bastion Host subnet within the Hub Virtual Network range: ', steps('networking').hubVirtualNetwork.virtualNetworkAddressCidrRange, '. It must be of size /26 or larger.')]",
"constraints": {
"required": true,
"validations": [
{
"regex": "^(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(?:\/(2[4-6]))$",
"message": "Invalid CIDR range. The address prefix must be in the range [24,26]."
},
{
"isValid": "[if(greaterOrEquals(last(split(steps('networking').hubVirtualNetwork.virtualNetworkAddressCidrRange, '/')), 8), equals(last(take(split(first(split(steps('networking').hubVirtualNetwork.virtualNetworkAddressCidrRange, '/')), '.'), 1)), last(take(split(first(split(steps('remoteAccess').azureBastionSubnetSection.bastionSubnetAddressCidrRange, '/')), '.'), 1))), true)]",
"message": "[concat('First octet not within the Hub virtual network CIDR range: ', steps('networking').hubVirtualNetwork.virtualNetworkAddressCidrRange)]"
},
{
"isValid": "[if(greaterOrEquals(last(split(steps('networking').hubVirtualNetwork.virtualNetworkAddressCidrRange, '/')), 16), equals(last(take(split(first(split(steps('networking').hubVirtualNetwork.virtualNetworkAddressCidrRange, '/')), '.'), 2)), last(take(split(first(split(steps('remoteAccess').azureBastionSubnetSection.bastionSubnetAddressCidrRange, '/')), '.'), 2))), true)]",
"message": "[concat('Second octet not within the Hub virtual network CIDR range: ', steps('networking').hubVirtualNetwork.virtualNetworkAddressCidrRange)]"
},
{
"isValid": "[if(greaterOrEquals(last(split(steps('networking').hubVirtualNetwork.virtualNetworkAddressCidrRange, '/')), 24), equals(last(take(split(first(split(steps('networking').hubVirtualNetwork.virtualNetworkAddressCidrRange, '/')), '.'), 3)), last(take(split(first(split(steps('remoteAccess').azureBastionSubnetSection.bastionSubnetAddressCidrRange, '/')), '.'), 3))), true)]",
"message": "[concat('Third octet not within the Hub virtual network CIDR range: ', steps('networking').hubVirtualNetwork.virtualNetworkAddressCidrRange)]"
},
{
"isValid": "[lessOrEquals(last(split(steps('networking').hubVirtualNetwork.virtualNetworkAddressCidrRange, '/')), last(split(steps('remoteAccess').azureBastionSubnetSection.bastionSubnetAddressCidrRange, '/')))]",
"message": "[concat('Subnet mask not within the Hub virtual network CIDR range: ', steps('networking').hubVirtualNetwork.virtualNetworkAddressCidrRange)]"
}
]
}
}
]
},
{
"name": "windowsVmSection",
"label": "Windows Virtual Machine",
"type": "Microsoft.Common.Section",
"visible": "[steps('remoteAccess').remoteAccessSection.deployRemoteAccess]",
"elements": [
{
"name": "windowsVmDescriptionTextblock",
"type": "Microsoft.Common.TextBlock",
"options": {
"text": "Provide an administrator username and password for the Windows virtual machine."
}
},
{
"name": "windowsVmAdminUsername",
"type": "Microsoft.Compute.UserNameTextBox",
"label": "Username",
"defaultValue": "",
"toolTip": "",
"constraints": {
"required": true,
"regex": "^[a-z0-9A-Z]{1,30}$",
"validationMessage": "Only alphanumeric characters are allowed, and the value must be 1-30 characters long."
},
"osPlatform": "Windows",
"visible": true
},
{
"name": "windowsVmAdminPassword",
"label": {
"password": "Password",
"confirmPassword": "Confirm password"
},
"type": "Microsoft.Common.PasswordBox",
"defaultValue": "",
"toolTip": "Specify an administrator password for the Windows virtual machine used to remote into the network.",
"constraints": {
"required": true,
"regex": "^(?=.*?[A-Z])(?=.*?[a-z])(?=.*?[0-9])(?=.*?[#?!@$%^&*-]).{12,72}$",
"validationMessage": "The password must be alphanumeric, contain at least 12 characters, and have at least 1 letter, 1 number and one special character."
},
"options": {
"hideConfirmation": false
}
}
]
},
{
"name": "linuxVmSection",
"label": "Linux Virtual Machine",
"type": "Microsoft.Common.Section",
"visible": "[steps('remoteAccess').remoteAccessSection.deployRemoteAccess]",
"elements": [
{
"name": "linuxVmDescriptionTextblock",
"type": "Microsoft.Common.TextBlock",
"options": {
"text": "Provide an administrator username and password for the Linux virtual machine."
}
},
{
"name": "linuxVmAdminUsername",
"type": "Microsoft.Compute.UserNameTextBox",
"label": "Username",
"defaultValue": "",
"toolTip": "",
"constraints": {
"required": true,
"regex": "^[a-z0-9A-Z]{1,30}$",
"validationMessage": "Only alphanumeric characters are allowed, and the value must be 1-30 characters long."
},
"osPlatform": "Linux",
"visible": true
},
{
"name": "linuxVmAdminPasswordOrKey",
"type": "Microsoft.Common.PasswordBox",
"label": {
"password": "Password",
"confirmPassword": "Confirm password"
},
"toolTip": "Specify an administrator password for the Linux virtual machine used to remote into the network.",
"constraints": {
"required": true,
"regex": "^(?=.*?[A-Z])(?=.*?[a-z])(?=.*?[0-9])(?=.*?[#?!@$%^&*-]).{12,72}$",
"validationMessage": "The password must be alphanumeric, contain at least 12 characters, and have at least 1 letter, 1 number and one special character."
},
"options": {
"hideConfirmation": false
}
}
]
}
]
},
{
"name": "tags",
"label": "Tags",
"subLabel": {
"preValidation": "Provide tags that will be used for all resources.",
"postValidation": "Done"
},
"bladeTitle": "Tags",
"bladeSubtitle": "Tags",
"elements": [
{
"name": "tagsByResource",
"label": "Tags by Resource",
"type": "Microsoft.Common.TagsByResource",
"visible": true,
"resources": [
"MissionLandingZone"
]
}
]
}
]
},
"outputs": {
"kind": "Subscription",
"location": "[steps('basics').locationSection.location]",
"subscriptionId": "[steps('basics').hubSection.hubSubscriptionId]",
"parameters": {
"resourcePrefix": "[steps('basics').namingSection.resourcePrefix]",
"resourceSuffix": "[steps('basics').namingSection.resourceSuffix]",
"hubSubscriptionId": "[replace(steps('basics').hubSection.hubSubscriptionId, '/subscriptions/', '')]",
"identitySubscriptionId": "[replace(steps('basics').identitySection.identitySubscriptionId, '/subscriptions/', '')]",
"operationsSubscriptionId": "[replace(steps('basics').operationsSection.operationsSubscriptionId, '/subscriptions/', '')]",
"sharedServicesSubscriptionId": "[replace(steps('basics').sharedServicesSection.sharedServicesSubscriptionId, '/subscriptions/', '')]",
"location": "[steps('basics').locationSection.location]",