/
zz_containerapp_types.go
executable file
·2034 lines (1505 loc) · 105 KB
/
zz_containerapp_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 AuthenticationInitParameters struct {
// The name of the secret that contains the value for this environment variable.
SecretName *string `json:"secretName,omitempty" tf:"secret_name,omitempty"`
// The Trigger Parameter name to use the supply the value retrieved from the secret_name.
TriggerParameter *string `json:"triggerParameter,omitempty" tf:"trigger_parameter,omitempty"`
}
type AuthenticationObservation struct {
// The name of the secret that contains the value for this environment variable.
SecretName *string `json:"secretName,omitempty" tf:"secret_name,omitempty"`
// The Trigger Parameter name to use the supply the value retrieved from the secret_name.
TriggerParameter *string `json:"triggerParameter,omitempty" tf:"trigger_parameter,omitempty"`
}
type AuthenticationParameters struct {
// The name of the secret that contains the value for this environment variable.
// +kubebuilder:validation:Optional
SecretName *string `json:"secretName" tf:"secret_name,omitempty"`
// The Trigger Parameter name to use the supply the value retrieved from the secret_name.
// +kubebuilder:validation:Optional
TriggerParameter *string `json:"triggerParameter" tf:"trigger_parameter,omitempty"`
}
type AzureQueueScaleRuleInitParameters struct {
// Zero or more authentication blocks as defined below.
Authentication []AuthenticationInitParameters `json:"authentication,omitempty" tf:"authentication,omitempty"`
// The name of the Volume to be mounted in the container.
Name *string `json:"name,omitempty" tf:"name,omitempty"`
// The value of the length of the queue to trigger scaling actions.
QueueLength *float64 `json:"queueLength,omitempty" tf:"queue_length,omitempty"`
// The name of the Azure Queue
QueueName *string `json:"queueName,omitempty" tf:"queue_name,omitempty"`
}
type AzureQueueScaleRuleObservation struct {
// Zero or more authentication blocks as defined below.
Authentication []AuthenticationObservation `json:"authentication,omitempty" tf:"authentication,omitempty"`
// The name of the Volume to be mounted in the container.
Name *string `json:"name,omitempty" tf:"name,omitempty"`
// The value of the length of the queue to trigger scaling actions.
QueueLength *float64 `json:"queueLength,omitempty" tf:"queue_length,omitempty"`
// The name of the Azure Queue
QueueName *string `json:"queueName,omitempty" tf:"queue_name,omitempty"`
}
type AzureQueueScaleRuleParameters struct {
// Zero or more authentication blocks as defined below.
// +kubebuilder:validation:Optional
Authentication []AuthenticationParameters `json:"authentication" tf:"authentication,omitempty"`
// The name of the Volume to be mounted in the container.
// +kubebuilder:validation:Optional
Name *string `json:"name" tf:"name,omitempty"`
// The value of the length of the queue to trigger scaling actions.
// +kubebuilder:validation:Optional
QueueLength *float64 `json:"queueLength" tf:"queue_length,omitempty"`
// The name of the Azure Queue
// +kubebuilder:validation:Optional
QueueName *string `json:"queueName" tf:"queue_name,omitempty"`
}
type ContainerAppInitParameters struct {
// The ID of the Container App Environment within which this Container App should exist. Changing this forces a new resource to be created.
// The ID of the Container App Environment to host this Container App.
// +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/containerapp/v1beta1.Environment
// +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID()
ContainerAppEnvironmentID *string `json:"containerAppEnvironmentId,omitempty" tf:"container_app_environment_id,omitempty"`
// Reference to a Environment in containerapp to populate containerAppEnvironmentId.
// +kubebuilder:validation:Optional
ContainerAppEnvironmentIDRef *v1.Reference `json:"containerAppEnvironmentIdRef,omitempty" tf:"-"`
// Selector for a Environment in containerapp to populate containerAppEnvironmentId.
// +kubebuilder:validation:Optional
ContainerAppEnvironmentIDSelector *v1.Selector `json:"containerAppEnvironmentIdSelector,omitempty" tf:"-"`
// A dapr block as detailed below.
Dapr []DaprInitParameters `json:"dapr,omitempty" tf:"dapr,omitempty"`
// An identity block as detailed below.
Identity []IdentityInitParameters `json:"identity,omitempty" tf:"identity,omitempty"`
// An ingress block as detailed below.
Ingress []IngressInitParameters `json:"ingress,omitempty" tf:"ingress,omitempty"`
// A registry block as detailed below.
Registry []RegistryInitParameters `json:"registry,omitempty" tf:"registry,omitempty"`
// The revisions operational mode for the Container App. Possible values include Single and Multiple. In Single mode, a single revision is in operation at any given time. In Multiple mode, more than one revision can be active at a time and can be configured with load distribution via the traffic_weight block in the ingress configuration.
RevisionMode *string `json:"revisionMode,omitempty" tf:"revision_mode,omitempty"`
// One or more secret block as detailed below.
Secret []SecretInitParameters `json:"secret,omitempty" tf:"secret,omitempty"`
// A mapping of tags to assign to the Container App.
// +mapType=granular
Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"`
// A template block as detailed below.
Template []TemplateInitParameters `json:"template,omitempty" tf:"template,omitempty"`
// The name of the Workload Profile in the Container App Environment to place this Container App.
WorkloadProfileName *string `json:"workloadProfileName,omitempty" tf:"workload_profile_name,omitempty"`
}
type ContainerAppObservation struct {
// The ID of the Container App Environment within which this Container App should exist. Changing this forces a new resource to be created.
// The ID of the Container App Environment to host this Container App.
ContainerAppEnvironmentID *string `json:"containerAppEnvironmentId,omitempty" tf:"container_app_environment_id,omitempty"`
// A dapr block as detailed below.
Dapr []DaprObservation `json:"dapr,omitempty" tf:"dapr,omitempty"`
// The ID of the Container App.
ID *string `json:"id,omitempty" tf:"id,omitempty"`
// An identity block as detailed below.
Identity []IdentityObservation `json:"identity,omitempty" tf:"identity,omitempty"`
// An ingress block as detailed below.
Ingress []IngressObservation `json:"ingress,omitempty" tf:"ingress,omitempty"`
// The FQDN of the Latest Revision of the Container App.
// The FQDN of the Latest Revision of the Container App.
LatestRevisionFqdn *string `json:"latestRevisionFqdn,omitempty" tf:"latest_revision_fqdn,omitempty"`
// The name of the latest Container Revision.
// The name of the latest Container Revision.
LatestRevisionName *string `json:"latestRevisionName,omitempty" tf:"latest_revision_name,omitempty"`
// The location this Container App is deployed in. This is the same as the Environment in which it is deployed.
Location *string `json:"location,omitempty" tf:"location,omitempty"`
// A list of the Public IP Addresses which the Container App uses for outbound network access.
OutboundIPAddresses []*string `json:"outboundIpAddresses,omitempty" tf:"outbound_ip_addresses,omitempty"`
// A registry block as detailed below.
Registry []RegistryObservation `json:"registry,omitempty" tf:"registry,omitempty"`
// The name of the resource group in which the Container App Environment is to be created. Changing this forces a new resource to be created.
ResourceGroupName *string `json:"resourceGroupName,omitempty" tf:"resource_group_name,omitempty"`
// The revisions operational mode for the Container App. Possible values include Single and Multiple. In Single mode, a single revision is in operation at any given time. In Multiple mode, more than one revision can be active at a time and can be configured with load distribution via the traffic_weight block in the ingress configuration.
RevisionMode *string `json:"revisionMode,omitempty" tf:"revision_mode,omitempty"`
// One or more secret block as detailed below.
Secret []SecretParameters `json:"secret,omitempty" tf:"secret,omitempty"`
// A mapping of tags to assign to the Container App.
// +mapType=granular
Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"`
// A template block as detailed below.
Template []TemplateObservation `json:"template,omitempty" tf:"template,omitempty"`
// The name of the Workload Profile in the Container App Environment to place this Container App.
WorkloadProfileName *string `json:"workloadProfileName,omitempty" tf:"workload_profile_name,omitempty"`
}
type ContainerAppParameters struct {
// The ID of the Container App Environment within which this Container App should exist. Changing this forces a new resource to be created.
// The ID of the Container App Environment to host this Container App.
// +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/containerapp/v1beta1.Environment
// +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID()
// +kubebuilder:validation:Optional
ContainerAppEnvironmentID *string `json:"containerAppEnvironmentId,omitempty" tf:"container_app_environment_id,omitempty"`
// Reference to a Environment in containerapp to populate containerAppEnvironmentId.
// +kubebuilder:validation:Optional
ContainerAppEnvironmentIDRef *v1.Reference `json:"containerAppEnvironmentIdRef,omitempty" tf:"-"`
// Selector for a Environment in containerapp to populate containerAppEnvironmentId.
// +kubebuilder:validation:Optional
ContainerAppEnvironmentIDSelector *v1.Selector `json:"containerAppEnvironmentIdSelector,omitempty" tf:"-"`
// A dapr block as detailed below.
// +kubebuilder:validation:Optional
Dapr []DaprParameters `json:"dapr,omitempty" tf:"dapr,omitempty"`
// An identity block as detailed below.
// +kubebuilder:validation:Optional
Identity []IdentityParameters `json:"identity,omitempty" tf:"identity,omitempty"`
// An ingress block as detailed below.
// +kubebuilder:validation:Optional
Ingress []IngressParameters `json:"ingress,omitempty" tf:"ingress,omitempty"`
// A registry block as detailed below.
// +kubebuilder:validation:Optional
Registry []RegistryParameters `json:"registry,omitempty" tf:"registry,omitempty"`
// The name of the resource group in which the Container App Environment is to be created. Changing this forces a new resource to be created.
// +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/azure/v1beta1.ResourceGroup
// +kubebuilder:validation:Optional
ResourceGroupName *string `json:"resourceGroupName,omitempty" tf:"resource_group_name,omitempty"`
// Reference to a ResourceGroup in azure to populate resourceGroupName.
// +kubebuilder:validation:Optional
ResourceGroupNameRef *v1.Reference `json:"resourceGroupNameRef,omitempty" tf:"-"`
// Selector for a ResourceGroup in azure to populate resourceGroupName.
// +kubebuilder:validation:Optional
ResourceGroupNameSelector *v1.Selector `json:"resourceGroupNameSelector,omitempty" tf:"-"`
// The revisions operational mode for the Container App. Possible values include Single and Multiple. In Single mode, a single revision is in operation at any given time. In Multiple mode, more than one revision can be active at a time and can be configured with load distribution via the traffic_weight block in the ingress configuration.
// +kubebuilder:validation:Optional
RevisionMode *string `json:"revisionMode,omitempty" tf:"revision_mode,omitempty"`
// One or more secret block as detailed below.
// +kubebuilder:validation:Optional
Secret []SecretParameters `json:"secret,omitempty" tf:"secret,omitempty"`
// A mapping of tags to assign to the Container App.
// +kubebuilder:validation:Optional
// +mapType=granular
Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"`
// A template block as detailed below.
// +kubebuilder:validation:Optional
Template []TemplateParameters `json:"template,omitempty" tf:"template,omitempty"`
// The name of the Workload Profile in the Container App Environment to place this Container App.
// +kubebuilder:validation:Optional
WorkloadProfileName *string `json:"workloadProfileName,omitempty" tf:"workload_profile_name,omitempty"`
}
type ContainerInitParameters struct {
// A list of extra arguments to pass to the container.
// A list of args to pass to the container.
Args []*string `json:"args,omitempty" tf:"args,omitempty"`
// The amount of vCPU to allocate to the container. Possible values include 0.25, 0.5, 0.75, 1.0, 1.25, 1.5, 1.75, and 2.0. When there's a workload profile specified, there's no such constraint.
// The amount of vCPU to allocate to the container. Possible values include `0.25`, `0.5`, `0.75`, `1.0`, `1.25`, `1.5`, `1.75`, and `2.0`. **NOTE:** `cpu` and `memory` must be specified in `0.25'/'0.5Gi` combination increments. e.g. `1.0` / `2.0` or `0.5` / `1.0`. When there's a workload profile specified, there's no such constraint.
CPU *float64 `json:"cpu,omitempty" tf:"cpu,omitempty"`
// A command to pass to the container to override the default. This is provided as a list of command line elements without spaces.
// A command to pass to the container to override the default. This is provided as a list of command line elements without spaces.
Command []*string `json:"command,omitempty" tf:"command,omitempty"`
// One or more env blocks as detailed below.
Env []EnvInitParameters `json:"env,omitempty" tf:"env,omitempty"`
// The image to use to create the container.
// The image to use to create the container.
Image *string `json:"image,omitempty" tf:"image,omitempty"`
// A liveness_probe block as detailed below.
LivenessProbe []LivenessProbeInitParameters `json:"livenessProbe,omitempty" tf:"liveness_probe,omitempty"`
// The amount of memory to allocate to the container. Possible values are 0.5Gi, 1Gi, 1.5Gi, 2Gi, 2.5Gi, 3Gi, 3.5Gi and 4Gi. When there's a workload profile specified, there's no such constraint.
// The amount of memory to allocate to the container. Possible values include `0.5Gi`, `1.0Gi`, `1.5Gi`, `2.0Gi`, `2.5Gi`, `3.0Gi`, `3.5Gi`, and `4.0Gi`. **NOTE:** `cpu` and `memory` must be specified in `0.25'/'0.5Gi` combination increments. e.g. `1.25` / `2.5Gi` or `0.75` / `1.5Gi`. When there's a workload profile specified, there's no such constraint.
Memory *string `json:"memory,omitempty" tf:"memory,omitempty"`
// The name of the Volume to be mounted in the container.
// The name of the container.
Name *string `json:"name,omitempty" tf:"name,omitempty"`
// A readiness_probe block as detailed below.
ReadinessProbe []ReadinessProbeInitParameters `json:"readinessProbe,omitempty" tf:"readiness_probe,omitempty"`
// A startup_probe block as detailed below.
StartupProbe []StartupProbeInitParameters `json:"startupProbe,omitempty" tf:"startup_probe,omitempty"`
// A volume_mounts block as detailed below.
VolumeMounts []VolumeMountsInitParameters `json:"volumeMounts,omitempty" tf:"volume_mounts,omitempty"`
}
type ContainerObservation struct {
// A list of extra arguments to pass to the container.
// A list of args to pass to the container.
Args []*string `json:"args,omitempty" tf:"args,omitempty"`
// The amount of vCPU to allocate to the container. Possible values include 0.25, 0.5, 0.75, 1.0, 1.25, 1.5, 1.75, and 2.0. When there's a workload profile specified, there's no such constraint.
// The amount of vCPU to allocate to the container. Possible values include `0.25`, `0.5`, `0.75`, `1.0`, `1.25`, `1.5`, `1.75`, and `2.0`. **NOTE:** `cpu` and `memory` must be specified in `0.25'/'0.5Gi` combination increments. e.g. `1.0` / `2.0` or `0.5` / `1.0`. When there's a workload profile specified, there's no such constraint.
CPU *float64 `json:"cpu,omitempty" tf:"cpu,omitempty"`
// A command to pass to the container to override the default. This is provided as a list of command line elements without spaces.
// A command to pass to the container to override the default. This is provided as a list of command line elements without spaces.
Command []*string `json:"command,omitempty" tf:"command,omitempty"`
// One or more env blocks as detailed below.
Env []EnvObservation `json:"env,omitempty" tf:"env,omitempty"`
// The amount of ephemeral storage available to the Container App.
// The amount of ephemeral storage available to the Container App.
EphemeralStorage *string `json:"ephemeralStorage,omitempty" tf:"ephemeral_storage,omitempty"`
// The image to use to create the container.
// The image to use to create the container.
Image *string `json:"image,omitempty" tf:"image,omitempty"`
// A liveness_probe block as detailed below.
LivenessProbe []LivenessProbeObservation `json:"livenessProbe,omitempty" tf:"liveness_probe,omitempty"`
// The amount of memory to allocate to the container. Possible values are 0.5Gi, 1Gi, 1.5Gi, 2Gi, 2.5Gi, 3Gi, 3.5Gi and 4Gi. When there's a workload profile specified, there's no such constraint.
// The amount of memory to allocate to the container. Possible values include `0.5Gi`, `1.0Gi`, `1.5Gi`, `2.0Gi`, `2.5Gi`, `3.0Gi`, `3.5Gi`, and `4.0Gi`. **NOTE:** `cpu` and `memory` must be specified in `0.25'/'0.5Gi` combination increments. e.g. `1.25` / `2.5Gi` or `0.75` / `1.5Gi`. When there's a workload profile specified, there's no such constraint.
Memory *string `json:"memory,omitempty" tf:"memory,omitempty"`
// The name of the Volume to be mounted in the container.
// The name of the container.
Name *string `json:"name,omitempty" tf:"name,omitempty"`
// A readiness_probe block as detailed below.
ReadinessProbe []ReadinessProbeObservation `json:"readinessProbe,omitempty" tf:"readiness_probe,omitempty"`
// A startup_probe block as detailed below.
StartupProbe []StartupProbeObservation `json:"startupProbe,omitempty" tf:"startup_probe,omitempty"`
// A volume_mounts block as detailed below.
VolumeMounts []VolumeMountsObservation `json:"volumeMounts,omitempty" tf:"volume_mounts,omitempty"`
}
type ContainerParameters struct {
// A list of extra arguments to pass to the container.
// A list of args to pass to the container.
// +kubebuilder:validation:Optional
Args []*string `json:"args,omitempty" tf:"args,omitempty"`
// The amount of vCPU to allocate to the container. Possible values include 0.25, 0.5, 0.75, 1.0, 1.25, 1.5, 1.75, and 2.0. When there's a workload profile specified, there's no such constraint.
// The amount of vCPU to allocate to the container. Possible values include `0.25`, `0.5`, `0.75`, `1.0`, `1.25`, `1.5`, `1.75`, and `2.0`. **NOTE:** `cpu` and `memory` must be specified in `0.25'/'0.5Gi` combination increments. e.g. `1.0` / `2.0` or `0.5` / `1.0`. When there's a workload profile specified, there's no such constraint.
// +kubebuilder:validation:Optional
CPU *float64 `json:"cpu" tf:"cpu,omitempty"`
// A command to pass to the container to override the default. This is provided as a list of command line elements without spaces.
// A command to pass to the container to override the default. This is provided as a list of command line elements without spaces.
// +kubebuilder:validation:Optional
Command []*string `json:"command,omitempty" tf:"command,omitempty"`
// One or more env blocks as detailed below.
// +kubebuilder:validation:Optional
Env []EnvParameters `json:"env,omitempty" tf:"env,omitempty"`
// The image to use to create the container.
// The image to use to create the container.
// +kubebuilder:validation:Optional
Image *string `json:"image" tf:"image,omitempty"`
// A liveness_probe block as detailed below.
// +kubebuilder:validation:Optional
LivenessProbe []LivenessProbeParameters `json:"livenessProbe,omitempty" tf:"liveness_probe,omitempty"`
// The amount of memory to allocate to the container. Possible values are 0.5Gi, 1Gi, 1.5Gi, 2Gi, 2.5Gi, 3Gi, 3.5Gi and 4Gi. When there's a workload profile specified, there's no such constraint.
// The amount of memory to allocate to the container. Possible values include `0.5Gi`, `1.0Gi`, `1.5Gi`, `2.0Gi`, `2.5Gi`, `3.0Gi`, `3.5Gi`, and `4.0Gi`. **NOTE:** `cpu` and `memory` must be specified in `0.25'/'0.5Gi` combination increments. e.g. `1.25` / `2.5Gi` or `0.75` / `1.5Gi`. When there's a workload profile specified, there's no such constraint.
// +kubebuilder:validation:Optional
Memory *string `json:"memory" tf:"memory,omitempty"`
// The name of the Volume to be mounted in the container.
// The name of the container.
// +kubebuilder:validation:Optional
Name *string `json:"name" tf:"name,omitempty"`
// A readiness_probe block as detailed below.
// +kubebuilder:validation:Optional
ReadinessProbe []ReadinessProbeParameters `json:"readinessProbe,omitempty" tf:"readiness_probe,omitempty"`
// A startup_probe block as detailed below.
// +kubebuilder:validation:Optional
StartupProbe []StartupProbeParameters `json:"startupProbe,omitempty" tf:"startup_probe,omitempty"`
// A volume_mounts block as detailed below.
// +kubebuilder:validation:Optional
VolumeMounts []VolumeMountsParameters `json:"volumeMounts,omitempty" tf:"volume_mounts,omitempty"`
}
type CustomDomainInitParameters struct {
// The Binding type. Possible values include Disabled and SniEnabled. Defaults to Disabled.
// The Binding type. Possible values include `Disabled` and `SniEnabled`. Defaults to `Disabled`
CertificateBindingType *string `json:"certificateBindingType,omitempty" tf:"certificate_binding_type,omitempty"`
// The ID of the Container App Environment Certificate.
CertificateID *string `json:"certificateId,omitempty" tf:"certificate_id,omitempty"`
// The name of the Volume to be mounted in the container.
// The hostname of the Certificate. Must be the CN or a named SAN in the certificate.
Name *string `json:"name,omitempty" tf:"name,omitempty"`
}
type CustomDomainObservation struct {
// The Binding type. Possible values include Disabled and SniEnabled. Defaults to Disabled.
// The Binding type. Possible values include `Disabled` and `SniEnabled`. Defaults to `Disabled`
CertificateBindingType *string `json:"certificateBindingType,omitempty" tf:"certificate_binding_type,omitempty"`
// The ID of the Container App Environment Certificate.
CertificateID *string `json:"certificateId,omitempty" tf:"certificate_id,omitempty"`
// The name of the Volume to be mounted in the container.
// The hostname of the Certificate. Must be the CN or a named SAN in the certificate.
Name *string `json:"name,omitempty" tf:"name,omitempty"`
}
type CustomDomainParameters struct {
// The Binding type. Possible values include Disabled and SniEnabled. Defaults to Disabled.
// The Binding type. Possible values include `Disabled` and `SniEnabled`. Defaults to `Disabled`
// +kubebuilder:validation:Optional
CertificateBindingType *string `json:"certificateBindingType,omitempty" tf:"certificate_binding_type,omitempty"`
// The ID of the Container App Environment Certificate.
// +kubebuilder:validation:Optional
CertificateID *string `json:"certificateId" tf:"certificate_id,omitempty"`
// The name of the Volume to be mounted in the container.
// The hostname of the Certificate. Must be the CN or a named SAN in the certificate.
// +kubebuilder:validation:Optional
Name *string `json:"name" tf:"name,omitempty"`
}
type CustomScaleRuleAuthenticationInitParameters struct {
// The name of the secret that contains the value for this environment variable.
SecretName *string `json:"secretName,omitempty" tf:"secret_name,omitempty"`
// The Trigger Parameter name to use the supply the value retrieved from the secret_name.
TriggerParameter *string `json:"triggerParameter,omitempty" tf:"trigger_parameter,omitempty"`
}
type CustomScaleRuleAuthenticationObservation struct {
// The name of the secret that contains the value for this environment variable.
SecretName *string `json:"secretName,omitempty" tf:"secret_name,omitempty"`
// The Trigger Parameter name to use the supply the value retrieved from the secret_name.
TriggerParameter *string `json:"triggerParameter,omitempty" tf:"trigger_parameter,omitempty"`
}
type CustomScaleRuleAuthenticationParameters struct {
// The name of the secret that contains the value for this environment variable.
// +kubebuilder:validation:Optional
SecretName *string `json:"secretName" tf:"secret_name,omitempty"`
// The Trigger Parameter name to use the supply the value retrieved from the secret_name.
// +kubebuilder:validation:Optional
TriggerParameter *string `json:"triggerParameter" tf:"trigger_parameter,omitempty"`
}
type CustomScaleRuleInitParameters struct {
// Zero or more authentication blocks as defined below.
Authentication []CustomScaleRuleAuthenticationInitParameters `json:"authentication,omitempty" tf:"authentication,omitempty"`
// The Custom rule type. Possible values include: activemq, artemis-queue, kafka, pulsar, aws-cloudwatch, aws-dynamodb, aws-dynamodb-streams, aws-kinesis-stream, aws-sqs-queue, azure-app-insights, azure-blob, azure-data-explorer, azure-eventhub, azure-log-analytics, azure-monitor, azure-pipelines, azure-servicebus, azure-queue, cassandra, cpu, cron, datadog, elasticsearch, external, external-push, gcp-stackdriver, gcp-storage, gcp-pubsub, graphite, http, huawei-cloudeye, ibmmq, influxdb, kubernetes-workload, liiklus, memory, metrics-api, mongodb, mssql, mysql, nats-jetstream, stan, tcp, new-relic, openstack-metric, openstack-swift, postgresql, predictkube, prometheus, rabbitmq, redis, redis-cluster, redis-sentinel, redis-streams, redis-cluster-streams, redis-sentinel-streams, selenium-grid,solace-event-queue, and github-runner.
CustomRuleType *string `json:"customRuleType,omitempty" tf:"custom_rule_type,omitempty"`
// - A map of string key-value pairs to configure the Custom Scale Rule.
// +mapType=granular
Metadata map[string]*string `json:"metadata,omitempty" tf:"metadata,omitempty"`
// The name of the Volume to be mounted in the container.
Name *string `json:"name,omitempty" tf:"name,omitempty"`
}
type CustomScaleRuleObservation struct {
// Zero or more authentication blocks as defined below.
Authentication []CustomScaleRuleAuthenticationObservation `json:"authentication,omitempty" tf:"authentication,omitempty"`
// The Custom rule type. Possible values include: activemq, artemis-queue, kafka, pulsar, aws-cloudwatch, aws-dynamodb, aws-dynamodb-streams, aws-kinesis-stream, aws-sqs-queue, azure-app-insights, azure-blob, azure-data-explorer, azure-eventhub, azure-log-analytics, azure-monitor, azure-pipelines, azure-servicebus, azure-queue, cassandra, cpu, cron, datadog, elasticsearch, external, external-push, gcp-stackdriver, gcp-storage, gcp-pubsub, graphite, http, huawei-cloudeye, ibmmq, influxdb, kubernetes-workload, liiklus, memory, metrics-api, mongodb, mssql, mysql, nats-jetstream, stan, tcp, new-relic, openstack-metric, openstack-swift, postgresql, predictkube, prometheus, rabbitmq, redis, redis-cluster, redis-sentinel, redis-streams, redis-cluster-streams, redis-sentinel-streams, selenium-grid,solace-event-queue, and github-runner.
CustomRuleType *string `json:"customRuleType,omitempty" tf:"custom_rule_type,omitempty"`
// - A map of string key-value pairs to configure the Custom Scale Rule.
// +mapType=granular
Metadata map[string]*string `json:"metadata,omitempty" tf:"metadata,omitempty"`
// The name of the Volume to be mounted in the container.
Name *string `json:"name,omitempty" tf:"name,omitempty"`
}
type CustomScaleRuleParameters struct {
// Zero or more authentication blocks as defined below.
// +kubebuilder:validation:Optional
Authentication []CustomScaleRuleAuthenticationParameters `json:"authentication,omitempty" tf:"authentication,omitempty"`
// The Custom rule type. Possible values include: activemq, artemis-queue, kafka, pulsar, aws-cloudwatch, aws-dynamodb, aws-dynamodb-streams, aws-kinesis-stream, aws-sqs-queue, azure-app-insights, azure-blob, azure-data-explorer, azure-eventhub, azure-log-analytics, azure-monitor, azure-pipelines, azure-servicebus, azure-queue, cassandra, cpu, cron, datadog, elasticsearch, external, external-push, gcp-stackdriver, gcp-storage, gcp-pubsub, graphite, http, huawei-cloudeye, ibmmq, influxdb, kubernetes-workload, liiklus, memory, metrics-api, mongodb, mssql, mysql, nats-jetstream, stan, tcp, new-relic, openstack-metric, openstack-swift, postgresql, predictkube, prometheus, rabbitmq, redis, redis-cluster, redis-sentinel, redis-streams, redis-cluster-streams, redis-sentinel-streams, selenium-grid,solace-event-queue, and github-runner.
// +kubebuilder:validation:Optional
CustomRuleType *string `json:"customRuleType" tf:"custom_rule_type,omitempty"`
// - A map of string key-value pairs to configure the Custom Scale Rule.
// +kubebuilder:validation:Optional
// +mapType=granular
Metadata map[string]*string `json:"metadata" tf:"metadata,omitempty"`
// The name of the Volume to be mounted in the container.
// +kubebuilder:validation:Optional
Name *string `json:"name" tf:"name,omitempty"`
}
type DaprInitParameters struct {
// The Dapr Application Identifier.
// The Dapr Application Identifier.
AppID *string `json:"appId,omitempty" tf:"app_id,omitempty"`
// The port which the application is listening on. This is the same as the ingress port.
// The port which the application is listening on. This is the same as the `ingress` port.
AppPort *float64 `json:"appPort,omitempty" tf:"app_port,omitempty"`
// The protocol for the app. Possible values include http and grpc. Defaults to http.
// The protocol for the app. Possible values include `http` and `grpc`. Defaults to `http`.
AppProtocol *string `json:"appProtocol,omitempty" tf:"app_protocol,omitempty"`
}
type DaprObservation struct {
// The Dapr Application Identifier.
// The Dapr Application Identifier.
AppID *string `json:"appId,omitempty" tf:"app_id,omitempty"`
// The port which the application is listening on. This is the same as the ingress port.
// The port which the application is listening on. This is the same as the `ingress` port.
AppPort *float64 `json:"appPort,omitempty" tf:"app_port,omitempty"`
// The protocol for the app. Possible values include http and grpc. Defaults to http.
// The protocol for the app. Possible values include `http` and `grpc`. Defaults to `http`.
AppProtocol *string `json:"appProtocol,omitempty" tf:"app_protocol,omitempty"`
}
type DaprParameters struct {
// The Dapr Application Identifier.
// The Dapr Application Identifier.
// +kubebuilder:validation:Optional
AppID *string `json:"appId" tf:"app_id,omitempty"`
// The port which the application is listening on. This is the same as the ingress port.
// The port which the application is listening on. This is the same as the `ingress` port.
// +kubebuilder:validation:Optional
AppPort *float64 `json:"appPort,omitempty" tf:"app_port,omitempty"`
// The protocol for the app. Possible values include http and grpc. Defaults to http.
// The protocol for the app. Possible values include `http` and `grpc`. Defaults to `http`.
// +kubebuilder:validation:Optional
AppProtocol *string `json:"appProtocol,omitempty" tf:"app_protocol,omitempty"`
}
type EnvInitParameters struct {
// The name of the Volume to be mounted in the container.
// The name of the environment variable for the container.
Name *string `json:"name,omitempty" tf:"name,omitempty"`
// The name of the secret that contains the value for this environment variable.
// The name of the secret that contains the value for this environment variable.
SecretName *string `json:"secretName,omitempty" tf:"secret_name,omitempty"`
// The value for this secret.
// The value for this environment variable. **NOTE:** This value is ignored if `secret_name` is used
Value *string `json:"value,omitempty" tf:"value,omitempty"`
}
type EnvObservation struct {
// The name of the Volume to be mounted in the container.
// The name of the environment variable for the container.
Name *string `json:"name,omitempty" tf:"name,omitempty"`
// The name of the secret that contains the value for this environment variable.
// The name of the secret that contains the value for this environment variable.
SecretName *string `json:"secretName,omitempty" tf:"secret_name,omitempty"`
// The value for this secret.
// The value for this environment variable. **NOTE:** This value is ignored if `secret_name` is used
Value *string `json:"value,omitempty" tf:"value,omitempty"`
}
type EnvParameters struct {
// The name of the Volume to be mounted in the container.
// The name of the environment variable for the container.
// +kubebuilder:validation:Optional
Name *string `json:"name" tf:"name,omitempty"`
// The name of the secret that contains the value for this environment variable.
// The name of the secret that contains the value for this environment variable.
// +kubebuilder:validation:Optional
SecretName *string `json:"secretName,omitempty" tf:"secret_name,omitempty"`
// The value for this secret.
// The value for this environment variable. **NOTE:** This value is ignored if `secret_name` is used
// +kubebuilder:validation:Optional
Value *string `json:"value,omitempty" tf:"value,omitempty"`
}
type HTTPScaleRuleAuthenticationInitParameters struct {
// The name of the secret that contains the value for this environment variable.
SecretName *string `json:"secretName,omitempty" tf:"secret_name,omitempty"`
// The Trigger Parameter name to use the supply the value retrieved from the secret_name.
TriggerParameter *string `json:"triggerParameter,omitempty" tf:"trigger_parameter,omitempty"`
}
type HTTPScaleRuleAuthenticationObservation struct {
// The name of the secret that contains the value for this environment variable.
SecretName *string `json:"secretName,omitempty" tf:"secret_name,omitempty"`
// The Trigger Parameter name to use the supply the value retrieved from the secret_name.
TriggerParameter *string `json:"triggerParameter,omitempty" tf:"trigger_parameter,omitempty"`
}
type HTTPScaleRuleAuthenticationParameters struct {
// The name of the secret that contains the value for this environment variable.
// +kubebuilder:validation:Optional
SecretName *string `json:"secretName" tf:"secret_name,omitempty"`
// The Trigger Parameter name to use the supply the value retrieved from the secret_name.
// +kubebuilder:validation:Optional
TriggerParameter *string `json:"triggerParameter,omitempty" tf:"trigger_parameter,omitempty"`
}
type HTTPScaleRuleInitParameters struct {
// Zero or more authentication blocks as defined below.
Authentication []HTTPScaleRuleAuthenticationInitParameters `json:"authentication,omitempty" tf:"authentication,omitempty"`
// - The number of concurrent requests to trigger scaling.
ConcurrentRequests *string `json:"concurrentRequests,omitempty" tf:"concurrent_requests,omitempty"`
// The name of the Volume to be mounted in the container.
Name *string `json:"name,omitempty" tf:"name,omitempty"`
}
type HTTPScaleRuleObservation struct {
// Zero or more authentication blocks as defined below.
Authentication []HTTPScaleRuleAuthenticationObservation `json:"authentication,omitempty" tf:"authentication,omitempty"`
// - The number of concurrent requests to trigger scaling.
ConcurrentRequests *string `json:"concurrentRequests,omitempty" tf:"concurrent_requests,omitempty"`
// The name of the Volume to be mounted in the container.
Name *string `json:"name,omitempty" tf:"name,omitempty"`
}
type HTTPScaleRuleParameters struct {
// Zero or more authentication blocks as defined below.
// +kubebuilder:validation:Optional
Authentication []HTTPScaleRuleAuthenticationParameters `json:"authentication,omitempty" tf:"authentication,omitempty"`
// - The number of concurrent requests to trigger scaling.
// +kubebuilder:validation:Optional
ConcurrentRequests *string `json:"concurrentRequests" tf:"concurrent_requests,omitempty"`
// The name of the Volume to be mounted in the container.
// +kubebuilder:validation:Optional
Name *string `json:"name" tf:"name,omitempty"`
}
type HeaderInitParameters struct {
// The name of the Volume to be mounted in the container.
// The HTTP Header Name.
Name *string `json:"name,omitempty" tf:"name,omitempty"`
// The value for this secret.
// The HTTP Header value.
Value *string `json:"value,omitempty" tf:"value,omitempty"`
}
type HeaderObservation struct {
// The name of the Volume to be mounted in the container.
// The HTTP Header Name.
Name *string `json:"name,omitempty" tf:"name,omitempty"`
// The value for this secret.
// The HTTP Header value.
Value *string `json:"value,omitempty" tf:"value,omitempty"`
}
type HeaderParameters struct {
// The name of the Volume to be mounted in the container.
// The HTTP Header Name.
// +kubebuilder:validation:Optional
Name *string `json:"name" tf:"name,omitempty"`
// The value for this secret.
// The HTTP Header value.
// +kubebuilder:validation:Optional
Value *string `json:"value" tf:"value,omitempty"`
}
type IPSecurityRestrictionInitParameters struct {
// The IP-filter action. Allow or Deny.
// The action. Allow or Deny.
Action *string `json:"action,omitempty" tf:"action,omitempty"`
// Describe the IP restriction rule that is being sent to the container-app.
// Describe the IP restriction rule that is being sent to the container-app.
Description *string `json:"description,omitempty" tf:"description,omitempty"`
// CIDR notation to match incoming IP address.
// CIDR notation to match incoming IP address.
IPAddressRange *string `json:"ipAddressRange,omitempty" tf:"ip_address_range,omitempty"`
// The name of the Volume to be mounted in the container.
// Name for the IP restriction rule.
Name *string `json:"name,omitempty" tf:"name,omitempty"`
}
type IPSecurityRestrictionObservation struct {
// The IP-filter action. Allow or Deny.
// The action. Allow or Deny.
Action *string `json:"action,omitempty" tf:"action,omitempty"`
// Describe the IP restriction rule that is being sent to the container-app.
// Describe the IP restriction rule that is being sent to the container-app.
Description *string `json:"description,omitempty" tf:"description,omitempty"`
// CIDR notation to match incoming IP address.
// CIDR notation to match incoming IP address.
IPAddressRange *string `json:"ipAddressRange,omitempty" tf:"ip_address_range,omitempty"`
// The name of the Volume to be mounted in the container.
// Name for the IP restriction rule.
Name *string `json:"name,omitempty" tf:"name,omitempty"`
}
type IPSecurityRestrictionParameters struct {
// The IP-filter action. Allow or Deny.
// The action. Allow or Deny.
// +kubebuilder:validation:Optional
Action *string `json:"action" tf:"action,omitempty"`
// Describe the IP restriction rule that is being sent to the container-app.
// Describe the IP restriction rule that is being sent to the container-app.
// +kubebuilder:validation:Optional
Description *string `json:"description,omitempty" tf:"description,omitempty"`
// CIDR notation to match incoming IP address.
// CIDR notation to match incoming IP address.
// +kubebuilder:validation:Optional
IPAddressRange *string `json:"ipAddressRange" tf:"ip_address_range,omitempty"`
// The name of the Volume to be mounted in the container.
// Name for the IP restriction rule.
// +kubebuilder:validation:Optional
Name *string `json:"name" tf:"name,omitempty"`
}
type IdentityInitParameters struct {
// - A list of one or more Resource IDs for User Assigned Managed identities to assign. Required when type is set to UserAssigned or SystemAssigned, UserAssigned.
// +listType=set
IdentityIds []*string `json:"identityIds,omitempty" tf:"identity_ids,omitempty"`
// The type of managed identity to assign. Possible values are SystemAssigned, UserAssigned, and SystemAssigned, UserAssigned (to enable both).
Type *string `json:"type,omitempty" tf:"type,omitempty"`
}
type IdentityObservation struct {
// - A list of one or more Resource IDs for User Assigned Managed identities to assign. Required when type is set to UserAssigned or SystemAssigned, UserAssigned.
// +listType=set
IdentityIds []*string `json:"identityIds,omitempty" tf:"identity_ids,omitempty"`
// The ID of the Container App.
PrincipalID *string `json:"principalId,omitempty" tf:"principal_id,omitempty"`
// The ID of the Container App.
TenantID *string `json:"tenantId,omitempty" tf:"tenant_id,omitempty"`
// The type of managed identity to assign. Possible values are SystemAssigned, UserAssigned, and SystemAssigned, UserAssigned (to enable both).
Type *string `json:"type,omitempty" tf:"type,omitempty"`
}
type IdentityParameters struct {
// - A list of one or more Resource IDs for User Assigned Managed identities to assign. Required when type is set to UserAssigned or SystemAssigned, UserAssigned.
// +kubebuilder:validation:Optional
// +listType=set
IdentityIds []*string `json:"identityIds,omitempty" tf:"identity_ids,omitempty"`
// The type of managed identity to assign. Possible values are SystemAssigned, UserAssigned, and SystemAssigned, UserAssigned (to enable both).
// +kubebuilder:validation:Optional
Type *string `json:"type" tf:"type,omitempty"`
}
type IngressInitParameters struct {
// Should this ingress allow insecure connections?
// Should this ingress allow insecure connections?
AllowInsecureConnections *bool `json:"allowInsecureConnections,omitempty" tf:"allow_insecure_connections,omitempty"`
// One or more custom_domain block as detailed below.
CustomDomain []CustomDomainInitParameters `json:"customDomain,omitempty" tf:"custom_domain,omitempty"`
// The exposed port on the container for the Ingress traffic.
// The exposed port on the container for the Ingress traffic.
ExposedPort *float64 `json:"exposedPort,omitempty" tf:"exposed_port,omitempty"`
// Are connections to this Ingress from outside the Container App Environment enabled? Defaults to false.
// Is this an external Ingress.
ExternalEnabled *bool `json:"externalEnabled,omitempty" tf:"external_enabled,omitempty"`
// One or more ip_security_restriction blocks for IP-filtering rules as defined below.
IPSecurityRestriction []IPSecurityRestrictionInitParameters `json:"ipSecurityRestriction,omitempty" tf:"ip_security_restriction,omitempty"`
// The target port on the container for the Ingress traffic.
// The target port on the container for the Ingress traffic.
TargetPort *float64 `json:"targetPort,omitempty" tf:"target_port,omitempty"`
// One or more traffic_weight blocks as detailed below.
TrafficWeight []TrafficWeightInitParameters `json:"trafficWeight,omitempty" tf:"traffic_weight,omitempty"`
// The transport method for the Ingress. Possible values are auto, http, http2 and tcp. Defaults to auto.
// The transport method for the Ingress. Possible values include `auto`, `http`, and `http2`, `tcp`. Defaults to `auto`
Transport *string `json:"transport,omitempty" tf:"transport,omitempty"`
}
type IngressObservation struct {
// Should this ingress allow insecure connections?
// Should this ingress allow insecure connections?
AllowInsecureConnections *bool `json:"allowInsecureConnections,omitempty" tf:"allow_insecure_connections,omitempty"`
// One or more custom_domain block as detailed below.
CustomDomain []CustomDomainObservation `json:"customDomain,omitempty" tf:"custom_domain,omitempty"`
// The exposed port on the container for the Ingress traffic.
// The exposed port on the container for the Ingress traffic.
ExposedPort *float64 `json:"exposedPort,omitempty" tf:"exposed_port,omitempty"`
// Are connections to this Ingress from outside the Container App Environment enabled? Defaults to false.
// Is this an external Ingress.
ExternalEnabled *bool `json:"externalEnabled,omitempty" tf:"external_enabled,omitempty"`
// The FQDN of the ingress.
// The FQDN of the ingress.
Fqdn *string `json:"fqdn,omitempty" tf:"fqdn,omitempty"`
// One or more ip_security_restriction blocks for IP-filtering rules as defined below.
IPSecurityRestriction []IPSecurityRestrictionObservation `json:"ipSecurityRestriction,omitempty" tf:"ip_security_restriction,omitempty"`
// The target port on the container for the Ingress traffic.
// The target port on the container for the Ingress traffic.
TargetPort *float64 `json:"targetPort,omitempty" tf:"target_port,omitempty"`
// One or more traffic_weight blocks as detailed below.
TrafficWeight []TrafficWeightObservation `json:"trafficWeight,omitempty" tf:"traffic_weight,omitempty"`
// The transport method for the Ingress. Possible values are auto, http, http2 and tcp. Defaults to auto.
// The transport method for the Ingress. Possible values include `auto`, `http`, and `http2`, `tcp`. Defaults to `auto`
Transport *string `json:"transport,omitempty" tf:"transport,omitempty"`
}
type IngressParameters struct {
// Should this ingress allow insecure connections?
// Should this ingress allow insecure connections?
// +kubebuilder:validation:Optional
AllowInsecureConnections *bool `json:"allowInsecureConnections,omitempty" tf:"allow_insecure_connections,omitempty"`
// One or more custom_domain block as detailed below.
// +kubebuilder:validation:Optional
CustomDomain []CustomDomainParameters `json:"customDomain,omitempty" tf:"custom_domain,omitempty"`
// The exposed port on the container for the Ingress traffic.
// The exposed port on the container for the Ingress traffic.
// +kubebuilder:validation:Optional
ExposedPort *float64 `json:"exposedPort,omitempty" tf:"exposed_port,omitempty"`
// Are connections to this Ingress from outside the Container App Environment enabled? Defaults to false.
// Is this an external Ingress.
// +kubebuilder:validation:Optional
ExternalEnabled *bool `json:"externalEnabled,omitempty" tf:"external_enabled,omitempty"`
// One or more ip_security_restriction blocks for IP-filtering rules as defined below.
// +kubebuilder:validation:Optional
IPSecurityRestriction []IPSecurityRestrictionParameters `json:"ipSecurityRestriction,omitempty" tf:"ip_security_restriction,omitempty"`
// The target port on the container for the Ingress traffic.
// The target port on the container for the Ingress traffic.
// +kubebuilder:validation:Optional
TargetPort *float64 `json:"targetPort" tf:"target_port,omitempty"`
// One or more traffic_weight blocks as detailed below.
// +kubebuilder:validation:Optional
TrafficWeight []TrafficWeightParameters `json:"trafficWeight" tf:"traffic_weight,omitempty"`
// The transport method for the Ingress. Possible values are auto, http, http2 and tcp. Defaults to auto.
// The transport method for the Ingress. Possible values include `auto`, `http`, and `http2`, `tcp`. Defaults to `auto`
// +kubebuilder:validation:Optional
Transport *string `json:"transport,omitempty" tf:"transport,omitempty"`
}
type InitContainerEnvInitParameters struct {
// The name of the Volume to be mounted in the container.
// The name of the environment variable for the container.
Name *string `json:"name,omitempty" tf:"name,omitempty"`
// The name of the secret that contains the value for this environment variable.
// The name of the secret that contains the value for this environment variable.
SecretName *string `json:"secretName,omitempty" tf:"secret_name,omitempty"`
// The value for this secret.
// The value for this environment variable. **NOTE:** This value is ignored if `secret_name` is used
Value *string `json:"value,omitempty" tf:"value,omitempty"`
}
type InitContainerEnvObservation struct {
// The name of the Volume to be mounted in the container.
// The name of the environment variable for the container.
Name *string `json:"name,omitempty" tf:"name,omitempty"`
// The name of the secret that contains the value for this environment variable.
// The name of the secret that contains the value for this environment variable.
SecretName *string `json:"secretName,omitempty" tf:"secret_name,omitempty"`
// The value for this secret.
// The value for this environment variable. **NOTE:** This value is ignored if `secret_name` is used
Value *string `json:"value,omitempty" tf:"value,omitempty"`
}
type InitContainerEnvParameters struct {
// The name of the Volume to be mounted in the container.
// The name of the environment variable for the container.
// +kubebuilder:validation:Optional
Name *string `json:"name" tf:"name,omitempty"`
// The name of the secret that contains the value for this environment variable.
// The name of the secret that contains the value for this environment variable.
// +kubebuilder:validation:Optional
SecretName *string `json:"secretName,omitempty" tf:"secret_name,omitempty"`
// The value for this secret.
// The value for this environment variable. **NOTE:** This value is ignored if `secret_name` is used
// +kubebuilder:validation:Optional
Value *string `json:"value,omitempty" tf:"value,omitempty"`
}
type InitContainerInitParameters struct {
// A list of extra arguments to pass to the container.
// A list of args to pass to the container.
Args []*string `json:"args,omitempty" tf:"args,omitempty"`
// The amount of vCPU to allocate to the container. Possible values include 0.25, 0.5, 0.75, 1.0, 1.25, 1.5, 1.75, and 2.0. When there's a workload profile specified, there's no such constraint.
// The amount of vCPU to allocate to the container. Possible values include `0.25`, `0.5`, `0.75`, `1.0`, `1.25`, `1.5`, `1.75`, and `2.0`. **NOTE:** `cpu` and `memory` must be specified in `0.25'/'0.5Gi` combination increments. e.g. `1.0` / `2.0` or `0.5` / `1.0`. When there's a workload profile specified, there's no such constraint.
CPU *float64 `json:"cpu,omitempty" tf:"cpu,omitempty"`
// A command to pass to the container to override the default. This is provided as a list of command line elements without spaces.
// A command to pass to the container to override the default. This is provided as a list of command line elements without spaces.
Command []*string `json:"command,omitempty" tf:"command,omitempty"`
// One or more env blocks as detailed below.
Env []InitContainerEnvInitParameters `json:"env,omitempty" tf:"env,omitempty"`
// The image to use to create the container.