-
Notifications
You must be signed in to change notification settings - Fork 1
/
portal-form.json
831 lines (831 loc) · 34.6 KB
/
portal-form.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
{
"$schema": "<relative path to createFormUI.schema.json>",
"view": {
"kind": "Form",
"properties": {
"title": "APIM with AOAI",
"isWizard": true,
"steps": [
{
"name": "basics",
"label": "Basics",
"elements": [
{
"name": "basicsDescriptionTextBlock",
"type": "Microsoft.Common.TextBlock",
"options": {
"text": "Deploy APIM. Auto-configure it to work with your Azure Open AI.",
"link": {
"label": "https://github.com/microsoft/AzureOpenAI-with-APIM",
"uri": "https://github.com/microsoft/AzureOpenAI-with-APIM"
}
}
},
{
"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": "requirements",
"label": "Requirements",
"type": "Microsoft.Common.Section",
"elements": [
{
"name": "requirementsOpenAiAccess",
"type": "Microsoft.Common.TextBlock",
"options": {
"text": "Currently, access to Azure Open AI is granted only by application. You can apply for access to Azure OpenAI by completing the form at the following URL.",
"link": {
"label": "https://aka.ms/oai/access",
"uri": "https://aka.ms/oai/access"
}
}
}
]
},
{
"name": "selectSubscriptions",
"label": "Select Subscription(s)",
"type": "Microsoft.Common.Section",
"elements": [
{
"name": "subscriptionDetailsText",
"type": "Microsoft.Common.TextBlock",
"options": {
"text": "APIM with AOAI is configured for deployment into a single subscription."
}
}
]
},
{
"name": "subscriptionSection",
"label": "APIM with AOAI Services",
"type": "Microsoft.Common.Section",
"elements": [
{
"name": "subscriptionSectionTextBlock",
"type": "Microsoft.Common.TextBlock",
"options": {
"text": "APIM with AOAI services subscription is used to deploy all services."
}
},
{
"name": "subscriptionSectionId",
"label": "Subscription",
"type": "Microsoft.Common.DropDown",
"defaultValue": "",
"toolTip": "Select the Subscription for your APIM with AOAI services.",
"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": "location",
"label": "Location",
"type": "Microsoft.Common.DropDown",
"defaultValue": "",
"toolTip": "Select the Location for APIM with AOAI.",
"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,westus2,westus3,centralus,northcentralus,westus,westcentralus,usgovvirginia,usgovarizona,ussec,usnat', ','), item.name)),(item) => parse(concat('{\"label\":\"', item.regionalDisplayName, '\",\"value\":\"', item.name, '\"}')))]",
"required": true
}
}
]
},
{
"name": "namingSection",
"label": "APIM with AOAI Name",
"type": "Microsoft.Common.Section",
"elements": [
{
"name": "resourcePrefix",
"label": "Resource Naming Prefix",
"type": "Microsoft.Common.TextBox",
"defaultValue": "example",
"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": "networkingStep",
"label": "Networking",
"elements": [
{
"name": "networkDescriptionTextBlock",
"type": "Microsoft.Common.TextBlock",
"options": {
"text": "APIM with AOAI deploys virtual networks."
}
},
{
"name": "infoBoxVirtualNetworkOverlap",
"type": "Microsoft.Common.InfoBox",
"options": {
"text": "Make sure that the address spaces do not overlap with other organizational IP addressing spaces.",
"style": "Info"
}
},
{
"name": "virtualNetwork",
"label": "APIM with AOAI Virtual Network",
"type": "Microsoft.Common.Section",
"elements": [
{
"name": "virtualNetworkAddressCidrRange",
"label": "APIM with AOAI 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]."
}
]
}
},
{
"name": "subnetAddressCidrRange",
"label": "APIM with AOAI Subnet CIDR Range",
"type": "Microsoft.Common.TextBox",
"defaultValue": "10.0.100.128/27",
"toolTip": "Specify a CIDR range for the default subnet within the App 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('networkingStep').virtualNetwork.virtualNetworkAddressCidrRange, '/')), 8), equals(last(take(split(first(split(steps('networkingStep').virtualNetwork.virtualNetworkAddressCidrRange, '/')), '.'), 1)), last(take(split(first(split(steps('networkingStep').virtualNetwork.subnetAddressCidrRange, '/')), '.'), 1))), true)]",
"message": "CIDR range not within virtual network CIDR range (first octet)."
},
{
"isValid": "[if(greaterOrEquals(last(split(steps('networkingStep').virtualNetwork.virtualNetworkAddressCidrRange, '/')), 16), equals(last(take(split(first(split(steps('networkingStep').virtualNetwork.virtualNetworkAddressCidrRange, '/')), '.'), 2)), last(take(split(first(split(steps('networkingStep').virtualNetwork.subnetAddressCidrRange, '/')), '.'), 2))), true)]",
"message": "CIDR range not within virtual network CIDR range (second octet)."
},
{
"isValid": "[if(greaterOrEquals(last(split(steps('networkingStep').virtualNetwork.virtualNetworkAddressCidrRange, '/')), 24), equals(last(take(split(first(split(steps('networkingStep').virtualNetwork.virtualNetworkAddressCidrRange, '/')), '.'), 3)), last(take(split(first(split(steps('networkingStep').virtualNetwork.subnetAddressCidrRange, '/')), '.'), 3))), true)]",
"message": "CIDR range not within virtual network CIDR range (third octet)."
},
{
"isValid": "[lessOrEquals(last(split(steps('networkingStep').virtualNetwork.virtualNetworkAddressCidrRange, '/')), last(split(steps('networkingStep').virtualNetwork.subnetAddressCidrRange, '/')))]",
"message": "CIDR range not within virtual network CIDR range (subnet mask)."
}
]
}
}
]
},
{
"name": "networksApi",
"type": "Microsoft.Solutions.ArmApiControl",
"request": {
"method": "GET",
"path": "[concat('subscriptions/', replace(steps('basics').subscriptionSection.subscriptionSectionId, '/subscriptions/', '') , '/providers/Microsoft.Network/virtualNetworks?api-version=2020-05-01')]"
}
},
{
"name": "networkTestSectionTextBlock",
"type": "Microsoft.Common.TextBlock",
"options": {
"text": "APIM with AOAI services networks is used to deploy all services."
}
},
{
"name": "networkTestSectionId",
"label": "Network Test",
"type": "Microsoft.Common.DropDown",
"defaultValue": "",
"toolTip": "Select the Network for your APIM with AOAI services.",
"multiselect": false,
"selectAll": false,
"filter": true,
"filterPlaceholder": "Filter items ...",
"multiLine": true,
"constraints": {
"allowedValues": "[map(steps('networkingStep').networksApi.value, (item) => parse(concat('{\"label\":\"', item.name, '\",\"value\":\"', item.id, '\",\"description\":\"', 'ID: ', item.id, '\"}')))]",
"required": true
}
},
{
"name": "subnetsApi",
"type": "Microsoft.Solutions.ArmApiControl",
"request": {
"method": "GET",
"path": "[concat(steps('networkingStep').networkTestSectionId, '/subnets?api-version=2020-05-01')]"
}
},
{
"name": "subnetTestSectionTextBlock",
"type": "Microsoft.Common.TextBlock",
"options": {
"text": "APIM with AOAI services networks is used to deploy all services."
}
},
{
"name": "subnetTestSectionId",
"label": "Subnet Test",
"type": "Microsoft.Common.DropDown",
"defaultValue": "",
"toolTip": "Select the Subnet for your APIM with AOAI services.",
"multiselect": false,
"selectAll": false,
"filter": true,
"filterPlaceholder": "Filter items ...",
"multiLine": true,
"constraints": {
"allowedValues": "[map(steps('networkingStep').subnetsApi.value, (item) => parse(concat('{\"label\":\"', item.name, '\",\"value\":\"', item.id, '\",\"description\":\"', 'ID: ', item.id, '\"}')))]",
"required": true
}
}
]
},
{
"name": "azureOpenAiStep",
"label": "Azure Open AI",
"elements": [
{
"name": "azureOpenAiStepTextBlock",
"type": "Microsoft.Common.TextBlock",
"options": {
"text": "Configure details to deploy your Azure OpenAI service."
}
},
{
"name": "azureOpenAiRequestDetails",
"label": "Use Existing Azure Open AI",
"type": "Microsoft.Common.Section",
"elements": [
{
"name": "azureOpenAiRequestDetailsText",
"type": "Microsoft.Common.TextBlock",
"options": {
"text": "Do you want do use an existing Azure OpenAI endpoint?"
}
},
{
"name": "azureOpenAiRequest",
"type": "Microsoft.Common.CheckBox",
"label": "Check here to use an existing Azure OpenAI endpoint.",
"toolTip": "Check here to use an existing Azure OpenAI endpoint.",
"constraints": {
"required": false
}
}
]
},
{
"name": "azureOpenAiNewDetails",
"label": "New Azure Open AI Details",
"type": "Microsoft.Common.Section",
"visible": "[not(steps('azureOpenAiStep').azureOpenAiRequestDetails.azureOpenAiRequest)]",
"elements": [
{
"name": "azureOpenAiNewModelTypeTextBlock",
"type": "Microsoft.Common.TextBlock",
"options": {
"text": "Select the Model for your Azure OpenAI service."
}
},
{
"name": "azureOpenAiNewModelType",
"label": "Azure Open AI Model Type",
"type": "Microsoft.Common.DropDown",
"defaultValue": {
"value": "gpt-35-turbo"
},
"toolTip": "Select the Model for your Azure OpenAI service.",
"multiselect": false,
"selectAll": false,
"filter": false,
"multiLine": false,
"constraints": {
"required": false,
"allowedValues": [
{
"label": "GPT-35-Turbo",
"value": "gpt-35-turbo"
},
{
"label": "GPT-35-Turbo-16k",
"value": "gpt-35-turbo-16k"
},
{
"label": "GPT-4",
"value": "gpt-4"
},
{
"label": "GPT-4-32k",
"value": "gpt-4-32k"
}
]
}
}
]
},
{
"name": "azureOpenAiExistingDetails",
"label": "Existing Azure Open AI Details",
"type": "Microsoft.Common.Section",
"visible": "[steps('azureOpenAiStep').azureOpenAiRequestDetails.azureOpenAiRequest]",
"elements": [
{
"name": "azureOpenAiExistingFqdnTextBlock",
"type": "Microsoft.Common.TextBlock",
"options": {
"text": "Provide the URL of the Azure Open AI service to be used with GovChat."
}
},
{
"name": "azureOpenAiExistingFqdn",
"label": "Azure Open AI URL",
"type": "Microsoft.Common.TextBox",
"defaultValue": "https://InsertYourAzureOpenAiNameHere.openai.azure.com/openai",
"toolTip": "Provide URL for the Azure Open AI service to be used with GovChat.",
"multiselect": false,
"selectAll": false,
"filter": false,
"multiLine": false,
"constraints": {
"required": true,
"validations": [
{
"regex": "^https://[a-zA-Z0-9.-]+.azure.com/openai$",
"message": "Provide a valid Azure Open AI FQDN, must include https:// and end with openai.azure.com/openai"
}
]
}
},
{
"name": "azureOpenAiExistingIpAddressTextBlock",
"type": "Microsoft.Common.TextBlock",
"options": {
"text": "Provide the URL of the Azure Open AI service to be used with GovChat.",
"link": {
"label": "View steps in collecting Azure Open AI public IP address.",
"uri": "https://github.com/microsoft/AzureOpenAI-with-APIM#get-public-ip-address-of-my-azure-open-ai-service"
}
}
},
{
"name": "azureOpenAiExistingIpAddress",
"label": "Azure Open AI IP Address",
"type": "Microsoft.Common.TextBox",
"defaultValue": "000.000.000.000",
"toolTip": "Provide IP address for the Azure Open AI service to be used with GovChat.",
"multiselect": false,
"selectAll": false,
"filter": false,
"multiLine": false,
"constraints": {
"required": true,
"validations": [
{
"regex": "^(?:[0-9]{1,3}.){3}[0-9]{1,3}$",
"message": "Provide a valid IP address"
}
]
}
},
{
"name": "azureOpenAiExistingKeyTextBlock",
"type": "Microsoft.Common.TextBlock",
"options": {
"text": "Provide the Key of the Azure Open AI service. This is used by API Management.",
"link": {
"label": "View steps in collecting Azure Open AI Key.",
"uri": "https://learn.microsoft.com/en-us/azure/ai-services/openai/quickstart?tabs=command-line&pivots=rest-api#retrieve-key-and-endpoint"
}
}
},
{
"name": "azureOpenAiExistingKey",
"label": "Azure Open AI Key",
"type": "Microsoft.Common.TextBox",
"defaultValue": "",
"toolTip": "Provide Key for the Azure Open AI service.",
"multiselect": false,
"selectAll": false,
"filter": false,
"multiLine": false,
"secure": true,
"constraints": {
"required": true,
"validations": [
{
"regex": "^[a-fA-F0-9]{32}$",
"message": "Provide a 32 character hexidecimal key."
}
]
}
}
]
}
]
},
{
"name": "azureApiManagementStep",
"label": "Azure API Management",
"elements": [
{
"name": "azureApiManagementStepTextBlock",
"type": "Microsoft.Common.TextBlock",
"options": {
"text": "Provide the configuration details for the Azure API Management service to be used with APIM with AOAI."
}
},
{
"name": "azureApiManagementDetails",
"label": "Azure API Management Details",
"type": "Microsoft.Common.Section",
"elements": [
{
"name": "apimSkuTextBlock",
"type": "Microsoft.Common.TextBlock",
"options": {
"text": "Select the SKU version of API Management. Premium and Developer vesions support Private endpoints"
}
},
{
"name": "apimSku",
"label": "API Management SKU",
"type": "Microsoft.Common.DropDown",
"defaultValue": {
"value": "Developer"
},
"toolTip": "Select the APIM SKU, default is Developer.",
"multiselect": false,
"selectAll": false,
"filter": false,
"multiLine": false,
"constraints": {
"required": false,
"allowedValues": [
{
"label": "Premium",
"value": "Premium"
},
{
"label": "Developer",
"value": "Developer"
}
]
}
},
{
"name": "apimPublisherNameTextBlock",
"type": "Microsoft.Common.TextBlock",
"options": {
"text": "Provide the Publisher name for APIM to be used with APIM with AOAI."
}
},
{
"name": "apimPublisherName",
"label": "API Management Publisher Name",
"type": "Microsoft.Common.TextBox",
"defaultValue": "Contoso",
"toolTip": "Provide the Publisher name for APIM.",
"multiselect": false,
"selectAll": false,
"filter": false,
"multiLine": false,
"constraints": {
"required": true
}
},
{
"name": "apimPublisherEmailTextBlock",
"type": "Microsoft.Common.TextBlock",
"options": {
"text": "Provide the Publisher email for APIM to be used with APIM with AOAI."
}
},
{
"name": "apimPublisherEmail",
"label": "API Management Publisher Email",
"type": "Microsoft.Common.TextBox",
"defaultValue": "admin@contoso.com",
"toolTip": "Provide the Publisher Email for APIM.",
"multiselect": false,
"selectAll": false,
"filter": false,
"multiLine": false,
"constraints": {
"required": true,
"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"
}
]
}
}
]
}
]
},
{
"name": "complianceStep",
"label": "Compliance",
"elements": [
{
"name": "complianceDescriptionTextBlock",
"type": "Microsoft.Common.TextBlock",
"options": {
"text": "APIM with AOAI comes bundled with the ability to enable Microsoft Defender for Cloud and Azure Sentinel for the subscriptions it is deployed into."
}
},
{
"name": "defenderSection",
"label": "Enable Microsoft Defender for Cloud",
"type": "Microsoft.Common.Section",
"elements": [
{
"name": "defenderSubscriptionDetailsText",
"type": "Microsoft.Common.TextBlock",
"options": {
"text": "APIM with AOAI can activate Microsoft Defender for Cloud for each subscription it is deployed into.",
"link": {
"label": "Learn more",
"uri": "https://docs.microsoft.com/en-us/azure/defender-for-cloud/defender-for-cloud-introduction"
}
}
},
{
"name": "defenderOptionalDetailsText",
"type": "Microsoft.Common.TextBlock",
"options": {
"text": "Enabling Microsoft Defender for Cloud is optional, but recommended."
}
},
{
"name": "deployDefender",
"type": "Microsoft.Common.CheckBox",
"label": "Enable Microsoft Defender for Cloud?",
"toolTip": "Check here to enable Microsoft Defender for Cloud for the subscriptions used to deploy APIM with AOAI.",
"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 Microsoft Defender for Cloud",
"placeholder": "johndoe@contoso.com",
"multiLine": false,
"constraints": {
"required": "[steps('compliance').defenderSection.deployDefender]",
"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').defenderSection.deployDefender]"
}
]
},
{
"name": "sentinelSection",
"label": "Enable Azure Sentinel",
"type": "Microsoft.Common.Section",
"elements": [
{
"name": "sentinelSectionDetailsText",
"type": "Microsoft.Common.TextBlock",
"options": {
"text": "APIM with AOAI can activate Azure Sentinel for the Log Analytics Workspace it deploys.",
"link": {
"label": "Learn more",
"uri": "https://learn.microsoft.com/en-us/azure/sentinel/overview"
}
}
},
{
"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 APIM with AOAI deploys.",
"constraints": {
"required": false
}
}
]
}
]
},
{
"name": "listOfServicesDeployedSection",
"label": "List of Services to be Deployed",
"elements": [
{
"name": "listOfServicesDeployedSectionDescriptionTextBlock",
"type": "Microsoft.Common.TextBlock",
"options": {
"text": "APIM with AOAI will deploy the following Azure services.",
"link": {
"label": "Learn more",
"uri": "https://github.com/microsoft/APIM with AOAI"
}
}
},
{
"name": "listOfServicesDeployed",
"label": "All services deployed with APIM with AOAI",
"type": "Microsoft.Common.Section",
"elements": [
{
"name": "vnetInventoryText",
"type": "Microsoft.Common.TextBlock",
"options": {
"text": "Virtual Network"
}
},
{
"name": "azureOpenAilInventoryText",
"type": "Microsoft.Common.TextBlock",
"options": {
"text": "Azure OpenAI with Private Endpoint"
},
"visible": "[not(steps('azureOpenAiStep').azureOpenAiRequestDetails.azureOpenAiRequest)]"
},
{
"name": "apimInventoryText",
"type": "Microsoft.Common.TextBlock",
"options": {
"text": "API Management with Internal Networking"
}
},
{
"name": "logAnalyticsWorkspaceInventoryText",
"type": "Microsoft.Common.TextBlock",
"options": {
"text": "Log Analytics workspace"
}
},
{
"name": "appInsightInventoryText",
"type": "Microsoft.Common.TextBlock",
"options": {
"text": "App Insights"
}
},
{
"name": "keyVaultInventoryText",
"type": "Microsoft.Common.TextBlock",
"options": {
"text": "Key Vault with Private Endpoint"
}
},
{
"name": "routeTableInventoryText",
"type": "Microsoft.Common.TextBlock",
"options": {
"text": "Route Table"
}
},
{
"name": "privateDnsInventoryText",
"type": "Microsoft.Common.TextBlock",
"options": {
"text": "Private DNS Zones for AOAI, APIM, and Key Vault"
}
},
{
"name": "azureSentinelInventoryText",
"type": "Microsoft.Common.TextBlock",
"options": {
"text": "Azure Sentinel"
},
"visible": "[steps('compliance').sentinelSection.deploySentinel]"
},
{
"name": "defenderForCloudInventoryText",
"type": "Microsoft.Common.TextBlock",
"options": {
"text": "Defender for Cloud"
},
"visible": "[steps('compliance').defenderSection.deployDefender]"
}
]
}
]
},
{
"name": "tagsStep",
"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": {}
}
}