/
zz_kubernetescluster_types.go
executable file
·3484 lines (2456 loc) · 200 KB
/
zz_kubernetescluster_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 APIServerAccessProfileInitParameters struct {
// Set of authorized IP ranges to allow access to API server, e.g. ["198.51.100.0/24"].
// +listType=set
AuthorizedIPRanges []*string `json:"authorizedIpRanges,omitempty" tf:"authorized_ip_ranges,omitempty"`
// The ID of the Subnet where the API server endpoint is delegated to.
// +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta1.Subnet
// +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID()
SubnetID *string `json:"subnetId,omitempty" tf:"subnet_id,omitempty"`
// Reference to a Subnet in network to populate subnetId.
// +kubebuilder:validation:Optional
SubnetIDRef *v1.Reference `json:"subnetIdRef,omitempty" tf:"-"`
// Selector for a Subnet in network to populate subnetId.
// +kubebuilder:validation:Optional
SubnetIDSelector *v1.Selector `json:"subnetIdSelector,omitempty" tf:"-"`
// Should API Server VNet Integration be enabled? For more details please visit Use API Server VNet Integration.
VnetIntegrationEnabled *bool `json:"vnetIntegrationEnabled,omitempty" tf:"vnet_integration_enabled,omitempty"`
}
type APIServerAccessProfileObservation struct {
// Set of authorized IP ranges to allow access to API server, e.g. ["198.51.100.0/24"].
// +listType=set
AuthorizedIPRanges []*string `json:"authorizedIpRanges,omitempty" tf:"authorized_ip_ranges,omitempty"`
// The ID of the Subnet where the API server endpoint is delegated to.
SubnetID *string `json:"subnetId,omitempty" tf:"subnet_id,omitempty"`
// Should API Server VNet Integration be enabled? For more details please visit Use API Server VNet Integration.
VnetIntegrationEnabled *bool `json:"vnetIntegrationEnabled,omitempty" tf:"vnet_integration_enabled,omitempty"`
}
type APIServerAccessProfileParameters struct {
// Set of authorized IP ranges to allow access to API server, e.g. ["198.51.100.0/24"].
// +kubebuilder:validation:Optional
// +listType=set
AuthorizedIPRanges []*string `json:"authorizedIpRanges,omitempty" tf:"authorized_ip_ranges,omitempty"`
// The ID of the Subnet where the API server endpoint is delegated to.
// +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta1.Subnet
// +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID()
// +kubebuilder:validation:Optional
SubnetID *string `json:"subnetId,omitempty" tf:"subnet_id,omitempty"`
// Reference to a Subnet in network to populate subnetId.
// +kubebuilder:validation:Optional
SubnetIDRef *v1.Reference `json:"subnetIdRef,omitempty" tf:"-"`
// Selector for a Subnet in network to populate subnetId.
// +kubebuilder:validation:Optional
SubnetIDSelector *v1.Selector `json:"subnetIdSelector,omitempty" tf:"-"`
// Should API Server VNet Integration be enabled? For more details please visit Use API Server VNet Integration.
// +kubebuilder:validation:Optional
VnetIntegrationEnabled *bool `json:"vnetIntegrationEnabled,omitempty" tf:"vnet_integration_enabled,omitempty"`
}
type AciConnectorLinuxInitParameters struct {
// The subnet name for the virtual nodes to run.
// +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta1.Subnet
SubnetName *string `json:"subnetName,omitempty" tf:"subnet_name,omitempty"`
// Reference to a Subnet in network to populate subnetName.
// +kubebuilder:validation:Optional
SubnetNameRef *v1.Reference `json:"subnetNameRef,omitempty" tf:"-"`
// Selector for a Subnet in network to populate subnetName.
// +kubebuilder:validation:Optional
SubnetNameSelector *v1.Selector `json:"subnetNameSelector,omitempty" tf:"-"`
}
type AciConnectorLinuxObservation struct {
// A connector_identity block is exported. The exported attributes are defined below.
ConnectorIdentity []ConnectorIdentityObservation `json:"connectorIdentity,omitempty" tf:"connector_identity,omitempty"`
// The subnet name for the virtual nodes to run.
SubnetName *string `json:"subnetName,omitempty" tf:"subnet_name,omitempty"`
}
type AciConnectorLinuxParameters struct {
// The subnet name for the virtual nodes to run.
// +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta1.Subnet
// +kubebuilder:validation:Optional
SubnetName *string `json:"subnetName,omitempty" tf:"subnet_name,omitempty"`
// Reference to a Subnet in network to populate subnetName.
// +kubebuilder:validation:Optional
SubnetNameRef *v1.Reference `json:"subnetNameRef,omitempty" tf:"-"`
// Selector for a Subnet in network to populate subnetName.
// +kubebuilder:validation:Optional
SubnetNameSelector *v1.Selector `json:"subnetNameSelector,omitempty" tf:"-"`
}
type AllowedHostPortsInitParameters struct {
// Specifies the end of the port range.
PortEnd *float64 `json:"portEnd,omitempty" tf:"port_end,omitempty"`
// Specifies the start of the port range.
PortStart *float64 `json:"portStart,omitempty" tf:"port_start,omitempty"`
// Specifies the protocol of the port range. Possible values are TCP and UDP.
Protocol *string `json:"protocol,omitempty" tf:"protocol,omitempty"`
}
type AllowedHostPortsObservation struct {
// Specifies the end of the port range.
PortEnd *float64 `json:"portEnd,omitempty" tf:"port_end,omitempty"`
// Specifies the start of the port range.
PortStart *float64 `json:"portStart,omitempty" tf:"port_start,omitempty"`
// Specifies the protocol of the port range. Possible values are TCP and UDP.
Protocol *string `json:"protocol,omitempty" tf:"protocol,omitempty"`
}
type AllowedHostPortsParameters struct {
// Specifies the end of the port range.
// +kubebuilder:validation:Optional
PortEnd *float64 `json:"portEnd,omitempty" tf:"port_end,omitempty"`
// Specifies the start of the port range.
// +kubebuilder:validation:Optional
PortStart *float64 `json:"portStart,omitempty" tf:"port_start,omitempty"`
// Specifies the protocol of the port range. Possible values are TCP and UDP.
// +kubebuilder:validation:Optional
Protocol *string `json:"protocol,omitempty" tf:"protocol,omitempty"`
}
type AllowedInitParameters struct {
// A day in a week. Possible values are Sunday, Monday, Tuesday, Wednesday, Thursday, Friday and Saturday.
Day *string `json:"day,omitempty" tf:"day,omitempty"`
// An array of hour slots in a day. For example, specifying 1 will allow maintenance from 1:00am to 2:00am. Specifying 1, 2 will allow maintenance from 1:00am to 3:00m. Possible values are between 0 and 23.
// +listType=set
Hours []*float64 `json:"hours,omitempty" tf:"hours,omitempty"`
}
type AllowedObservation struct {
// A day in a week. Possible values are Sunday, Monday, Tuesday, Wednesday, Thursday, Friday and Saturday.
Day *string `json:"day,omitempty" tf:"day,omitempty"`
// An array of hour slots in a day. For example, specifying 1 will allow maintenance from 1:00am to 2:00am. Specifying 1, 2 will allow maintenance from 1:00am to 3:00m. Possible values are between 0 and 23.
// +listType=set
Hours []*float64 `json:"hours,omitempty" tf:"hours,omitempty"`
}
type AllowedParameters struct {
// A day in a week. Possible values are Sunday, Monday, Tuesday, Wednesday, Thursday, Friday and Saturday.
// +kubebuilder:validation:Optional
Day *string `json:"day" tf:"day,omitempty"`
// An array of hour slots in a day. For example, specifying 1 will allow maintenance from 1:00am to 2:00am. Specifying 1, 2 will allow maintenance from 1:00am to 3:00m. Possible values are between 0 and 23.
// +kubebuilder:validation:Optional
// +listType=set
Hours []*float64 `json:"hours" tf:"hours,omitempty"`
}
type AutoScalerProfileInitParameters struct {
// Detect similar node groups and balance the number of nodes between them. Defaults to false.
BalanceSimilarNodeGroups *bool `json:"balanceSimilarNodeGroups,omitempty" tf:"balance_similar_node_groups,omitempty"`
// Maximum number of empty nodes that can be deleted at the same time. Defaults to 10.
EmptyBulkDeleteMax *string `json:"emptyBulkDeleteMax,omitempty" tf:"empty_bulk_delete_max,omitempty"`
// Expander to use. Possible values are least-waste, priority, most-pods and random. Defaults to random.
Expander *string `json:"expander,omitempty" tf:"expander,omitempty"`
// Maximum number of seconds the cluster autoscaler waits for pod termination when trying to scale down a node. Defaults to 600.
MaxGracefulTerminationSec *string `json:"maxGracefulTerminationSec,omitempty" tf:"max_graceful_termination_sec,omitempty"`
// Maximum time the autoscaler waits for a node to be provisioned. Defaults to 15m.
MaxNodeProvisioningTime *string `json:"maxNodeProvisioningTime,omitempty" tf:"max_node_provisioning_time,omitempty"`
// Maximum Number of allowed unready nodes. Defaults to 3.
MaxUnreadyNodes *float64 `json:"maxUnreadyNodes,omitempty" tf:"max_unready_nodes,omitempty"`
// Maximum percentage of unready nodes the cluster autoscaler will stop if the percentage is exceeded. Defaults to 45.
MaxUnreadyPercentage *float64 `json:"maxUnreadyPercentage,omitempty" tf:"max_unready_percentage,omitempty"`
// For scenarios like burst/batch scale where you don't want CA to act before the kubernetes scheduler could schedule all the pods, you can tell CA to ignore unscheduled pods before they're a certain age. Defaults to 10s.
NewPodScaleUpDelay *string `json:"newPodScaleUpDelay,omitempty" tf:"new_pod_scale_up_delay,omitempty"`
// How long after the scale up of AKS nodes the scale down evaluation resumes. Defaults to 10m.
ScaleDownDelayAfterAdd *string `json:"scaleDownDelayAfterAdd,omitempty" tf:"scale_down_delay_after_add,omitempty"`
// How long after node deletion that scale down evaluation resumes. Defaults to the value used for scan_interval.
ScaleDownDelayAfterDelete *string `json:"scaleDownDelayAfterDelete,omitempty" tf:"scale_down_delay_after_delete,omitempty"`
// How long after scale down failure that scale down evaluation resumes. Defaults to 3m.
ScaleDownDelayAfterFailure *string `json:"scaleDownDelayAfterFailure,omitempty" tf:"scale_down_delay_after_failure,omitempty"`
// How long a node should be unneeded before it is eligible for scale down. Defaults to 10m.
ScaleDownUnneeded *string `json:"scaleDownUnneeded,omitempty" tf:"scale_down_unneeded,omitempty"`
// How long an unready node should be unneeded before it is eligible for scale down. Defaults to 20m.
ScaleDownUnready *string `json:"scaleDownUnready,omitempty" tf:"scale_down_unready,omitempty"`
// Node utilization level, defined as sum of requested resources divided by capacity, below which a node can be considered for scale down. Defaults to 0.5.
ScaleDownUtilizationThreshold *string `json:"scaleDownUtilizationThreshold,omitempty" tf:"scale_down_utilization_threshold,omitempty"`
// How often the AKS Cluster should be re-evaluated for scale up/down. Defaults to 10s.
ScanInterval *string `json:"scanInterval,omitempty" tf:"scan_interval,omitempty"`
// If true cluster autoscaler will never delete nodes with pods with local storage, for example, EmptyDir or HostPath. Defaults to true.
SkipNodesWithLocalStorage *bool `json:"skipNodesWithLocalStorage,omitempty" tf:"skip_nodes_with_local_storage,omitempty"`
// If true cluster autoscaler will never delete nodes with pods from kube-system (except for DaemonSet or mirror pods). Defaults to true.
SkipNodesWithSystemPods *bool `json:"skipNodesWithSystemPods,omitempty" tf:"skip_nodes_with_system_pods,omitempty"`
}
type AutoScalerProfileObservation struct {
// Detect similar node groups and balance the number of nodes between them. Defaults to false.
BalanceSimilarNodeGroups *bool `json:"balanceSimilarNodeGroups,omitempty" tf:"balance_similar_node_groups,omitempty"`
// Maximum number of empty nodes that can be deleted at the same time. Defaults to 10.
EmptyBulkDeleteMax *string `json:"emptyBulkDeleteMax,omitempty" tf:"empty_bulk_delete_max,omitempty"`
// Expander to use. Possible values are least-waste, priority, most-pods and random. Defaults to random.
Expander *string `json:"expander,omitempty" tf:"expander,omitempty"`
// Maximum number of seconds the cluster autoscaler waits for pod termination when trying to scale down a node. Defaults to 600.
MaxGracefulTerminationSec *string `json:"maxGracefulTerminationSec,omitempty" tf:"max_graceful_termination_sec,omitempty"`
// Maximum time the autoscaler waits for a node to be provisioned. Defaults to 15m.
MaxNodeProvisioningTime *string `json:"maxNodeProvisioningTime,omitempty" tf:"max_node_provisioning_time,omitempty"`
// Maximum Number of allowed unready nodes. Defaults to 3.
MaxUnreadyNodes *float64 `json:"maxUnreadyNodes,omitempty" tf:"max_unready_nodes,omitempty"`
// Maximum percentage of unready nodes the cluster autoscaler will stop if the percentage is exceeded. Defaults to 45.
MaxUnreadyPercentage *float64 `json:"maxUnreadyPercentage,omitempty" tf:"max_unready_percentage,omitempty"`
// For scenarios like burst/batch scale where you don't want CA to act before the kubernetes scheduler could schedule all the pods, you can tell CA to ignore unscheduled pods before they're a certain age. Defaults to 10s.
NewPodScaleUpDelay *string `json:"newPodScaleUpDelay,omitempty" tf:"new_pod_scale_up_delay,omitempty"`
// How long after the scale up of AKS nodes the scale down evaluation resumes. Defaults to 10m.
ScaleDownDelayAfterAdd *string `json:"scaleDownDelayAfterAdd,omitempty" tf:"scale_down_delay_after_add,omitempty"`
// How long after node deletion that scale down evaluation resumes. Defaults to the value used for scan_interval.
ScaleDownDelayAfterDelete *string `json:"scaleDownDelayAfterDelete,omitempty" tf:"scale_down_delay_after_delete,omitempty"`
// How long after scale down failure that scale down evaluation resumes. Defaults to 3m.
ScaleDownDelayAfterFailure *string `json:"scaleDownDelayAfterFailure,omitempty" tf:"scale_down_delay_after_failure,omitempty"`
// How long a node should be unneeded before it is eligible for scale down. Defaults to 10m.
ScaleDownUnneeded *string `json:"scaleDownUnneeded,omitempty" tf:"scale_down_unneeded,omitempty"`
// How long an unready node should be unneeded before it is eligible for scale down. Defaults to 20m.
ScaleDownUnready *string `json:"scaleDownUnready,omitempty" tf:"scale_down_unready,omitempty"`
// Node utilization level, defined as sum of requested resources divided by capacity, below which a node can be considered for scale down. Defaults to 0.5.
ScaleDownUtilizationThreshold *string `json:"scaleDownUtilizationThreshold,omitempty" tf:"scale_down_utilization_threshold,omitempty"`
// How often the AKS Cluster should be re-evaluated for scale up/down. Defaults to 10s.
ScanInterval *string `json:"scanInterval,omitempty" tf:"scan_interval,omitempty"`
// If true cluster autoscaler will never delete nodes with pods with local storage, for example, EmptyDir or HostPath. Defaults to true.
SkipNodesWithLocalStorage *bool `json:"skipNodesWithLocalStorage,omitempty" tf:"skip_nodes_with_local_storage,omitempty"`
// If true cluster autoscaler will never delete nodes with pods from kube-system (except for DaemonSet or mirror pods). Defaults to true.
SkipNodesWithSystemPods *bool `json:"skipNodesWithSystemPods,omitempty" tf:"skip_nodes_with_system_pods,omitempty"`
}
type AutoScalerProfileParameters struct {
// Detect similar node groups and balance the number of nodes between them. Defaults to false.
// +kubebuilder:validation:Optional
BalanceSimilarNodeGroups *bool `json:"balanceSimilarNodeGroups,omitempty" tf:"balance_similar_node_groups,omitempty"`
// Maximum number of empty nodes that can be deleted at the same time. Defaults to 10.
// +kubebuilder:validation:Optional
EmptyBulkDeleteMax *string `json:"emptyBulkDeleteMax,omitempty" tf:"empty_bulk_delete_max,omitempty"`
// Expander to use. Possible values are least-waste, priority, most-pods and random. Defaults to random.
// +kubebuilder:validation:Optional
Expander *string `json:"expander,omitempty" tf:"expander,omitempty"`
// Maximum number of seconds the cluster autoscaler waits for pod termination when trying to scale down a node. Defaults to 600.
// +kubebuilder:validation:Optional
MaxGracefulTerminationSec *string `json:"maxGracefulTerminationSec,omitempty" tf:"max_graceful_termination_sec,omitempty"`
// Maximum time the autoscaler waits for a node to be provisioned. Defaults to 15m.
// +kubebuilder:validation:Optional
MaxNodeProvisioningTime *string `json:"maxNodeProvisioningTime,omitempty" tf:"max_node_provisioning_time,omitempty"`
// Maximum Number of allowed unready nodes. Defaults to 3.
// +kubebuilder:validation:Optional
MaxUnreadyNodes *float64 `json:"maxUnreadyNodes,omitempty" tf:"max_unready_nodes,omitempty"`
// Maximum percentage of unready nodes the cluster autoscaler will stop if the percentage is exceeded. Defaults to 45.
// +kubebuilder:validation:Optional
MaxUnreadyPercentage *float64 `json:"maxUnreadyPercentage,omitempty" tf:"max_unready_percentage,omitempty"`
// For scenarios like burst/batch scale where you don't want CA to act before the kubernetes scheduler could schedule all the pods, you can tell CA to ignore unscheduled pods before they're a certain age. Defaults to 10s.
// +kubebuilder:validation:Optional
NewPodScaleUpDelay *string `json:"newPodScaleUpDelay,omitempty" tf:"new_pod_scale_up_delay,omitempty"`
// How long after the scale up of AKS nodes the scale down evaluation resumes. Defaults to 10m.
// +kubebuilder:validation:Optional
ScaleDownDelayAfterAdd *string `json:"scaleDownDelayAfterAdd,omitempty" tf:"scale_down_delay_after_add,omitempty"`
// How long after node deletion that scale down evaluation resumes. Defaults to the value used for scan_interval.
// +kubebuilder:validation:Optional
ScaleDownDelayAfterDelete *string `json:"scaleDownDelayAfterDelete,omitempty" tf:"scale_down_delay_after_delete,omitempty"`
// How long after scale down failure that scale down evaluation resumes. Defaults to 3m.
// +kubebuilder:validation:Optional
ScaleDownDelayAfterFailure *string `json:"scaleDownDelayAfterFailure,omitempty" tf:"scale_down_delay_after_failure,omitempty"`
// How long a node should be unneeded before it is eligible for scale down. Defaults to 10m.
// +kubebuilder:validation:Optional
ScaleDownUnneeded *string `json:"scaleDownUnneeded,omitempty" tf:"scale_down_unneeded,omitempty"`
// How long an unready node should be unneeded before it is eligible for scale down. Defaults to 20m.
// +kubebuilder:validation:Optional
ScaleDownUnready *string `json:"scaleDownUnready,omitempty" tf:"scale_down_unready,omitempty"`
// Node utilization level, defined as sum of requested resources divided by capacity, below which a node can be considered for scale down. Defaults to 0.5.
// +kubebuilder:validation:Optional
ScaleDownUtilizationThreshold *string `json:"scaleDownUtilizationThreshold,omitempty" tf:"scale_down_utilization_threshold,omitempty"`
// How often the AKS Cluster should be re-evaluated for scale up/down. Defaults to 10s.
// +kubebuilder:validation:Optional
ScanInterval *string `json:"scanInterval,omitempty" tf:"scan_interval,omitempty"`
// If true cluster autoscaler will never delete nodes with pods with local storage, for example, EmptyDir or HostPath. Defaults to true.
// +kubebuilder:validation:Optional
SkipNodesWithLocalStorage *bool `json:"skipNodesWithLocalStorage,omitempty" tf:"skip_nodes_with_local_storage,omitempty"`
// If true cluster autoscaler will never delete nodes with pods from kube-system (except for DaemonSet or mirror pods). Defaults to true.
// +kubebuilder:validation:Optional
SkipNodesWithSystemPods *bool `json:"skipNodesWithSystemPods,omitempty" tf:"skip_nodes_with_system_pods,omitempty"`
}
type AzureActiveDirectoryRoleBasedAccessControlInitParameters struct {
// A list of Object IDs of Azure Active Directory Groups which should have Admin Role on the Cluster.
AdminGroupObjectIds []*string `json:"adminGroupObjectIds,omitempty" tf:"admin_group_object_ids,omitempty"`
// Is Role Based Access Control based on Azure AD enabled?
AzureRbacEnabled *bool `json:"azureRbacEnabled,omitempty" tf:"azure_rbac_enabled,omitempty"`
// The Client ID of an Azure Active Directory Application.
ClientAppID *string `json:"clientAppId,omitempty" tf:"client_app_id,omitempty"`
// Is the Azure Active Directory integration Managed, meaning that Azure will create/manage the Service Principal used for integration.
Managed *bool `json:"managed,omitempty" tf:"managed,omitempty"`
// The Server ID of an Azure Active Directory Application.
ServerAppID *string `json:"serverAppId,omitempty" tf:"server_app_id,omitempty"`
// The Tenant ID used for Azure Active Directory Application. If this isn't specified the Tenant ID of the current Subscription is used.
TenantID *string `json:"tenantId,omitempty" tf:"tenant_id,omitempty"`
}
type AzureActiveDirectoryRoleBasedAccessControlObservation struct {
// A list of Object IDs of Azure Active Directory Groups which should have Admin Role on the Cluster.
AdminGroupObjectIds []*string `json:"adminGroupObjectIds,omitempty" tf:"admin_group_object_ids,omitempty"`
// Is Role Based Access Control based on Azure AD enabled?
AzureRbacEnabled *bool `json:"azureRbacEnabled,omitempty" tf:"azure_rbac_enabled,omitempty"`
// The Client ID of an Azure Active Directory Application.
ClientAppID *string `json:"clientAppId,omitempty" tf:"client_app_id,omitempty"`
// Is the Azure Active Directory integration Managed, meaning that Azure will create/manage the Service Principal used for integration.
Managed *bool `json:"managed,omitempty" tf:"managed,omitempty"`
// The Server ID of an Azure Active Directory Application.
ServerAppID *string `json:"serverAppId,omitempty" tf:"server_app_id,omitempty"`
// The Tenant ID used for Azure Active Directory Application. If this isn't specified the Tenant ID of the current Subscription is used.
TenantID *string `json:"tenantId,omitempty" tf:"tenant_id,omitempty"`
}
type AzureActiveDirectoryRoleBasedAccessControlParameters struct {
// A list of Object IDs of Azure Active Directory Groups which should have Admin Role on the Cluster.
// +kubebuilder:validation:Optional
AdminGroupObjectIds []*string `json:"adminGroupObjectIds,omitempty" tf:"admin_group_object_ids,omitempty"`
// Is Role Based Access Control based on Azure AD enabled?
// +kubebuilder:validation:Optional
AzureRbacEnabled *bool `json:"azureRbacEnabled,omitempty" tf:"azure_rbac_enabled,omitempty"`
// The Client ID of an Azure Active Directory Application.
// +kubebuilder:validation:Optional
ClientAppID *string `json:"clientAppId,omitempty" tf:"client_app_id,omitempty"`
// Is the Azure Active Directory integration Managed, meaning that Azure will create/manage the Service Principal used for integration.
// +kubebuilder:validation:Optional
Managed *bool `json:"managed,omitempty" tf:"managed,omitempty"`
// The Server ID of an Azure Active Directory Application.
// +kubebuilder:validation:Optional
ServerAppID *string `json:"serverAppId,omitempty" tf:"server_app_id,omitempty"`
// The Server Secret of an Azure Active Directory Application.
// +kubebuilder:validation:Optional
ServerAppSecretSecretRef *v1.SecretKeySelector `json:"serverAppSecretSecretRef,omitempty" tf:"-"`
// The Tenant ID used for Azure Active Directory Application. If this isn't specified the Tenant ID of the current Subscription is used.
// +kubebuilder:validation:Optional
TenantID *string `json:"tenantId,omitempty" tf:"tenant_id,omitempty"`
}
type ConfidentialComputingInitParameters struct {
// Should the SGX quote helper be enabled?
SgxQuoteHelperEnabled *bool `json:"sgxQuoteHelperEnabled,omitempty" tf:"sgx_quote_helper_enabled,omitempty"`
}
type ConfidentialComputingObservation struct {
// Should the SGX quote helper be enabled?
SgxQuoteHelperEnabled *bool `json:"sgxQuoteHelperEnabled,omitempty" tf:"sgx_quote_helper_enabled,omitempty"`
}
type ConfidentialComputingParameters struct {
// Should the SGX quote helper be enabled?
// +kubebuilder:validation:Optional
SgxQuoteHelperEnabled *bool `json:"sgxQuoteHelperEnabled" tf:"sgx_quote_helper_enabled,omitempty"`
}
type ConnectorIdentityInitParameters struct {
}
type ConnectorIdentityObservation struct {
// The Client ID of the user-defined Managed Identity used by the ACI Connector.
ClientID *string `json:"clientId,omitempty" tf:"client_id,omitempty"`
// The Object ID of the user-defined Managed Identity used by the ACI Connector.
ObjectID *string `json:"objectId,omitempty" tf:"object_id,omitempty"`
// The ID of the User Assigned Identity used by the ACI Connector.
UserAssignedIdentityID *string `json:"userAssignedIdentityId,omitempty" tf:"user_assigned_identity_id,omitempty"`
}
type ConnectorIdentityParameters struct {
}
type DefaultNodePoolInitParameters struct {
// Specifies the ID of the Capacity Reservation Group within which this AKS Cluster should be created. Changing this forces a new resource to be created.
CapacityReservationGroupID *string `json:"capacityReservationGroupId,omitempty" tf:"capacity_reservation_group_id,omitempty"`
// Specifies whether to trust a Custom CA.
CustomCATrustEnabled *bool `json:"customCaTrustEnabled,omitempty" tf:"custom_ca_trust_enabled,omitempty"`
// Should the Kubernetes Auto Scaler be enabled for this Node Pool?
EnableAutoScaling *bool `json:"enableAutoScaling,omitempty" tf:"enable_auto_scaling,omitempty"`
// Should the nodes in the Default Node Pool have host encryption enabled? temporary_name_for_rotation must be specified when changing this property.
EnableHostEncryption *bool `json:"enableHostEncryption,omitempty" tf:"enable_host_encryption,omitempty"`
// Should nodes in this Node Pool have a Public IP Address? temporary_name_for_rotation must be specified when changing this property.
EnableNodePublicIP *bool `json:"enableNodePublicIp,omitempty" tf:"enable_node_public_ip,omitempty"`
// Should the nodes in this Node Pool have Federal Information Processing Standard enabled? temporary_name_for_rotation must be specified when changing this block. Changing this forces a new resource to be created.
FipsEnabled *bool `json:"fipsEnabled,omitempty" tf:"fips_enabled,omitempty"`
// Specifies the GPU MIG instance profile for supported GPU VM SKU. The allowed values are MIG1g, MIG2g, MIG3g, MIG4g and MIG7g. Changing this forces a new resource to be created.
GpuInstance *string `json:"gpuInstance,omitempty" tf:"gpu_instance,omitempty"`
// Specifies the ID of the Host Group within which this AKS Cluster should be created. Changing this forces a new resource to be created.
HostGroupID *string `json:"hostGroupId,omitempty" tf:"host_group_id,omitempty"`
// A kubelet_config block as defined below. temporary_name_for_rotation must be specified when changing this block.
KubeletConfig []KubeletConfigInitParameters `json:"kubeletConfig,omitempty" tf:"kubelet_config,omitempty"`
// The type of disk used by kubelet. Possible values are OS and Temporary.
KubeletDiskType *string `json:"kubeletDiskType,omitempty" tf:"kubelet_disk_type,omitempty"`
// A linux_os_config block as defined below. temporary_name_for_rotation must be specified when changing this block.
LinuxOsConfig []LinuxOsConfigInitParameters `json:"linuxOsConfig,omitempty" tf:"linux_os_config,omitempty"`
// The maximum number of nodes which should exist in this Node Pool. If specified this must be between 1 and 1000.
MaxCount *float64 `json:"maxCount,omitempty" tf:"max_count,omitempty"`
// The maximum number of pods that can run on each agent. temporary_name_for_rotation must be specified when changing this property.
MaxPods *float64 `json:"maxPods,omitempty" tf:"max_pods,omitempty"`
// A base64-encoded string which will be written to /etc/motd after decoding. This allows customization of the message of the day for Linux nodes. It cannot be specified for Windows nodes and must be a static string (i.e. will be printed raw and not executed as a script). Changing this forces a new resource to be created.
MessageOfTheDay *string `json:"messageOfTheDay,omitempty" tf:"message_of_the_day,omitempty"`
// The minimum number of nodes which should exist in this Node Pool. If specified this must be between 1 and 1000.
MinCount *float64 `json:"minCount,omitempty" tf:"min_count,omitempty"`
// The name which should be used for the default Kubernetes Node Pool.
Name *string `json:"name,omitempty" tf:"name,omitempty"`
// The initial number of nodes which should exist in this Node Pool. If specified this must be between 1 and 1000 and between min_count and max_count.
NodeCount *float64 `json:"nodeCount,omitempty" tf:"node_count,omitempty"`
// A map of Kubernetes labels which should be applied to nodes in the Default Node Pool.
// +mapType=granular
NodeLabels map[string]*string `json:"nodeLabels,omitempty" tf:"node_labels,omitempty"`
// A node_network_profile block as documented below.
NodeNetworkProfile []NodeNetworkProfileInitParameters `json:"nodeNetworkProfile,omitempty" tf:"node_network_profile,omitempty"`
// Resource ID for the Public IP Addresses Prefix for the nodes in this Node Pool. enable_node_public_ip should be true. Changing this forces a new resource to be created.
NodePublicIPPrefixID *string `json:"nodePublicIpPrefixId,omitempty" tf:"node_public_ip_prefix_id,omitempty"`
NodeTaints []*string `json:"nodeTaints,omitempty" tf:"node_taints,omitempty"`
// Enabling this option will taint default node pool with CriticalAddonsOnly=true:NoSchedule taint. temporary_name_for_rotation must be specified when changing this property.
OnlyCriticalAddonsEnabled *bool `json:"onlyCriticalAddonsEnabled,omitempty" tf:"only_critical_addons_enabled,omitempty"`
// Version of Kubernetes used for the Agents. If not specified, the default node pool will be created with the version specified by kubernetes_version. If both are unspecified, the latest recommended version will be used at provisioning time (but won't auto-upgrade). AKS does not require an exact patch version to be specified, minor version aliases such as 1.22 are also supported. - The minor version's latest GA patch is automatically chosen in that case. More details can be found in the documentation.
OrchestratorVersion *string `json:"orchestratorVersion,omitempty" tf:"orchestrator_version,omitempty"`
// The size of the OS Disk which should be used for each agent in the Node Pool. temporary_name_for_rotation must be specified when attempting a change.
OsDiskSizeGb *float64 `json:"osDiskSizeGb,omitempty" tf:"os_disk_size_gb,omitempty"`
// The type of disk which should be used for the Operating System. Possible values are Ephemeral and Managed. Defaults to Managed. temporary_name_for_rotation must be specified when attempting a change.
OsDiskType *string `json:"osDiskType,omitempty" tf:"os_disk_type,omitempty"`
// Specifies the OS SKU used by the agent pool. Possible values are AzureLinux, Ubuntu, Windows2019 and Windows2022. If not specified, the default is Ubuntu if OSType=Linux or Windows2019 if OSType=Windows. And the default Windows OSSKU will be changed to Windows2022 after Windows2019 is deprecated. temporary_name_for_rotation must be specified when attempting a change.
OsSku *string `json:"osSku,omitempty" tf:"os_sku,omitempty"`
// The ID of the Subnet where the pods in the default Node Pool should exist.
// +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta1.Subnet
// +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID()
PodSubnetID *string `json:"podSubnetId,omitempty" tf:"pod_subnet_id,omitempty"`
// Reference to a Subnet in network to populate podSubnetId.
// +kubebuilder:validation:Optional
PodSubnetIDRef *v1.Reference `json:"podSubnetIdRef,omitempty" tf:"-"`
// Selector for a Subnet in network to populate podSubnetId.
// +kubebuilder:validation:Optional
PodSubnetIDSelector *v1.Selector `json:"podSubnetIdSelector,omitempty" tf:"-"`
// The ID of the Proximity Placement Group. Changing this forces a new resource to be created.
ProximityPlacementGroupID *string `json:"proximityPlacementGroupId,omitempty" tf:"proximity_placement_group_id,omitempty"`
// Specifies the autoscaling behaviour of the Kubernetes Cluster. Allowed values are Delete and Deallocate. Defaults to Delete.
ScaleDownMode *string `json:"scaleDownMode,omitempty" tf:"scale_down_mode,omitempty"`
// The ID of the Snapshot which should be used to create this default Node Pool. temporary_name_for_rotation must be specified when changing this property.
SnapshotID *string `json:"snapshotId,omitempty" tf:"snapshot_id,omitempty"`
// A mapping of tags to assign to the Node Pool.
// +mapType=granular
Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"`
// Specifies the name of the temporary node pool used to cycle the default node pool for VM resizing.
TemporaryNameForRotation *string `json:"temporaryNameForRotation,omitempty" tf:"temporary_name_for_rotation,omitempty"`
// The type of Node Pool which should be created. Possible values are AvailabilitySet and VirtualMachineScaleSets. Defaults to VirtualMachineScaleSets. Changing this forces a new resource to be created.
Type *string `json:"type,omitempty" tf:"type,omitempty"`
// Used to specify whether the UltraSSD is enabled in the Default Node Pool. Defaults to false. See the documentation for more information. temporary_name_for_rotation must be specified when attempting a change.
UltraSsdEnabled *bool `json:"ultraSsdEnabled,omitempty" tf:"ultra_ssd_enabled,omitempty"`
// A upgrade_settings block as documented below.
UpgradeSettings []UpgradeSettingsInitParameters `json:"upgradeSettings,omitempty" tf:"upgrade_settings,omitempty"`
// The size of the Virtual Machine, such as Standard_DS2_v2. temporary_name_for_rotation must be specified when attempting a resize.
VMSize *string `json:"vmSize,omitempty" tf:"vm_size,omitempty"`
// The ID of a Subnet where the Kubernetes Node Pool should exist.
// +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta1.Subnet
// +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID()
VnetSubnetID *string `json:"vnetSubnetId,omitempty" tf:"vnet_subnet_id,omitempty"`
// Reference to a Subnet in network to populate vnetSubnetId.
// +kubebuilder:validation:Optional
VnetSubnetIDRef *v1.Reference `json:"vnetSubnetIdRef,omitempty" tf:"-"`
// Selector for a Subnet in network to populate vnetSubnetId.
// +kubebuilder:validation:Optional
VnetSubnetIDSelector *v1.Selector `json:"vnetSubnetIdSelector,omitempty" tf:"-"`
// Specifies the workload runtime used by the node pool. Possible values are OCIContainer and KataMshvVmIsolation.
WorkloadRuntime *string `json:"workloadRuntime,omitempty" tf:"workload_runtime,omitempty"`
// Specifies a list of Availability Zones in which this Kubernetes Cluster should be located. temporary_name_for_rotation must be specified when changing this property.
// +listType=set
Zones []*string `json:"zones,omitempty" tf:"zones,omitempty"`
}
type DefaultNodePoolObservation struct {
// Specifies the ID of the Capacity Reservation Group within which this AKS Cluster should be created. Changing this forces a new resource to be created.
CapacityReservationGroupID *string `json:"capacityReservationGroupId,omitempty" tf:"capacity_reservation_group_id,omitempty"`
// Specifies whether to trust a Custom CA.
CustomCATrustEnabled *bool `json:"customCaTrustEnabled,omitempty" tf:"custom_ca_trust_enabled,omitempty"`
// Should the Kubernetes Auto Scaler be enabled for this Node Pool?
EnableAutoScaling *bool `json:"enableAutoScaling,omitempty" tf:"enable_auto_scaling,omitempty"`
// Should the nodes in the Default Node Pool have host encryption enabled? temporary_name_for_rotation must be specified when changing this property.
EnableHostEncryption *bool `json:"enableHostEncryption,omitempty" tf:"enable_host_encryption,omitempty"`
// Should nodes in this Node Pool have a Public IP Address? temporary_name_for_rotation must be specified when changing this property.
EnableNodePublicIP *bool `json:"enableNodePublicIp,omitempty" tf:"enable_node_public_ip,omitempty"`
// Should the nodes in this Node Pool have Federal Information Processing Standard enabled? temporary_name_for_rotation must be specified when changing this block. Changing this forces a new resource to be created.
FipsEnabled *bool `json:"fipsEnabled,omitempty" tf:"fips_enabled,omitempty"`
// Specifies the GPU MIG instance profile for supported GPU VM SKU. The allowed values are MIG1g, MIG2g, MIG3g, MIG4g and MIG7g. Changing this forces a new resource to be created.
GpuInstance *string `json:"gpuInstance,omitempty" tf:"gpu_instance,omitempty"`
// Specifies the ID of the Host Group within which this AKS Cluster should be created. Changing this forces a new resource to be created.
HostGroupID *string `json:"hostGroupId,omitempty" tf:"host_group_id,omitempty"`
// A kubelet_config block as defined below. temporary_name_for_rotation must be specified when changing this block.
KubeletConfig []KubeletConfigObservation `json:"kubeletConfig,omitempty" tf:"kubelet_config,omitempty"`
// The type of disk used by kubelet. Possible values are OS and Temporary.
KubeletDiskType *string `json:"kubeletDiskType,omitempty" tf:"kubelet_disk_type,omitempty"`
// A linux_os_config block as defined below. temporary_name_for_rotation must be specified when changing this block.
LinuxOsConfig []LinuxOsConfigObservation `json:"linuxOsConfig,omitempty" tf:"linux_os_config,omitempty"`
// The maximum number of nodes which should exist in this Node Pool. If specified this must be between 1 and 1000.
MaxCount *float64 `json:"maxCount,omitempty" tf:"max_count,omitempty"`
// The maximum number of pods that can run on each agent. temporary_name_for_rotation must be specified when changing this property.
MaxPods *float64 `json:"maxPods,omitempty" tf:"max_pods,omitempty"`
// A base64-encoded string which will be written to /etc/motd after decoding. This allows customization of the message of the day for Linux nodes. It cannot be specified for Windows nodes and must be a static string (i.e. will be printed raw and not executed as a script). Changing this forces a new resource to be created.
MessageOfTheDay *string `json:"messageOfTheDay,omitempty" tf:"message_of_the_day,omitempty"`
// The minimum number of nodes which should exist in this Node Pool. If specified this must be between 1 and 1000.
MinCount *float64 `json:"minCount,omitempty" tf:"min_count,omitempty"`
// The name which should be used for the default Kubernetes Node Pool.
Name *string `json:"name,omitempty" tf:"name,omitempty"`
// The initial number of nodes which should exist in this Node Pool. If specified this must be between 1 and 1000 and between min_count and max_count.
NodeCount *float64 `json:"nodeCount,omitempty" tf:"node_count,omitempty"`
// A map of Kubernetes labels which should be applied to nodes in the Default Node Pool.
// +mapType=granular
NodeLabels map[string]*string `json:"nodeLabels,omitempty" tf:"node_labels,omitempty"`
// A node_network_profile block as documented below.
NodeNetworkProfile []NodeNetworkProfileObservation `json:"nodeNetworkProfile,omitempty" tf:"node_network_profile,omitempty"`
// Resource ID for the Public IP Addresses Prefix for the nodes in this Node Pool. enable_node_public_ip should be true. Changing this forces a new resource to be created.
NodePublicIPPrefixID *string `json:"nodePublicIpPrefixId,omitempty" tf:"node_public_ip_prefix_id,omitempty"`
NodeTaints []*string `json:"nodeTaints,omitempty" tf:"node_taints,omitempty"`
// Enabling this option will taint default node pool with CriticalAddonsOnly=true:NoSchedule taint. temporary_name_for_rotation must be specified when changing this property.
OnlyCriticalAddonsEnabled *bool `json:"onlyCriticalAddonsEnabled,omitempty" tf:"only_critical_addons_enabled,omitempty"`
// Version of Kubernetes used for the Agents. If not specified, the default node pool will be created with the version specified by kubernetes_version. If both are unspecified, the latest recommended version will be used at provisioning time (but won't auto-upgrade). AKS does not require an exact patch version to be specified, minor version aliases such as 1.22 are also supported. - The minor version's latest GA patch is automatically chosen in that case. More details can be found in the documentation.
OrchestratorVersion *string `json:"orchestratorVersion,omitempty" tf:"orchestrator_version,omitempty"`
// The size of the OS Disk which should be used for each agent in the Node Pool. temporary_name_for_rotation must be specified when attempting a change.
OsDiskSizeGb *float64 `json:"osDiskSizeGb,omitempty" tf:"os_disk_size_gb,omitempty"`
// The type of disk which should be used for the Operating System. Possible values are Ephemeral and Managed. Defaults to Managed. temporary_name_for_rotation must be specified when attempting a change.
OsDiskType *string `json:"osDiskType,omitempty" tf:"os_disk_type,omitempty"`
// Specifies the OS SKU used by the agent pool. Possible values are AzureLinux, Ubuntu, Windows2019 and Windows2022. If not specified, the default is Ubuntu if OSType=Linux or Windows2019 if OSType=Windows. And the default Windows OSSKU will be changed to Windows2022 after Windows2019 is deprecated. temporary_name_for_rotation must be specified when attempting a change.
OsSku *string `json:"osSku,omitempty" tf:"os_sku,omitempty"`
// The ID of the Subnet where the pods in the default Node Pool should exist.
PodSubnetID *string `json:"podSubnetId,omitempty" tf:"pod_subnet_id,omitempty"`
// The ID of the Proximity Placement Group. Changing this forces a new resource to be created.
ProximityPlacementGroupID *string `json:"proximityPlacementGroupId,omitempty" tf:"proximity_placement_group_id,omitempty"`
// Specifies the autoscaling behaviour of the Kubernetes Cluster. Allowed values are Delete and Deallocate. Defaults to Delete.
ScaleDownMode *string `json:"scaleDownMode,omitempty" tf:"scale_down_mode,omitempty"`
// The ID of the Snapshot which should be used to create this default Node Pool. temporary_name_for_rotation must be specified when changing this property.
SnapshotID *string `json:"snapshotId,omitempty" tf:"snapshot_id,omitempty"`
// A mapping of tags to assign to the Node Pool.
// +mapType=granular
Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"`
// Specifies the name of the temporary node pool used to cycle the default node pool for VM resizing.
TemporaryNameForRotation *string `json:"temporaryNameForRotation,omitempty" tf:"temporary_name_for_rotation,omitempty"`
// The type of Node Pool which should be created. Possible values are AvailabilitySet and VirtualMachineScaleSets. Defaults to VirtualMachineScaleSets. Changing this forces a new resource to be created.
Type *string `json:"type,omitempty" tf:"type,omitempty"`
// Used to specify whether the UltraSSD is enabled in the Default Node Pool. Defaults to false. See the documentation for more information. temporary_name_for_rotation must be specified when attempting a change.
UltraSsdEnabled *bool `json:"ultraSsdEnabled,omitempty" tf:"ultra_ssd_enabled,omitempty"`
// A upgrade_settings block as documented below.
UpgradeSettings []UpgradeSettingsObservation `json:"upgradeSettings,omitempty" tf:"upgrade_settings,omitempty"`
// The size of the Virtual Machine, such as Standard_DS2_v2. temporary_name_for_rotation must be specified when attempting a resize.
VMSize *string `json:"vmSize,omitempty" tf:"vm_size,omitempty"`
// The ID of a Subnet where the Kubernetes Node Pool should exist.
VnetSubnetID *string `json:"vnetSubnetId,omitempty" tf:"vnet_subnet_id,omitempty"`
// Specifies the workload runtime used by the node pool. Possible values are OCIContainer and KataMshvVmIsolation.
WorkloadRuntime *string `json:"workloadRuntime,omitempty" tf:"workload_runtime,omitempty"`
// Specifies a list of Availability Zones in which this Kubernetes Cluster should be located. temporary_name_for_rotation must be specified when changing this property.
// +listType=set
Zones []*string `json:"zones,omitempty" tf:"zones,omitempty"`
}
type DefaultNodePoolParameters struct {
// Specifies the ID of the Capacity Reservation Group within which this AKS Cluster should be created. Changing this forces a new resource to be created.
// +kubebuilder:validation:Optional
CapacityReservationGroupID *string `json:"capacityReservationGroupId,omitempty" tf:"capacity_reservation_group_id,omitempty"`
// Specifies whether to trust a Custom CA.
// +kubebuilder:validation:Optional
CustomCATrustEnabled *bool `json:"customCaTrustEnabled,omitempty" tf:"custom_ca_trust_enabled,omitempty"`
// Should the Kubernetes Auto Scaler be enabled for this Node Pool?
// +kubebuilder:validation:Optional
EnableAutoScaling *bool `json:"enableAutoScaling,omitempty" tf:"enable_auto_scaling,omitempty"`
// Should the nodes in the Default Node Pool have host encryption enabled? temporary_name_for_rotation must be specified when changing this property.
// +kubebuilder:validation:Optional
EnableHostEncryption *bool `json:"enableHostEncryption,omitempty" tf:"enable_host_encryption,omitempty"`
// Should nodes in this Node Pool have a Public IP Address? temporary_name_for_rotation must be specified when changing this property.
// +kubebuilder:validation:Optional
EnableNodePublicIP *bool `json:"enableNodePublicIp,omitempty" tf:"enable_node_public_ip,omitempty"`
// Should the nodes in this Node Pool have Federal Information Processing Standard enabled? temporary_name_for_rotation must be specified when changing this block. Changing this forces a new resource to be created.
// +kubebuilder:validation:Optional
FipsEnabled *bool `json:"fipsEnabled,omitempty" tf:"fips_enabled,omitempty"`
// Specifies the GPU MIG instance profile for supported GPU VM SKU. The allowed values are MIG1g, MIG2g, MIG3g, MIG4g and MIG7g. Changing this forces a new resource to be created.
// +kubebuilder:validation:Optional
GpuInstance *string `json:"gpuInstance,omitempty" tf:"gpu_instance,omitempty"`
// Specifies the ID of the Host Group within which this AKS Cluster should be created. Changing this forces a new resource to be created.
// +kubebuilder:validation:Optional
HostGroupID *string `json:"hostGroupId,omitempty" tf:"host_group_id,omitempty"`
// A kubelet_config block as defined below. temporary_name_for_rotation must be specified when changing this block.
// +kubebuilder:validation:Optional
KubeletConfig []KubeletConfigParameters `json:"kubeletConfig,omitempty" tf:"kubelet_config,omitempty"`
// The type of disk used by kubelet. Possible values are OS and Temporary.
// +kubebuilder:validation:Optional
KubeletDiskType *string `json:"kubeletDiskType,omitempty" tf:"kubelet_disk_type,omitempty"`
// A linux_os_config block as defined below. temporary_name_for_rotation must be specified when changing this block.
// +kubebuilder:validation:Optional
LinuxOsConfig []LinuxOsConfigParameters `json:"linuxOsConfig,omitempty" tf:"linux_os_config,omitempty"`
// The maximum number of nodes which should exist in this Node Pool. If specified this must be between 1 and 1000.
// +kubebuilder:validation:Optional
MaxCount *float64 `json:"maxCount,omitempty" tf:"max_count,omitempty"`
// The maximum number of pods that can run on each agent. temporary_name_for_rotation must be specified when changing this property.
// +kubebuilder:validation:Optional
MaxPods *float64 `json:"maxPods,omitempty" tf:"max_pods,omitempty"`
// A base64-encoded string which will be written to /etc/motd after decoding. This allows customization of the message of the day for Linux nodes. It cannot be specified for Windows nodes and must be a static string (i.e. will be printed raw and not executed as a script). Changing this forces a new resource to be created.
// +kubebuilder:validation:Optional
MessageOfTheDay *string `json:"messageOfTheDay,omitempty" tf:"message_of_the_day,omitempty"`
// The minimum number of nodes which should exist in this Node Pool. If specified this must be between 1 and 1000.
// +kubebuilder:validation:Optional
MinCount *float64 `json:"minCount,omitempty" tf:"min_count,omitempty"`
// The name which should be used for the default Kubernetes Node Pool.
// +kubebuilder:validation:Optional
Name *string `json:"name" tf:"name,omitempty"`
// The initial number of nodes which should exist in this Node Pool. If specified this must be between 1 and 1000 and between min_count and max_count.
// +kubebuilder:validation:Optional
NodeCount *float64 `json:"nodeCount,omitempty" tf:"node_count,omitempty"`
// A map of Kubernetes labels which should be applied to nodes in the Default Node Pool.
// +kubebuilder:validation:Optional
// +mapType=granular
NodeLabels map[string]*string `json:"nodeLabels,omitempty" tf:"node_labels,omitempty"`
// A node_network_profile block as documented below.
// +kubebuilder:validation:Optional
NodeNetworkProfile []NodeNetworkProfileParameters `json:"nodeNetworkProfile,omitempty" tf:"node_network_profile,omitempty"`
// Resource ID for the Public IP Addresses Prefix for the nodes in this Node Pool. enable_node_public_ip should be true. Changing this forces a new resource to be created.
// +kubebuilder:validation:Optional
NodePublicIPPrefixID *string `json:"nodePublicIpPrefixId,omitempty" tf:"node_public_ip_prefix_id,omitempty"`
// +kubebuilder:validation:Optional
NodeTaints []*string `json:"nodeTaints,omitempty" tf:"node_taints,omitempty"`
// Enabling this option will taint default node pool with CriticalAddonsOnly=true:NoSchedule taint. temporary_name_for_rotation must be specified when changing this property.
// +kubebuilder:validation:Optional
OnlyCriticalAddonsEnabled *bool `json:"onlyCriticalAddonsEnabled,omitempty" tf:"only_critical_addons_enabled,omitempty"`
// Version of Kubernetes used for the Agents. If not specified, the default node pool will be created with the version specified by kubernetes_version. If both are unspecified, the latest recommended version will be used at provisioning time (but won't auto-upgrade). AKS does not require an exact patch version to be specified, minor version aliases such as 1.22 are also supported. - The minor version's latest GA patch is automatically chosen in that case. More details can be found in the documentation.
// +kubebuilder:validation:Optional
OrchestratorVersion *string `json:"orchestratorVersion,omitempty" tf:"orchestrator_version,omitempty"`
// The size of the OS Disk which should be used for each agent in the Node Pool. temporary_name_for_rotation must be specified when attempting a change.
// +kubebuilder:validation:Optional
OsDiskSizeGb *float64 `json:"osDiskSizeGb,omitempty" tf:"os_disk_size_gb,omitempty"`
// The type of disk which should be used for the Operating System. Possible values are Ephemeral and Managed. Defaults to Managed. temporary_name_for_rotation must be specified when attempting a change.
// +kubebuilder:validation:Optional
OsDiskType *string `json:"osDiskType,omitempty" tf:"os_disk_type,omitempty"`
// Specifies the OS SKU used by the agent pool. Possible values are AzureLinux, Ubuntu, Windows2019 and Windows2022. If not specified, the default is Ubuntu if OSType=Linux or Windows2019 if OSType=Windows. And the default Windows OSSKU will be changed to Windows2022 after Windows2019 is deprecated. temporary_name_for_rotation must be specified when attempting a change.
// +kubebuilder:validation:Optional
OsSku *string `json:"osSku,omitempty" tf:"os_sku,omitempty"`
// The ID of the Subnet where the pods in the default Node Pool should exist.
// +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta1.Subnet
// +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID()
// +kubebuilder:validation:Optional
PodSubnetID *string `json:"podSubnetId,omitempty" tf:"pod_subnet_id,omitempty"`
// Reference to a Subnet in network to populate podSubnetId.
// +kubebuilder:validation:Optional
PodSubnetIDRef *v1.Reference `json:"podSubnetIdRef,omitempty" tf:"-"`
// Selector for a Subnet in network to populate podSubnetId.
// +kubebuilder:validation:Optional
PodSubnetIDSelector *v1.Selector `json:"podSubnetIdSelector,omitempty" tf:"-"`
// The ID of the Proximity Placement Group. Changing this forces a new resource to be created.
// +kubebuilder:validation:Optional
ProximityPlacementGroupID *string `json:"proximityPlacementGroupId,omitempty" tf:"proximity_placement_group_id,omitempty"`
// Specifies the autoscaling behaviour of the Kubernetes Cluster. Allowed values are Delete and Deallocate. Defaults to Delete.
// +kubebuilder:validation:Optional
ScaleDownMode *string `json:"scaleDownMode,omitempty" tf:"scale_down_mode,omitempty"`
// The ID of the Snapshot which should be used to create this default Node Pool. temporary_name_for_rotation must be specified when changing this property.
// +kubebuilder:validation:Optional
SnapshotID *string `json:"snapshotId,omitempty" tf:"snapshot_id,omitempty"`
// A mapping of tags to assign to the Node Pool.
// +kubebuilder:validation:Optional
// +mapType=granular
Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"`
// Specifies the name of the temporary node pool used to cycle the default node pool for VM resizing.
// +kubebuilder:validation:Optional
TemporaryNameForRotation *string `json:"temporaryNameForRotation,omitempty" tf:"temporary_name_for_rotation,omitempty"`
// The type of Node Pool which should be created. Possible values are AvailabilitySet and VirtualMachineScaleSets. Defaults to VirtualMachineScaleSets. Changing this forces a new resource to be created.
// +kubebuilder:validation:Optional
Type *string `json:"type,omitempty" tf:"type,omitempty"`
// Used to specify whether the UltraSSD is enabled in the Default Node Pool. Defaults to false. See the documentation for more information. temporary_name_for_rotation must be specified when attempting a change.
// +kubebuilder:validation:Optional
UltraSsdEnabled *bool `json:"ultraSsdEnabled,omitempty" tf:"ultra_ssd_enabled,omitempty"`
// A upgrade_settings block as documented below.
// +kubebuilder:validation:Optional
UpgradeSettings []UpgradeSettingsParameters `json:"upgradeSettings,omitempty" tf:"upgrade_settings,omitempty"`
// The size of the Virtual Machine, such as Standard_DS2_v2. temporary_name_for_rotation must be specified when attempting a resize.
// +kubebuilder:validation:Optional
VMSize *string `json:"vmSize" tf:"vm_size,omitempty"`
// The ID of a Subnet where the Kubernetes Node Pool should exist.
// +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta1.Subnet
// +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID()
// +kubebuilder:validation:Optional
VnetSubnetID *string `json:"vnetSubnetId,omitempty" tf:"vnet_subnet_id,omitempty"`
// Reference to a Subnet in network to populate vnetSubnetId.
// +kubebuilder:validation:Optional
VnetSubnetIDRef *v1.Reference `json:"vnetSubnetIdRef,omitempty" tf:"-"`
// Selector for a Subnet in network to populate vnetSubnetId.
// +kubebuilder:validation:Optional
VnetSubnetIDSelector *v1.Selector `json:"vnetSubnetIdSelector,omitempty" tf:"-"`
// Specifies the workload runtime used by the node pool. Possible values are OCIContainer and KataMshvVmIsolation.
// +kubebuilder:validation:Optional
WorkloadRuntime *string `json:"workloadRuntime,omitempty" tf:"workload_runtime,omitempty"`
// Specifies a list of Availability Zones in which this Kubernetes Cluster should be located. temporary_name_for_rotation must be specified when changing this property.
// +kubebuilder:validation:Optional
// +listType=set
Zones []*string `json:"zones,omitempty" tf:"zones,omitempty"`
}
type GmsaInitParameters struct {
// Specifies the DNS server for Windows gMSA. Set this to an empty string if you have configured the DNS server in the VNet which was used to create the managed cluster.
DNSServer *string `json:"dnsServer,omitempty" tf:"dns_server,omitempty"`
// Specifies the root domain name for Windows gMSA. Set this to an empty string if you have configured the DNS server in the VNet which was used to create the managed cluster.
RootDomain *string `json:"rootDomain,omitempty" tf:"root_domain,omitempty"`
}
type GmsaObservation struct {
// Specifies the DNS server for Windows gMSA. Set this to an empty string if you have configured the DNS server in the VNet which was used to create the managed cluster.
DNSServer *string `json:"dnsServer,omitempty" tf:"dns_server,omitempty"`
// Specifies the root domain name for Windows gMSA. Set this to an empty string if you have configured the DNS server in the VNet which was used to create the managed cluster.
RootDomain *string `json:"rootDomain,omitempty" tf:"root_domain,omitempty"`
}
type GmsaParameters struct {
// Specifies the DNS server for Windows gMSA. Set this to an empty string if you have configured the DNS server in the VNet which was used to create the managed cluster.
// +kubebuilder:validation:Optional
DNSServer *string `json:"dnsServer" tf:"dns_server,omitempty"`
// Specifies the root domain name for Windows gMSA. Set this to an empty string if you have configured the DNS server in the VNet which was used to create the managed cluster.
// +kubebuilder:validation:Optional
RootDomain *string `json:"rootDomain" tf:"root_domain,omitempty"`
}
type HTTPProxyConfigInitParameters struct {
// The proxy address to be used when communicating over HTTP.
HTTPProxy *string `json:"httpProxy,omitempty" tf:"http_proxy,omitempty"`
// The proxy address to be used when communicating over HTTPS.
HTTPSProxy *string `json:"httpsProxy,omitempty" tf:"https_proxy,omitempty"`
// The list of domains that will not use the proxy for communication.
// +listType=set
NoProxy []*string `json:"noProxy,omitempty" tf:"no_proxy,omitempty"`
}
type HTTPProxyConfigObservation struct {
// The proxy address to be used when communicating over HTTP.
HTTPProxy *string `json:"httpProxy,omitempty" tf:"http_proxy,omitempty"`
// The proxy address to be used when communicating over HTTPS.
HTTPSProxy *string `json:"httpsProxy,omitempty" tf:"https_proxy,omitempty"`
// The list of domains that will not use the proxy for communication.
// +listType=set
NoProxy []*string `json:"noProxy,omitempty" tf:"no_proxy,omitempty"`
}
type HTTPProxyConfigParameters struct {
// The proxy address to be used when communicating over HTTP.
// +kubebuilder:validation:Optional
HTTPProxy *string `json:"httpProxy,omitempty" tf:"http_proxy,omitempty"`
// The proxy address to be used when communicating over HTTPS.
// +kubebuilder:validation:Optional
HTTPSProxy *string `json:"httpsProxy,omitempty" tf:"https_proxy,omitempty"`
// The list of domains that will not use the proxy for communication.
// +kubebuilder:validation:Optional
// +listType=set
NoProxy []*string `json:"noProxy,omitempty" tf:"no_proxy,omitempty"`
// The base64 encoded alternative CA certificate content in PEM format.
// +kubebuilder:validation:Optional
TrustedCASecretRef *v1.SecretKeySelector `json:"trustedCaSecretRef,omitempty" tf:"-"`
}
type IdentityInitParameters struct {
// Specifies a list of User Assigned Managed Identity IDs to be assigned to this Kubernetes Cluster.