-
Notifications
You must be signed in to change notification settings - Fork 54
/
config.schema.json
1336 lines (1336 loc) · 50.9 KB
/
config.schema.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://json-schema.org/draft-06/schema#",
"$ref": "#/definitions/az-hop",
"definitions": {
"az-hop": {
"type": "object",
"additionalProperties": false,
"properties": {
"project_name": {
"description": "Name of az-hop project",
"type": "string"
},
"location": {
"description": "azure location name as returned by the command : az account list-locations -o table",
"type": "string"
},
"resource_group": {
"description": "Name of the resource group to create all resources",
"type": "string"
},
"optout_telemetry": {
"description": "If set to true, will disable telemetry for azhop. See https://azure.github.io/az-hop/deploy/telemetry.html",
"type": "boolean"
},
"use_existing_rg": {
"description": "If using an existing resource group set to true. Default is false. When using an existing resource group make sure the location match the one of the existing resource group",
"type": "boolean"
},
"tags": {
"description": "Additional tags to be added on the Resource Group",
"$ref": "#/definitions/Tags"
},
"anf": {
"description": "Define an Azure Netapp Files (ANF) account, single pool and volume. If not present, assume that there is an existing NFS share for the users home directory",
"$ref": "#/definitions/Anf"
},
"azurefiles": {
"description": "For small deployments you can use Azure Files instead of ANF for the home directory",
"$ref": "#/definitions/Azurefiles"
},
"mounts": {
"description": "Mounts will be listed in the Files menu of the OnDemand portal and automatically mounted on all compute nodes and remote desktop nodes",
"$ref": "#/definitions/Mounts"
},
"admin_user": {
"description": "Name of the admin account",
"type": "string"
},
"key_vault_readers": {
"description": "Identity (object id) to grant read access to az-hop key vault (optional)",
"type": "string"
},
"network": {
"$ref": "#/definitions/Network"
},
"locked_down_network": {
"description": "When working in a locked down network, uncomment and fill out this section",
"$ref": "#/definitions/LockedDownNetwork"
},
"azure_key_vault": {
"description": "Key vault configuration",
"$ref": "#/definitions/KeyVault"
},
"azure_storage_account": {
"description": "Storage account configuration",
"$ref": "#/definitions/StorageAccount"
},
"linux_base_image": {
"description": "Can be either an image reference or an image_id from the image registry or a custom managed image",
"type": "string"
},
"linux_base_plan": {
"description": "linux image plan if required, format is publisher:product:name",
"type": "string"
},
"windows_base_image": {
"description": "Can be either an image reference or an image_id from the image registry or a custom managed image",
"type": "string"
},
"jumpbox": {
"description": "Jumpbox VM configuration, only needed when deploying thru a public IP and without a configured deployer VM",
"$ref": "#/definitions/Jumpbox"
},
"deployer": {
"description": "Deployer VM configuration",
"$ref": "#/definitions/Deployer"
},
"ad": {
"description": "Active directory VM configuration",
"$ref": "#/definitions/az-hopAd"
},
"ondemand": {
"description": "On demand VM configuration",
"$ref": "#/definitions/Ondemand"
},
"grafana": {
"description": "Grafana VM configuration",
"$ref": "#/definitions/Grafana"
},
"scheduler": {
"description": "Scheduler VM configuration",
"$ref": "#/definitions/Scheduler"
},
"cyclecloud": {
"description": "CycleCloud VM configuration",
"$ref": "#/definitions/Cyclecloud"
},
"lustre": {
"description": "Create a Lustre cluster in the environment (optional).",
"$ref": "#/definitions/Lustre"
},
"users": {
"description": "List of users to be created on this environment",
"type": "array",
"items": {
"$ref": "#/definitions/User"
}
},
"usergroups": {
"description": "List of user groups to be created",
"type": "array",
"items": {
"$ref": "#/definitions/Usergroup"
}
},
"domain": {
"description": "Domain definition",
"$ref": "#/definitions/Domain"
},
"cvmfs_eessi": {
"description": "Enable CernVM virtual file system for European Environment for Scientific Software Installations",
"$ref": "#/definitions/CVMFS"
},
"queue_manager": {
"description": "",
"type": "string"
},
"slurm": {
"description": "scheduler to be installed and configured (openpbs, slurm)",
"$ref": "#/definitions/Slurm"
},
"enroot": {
"description": "Enroot settings",
"$ref": "#/definitions/Enroot"
},
"database": {
"description": "If using an existing Managed MariaDB instance for SLURM accounting, specify these values",
"$ref": "#/definitions/Database"
},
"authentication": {
"description": "# Authentication configuration for ondemand portal. Default is basic authentication. For oidc authentication, store the OIDCClient secret as a secret named <oidc-client-id>-password in the keyvault used by az-hop",
"$ref": "#/definitions/Authentication"
},
"images": {
"description": "List of images to be defined",
"type": "array",
"items": {
"$ref": "#/definitions/Image"
}
},
"bastion": {
"description": "Create a Bastion in the bastion subnet (optional).",
"$ref": "#/definitions/Bastion"
},
"vpn_gateway": {
"description": "Create a VPN Gateway in the gateway subnet (optional).",
"$ref": "#/definitions/VpnGateway"
},
"image_gallery": {
"description": "Create the shared image gallery to store custom VM images.",
"$ref": "#/definitions/ImageGallery"
},
"autoscale": {
"description": "Autoscale default settings for all queues, can be overriden on each queue depending on the VM type if needed",
"$ref": "#/definitions/Autoscale"
},
"queues": {
"description": "List of queues (node arrays in CycleCloud)",
"type": "array",
"items": {
"$ref": "#/definitions/Queue"
}
},
"applications": {
"description": "Configure applications in OnDemand web portal",
"$ref": "#/definitions/Applications"
},
"dns": {
"description": "Specify DNS forwarders available in the network",
"$ref": "#/definitions/dns"
},
"log_analytics": {
"description": "Create a log analytics workspace to enable monitoring and alerting",
"$ref": "#/definitions/logAnalytics"
},
"compute_vm_identity": {
"description": "Create a user-assigned managed identity that will be applied to the compute VMs",
"$ref": "#/definitions/computeVMidentity"
},
"monitoring": {
"description": "If set to true, it will install the Azure Monitor Agent on the infrastructure VMs deployed by az-hop. If set to false, it is assumed that the agent is installed by policy.",
"$ref": "#/definitions/monitoring"
},
"alerting": {
"description": "If set to true, it will create alert rules associated with az-hop. Enablement of alerting will require the specification of an admin email to send alerts to.",
"$ref": "#/definitions/alerting"
},
"nat_gateway": {
"description": "Create a NAT Gateway to enable outbound connectivity",
"$ref": "#/definitions/natgateway"
},
"private_dns": {
"description": "Configuration of a private DNS zone to create",
"$ref": "#/definitions/private_dns"
}
},
"required": [
"admin_user",
"cyclecloud",
"location",
"mounts",
"network",
"queue_manager",
"queues",
"resource_group",
"scheduler",
"usergroups",
"users"
],
"title": "az-hop"
},
"private_dns": {
"type": "object",
"additionalProperties": false,
"properties": {
"create": {"type": "boolean", "default": false},
"name": {"type": "string"},
"registration_enabled": {"type": "boolean", "default": false}
},
"required": [ "create", "name" ],
"title": "privateDNSZone"
},
"logAnalytics": {
"type": "object",
"additionalProperties": false,
"properties": {
"create": {"type": "boolean", "default": false},
"resource_group": {"type": "string"},
"name": {"type": "string"},
"subscription_id": {"type": "string"}
},
"required": [ "create" ],
"title": "logAnalytics"
},
"computeVMidentity": {
"type": "object",
"additionalProperties": false,
"properties": {
"create": {"type": "boolean", "default": false},
"name": {
"type": "string",
"maxLength": 24,
"pattern": "^[a-zA-Z0-9-]+$"},
"resource_group": {"type": "string"}
},
"required": [ "create" ],
"title": "computeVMidentity"
},
"monitoring": {
"type": "object",
"additionalProperties": false,
"properties": {
"install_agent": {"type": "boolean", "default": true, "deprecated": true },
"azure_monitor_agent": {"type": "boolean", "default": false },
"telegraf": {"type": "boolean", "default": true },
"grafana": {"type": "boolean", "default": true },
"idle_threshold": {"type": "string", "pattern": "^(10|20|30|40|50|60|70|80|90|100)$", "default": "70"},
"iowait_threshold": {"type": "string", "pattern": "^(10|20|30|40|50|60|70|80|90|100)$", "default": "40"},
"mem_threshold": {"type": "string", "pattern": "^(10|20|30|40|50|60|70|80|90|100)$", "default": "30"}
},
"title": "monitoring"
},
"alerting": {
"type": "object",
"additionalProperties": false,
"properties": {
"enabled": {"type": "boolean" },
"admin_email": { "type": "string" },
"local_volume_threshold": { "type": "integer", "maximum": 100, "minimum": 1 }
},
"required": [
"enabled"
],
"title": "alerting"
},
"natgateway" : {
"type": "object",
"additionalProperties": false,
"properties": {
"create": {"type": "boolean", "default": false },
"name": { "type": "string" }
},
"required": [
"create"
],
"title": "NAT Gateway"
},
"az-hopAd": {
"type": "object",
"additionalProperties": false,
"properties": {
"vm_size": {
"type": "string",
"description": "The size of VM to use when deploying a new active directory domain as part of AZHOP"
},
"name": { "type": "string", "default": "ad", "maxLength": 15, "pattern": "^([0-9a-z\\-]+)$" },
"ha_name": { "type": "string", "default": "ad2", "maxLength": 15, "pattern": "^([0-9a-z\\-]+)$" },
"hybrid_benefit": {
"type": "boolean",
"description": "Will hybrid benefit be used on the vm that is running the active directory domain vm being deployed for az-hop.",
"default": false
},
"high_availability": {
"type": "boolean",
"description": "Should a second domain controller be deployed when include a new active directory with the az-hop deployment.",
"default": false
}
},
"required": [],
"title": "az-hopAd"
},
"Anf": {
"type": "object",
"additionalProperties": false,
"properties": {
"create": {
"type": "boolean", "default": true
},
"homefs_size_tb": {
"description": "Size of the ANF pool and unique volume (min: 4TB, max: 100TB)",
"maximum": 100,
"minimum": 4,
"type": "integer"
},
"homefs_service_level": {
"description": "Service level of the ANF volume, can be: Standard, Premium, Ultra",
"enum": ["Standard", "Premium", "Ultra"],
"type": "string"
},
"dual_protocol": {
"description": "Whether to enable SMB support. false by default",
"type": "boolean",
"default": false
},
"alert_threshold": {
"description": "If alerting is enabled, this value will be used to determine when to trigger alerts ",
"default": 80,
"maximum": 100,
"minimum": 1,
"type": "integer"
}
},
"required": [
"create",
"homefs_service_level",
"homefs_size_tb"
],
"title": "Anf"
},
"Azurefiles": {
"type": "object",
"additionalProperties": false,
"properties": {
"create": {
"type": "boolean"
},
"size_gb": {
"type": "integer"
}
},
"required": [
"create",
"size_gb"
],
"title": "Azurefiles"
},
"Domain": {
"type": "object",
"additionalProperties": false,
"properties": {
"name": {
"type": "string",
"description": "The domain name that the Az-Hop infrastructure will use.",
"default": "hpc.azure"
},
"domain_join_ou": {
"type": "string",
"description": "The domain OU where new AZ-HOP computer objects will be added to the domain."
},
"use_existing_dc": {
"type": "boolean",
"description": "Flag for identifying whether an existing Active Directory should be used or if an AD controller should be deployed with AZ-HOP",
"default": false
},
"domain_join_user": {
"type": "object",
"additionalProperties": false,
"properties": {
"username": {
"type": "string",
"description": "The username of the account that will be used to perform domain join activities."
},
"password_key_vault_name": {
"type": "string",
"description": "The name of the keyvault where the domain join user's password will be stored as a secret. The identity being used for the deployment will need to have secret read on this vault."
},
"password_key_vault_resource_group_name": {
"type": "string",
"description": "The resource group name where the key vault holding the domain join user secret is deployed."
},
"password_key_vault_secret_name": {
"type": "string",
"description": "The name of the secret for the domain join user password."
}
}
},
"existing_dc_details": {
"type": "object",
"additionalProperties": false,
"properties":{
"domain_controller_names": {
"type": "array",
"description": "A list of hostnames for the domain controllers that will be used as a target for az-hop domain activities."
},
"domain_controller_ip_addresses": {
"type": "array",
"description": "A list of IP addresses for the existing domain controllers for use in ASG and NSG rules allowing domain access."
},
"private_dns_servers": {
"type": "array",
"description": "A list of IP addresses for the existing DNS servers where the AD domain records exist."
}
}
}
},
"required": [
],
"title": "Domain"
},
"Applications": {
"type": "object",
"additionalProperties": true,
"properties": {
"bc_codeserver": {
"$ref": "#/definitions/ood_app"
},
"bc_jupyter": {
"$ref": "#/definitions/ood_app"
},
"bc_rstudio": {
"$ref": "#/definitions/ood_app"
},
"bc_ansys_workbench": {
"$ref": "#/definitions/ood_app"
},
"bc_vmd": {
"$ref": "#/definitions/ood_app"
},
"bc_paraview": {
"$ref": "#/definitions/ood_app"
},
"bc_vizer": {
"$ref": "#/definitions/ood_app"
}
},
"required": [
],
"title": "Applications"
},
"ood_app": {
"type": "object",
"additionalProperties": false,
"properties": {
"enabled": {
"type": "boolean"
}
},
"required": [
"enabled"
],
"title": "ood_app"
},
"Authentication": {
"type": "object",
"additionalProperties": false,
"properties": {
"user_auth": {
"type": "string",
"enum": ["local", "ad"],
"default": "ad"
},
"httpd_auth": {
"type": "string",
"enum": ["basic", "oidc"],
"default": "basic"
},
"user_map_match": { "type": "string" },
"user_map_cmd": { "type": "string" },
"ood_auth_openidc": {
"$ref": "#/definitions/openidc"
}
},
"required": [
"httpd_auth"
],
"title": "Authentication"
},
"openidc": {
"type": "object",
"additionalProperties": true,
"properties": {
"OIDCProviderMetadataURL": { "type": "string" },
"OIDCClientID": { "type": "string" },
"OIDCRemoteUserClaim": { "type": "string" },
"OIDCScope": { "type": "string" },
"OIDCPassIDTokenAs": { "type": "string" },
"OIDCPassRefreshToken": { "type": "string" },
"OIDCPassClaimsAs": { "type": "string" }
},
"required": [
"OIDCProviderMetadataURL",
"OIDCClientID",
"OIDCRemoteUserClaim",
"OIDCScope",
"OIDCPassIDTokenAs",
"OIDCPassRefreshToken",
"OIDCPassClaimsAs"
],
"title": "openidc"
},
"Bastion": {
"type": "object",
"additionalProperties": false,
"properties": {
"create": {
"type": "boolean", "default": false
}
},
"required": [
"create"
],
"title": "Bastion"
},
"VpnGateway": {
"type": "object",
"additionalProperties": false,
"properties": {
"create": {
"type": "boolean", "default": false
}
},
"required": [
"create"
],
"title": "VpnGateway"
},
"Autoscale": {
"type": "object",
"additionalProperties": false,
"properties": {
"idle_timeout": {
"description": "Idle time in seconds before shutting down VMs - default to 1800 like in CycleCloud",
"type": "integer",
"default": 1800
}
},
"required": [
"idle_timeout"
],
"title": "Autoscale"
},
"ImageGallery": {
"type": "object",
"additionalProperties": false,
"properties": {
"create": {
"type": "boolean",
"default": false
}
},
"required": [
"create"
],
"title": "ImageGallery"
},
"Cyclecloud": {
"type": "object",
"additionalProperties": false,
"properties": {
"vm_size": { "type": "string" },
"name": { "type": "string", "default": "ccportal", "maxLength": 15, "pattern": "^([0-9a-z\\-]+)$" },
"version": { "type": "string" },
"image": {
"description": "Can be either an image reference or an image_id from the image registry or a custom managed image",
"type": "string"
},
"plan": {
"description": "Image plan specification (when needed for the image). Terms must be accepted prior to deployment",
"type": "string"
},
"ssh_port": {
"description": "Defaults to 22. Change this to, e.g., 2222, if security policies (like 'zero trust') in your tenant automatically block access to port 22 from the internet",
"type": "integer"
},
"use_as_deployer": {
"description": "If set to true, will use the CycleCloud VM as the deployer VM",
"type": "boolean",
"default": false
},
"web_server_path" : {
"type": "string",
"description": "Path to the web server path. Defaults to /cyclecloud",
"default": "/cyclecloud"
},
"distribution_method" : {
"type": "string",
"description": "The distribution method for the CycleCloud installation. Defaults to 'azhop'",
"default": "azhop"
}
},
"required": [
"vm_size"
],
"title": "Cyclecloud"
},
"Database": {
"type": "object",
"additionalProperties": false,
"properties": {
"name": {
"type": "string",
"description": "Name of the database resource to be created"
},
"user": {
"type": "string",
"description": "Admin user of the database for which the password will be retrieved from the azhop keyvault"
},
"fqdn": {
"type": "string",
"description": "FQDN of the managed instance, when using an existing one"
},
"ip": {
"type": "string",
"description": "IP of the managed private endpoint if the FQDN is not registered in a private DNS"
}
},
"title": "Database"
},
"Image": {
"type": "object",
"additionalProperties": false,
"properties": {
"name": {
"type": "string"
},
"publisher": {
"$ref": "#/definitions/Project"
},
"offer": {
"type": "string"
},
"sku": {
"type": "string"
},
"hyper_v": {
"$ref": "#/definitions/HyperV"
},
"os_type": {
"$ref": "#/definitions/OSType"
},
"version": {
"type": "number"
}
},
"required": [
"hyper_v",
"name",
"offer",
"os_type",
"publisher",
"sku",
"version"
],
"title": "Image"
},
"Jumpbox": {
"type": "object",
"additionalProperties": false,
"properties": {
"vm_size": {
"type": "string"
},
"name": {
"type": "string", "default": "jumpbox", "maxLength": 15, "pattern": "^([0-9a-z\\-]+)$"
},
"ssh_port": {
"description": "Defaults to 22. Change this to, e.g., 2222, if security policies (like 'zero trust') in your tenant automatically block access to port 22 from the internet",
"type": "integer"
}
},
"required": [
"vm_size"
],
"title": "Jumpbox"
},
"Deployer": {
"type": "object",
"additionalProperties": false,
"properties": {
"vm_size": {
"type": "string"
},
"name": {
"type": "string", "default": "deployer", "maxLength": 15, "pattern": "^([0-9a-z\\-]+)$"
},
"ssh_port": {
"description": "Defaults to 22. Change this to, e.g., 2222, if security policies (like 'zero trust') in your tenant automatically block access to port 22 from the internet",
"type": "integer"
}
},
"required": [
"vm_size"
],
"title": "Deployer"
},
"Lustre": {
"type": "object",
"additionalProperties": false,
"properties": {
"create": {
"description": "Create cluster",
"type": "boolean",
"default": false
},
"sku": {
"description": "The Lustre tier to use",
"enum": ["AMLFS-Durable-Premium-40", "AMLFS-Durable-Premium-125", "AMLFS-Durable-Premium-250", "AMLFS-Durable-Premium-500"],
"type": "string"
},
"capacity": {
"description": "Size of the Lustre file system in TB",
"type": "integer"
},
"hsm": {
"description": "Use existing storage account for the archive (optional). If not included, will use az-hop storage account.",
"$ref": "#/definitions/HSM"
}
},
"required": [
"create"
],
"title": "Lustre"
},
"HSM": {
"type": "object",
"additionalProperties": false,
"properties": {
"storage_account": {
"type": "string"
},
"storage_container": {
"type": "string"
}
},
"required": [
"storage_account",
"storage_container"
],
"title": "HSM"
},
"LockedDownNetwork": {
"type": "object",
"additionalProperties": false,
"properties": {
"enforce": { "type": "boolean", "default": false },
"public_ip": { "type": "boolean", "default": true },
"grant_access_from": { "type": "array", "items": { "type": "string" } }
},
"required": [
"public_ip"
],
"title": "LockedDownNetwork"
},
"KeyVault": {
"type": "object",
"additionalProperties": false,
"properties": {
"name": {
"type": "string"
}
},
"title": "KeyVault"
},
"StorageAccount": {
"type": "object",
"additionalProperties": false,
"properties": {
"name": {
"type": "string"
}
},
"title": "StorageAccount"
},
"Mounts": {
"type": "object",
"additionalProperties": true,
"properties": {
"home": {
"$ref": "#/definitions/Home"
}
},
"required": [
"home"
],
"title": "Mounts"
},
"Home": {
"type": "object",
"additionalProperties": false,
"properties": {
"type": {
"description": "'existing' or 'anf' or 'azurefiles', default: 'existing'.",
"enum": ["anf", "azurefiles", "existing"],
"type": "string"
},
"mountpoint": {
"type": "string"
},
"server": {
"type": "string"
},
"export": {
"type": "string"
},
"options": {
"type": "string"
}
},
"required": [
"export",
"mountpoint",
"server"
],
"title": "Home"
},
"Network": {
"type": "object",
"additionalProperties": false,
"properties": {
"create_nsg": { "type": "boolean", "default": true },
"vnet": { "$ref": "#/definitions/Vnet" },
"peering": {
"type": "array",
"items": {
"$ref": "#/definitions/Peering"
}
},
"asg": { "$ref": "#/definitions/asgMap" }
},
"required": [
"vnet"
],
"title": "Network"
},
"asgMap": {
"type": "object",
"additionalProperties": false,
"properties": {
"resource_group": { "type": "string", "description": "name of the resource group containing the ASG. Default to the resource group containing azhop resources" },
"names": { "$ref": "#/definitions/asgMappingNames", "description": "list of ASG names mapping to the one defined in az-hop" }
},
"required": [
"resource_group",
"names"
],
"title": "ASG Mapping"
},
"asgMappingNames": {
"type": "object",
"additionalProperties": false,
"properties": {
"asg-ssh": { "type": "string" },
"asg-rdp": { "type": "string" },
"asg-jumpbox": { "type": "string" },
"asg-ad": { "type": "string" },
"asg-ad-client": { "type": "string" },
"asg-lustre-client": { "type": "string" },
"asg-sched": { "type": "string" },
"asg-cyclecloud": { "type": "string" },
"asg-cyclecloud-client": { "type": "string" },
"asg-nfs-client": { "type": "string" },
"asg-telegraf": { "type": "string" },
"asg-grafana": { "type": "string" },
"asg-ondemand": { "type": "string" },
"asg-deployer": { "type": "string" },
"asg-mariadb-client": { "type": "string" }
},
"title": "ASG Mapping Names"
},
"dns": {
"type": "object",
"additionalProperties": false,
"properties": {
"forwarders": {
"type": "array",
"items": {
"$ref": "#/definitions/dnsForwarders"
}
}
},
"required": [ "forwarders" ],
"title": "DNS"
},
"dnsForwarders" : {
"type": "object",
"additionalProperties": false,
"properties": {
"name" : {
"description": "Domain name to be resolved by the forwarder",
"type": "string"
},
"ips" : {
"description": "Comma delimited list of the IP addresses of the forwarder",
"type": "string"
}
},
"required": [ "name", "ips" ],
"title": "DNS Forwarders"
},
"Peering" : {
"type": "object",
"additionalProperties": false,
"properties": {
"vnet_name": {
"description": "VNET Name to Peer to",
"type": "string"
},
"vnet_resource_group": {
"description": "Resource Group of the VNET to peer to",
"type": "string"
},
"vnet_allow_gateway": {
"description": "Allow gateway transit (Optional, default: true)",
"type": "boolean"
}
},
"required": [
"vnet_name",
"vnet_resource_group"
],
"title": "Vnet Peering"
},
"Vnet": {
"type": "object",
"additionalProperties": false,
"properties": {
"name": { "type": "string" },
"id": { "type": "string" },
"address_space": { "type": "string" },
"subnets": { "$ref": "#/definitions/Subnets" },
"tags": { "$ref": "#/definitions/Tags" }
},
"required": [
"subnets"
],
"title": "Vnet"
},
"Subnets": {
"type": "object",
"additionalProperties": false,
"properties": {
"frontend": {
"$ref": "#/definitions/subnetClass"
},
"admin": {
"$ref": "#/definitions/subnetClass"
},
"netapp": {
"$ref": "#/definitions/subnetClass"
},
"ad": {
"$ref": "#/definitions/subnetClass"
},
"compute": {
"$ref": "#/definitions/subnetClass"
},
"bastion": {
"$ref": "#/definitions/subnetClass"
},
"lustre": {