-
Notifications
You must be signed in to change notification settings - Fork 69
/
zz_linuxwebapp_types.go
executable file
·3558 lines (2609 loc) · 199 KB
/
zz_linuxwebapp_types.go
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
// SPDX-FileCopyrightText: 2024 The Crossplane Authors <https://crossplane.io>
//
// SPDX-License-Identifier: Apache-2.0
// Code generated by upjet. DO NOT EDIT.
package v1beta1
import (
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
"k8s.io/apimachinery/pkg/runtime/schema"
v1 "github.com/crossplane/crossplane-runtime/apis/common/v1"
)
type ActionInitParameters struct {
// Predefined action to be taken to an Auto Heal trigger. Possible values include: Recycle.
ActionType *string `json:"actionType,omitempty" tf:"action_type,omitempty"`
// The minimum amount of time in hh:mm:ss the Linux Web App must have been running before the defined action will be run in the event of a trigger.
MinimumProcessExecutionTime *string `json:"minimumProcessExecutionTime,omitempty" tf:"minimum_process_execution_time,omitempty"`
}
type ActionObservation struct {
// Predefined action to be taken to an Auto Heal trigger. Possible values include: Recycle.
ActionType *string `json:"actionType,omitempty" tf:"action_type,omitempty"`
// The minimum amount of time in hh:mm:ss the Linux Web App must have been running before the defined action will be run in the event of a trigger.
MinimumProcessExecutionTime *string `json:"minimumProcessExecutionTime,omitempty" tf:"minimum_process_execution_time,omitempty"`
}
type ActionParameters struct {
// Predefined action to be taken to an Auto Heal trigger. Possible values include: Recycle.
// +kubebuilder:validation:Optional
ActionType *string `json:"actionType" tf:"action_type,omitempty"`
// The minimum amount of time in hh:mm:ss the Linux Web App must have been running before the defined action will be run in the event of a trigger.
// +kubebuilder:validation:Optional
MinimumProcessExecutionTime *string `json:"minimumProcessExecutionTime,omitempty" tf:"minimum_process_execution_time,omitempty"`
}
type ApplicationLogsInitParameters struct {
// A azure_blob_storage_http block as defined below.
AzureBlobStorage []AzureBlobStorageInitParameters `json:"azureBlobStorage,omitempty" tf:"azure_blob_storage,omitempty"`
// Log level. Possible values include: Off, Verbose, Information, Warning, and Error.
FileSystemLevel *string `json:"fileSystemLevel,omitempty" tf:"file_system_level,omitempty"`
}
type ApplicationLogsObservation struct {
// A azure_blob_storage_http block as defined below.
AzureBlobStorage []AzureBlobStorageObservation `json:"azureBlobStorage,omitempty" tf:"azure_blob_storage,omitempty"`
// Log level. Possible values include: Off, Verbose, Information, Warning, and Error.
FileSystemLevel *string `json:"fileSystemLevel,omitempty" tf:"file_system_level,omitempty"`
}
type ApplicationLogsParameters struct {
// A azure_blob_storage_http block as defined below.
// +kubebuilder:validation:Optional
AzureBlobStorage []AzureBlobStorageParameters `json:"azureBlobStorage,omitempty" tf:"azure_blob_storage,omitempty"`
// Log level. Possible values include: Off, Verbose, Information, Warning, and Error.
// +kubebuilder:validation:Optional
FileSystemLevel *string `json:"fileSystemLevel" tf:"file_system_level,omitempty"`
}
type AutoHealSettingInitParameters struct {
// The action to take. Possible values are Allow or Deny. Defaults to Allow.
Action []ActionInitParameters `json:"action,omitempty" tf:"action,omitempty"`
// A trigger block as defined below.
Trigger []TriggerInitParameters `json:"trigger,omitempty" tf:"trigger,omitempty"`
}
type AutoHealSettingObservation struct {
// The action to take. Possible values are Allow or Deny. Defaults to Allow.
Action []ActionObservation `json:"action,omitempty" tf:"action,omitempty"`
// A trigger block as defined below.
Trigger []TriggerObservation `json:"trigger,omitempty" tf:"trigger,omitempty"`
}
type AutoHealSettingParameters struct {
// The action to take. Possible values are Allow or Deny. Defaults to Allow.
// +kubebuilder:validation:Optional
Action []ActionParameters `json:"action,omitempty" tf:"action,omitempty"`
// A trigger block as defined below.
// +kubebuilder:validation:Optional
Trigger []TriggerParameters `json:"trigger,omitempty" tf:"trigger,omitempty"`
}
type AzureBlobStorageInitParameters struct {
// The level at which to log. Possible values include Error, Warning, Information, Verbose and Off. NOTE: this field is not available for http_logs
Level *string `json:"level,omitempty" tf:"level,omitempty"`
// The retention period in days. A value of 0 means no retention.
RetentionInDays *float64 `json:"retentionInDays,omitempty" tf:"retention_in_days,omitempty"`
// SAS url to an Azure blob container with read/write/list/delete permissions.
SASURL *string `json:"sasUrl,omitempty" tf:"sas_url,omitempty"`
}
type AzureBlobStorageObservation struct {
// The level at which to log. Possible values include Error, Warning, Information, Verbose and Off. NOTE: this field is not available for http_logs
Level *string `json:"level,omitempty" tf:"level,omitempty"`
// The retention period in days. A value of 0 means no retention.
RetentionInDays *float64 `json:"retentionInDays,omitempty" tf:"retention_in_days,omitempty"`
// SAS url to an Azure blob container with read/write/list/delete permissions.
SASURL *string `json:"sasUrl,omitempty" tf:"sas_url,omitempty"`
}
type AzureBlobStorageParameters struct {
// The level at which to log. Possible values include Error, Warning, Information, Verbose and Off. NOTE: this field is not available for http_logs
// +kubebuilder:validation:Optional
Level *string `json:"level" tf:"level,omitempty"`
// The retention period in days. A value of 0 means no retention.
// +kubebuilder:validation:Optional
RetentionInDays *float64 `json:"retentionInDays" tf:"retention_in_days,omitempty"`
// SAS url to an Azure blob container with read/write/list/delete permissions.
// +kubebuilder:validation:Optional
SASURL *string `json:"sasUrl" tf:"sas_url,omitempty"`
}
type FileSystemInitParameters struct {
// The retention period in days. A value of 0 means no retention.
RetentionInDays *float64 `json:"retentionInDays,omitempty" tf:"retention_in_days,omitempty"`
// The maximum size in megabytes that log files can use.
RetentionInMb *float64 `json:"retentionInMb,omitempty" tf:"retention_in_mb,omitempty"`
}
type FileSystemObservation struct {
// The retention period in days. A value of 0 means no retention.
RetentionInDays *float64 `json:"retentionInDays,omitempty" tf:"retention_in_days,omitempty"`
// The maximum size in megabytes that log files can use.
RetentionInMb *float64 `json:"retentionInMb,omitempty" tf:"retention_in_mb,omitempty"`
}
type FileSystemParameters struct {
// The retention period in days. A value of 0 means no retention.
// +kubebuilder:validation:Optional
RetentionInDays *float64 `json:"retentionInDays" tf:"retention_in_days,omitempty"`
// The maximum size in megabytes that log files can use.
// +kubebuilder:validation:Optional
RetentionInMb *float64 `json:"retentionInMb" tf:"retention_in_mb,omitempty"`
}
type HTTPLogsAzureBlobStorageInitParameters struct {
// The retention period in days. A value of 0 means no retention.
RetentionInDays *float64 `json:"retentionInDays,omitempty" tf:"retention_in_days,omitempty"`
}
type HTTPLogsAzureBlobStorageObservation struct {
// The retention period in days. A value of 0 means no retention.
RetentionInDays *float64 `json:"retentionInDays,omitempty" tf:"retention_in_days,omitempty"`
}
type HTTPLogsAzureBlobStorageParameters struct {
// The retention period in days. A value of 0 means no retention.
// +kubebuilder:validation:Optional
RetentionInDays *float64 `json:"retentionInDays,omitempty" tf:"retention_in_days,omitempty"`
// SAS url to an Azure blob container with read/write/list/delete permissions.
// +kubebuilder:validation:Required
SASURLSecretRef v1.SecretKeySelector `json:"sasurlSecretRef" tf:"-"`
}
type HTTPLogsInitParameters struct {
// A azure_blob_storage_http block as defined below.
AzureBlobStorage []HTTPLogsAzureBlobStorageInitParameters `json:"azureBlobStorage,omitempty" tf:"azure_blob_storage,omitempty"`
// A file_system block as defined above.
FileSystem []FileSystemInitParameters `json:"fileSystem,omitempty" tf:"file_system,omitempty"`
}
type HTTPLogsObservation struct {
// A azure_blob_storage_http block as defined below.
AzureBlobStorage []HTTPLogsAzureBlobStorageObservation `json:"azureBlobStorage,omitempty" tf:"azure_blob_storage,omitempty"`
// A file_system block as defined above.
FileSystem []FileSystemObservation `json:"fileSystem,omitempty" tf:"file_system,omitempty"`
}
type HTTPLogsParameters struct {
// A azure_blob_storage_http block as defined below.
// +kubebuilder:validation:Optional
AzureBlobStorage []HTTPLogsAzureBlobStorageParameters `json:"azureBlobStorage,omitempty" tf:"azure_blob_storage,omitempty"`
// A file_system block as defined above.
// +kubebuilder:validation:Optional
FileSystem []FileSystemParameters `json:"fileSystem,omitempty" tf:"file_system,omitempty"`
}
type LinuxWebAppAuthSettingsActiveDirectoryInitParameters struct {
// Specifies a list of Allowed Audiences that will be requested as part of Microsoft Sign-In authentication.
// Specifies a list of Allowed audience values to consider when validating JWTs issued by Azure Active Directory.
AllowedAudiences []*string `json:"allowedAudiences,omitempty" tf:"allowed_audiences,omitempty"`
// The OAuth 2.0 client ID that was created for the app used for authentication.
// The ID of the Client to use to authenticate with Azure Active Directory.
ClientID *string `json:"clientId,omitempty" tf:"client_id,omitempty"`
// The app setting name containing the OAuth 2.0 client secret that was created for the app used for authentication.
// The App Setting name that contains the client secret of the Client. Cannot be used with `client_secret`.
ClientSecretSettingName *string `json:"clientSecretSettingName,omitempty" tf:"client_secret_setting_name,omitempty"`
}
type LinuxWebAppAuthSettingsActiveDirectoryObservation struct {
// Specifies a list of Allowed Audiences that will be requested as part of Microsoft Sign-In authentication.
// Specifies a list of Allowed audience values to consider when validating JWTs issued by Azure Active Directory.
AllowedAudiences []*string `json:"allowedAudiences,omitempty" tf:"allowed_audiences,omitempty"`
// The OAuth 2.0 client ID that was created for the app used for authentication.
// The ID of the Client to use to authenticate with Azure Active Directory.
ClientID *string `json:"clientId,omitempty" tf:"client_id,omitempty"`
// The app setting name containing the OAuth 2.0 client secret that was created for the app used for authentication.
// The App Setting name that contains the client secret of the Client. Cannot be used with `client_secret`.
ClientSecretSettingName *string `json:"clientSecretSettingName,omitempty" tf:"client_secret_setting_name,omitempty"`
}
type LinuxWebAppAuthSettingsActiveDirectoryParameters struct {
// Specifies a list of Allowed Audiences that will be requested as part of Microsoft Sign-In authentication.
// Specifies a list of Allowed audience values to consider when validating JWTs issued by Azure Active Directory.
// +kubebuilder:validation:Optional
AllowedAudiences []*string `json:"allowedAudiences,omitempty" tf:"allowed_audiences,omitempty"`
// The OAuth 2.0 client ID that was created for the app used for authentication.
// The ID of the Client to use to authenticate with Azure Active Directory.
// +kubebuilder:validation:Optional
ClientID *string `json:"clientId" tf:"client_id,omitempty"`
// The OAuth 2.0 client secret that was created for the app used for authentication. Cannot be specified with client_secret_setting_name.
// The Client Secret for the Client ID. Cannot be used with `client_secret_setting_name`.
// +kubebuilder:validation:Optional
ClientSecretSecretRef *v1.SecretKeySelector `json:"clientSecretSecretRef,omitempty" tf:"-"`
// The app setting name containing the OAuth 2.0 client secret that was created for the app used for authentication.
// The App Setting name that contains the client secret of the Client. Cannot be used with `client_secret`.
// +kubebuilder:validation:Optional
ClientSecretSettingName *string `json:"clientSecretSettingName,omitempty" tf:"client_secret_setting_name,omitempty"`
}
type LinuxWebAppAuthSettingsFacebookInitParameters struct {
// The App ID of the Facebook app used for login.
// The App ID of the Facebook app used for login.
AppID *string `json:"appId,omitempty" tf:"app_id,omitempty"`
// The app setting name that contains the app_secret value used for Facebook Login.
// The app setting name that contains the `app_secret` value used for Facebook Login. Cannot be specified with `app_secret`.
AppSecretSettingName *string `json:"appSecretSettingName,omitempty" tf:"app_secret_setting_name,omitempty"`
// Specifies a list of OAuth 2.0 scopes that will be requested as part of Microsoft Account authentication. If not specified, "wl.basic" is used as the default scope.
// Specifies a list of OAuth 2.0 scopes to be requested as part of Facebook Login authentication.
OauthScopes []*string `json:"oauthScopes,omitempty" tf:"oauth_scopes,omitempty"`
}
type LinuxWebAppAuthSettingsFacebookObservation struct {
// The App ID of the Facebook app used for login.
// The App ID of the Facebook app used for login.
AppID *string `json:"appId,omitempty" tf:"app_id,omitempty"`
// The app setting name that contains the app_secret value used for Facebook Login.
// The app setting name that contains the `app_secret` value used for Facebook Login. Cannot be specified with `app_secret`.
AppSecretSettingName *string `json:"appSecretSettingName,omitempty" tf:"app_secret_setting_name,omitempty"`
// Specifies a list of OAuth 2.0 scopes that will be requested as part of Microsoft Account authentication. If not specified, "wl.basic" is used as the default scope.
// Specifies a list of OAuth 2.0 scopes to be requested as part of Facebook Login authentication.
OauthScopes []*string `json:"oauthScopes,omitempty" tf:"oauth_scopes,omitempty"`
}
type LinuxWebAppAuthSettingsFacebookParameters struct {
// The App ID of the Facebook app used for login.
// The App ID of the Facebook app used for login.
// +kubebuilder:validation:Optional
AppID *string `json:"appId" tf:"app_id,omitempty"`
// The App Secret of the Facebook app used for Facebook login. Cannot be specified with app_secret_setting_name.
// The App Secret of the Facebook app used for Facebook Login. Cannot be specified with `app_secret_setting_name`.
// +kubebuilder:validation:Optional
AppSecretSecretRef *v1.SecretKeySelector `json:"appSecretSecretRef,omitempty" tf:"-"`
// The app setting name that contains the app_secret value used for Facebook Login.
// The app setting name that contains the `app_secret` value used for Facebook Login. Cannot be specified with `app_secret`.
// +kubebuilder:validation:Optional
AppSecretSettingName *string `json:"appSecretSettingName,omitempty" tf:"app_secret_setting_name,omitempty"`
// Specifies a list of OAuth 2.0 scopes that will be requested as part of Microsoft Account authentication. If not specified, "wl.basic" is used as the default scope.
// Specifies a list of OAuth 2.0 scopes to be requested as part of Facebook Login authentication.
// +kubebuilder:validation:Optional
OauthScopes []*string `json:"oauthScopes,omitempty" tf:"oauth_scopes,omitempty"`
}
type LinuxWebAppAuthSettingsGithubInitParameters struct {
// The OAuth 2.0 client ID that was created for the app used for authentication.
// The ID of the GitHub app used for login.
ClientID *string `json:"clientId,omitempty" tf:"client_id,omitempty"`
// The app setting name containing the OAuth 2.0 client secret that was created for the app used for authentication.
// The app setting name that contains the `client_secret` value used for GitHub Login. Cannot be specified with `client_secret`.
ClientSecretSettingName *string `json:"clientSecretSettingName,omitempty" tf:"client_secret_setting_name,omitempty"`
// Specifies a list of OAuth 2.0 scopes that will be requested as part of Microsoft Account authentication. If not specified, "wl.basic" is used as the default scope.
// Specifies a list of OAuth 2.0 scopes that will be requested as part of GitHub Login authentication.
OauthScopes []*string `json:"oauthScopes,omitempty" tf:"oauth_scopes,omitempty"`
}
type LinuxWebAppAuthSettingsGithubObservation struct {
// The OAuth 2.0 client ID that was created for the app used for authentication.
// The ID of the GitHub app used for login.
ClientID *string `json:"clientId,omitempty" tf:"client_id,omitempty"`
// The app setting name containing the OAuth 2.0 client secret that was created for the app used for authentication.
// The app setting name that contains the `client_secret` value used for GitHub Login. Cannot be specified with `client_secret`.
ClientSecretSettingName *string `json:"clientSecretSettingName,omitempty" tf:"client_secret_setting_name,omitempty"`
// Specifies a list of OAuth 2.0 scopes that will be requested as part of Microsoft Account authentication. If not specified, "wl.basic" is used as the default scope.
// Specifies a list of OAuth 2.0 scopes that will be requested as part of GitHub Login authentication.
OauthScopes []*string `json:"oauthScopes,omitempty" tf:"oauth_scopes,omitempty"`
}
type LinuxWebAppAuthSettingsGithubParameters struct {
// The OAuth 2.0 client ID that was created for the app used for authentication.
// The ID of the GitHub app used for login.
// +kubebuilder:validation:Optional
ClientID *string `json:"clientId" tf:"client_id,omitempty"`
// The OAuth 2.0 client secret that was created for the app used for authentication. Cannot be specified with client_secret_setting_name.
// The Client Secret of the GitHub app used for GitHub Login. Cannot be specified with `client_secret_setting_name`.
// +kubebuilder:validation:Optional
ClientSecretSecretRef *v1.SecretKeySelector `json:"clientSecretSecretRef,omitempty" tf:"-"`
// The app setting name containing the OAuth 2.0 client secret that was created for the app used for authentication.
// The app setting name that contains the `client_secret` value used for GitHub Login. Cannot be specified with `client_secret`.
// +kubebuilder:validation:Optional
ClientSecretSettingName *string `json:"clientSecretSettingName,omitempty" tf:"client_secret_setting_name,omitempty"`
// Specifies a list of OAuth 2.0 scopes that will be requested as part of Microsoft Account authentication. If not specified, "wl.basic" is used as the default scope.
// Specifies a list of OAuth 2.0 scopes that will be requested as part of GitHub Login authentication.
// +kubebuilder:validation:Optional
OauthScopes []*string `json:"oauthScopes,omitempty" tf:"oauth_scopes,omitempty"`
}
type LinuxWebAppAuthSettingsGoogleInitParameters struct {
// The OAuth 2.0 client ID that was created for the app used for authentication.
// The OpenID Connect Client ID for the Google web application.
ClientID *string `json:"clientId,omitempty" tf:"client_id,omitempty"`
// The app setting name containing the OAuth 2.0 client secret that was created for the app used for authentication.
// The app setting name that contains the `client_secret` value used for Google Login. Cannot be specified with `client_secret`.
ClientSecretSettingName *string `json:"clientSecretSettingName,omitempty" tf:"client_secret_setting_name,omitempty"`
// Specifies a list of OAuth 2.0 scopes that will be requested as part of Microsoft Account authentication. If not specified, "wl.basic" is used as the default scope.
// Specifies a list of OAuth 2.0 scopes that will be requested as part of Google Sign-In authentication. If not specified, "openid", "profile", and "email" are used as default scopes.
OauthScopes []*string `json:"oauthScopes,omitempty" tf:"oauth_scopes,omitempty"`
}
type LinuxWebAppAuthSettingsGoogleObservation struct {
// The OAuth 2.0 client ID that was created for the app used for authentication.
// The OpenID Connect Client ID for the Google web application.
ClientID *string `json:"clientId,omitempty" tf:"client_id,omitempty"`
// The app setting name containing the OAuth 2.0 client secret that was created for the app used for authentication.
// The app setting name that contains the `client_secret` value used for Google Login. Cannot be specified with `client_secret`.
ClientSecretSettingName *string `json:"clientSecretSettingName,omitempty" tf:"client_secret_setting_name,omitempty"`
// Specifies a list of OAuth 2.0 scopes that will be requested as part of Microsoft Account authentication. If not specified, "wl.basic" is used as the default scope.
// Specifies a list of OAuth 2.0 scopes that will be requested as part of Google Sign-In authentication. If not specified, "openid", "profile", and "email" are used as default scopes.
OauthScopes []*string `json:"oauthScopes,omitempty" tf:"oauth_scopes,omitempty"`
}
type LinuxWebAppAuthSettingsGoogleParameters struct {
// The OAuth 2.0 client ID that was created for the app used for authentication.
// The OpenID Connect Client ID for the Google web application.
// +kubebuilder:validation:Optional
ClientID *string `json:"clientId" tf:"client_id,omitempty"`
// The OAuth 2.0 client secret that was created for the app used for authentication. Cannot be specified with client_secret_setting_name.
// The client secret associated with the Google web application. Cannot be specified with `client_secret_setting_name`.
// +kubebuilder:validation:Optional
ClientSecretSecretRef *v1.SecretKeySelector `json:"clientSecretSecretRef,omitempty" tf:"-"`
// The app setting name containing the OAuth 2.0 client secret that was created for the app used for authentication.
// The app setting name that contains the `client_secret` value used for Google Login. Cannot be specified with `client_secret`.
// +kubebuilder:validation:Optional
ClientSecretSettingName *string `json:"clientSecretSettingName,omitempty" tf:"client_secret_setting_name,omitempty"`
// Specifies a list of OAuth 2.0 scopes that will be requested as part of Microsoft Account authentication. If not specified, "wl.basic" is used as the default scope.
// Specifies a list of OAuth 2.0 scopes that will be requested as part of Google Sign-In authentication. If not specified, "openid", "profile", and "email" are used as default scopes.
// +kubebuilder:validation:Optional
OauthScopes []*string `json:"oauthScopes,omitempty" tf:"oauth_scopes,omitempty"`
}
type LinuxWebAppAuthSettingsInitParameters struct {
// An active_directory block as defined above.
ActiveDirectory []LinuxWebAppAuthSettingsActiveDirectoryInitParameters `json:"activeDirectory,omitempty" tf:"active_directory,omitempty"`
// Specifies a map of login Parameters to send to the OpenID Connect authorization endpoint when a user logs in.
// Specifies a map of Login Parameters to send to the OpenID Connect authorization endpoint when a user logs in.
// +mapType=granular
AdditionalLoginParameters map[string]*string `json:"additionalLoginParameters,omitempty" tf:"additional_login_parameters,omitempty"`
// Specifies a list of External URLs that can be redirected to as part of logging in or logging out of the Linux Web App.
// Specifies a list of External URLs that can be redirected to as part of logging in or logging out of the Windows Web App.
AllowedExternalRedirectUrls []*string `json:"allowedExternalRedirectUrls,omitempty" tf:"allowed_external_redirect_urls,omitempty"`
// The default authentication provider to use when multiple providers are configured. Possible values include: BuiltInAuthenticationProviderAzureActiveDirectory, BuiltInAuthenticationProviderFacebook, BuiltInAuthenticationProviderGoogle, BuiltInAuthenticationProviderMicrosoftAccount, BuiltInAuthenticationProviderTwitter, BuiltInAuthenticationProviderGithub
// The default authentication provider to use when multiple providers are configured. Possible values include: `AzureActiveDirectory`, `Facebook`, `Google`, `MicrosoftAccount`, `Twitter`, `Github`.
DefaultProvider *string `json:"defaultProvider,omitempty" tf:"default_provider,omitempty"`
// Should the Authentication / Authorization feature be enabled for the Linux Web App?
// Should the Authentication / Authorization feature be enabled?
Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"`
// A facebook block as defined below.
Facebook []LinuxWebAppAuthSettingsFacebookInitParameters `json:"facebook,omitempty" tf:"facebook,omitempty"`
// A github block as defined below.
Github []LinuxWebAppAuthSettingsGithubInitParameters `json:"github,omitempty" tf:"github,omitempty"`
// A google block as defined below.
Google []LinuxWebAppAuthSettingsGoogleInitParameters `json:"google,omitempty" tf:"google,omitempty"`
// The OpenID Connect Issuer URI that represents the entity that issues access tokens for this Linux Web App.
// The OpenID Connect Issuer URI that represents the entity which issues access tokens.
Issuer *string `json:"issuer,omitempty" tf:"issuer,omitempty"`
// A microsoft block as defined below.
Microsoft []LinuxWebAppAuthSettingsMicrosoftInitParameters `json:"microsoft,omitempty" tf:"microsoft,omitempty"`
// The RuntimeVersion of the Authentication / Authorization feature in use for the Linux Web App.
// The RuntimeVersion of the Authentication / Authorization feature in use.
RuntimeVersion *string `json:"runtimeVersion,omitempty" tf:"runtime_version,omitempty"`
// The number of hours after session token expiration that a session token can be used to call the token refresh API. Defaults to 72 hours.
// The number of hours after session token expiration that a session token can be used to call the token refresh API. Defaults to `72` hours.
TokenRefreshExtensionHours *float64 `json:"tokenRefreshExtensionHours,omitempty" tf:"token_refresh_extension_hours,omitempty"`
// Should the Linux Web App durably store platform-specific security tokens that are obtained during login flows? Defaults to false.
// Should the Windows Web App durably store platform-specific security tokens that are obtained during login flows? Defaults to `false`.
TokenStoreEnabled *bool `json:"tokenStoreEnabled,omitempty" tf:"token_store_enabled,omitempty"`
// A twitter block as defined below.
Twitter []LinuxWebAppAuthSettingsTwitterInitParameters `json:"twitter,omitempty" tf:"twitter,omitempty"`
// The action to take when an unauthenticated client attempts to access the app. Possible values include: RedirectToLoginPage, AllowAnonymous.
// The action to take when an unauthenticated client attempts to access the app. Possible values include: `RedirectToLoginPage`, `AllowAnonymous`.
UnauthenticatedClientAction *string `json:"unauthenticatedClientAction,omitempty" tf:"unauthenticated_client_action,omitempty"`
}
type LinuxWebAppAuthSettingsMicrosoftInitParameters struct {
// The OAuth 2.0 client ID that was created for the app used for authentication.
// The OAuth 2.0 client ID that was created for the app used for authentication.
ClientID *string `json:"clientId,omitempty" tf:"client_id,omitempty"`
// The app setting name containing the OAuth 2.0 client secret that was created for the app used for authentication.
// The app setting name containing the OAuth 2.0 client secret that was created for the app used for authentication. Cannot be specified with `client_secret`.
ClientSecretSettingName *string `json:"clientSecretSettingName,omitempty" tf:"client_secret_setting_name,omitempty"`
// Specifies a list of OAuth 2.0 scopes that will be requested as part of Microsoft Account authentication. If not specified, "wl.basic" is used as the default scope.
// The list of OAuth 2.0 scopes that will be requested as part of Microsoft Account authentication. If not specified, `wl.basic` is used as the default scope.
OauthScopes []*string `json:"oauthScopes,omitempty" tf:"oauth_scopes,omitempty"`
}
type LinuxWebAppAuthSettingsMicrosoftObservation struct {
// The OAuth 2.0 client ID that was created for the app used for authentication.
// The OAuth 2.0 client ID that was created for the app used for authentication.
ClientID *string `json:"clientId,omitempty" tf:"client_id,omitempty"`
// The app setting name containing the OAuth 2.0 client secret that was created for the app used for authentication.
// The app setting name containing the OAuth 2.0 client secret that was created for the app used for authentication. Cannot be specified with `client_secret`.
ClientSecretSettingName *string `json:"clientSecretSettingName,omitempty" tf:"client_secret_setting_name,omitempty"`
// Specifies a list of OAuth 2.0 scopes that will be requested as part of Microsoft Account authentication. If not specified, "wl.basic" is used as the default scope.
// The list of OAuth 2.0 scopes that will be requested as part of Microsoft Account authentication. If not specified, `wl.basic` is used as the default scope.
OauthScopes []*string `json:"oauthScopes,omitempty" tf:"oauth_scopes,omitempty"`
}
type LinuxWebAppAuthSettingsMicrosoftParameters struct {
// The OAuth 2.0 client ID that was created for the app used for authentication.
// The OAuth 2.0 client ID that was created for the app used for authentication.
// +kubebuilder:validation:Optional
ClientID *string `json:"clientId" tf:"client_id,omitempty"`
// The OAuth 2.0 client secret that was created for the app used for authentication. Cannot be specified with client_secret_setting_name.
// The OAuth 2.0 client secret that was created for the app used for authentication. Cannot be specified with `client_secret_setting_name`.
// +kubebuilder:validation:Optional
ClientSecretSecretRef *v1.SecretKeySelector `json:"clientSecretSecretRef,omitempty" tf:"-"`
// The app setting name containing the OAuth 2.0 client secret that was created for the app used for authentication.
// The app setting name containing the OAuth 2.0 client secret that was created for the app used for authentication. Cannot be specified with `client_secret`.
// +kubebuilder:validation:Optional
ClientSecretSettingName *string `json:"clientSecretSettingName,omitempty" tf:"client_secret_setting_name,omitempty"`
// Specifies a list of OAuth 2.0 scopes that will be requested as part of Microsoft Account authentication. If not specified, "wl.basic" is used as the default scope.
// The list of OAuth 2.0 scopes that will be requested as part of Microsoft Account authentication. If not specified, `wl.basic` is used as the default scope.
// +kubebuilder:validation:Optional
OauthScopes []*string `json:"oauthScopes,omitempty" tf:"oauth_scopes,omitempty"`
}
type LinuxWebAppAuthSettingsObservation struct {
// An active_directory block as defined above.
ActiveDirectory []LinuxWebAppAuthSettingsActiveDirectoryObservation `json:"activeDirectory,omitempty" tf:"active_directory,omitempty"`
// Specifies a map of login Parameters to send to the OpenID Connect authorization endpoint when a user logs in.
// Specifies a map of Login Parameters to send to the OpenID Connect authorization endpoint when a user logs in.
// +mapType=granular
AdditionalLoginParameters map[string]*string `json:"additionalLoginParameters,omitempty" tf:"additional_login_parameters,omitempty"`
// Specifies a list of External URLs that can be redirected to as part of logging in or logging out of the Linux Web App.
// Specifies a list of External URLs that can be redirected to as part of logging in or logging out of the Windows Web App.
AllowedExternalRedirectUrls []*string `json:"allowedExternalRedirectUrls,omitempty" tf:"allowed_external_redirect_urls,omitempty"`
// The default authentication provider to use when multiple providers are configured. Possible values include: BuiltInAuthenticationProviderAzureActiveDirectory, BuiltInAuthenticationProviderFacebook, BuiltInAuthenticationProviderGoogle, BuiltInAuthenticationProviderMicrosoftAccount, BuiltInAuthenticationProviderTwitter, BuiltInAuthenticationProviderGithub
// The default authentication provider to use when multiple providers are configured. Possible values include: `AzureActiveDirectory`, `Facebook`, `Google`, `MicrosoftAccount`, `Twitter`, `Github`.
DefaultProvider *string `json:"defaultProvider,omitempty" tf:"default_provider,omitempty"`
// Should the Authentication / Authorization feature be enabled for the Linux Web App?
// Should the Authentication / Authorization feature be enabled?
Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"`
// A facebook block as defined below.
Facebook []LinuxWebAppAuthSettingsFacebookObservation `json:"facebook,omitempty" tf:"facebook,omitempty"`
// A github block as defined below.
Github []LinuxWebAppAuthSettingsGithubObservation `json:"github,omitempty" tf:"github,omitempty"`
// A google block as defined below.
Google []LinuxWebAppAuthSettingsGoogleObservation `json:"google,omitempty" tf:"google,omitempty"`
// The OpenID Connect Issuer URI that represents the entity that issues access tokens for this Linux Web App.
// The OpenID Connect Issuer URI that represents the entity which issues access tokens.
Issuer *string `json:"issuer,omitempty" tf:"issuer,omitempty"`
// A microsoft block as defined below.
Microsoft []LinuxWebAppAuthSettingsMicrosoftObservation `json:"microsoft,omitempty" tf:"microsoft,omitempty"`
// The RuntimeVersion of the Authentication / Authorization feature in use for the Linux Web App.
// The RuntimeVersion of the Authentication / Authorization feature in use.
RuntimeVersion *string `json:"runtimeVersion,omitempty" tf:"runtime_version,omitempty"`
// The number of hours after session token expiration that a session token can be used to call the token refresh API. Defaults to 72 hours.
// The number of hours after session token expiration that a session token can be used to call the token refresh API. Defaults to `72` hours.
TokenRefreshExtensionHours *float64 `json:"tokenRefreshExtensionHours,omitempty" tf:"token_refresh_extension_hours,omitempty"`
// Should the Linux Web App durably store platform-specific security tokens that are obtained during login flows? Defaults to false.
// Should the Windows Web App durably store platform-specific security tokens that are obtained during login flows? Defaults to `false`.
TokenStoreEnabled *bool `json:"tokenStoreEnabled,omitempty" tf:"token_store_enabled,omitempty"`
// A twitter block as defined below.
Twitter []LinuxWebAppAuthSettingsTwitterObservation `json:"twitter,omitempty" tf:"twitter,omitempty"`
// The action to take when an unauthenticated client attempts to access the app. Possible values include: RedirectToLoginPage, AllowAnonymous.
// The action to take when an unauthenticated client attempts to access the app. Possible values include: `RedirectToLoginPage`, `AllowAnonymous`.
UnauthenticatedClientAction *string `json:"unauthenticatedClientAction,omitempty" tf:"unauthenticated_client_action,omitempty"`
}
type LinuxWebAppAuthSettingsParameters struct {
// An active_directory block as defined above.
// +kubebuilder:validation:Optional
ActiveDirectory []LinuxWebAppAuthSettingsActiveDirectoryParameters `json:"activeDirectory,omitempty" tf:"active_directory,omitempty"`
// Specifies a map of login Parameters to send to the OpenID Connect authorization endpoint when a user logs in.
// Specifies a map of Login Parameters to send to the OpenID Connect authorization endpoint when a user logs in.
// +kubebuilder:validation:Optional
// +mapType=granular
AdditionalLoginParameters map[string]*string `json:"additionalLoginParameters,omitempty" tf:"additional_login_parameters,omitempty"`
// Specifies a list of External URLs that can be redirected to as part of logging in or logging out of the Linux Web App.
// Specifies a list of External URLs that can be redirected to as part of logging in or logging out of the Windows Web App.
// +kubebuilder:validation:Optional
AllowedExternalRedirectUrls []*string `json:"allowedExternalRedirectUrls,omitempty" tf:"allowed_external_redirect_urls,omitempty"`
// The default authentication provider to use when multiple providers are configured. Possible values include: BuiltInAuthenticationProviderAzureActiveDirectory, BuiltInAuthenticationProviderFacebook, BuiltInAuthenticationProviderGoogle, BuiltInAuthenticationProviderMicrosoftAccount, BuiltInAuthenticationProviderTwitter, BuiltInAuthenticationProviderGithub
// The default authentication provider to use when multiple providers are configured. Possible values include: `AzureActiveDirectory`, `Facebook`, `Google`, `MicrosoftAccount`, `Twitter`, `Github`.
// +kubebuilder:validation:Optional
DefaultProvider *string `json:"defaultProvider,omitempty" tf:"default_provider,omitempty"`
// Should the Authentication / Authorization feature be enabled for the Linux Web App?
// Should the Authentication / Authorization feature be enabled?
// +kubebuilder:validation:Optional
Enabled *bool `json:"enabled" tf:"enabled,omitempty"`
// A facebook block as defined below.
// +kubebuilder:validation:Optional
Facebook []LinuxWebAppAuthSettingsFacebookParameters `json:"facebook,omitempty" tf:"facebook,omitempty"`
// A github block as defined below.
// +kubebuilder:validation:Optional
Github []LinuxWebAppAuthSettingsGithubParameters `json:"github,omitempty" tf:"github,omitempty"`
// A google block as defined below.
// +kubebuilder:validation:Optional
Google []LinuxWebAppAuthSettingsGoogleParameters `json:"google,omitempty" tf:"google,omitempty"`
// The OpenID Connect Issuer URI that represents the entity that issues access tokens for this Linux Web App.
// The OpenID Connect Issuer URI that represents the entity which issues access tokens.
// +kubebuilder:validation:Optional
Issuer *string `json:"issuer,omitempty" tf:"issuer,omitempty"`
// A microsoft block as defined below.
// +kubebuilder:validation:Optional
Microsoft []LinuxWebAppAuthSettingsMicrosoftParameters `json:"microsoft,omitempty" tf:"microsoft,omitempty"`
// The RuntimeVersion of the Authentication / Authorization feature in use for the Linux Web App.
// The RuntimeVersion of the Authentication / Authorization feature in use.
// +kubebuilder:validation:Optional
RuntimeVersion *string `json:"runtimeVersion,omitempty" tf:"runtime_version,omitempty"`
// The number of hours after session token expiration that a session token can be used to call the token refresh API. Defaults to 72 hours.
// The number of hours after session token expiration that a session token can be used to call the token refresh API. Defaults to `72` hours.
// +kubebuilder:validation:Optional
TokenRefreshExtensionHours *float64 `json:"tokenRefreshExtensionHours,omitempty" tf:"token_refresh_extension_hours,omitempty"`
// Should the Linux Web App durably store platform-specific security tokens that are obtained during login flows? Defaults to false.
// Should the Windows Web App durably store platform-specific security tokens that are obtained during login flows? Defaults to `false`.
// +kubebuilder:validation:Optional
TokenStoreEnabled *bool `json:"tokenStoreEnabled,omitempty" tf:"token_store_enabled,omitempty"`
// A twitter block as defined below.
// +kubebuilder:validation:Optional
Twitter []LinuxWebAppAuthSettingsTwitterParameters `json:"twitter,omitempty" tf:"twitter,omitempty"`
// The action to take when an unauthenticated client attempts to access the app. Possible values include: RedirectToLoginPage, AllowAnonymous.
// The action to take when an unauthenticated client attempts to access the app. Possible values include: `RedirectToLoginPage`, `AllowAnonymous`.
// +kubebuilder:validation:Optional
UnauthenticatedClientAction *string `json:"unauthenticatedClientAction,omitempty" tf:"unauthenticated_client_action,omitempty"`
}
type LinuxWebAppAuthSettingsTwitterInitParameters struct {
// The OAuth 1.0a consumer key of the Twitter application used for sign-in.
// The OAuth 1.0a consumer key of the Twitter application used for sign-in.
ConsumerKey *string `json:"consumerKey,omitempty" tf:"consumer_key,omitempty"`
// The app setting name that contains the OAuth 1.0a consumer secret of the Twitter application used for sign-in.
// The app setting name that contains the OAuth 1.0a consumer secret of the Twitter application used for sign-in. Cannot be specified with `consumer_secret`.
ConsumerSecretSettingName *string `json:"consumerSecretSettingName,omitempty" tf:"consumer_secret_setting_name,omitempty"`
}
type LinuxWebAppAuthSettingsTwitterObservation struct {
// The OAuth 1.0a consumer key of the Twitter application used for sign-in.
// The OAuth 1.0a consumer key of the Twitter application used for sign-in.
ConsumerKey *string `json:"consumerKey,omitempty" tf:"consumer_key,omitempty"`
// The app setting name that contains the OAuth 1.0a consumer secret of the Twitter application used for sign-in.
// The app setting name that contains the OAuth 1.0a consumer secret of the Twitter application used for sign-in. Cannot be specified with `consumer_secret`.
ConsumerSecretSettingName *string `json:"consumerSecretSettingName,omitempty" tf:"consumer_secret_setting_name,omitempty"`
}
type LinuxWebAppAuthSettingsTwitterParameters struct {
// The OAuth 1.0a consumer key of the Twitter application used for sign-in.
// The OAuth 1.0a consumer key of the Twitter application used for sign-in.
// +kubebuilder:validation:Optional
ConsumerKey *string `json:"consumerKey" tf:"consumer_key,omitempty"`
// The OAuth 1.0a consumer secret of the Twitter application used for sign-in. Cannot be specified with consumer_secret_setting_name.
// The OAuth 1.0a consumer secret of the Twitter application used for sign-in. Cannot be specified with `consumer_secret_setting_name`.
// +kubebuilder:validation:Optional
ConsumerSecretSecretRef *v1.SecretKeySelector `json:"consumerSecretSecretRef,omitempty" tf:"-"`
// The app setting name that contains the OAuth 1.0a consumer secret of the Twitter application used for sign-in.
// The app setting name that contains the OAuth 1.0a consumer secret of the Twitter application used for sign-in. Cannot be specified with `consumer_secret`.
// +kubebuilder:validation:Optional
ConsumerSecretSettingName *string `json:"consumerSecretSettingName,omitempty" tf:"consumer_secret_setting_name,omitempty"`
}
type LinuxWebAppAuthSettingsV2ActiveDirectoryV2InitParameters struct {
// The list of allowed Applications for the Default Authorisation Policy.
// The list of allowed Applications for the Default Authorisation Policy.
AllowedApplications []*string `json:"allowedApplications,omitempty" tf:"allowed_applications,omitempty"`
// Specifies a list of Allowed Audiences that will be requested as part of Microsoft Sign-In authentication.
// Specifies a list of Allowed audience values to consider when validating JWTs issued by Azure Active Directory.
AllowedAudiences []*string `json:"allowedAudiences,omitempty" tf:"allowed_audiences,omitempty"`
// The list of allowed Group Names for the Default Authorisation Policy.
// The list of allowed Group Names for the Default Authorisation Policy.
AllowedGroups []*string `json:"allowedGroups,omitempty" tf:"allowed_groups,omitempty"`
// The list of allowed Identities for the Default Authorisation Policy.
// The list of allowed Identities for the Default Authorisation Policy.
AllowedIdentities []*string `json:"allowedIdentities,omitempty" tf:"allowed_identities,omitempty"`
// The OAuth 2.0 client ID that was created for the app used for authentication.
// The ID of the Client to use to authenticate with Azure Active Directory.
ClientID *string `json:"clientId,omitempty" tf:"client_id,omitempty"`
// The thumbprint of the certificate used for signing purposes.
// The thumbprint of the certificate used for signing purposes.
ClientSecretCertificateThumbprint *string `json:"clientSecretCertificateThumbprint,omitempty" tf:"client_secret_certificate_thumbprint,omitempty"`
// The app setting name containing the OAuth 2.0 client secret that was created for the app used for authentication.
// The App Setting name that contains the client secret of the Client.
ClientSecretSettingName *string `json:"clientSecretSettingName,omitempty" tf:"client_secret_setting_name,omitempty"`
// A list of Allowed Client Applications in the JWT Claim.
// A list of Allowed Client Applications in the JWT Claim.
JwtAllowedClientApplications []*string `json:"jwtAllowedClientApplications,omitempty" tf:"jwt_allowed_client_applications,omitempty"`
// A list of Allowed Groups in the JWT Claim.
// A list of Allowed Groups in the JWT Claim.
JwtAllowedGroups []*string `json:"jwtAllowedGroups,omitempty" tf:"jwt_allowed_groups,omitempty"`
// A map of key-value pairs to send to the Authorisation Endpoint when a user logs in.
// A map of key-value pairs to send to the Authorisation Endpoint when a user logs in.
// +mapType=granular
LoginParameters map[string]*string `json:"loginParameters,omitempty" tf:"login_parameters,omitempty"`
// The Azure Tenant Endpoint for the Authenticating Tenant. e.g. https://login.microsoftonline.com/v2.0/{tenant-guid}/
// The Azure Tenant Endpoint for the Authenticating Tenant. e.g. `https://login.microsoftonline.com/v2.0/{tenant-guid}/`.
TenantAuthEndpoint *string `json:"tenantAuthEndpoint,omitempty" tf:"tenant_auth_endpoint,omitempty"`
// Should the www-authenticate provider should be omitted from the request? Defaults to false.
// Should the www-authenticate provider should be omitted from the request? Defaults to `false`
WwwAuthenticationDisabled *bool `json:"wwwAuthenticationDisabled,omitempty" tf:"www_authentication_disabled,omitempty"`
}
type LinuxWebAppAuthSettingsV2ActiveDirectoryV2Observation struct {
// The list of allowed Applications for the Default Authorisation Policy.
// The list of allowed Applications for the Default Authorisation Policy.
AllowedApplications []*string `json:"allowedApplications,omitempty" tf:"allowed_applications,omitempty"`
// Specifies a list of Allowed Audiences that will be requested as part of Microsoft Sign-In authentication.
// Specifies a list of Allowed audience values to consider when validating JWTs issued by Azure Active Directory.
AllowedAudiences []*string `json:"allowedAudiences,omitempty" tf:"allowed_audiences,omitempty"`
// The list of allowed Group Names for the Default Authorisation Policy.
// The list of allowed Group Names for the Default Authorisation Policy.
AllowedGroups []*string `json:"allowedGroups,omitempty" tf:"allowed_groups,omitempty"`
// The list of allowed Identities for the Default Authorisation Policy.
// The list of allowed Identities for the Default Authorisation Policy.
AllowedIdentities []*string `json:"allowedIdentities,omitempty" tf:"allowed_identities,omitempty"`
// The OAuth 2.0 client ID that was created for the app used for authentication.
// The ID of the Client to use to authenticate with Azure Active Directory.
ClientID *string `json:"clientId,omitempty" tf:"client_id,omitempty"`
// The thumbprint of the certificate used for signing purposes.
// The thumbprint of the certificate used for signing purposes.
ClientSecretCertificateThumbprint *string `json:"clientSecretCertificateThumbprint,omitempty" tf:"client_secret_certificate_thumbprint,omitempty"`
// The app setting name containing the OAuth 2.0 client secret that was created for the app used for authentication.
// The App Setting name that contains the client secret of the Client.
ClientSecretSettingName *string `json:"clientSecretSettingName,omitempty" tf:"client_secret_setting_name,omitempty"`
// A list of Allowed Client Applications in the JWT Claim.
// A list of Allowed Client Applications in the JWT Claim.
JwtAllowedClientApplications []*string `json:"jwtAllowedClientApplications,omitempty" tf:"jwt_allowed_client_applications,omitempty"`
// A list of Allowed Groups in the JWT Claim.
// A list of Allowed Groups in the JWT Claim.
JwtAllowedGroups []*string `json:"jwtAllowedGroups,omitempty" tf:"jwt_allowed_groups,omitempty"`
// A map of key-value pairs to send to the Authorisation Endpoint when a user logs in.
// A map of key-value pairs to send to the Authorisation Endpoint when a user logs in.
// +mapType=granular
LoginParameters map[string]*string `json:"loginParameters,omitempty" tf:"login_parameters,omitempty"`
// The Azure Tenant Endpoint for the Authenticating Tenant. e.g. https://login.microsoftonline.com/v2.0/{tenant-guid}/
// The Azure Tenant Endpoint for the Authenticating Tenant. e.g. `https://login.microsoftonline.com/v2.0/{tenant-guid}/`.
TenantAuthEndpoint *string `json:"tenantAuthEndpoint,omitempty" tf:"tenant_auth_endpoint,omitempty"`
// Should the www-authenticate provider should be omitted from the request? Defaults to false.
// Should the www-authenticate provider should be omitted from the request? Defaults to `false`
WwwAuthenticationDisabled *bool `json:"wwwAuthenticationDisabled,omitempty" tf:"www_authentication_disabled,omitempty"`
}
type LinuxWebAppAuthSettingsV2ActiveDirectoryV2Parameters struct {
// The list of allowed Applications for the Default Authorisation Policy.
// The list of allowed Applications for the Default Authorisation Policy.
// +kubebuilder:validation:Optional
AllowedApplications []*string `json:"allowedApplications,omitempty" tf:"allowed_applications,omitempty"`
// Specifies a list of Allowed Audiences that will be requested as part of Microsoft Sign-In authentication.
// Specifies a list of Allowed audience values to consider when validating JWTs issued by Azure Active Directory.
// +kubebuilder:validation:Optional
AllowedAudiences []*string `json:"allowedAudiences,omitempty" tf:"allowed_audiences,omitempty"`
// The list of allowed Group Names for the Default Authorisation Policy.
// The list of allowed Group Names for the Default Authorisation Policy.
// +kubebuilder:validation:Optional
AllowedGroups []*string `json:"allowedGroups,omitempty" tf:"allowed_groups,omitempty"`
// The list of allowed Identities for the Default Authorisation Policy.
// The list of allowed Identities for the Default Authorisation Policy.
// +kubebuilder:validation:Optional
AllowedIdentities []*string `json:"allowedIdentities,omitempty" tf:"allowed_identities,omitempty"`
// The OAuth 2.0 client ID that was created for the app used for authentication.
// The ID of the Client to use to authenticate with Azure Active Directory.
// +kubebuilder:validation:Optional
ClientID *string `json:"clientId" tf:"client_id,omitempty"`
// The thumbprint of the certificate used for signing purposes.
// The thumbprint of the certificate used for signing purposes.
// +kubebuilder:validation:Optional
ClientSecretCertificateThumbprint *string `json:"clientSecretCertificateThumbprint,omitempty" tf:"client_secret_certificate_thumbprint,omitempty"`
// The app setting name containing the OAuth 2.0 client secret that was created for the app used for authentication.
// The App Setting name that contains the client secret of the Client.
// +kubebuilder:validation:Optional
ClientSecretSettingName *string `json:"clientSecretSettingName,omitempty" tf:"client_secret_setting_name,omitempty"`
// A list of Allowed Client Applications in the JWT Claim.
// A list of Allowed Client Applications in the JWT Claim.
// +kubebuilder:validation:Optional
JwtAllowedClientApplications []*string `json:"jwtAllowedClientApplications,omitempty" tf:"jwt_allowed_client_applications,omitempty"`
// A list of Allowed Groups in the JWT Claim.
// A list of Allowed Groups in the JWT Claim.
// +kubebuilder:validation:Optional
JwtAllowedGroups []*string `json:"jwtAllowedGroups,omitempty" tf:"jwt_allowed_groups,omitempty"`
// A map of key-value pairs to send to the Authorisation Endpoint when a user logs in.
// A map of key-value pairs to send to the Authorisation Endpoint when a user logs in.
// +kubebuilder:validation:Optional
// +mapType=granular
LoginParameters map[string]*string `json:"loginParameters,omitempty" tf:"login_parameters,omitempty"`
// The Azure Tenant Endpoint for the Authenticating Tenant. e.g. https://login.microsoftonline.com/v2.0/{tenant-guid}/
// The Azure Tenant Endpoint for the Authenticating Tenant. e.g. `https://login.microsoftonline.com/v2.0/{tenant-guid}/`.
// +kubebuilder:validation:Optional
TenantAuthEndpoint *string `json:"tenantAuthEndpoint" tf:"tenant_auth_endpoint,omitempty"`
// Should the www-authenticate provider should be omitted from the request? Defaults to false.
// Should the www-authenticate provider should be omitted from the request? Defaults to `false`
// +kubebuilder:validation:Optional
WwwAuthenticationDisabled *bool `json:"wwwAuthenticationDisabled,omitempty" tf:"www_authentication_disabled,omitempty"`
}
type LinuxWebAppAuthSettingsV2AppleV2InitParameters struct {
// The OAuth 2.0 client ID that was created for the app used for authentication.
// The OpenID Connect Client ID for the Apple web application.
ClientID *string `json:"clientId,omitempty" tf:"client_id,omitempty"`
// The app setting name containing the OAuth 2.0 client secret that was created for the app used for authentication.
// The app setting name that contains the `client_secret` value used for Apple Login.
ClientSecretSettingName *string `json:"clientSecretSettingName,omitempty" tf:"client_secret_setting_name,omitempty"`
}
type LinuxWebAppAuthSettingsV2AppleV2Observation struct {
// The OAuth 2.0 client ID that was created for the app used for authentication.
// The OpenID Connect Client ID for the Apple web application.
ClientID *string `json:"clientId,omitempty" tf:"client_id,omitempty"`
// The app setting name containing the OAuth 2.0 client secret that was created for the app used for authentication.
// The app setting name that contains the `client_secret` value used for Apple Login.
ClientSecretSettingName *string `json:"clientSecretSettingName,omitempty" tf:"client_secret_setting_name,omitempty"`
// The list of Login scopes that should be requested as part of Microsoft Account authentication.
LoginScopes []*string `json:"loginScopes,omitempty" tf:"login_scopes,omitempty"`
}
type LinuxWebAppAuthSettingsV2AppleV2Parameters struct {
// The OAuth 2.0 client ID that was created for the app used for authentication.
// The OpenID Connect Client ID for the Apple web application.
// +kubebuilder:validation:Optional
ClientID *string `json:"clientId" tf:"client_id,omitempty"`
// The app setting name containing the OAuth 2.0 client secret that was created for the app used for authentication.
// The app setting name that contains the `client_secret` value used for Apple Login.
// +kubebuilder:validation:Optional
ClientSecretSettingName *string `json:"clientSecretSettingName" tf:"client_secret_setting_name,omitempty"`
}
type LinuxWebAppAuthSettingsV2AzureStaticWebAppV2InitParameters struct {
// The OAuth 2.0 client ID that was created for the app used for authentication.
// The ID of the Client to use to authenticate with Azure Static Web App Authentication.
ClientID *string `json:"clientId,omitempty" tf:"client_id,omitempty"`
}
type LinuxWebAppAuthSettingsV2AzureStaticWebAppV2Observation struct {
// The OAuth 2.0 client ID that was created for the app used for authentication.
// The ID of the Client to use to authenticate with Azure Static Web App Authentication.
ClientID *string `json:"clientId,omitempty" tf:"client_id,omitempty"`
}
type LinuxWebAppAuthSettingsV2AzureStaticWebAppV2Parameters struct {
// The OAuth 2.0 client ID that was created for the app used for authentication.
// The ID of the Client to use to authenticate with Azure Static Web App Authentication.
// +kubebuilder:validation:Optional
ClientID *string `json:"clientId" tf:"client_id,omitempty"`
}
type LinuxWebAppAuthSettingsV2CustomOidcV2InitParameters struct {
// The OAuth 2.0 client ID that was created for the app used for authentication.
// The ID of the Client to use to authenticate with this Custom OIDC.
ClientID *string `json:"clientId,omitempty" tf:"client_id,omitempty"`
// The name which should be used for this Storage Account.
// The name of the Custom OIDC Authentication Provider.
Name *string `json:"name,omitempty" tf:"name,omitempty"`
// The name of the claim that contains the users name.
// The name of the claim that contains the users name.
NameClaimType *string `json:"nameClaimType,omitempty" tf:"name_claim_type,omitempty"`
// Specifies the endpoint used for OpenID Connect Discovery. For example https://example.com/.well-known/openid-configuration.
// The endpoint that contains all the configuration endpoints for this Custom OIDC provider.
OpenIDConfigurationEndpoint *string `json:"openidConfigurationEndpoint,omitempty" tf:"openid_configuration_endpoint,omitempty"`
// The list of the scopes that should be requested while authenticating.
// The list of the scopes that should be requested while authenticating.
Scopes []*string `json:"scopes,omitempty" tf:"scopes,omitempty"`
}
type LinuxWebAppAuthSettingsV2CustomOidcV2Observation struct {
// The endpoint to make the Authorisation Request as supplied by openid_configuration_endpoint response.
// The endpoint to make the Authorisation Request.
AuthorisationEndpoint *string `json:"authorisationEndpoint,omitempty" tf:"authorisation_endpoint,omitempty"`
// The endpoint that provides the keys necessary to validate the token as supplied by openid_configuration_endpoint response.
// The endpoint that provides the keys necessary to validate the token.
CertificationURI *string `json:"certificationUri,omitempty" tf:"certification_uri,omitempty"`
// The Client Credential Method used.
// The Client Credential Method used. Currently the only supported value is `ClientSecretPost`.
ClientCredentialMethod *string `json:"clientCredentialMethod,omitempty" tf:"client_credential_method,omitempty"`
// The OAuth 2.0 client ID that was created for the app used for authentication.
// The ID of the Client to use to authenticate with this Custom OIDC.
ClientID *string `json:"clientId,omitempty" tf:"client_id,omitempty"`
// The app setting name containing the OAuth 2.0 client secret that was created for the app used for authentication.
// The App Setting name that contains the secret for this Custom OIDC Client.
ClientSecretSettingName *string `json:"clientSecretSettingName,omitempty" tf:"client_secret_setting_name,omitempty"`
// The endpoint that issued the Token as supplied by openid_configuration_endpoint response.
// The endpoint that issued the Token.
IssuerEndpoint *string `json:"issuerEndpoint,omitempty" tf:"issuer_endpoint,omitempty"`
// The name which should be used for this Storage Account.
// The name of the Custom OIDC Authentication Provider.
Name *string `json:"name,omitempty" tf:"name,omitempty"`
// The name of the claim that contains the users name.
// The name of the claim that contains the users name.
NameClaimType *string `json:"nameClaimType,omitempty" tf:"name_claim_type,omitempty"`