-
Notifications
You must be signed in to change notification settings - Fork 69
/
zz_kafkacluster_types.go
executable file
·1503 lines (1076 loc) · 93.4 KB
/
zz_kafkacluster_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 KafkaClusterComponentVersionInitParameters struct {
// The version of Kafka which should be used for this HDInsight Kafka Cluster. Changing this forces a new resource to be created.
Kafka *string `json:"kafka,omitempty" tf:"kafka,omitempty"`
}
type KafkaClusterComponentVersionObservation struct {
// The version of Kafka which should be used for this HDInsight Kafka Cluster. Changing this forces a new resource to be created.
Kafka *string `json:"kafka,omitempty" tf:"kafka,omitempty"`
}
type KafkaClusterComponentVersionParameters struct {
// The version of Kafka which should be used for this HDInsight Kafka Cluster. Changing this forces a new resource to be created.
// +kubebuilder:validation:Optional
Kafka *string `json:"kafka" tf:"kafka,omitempty"`
}
type KafkaClusterComputeIsolationInitParameters struct {
// This field indicates whether enable compute isolation or not. Possible values are true or false.
ComputeIsolationEnabled *bool `json:"computeIsolationEnabled,omitempty" tf:"compute_isolation_enabled,omitempty"`
// The name of the host SKU.
HostSku *string `json:"hostSku,omitempty" tf:"host_sku,omitempty"`
}
type KafkaClusterComputeIsolationObservation struct {
// This field indicates whether enable compute isolation or not. Possible values are true or false.
ComputeIsolationEnabled *bool `json:"computeIsolationEnabled,omitempty" tf:"compute_isolation_enabled,omitempty"`
// The name of the host SKU.
HostSku *string `json:"hostSku,omitempty" tf:"host_sku,omitempty"`
}
type KafkaClusterComputeIsolationParameters struct {
// This field indicates whether enable compute isolation or not. Possible values are true or false.
// +kubebuilder:validation:Optional
ComputeIsolationEnabled *bool `json:"computeIsolationEnabled,omitempty" tf:"compute_isolation_enabled,omitempty"`
// The name of the host SKU.
// +kubebuilder:validation:Optional
HostSku *string `json:"hostSku,omitempty" tf:"host_sku,omitempty"`
}
type KafkaClusterDiskEncryptionInitParameters struct {
// This is an algorithm identifier for encryption. Possible values are RSA1_5, RSA-OAEP, RSA-OAEP-256.
EncryptionAlgorithm *string `json:"encryptionAlgorithm,omitempty" tf:"encryption_algorithm,omitempty"`
// This is indicator to show whether resource disk encryption is enabled.
EncryptionAtHostEnabled *bool `json:"encryptionAtHostEnabled,omitempty" tf:"encryption_at_host_enabled,omitempty"`
// The ID of the key vault key.
KeyVaultKeyID *string `json:"keyVaultKeyId,omitempty" tf:"key_vault_key_id,omitempty"`
// This is the resource ID of Managed Identity used to access the key vault.
KeyVaultManagedIdentityID *string `json:"keyVaultManagedIdentityId,omitempty" tf:"key_vault_managed_identity_id,omitempty"`
}
type KafkaClusterDiskEncryptionObservation struct {
// This is an algorithm identifier for encryption. Possible values are RSA1_5, RSA-OAEP, RSA-OAEP-256.
EncryptionAlgorithm *string `json:"encryptionAlgorithm,omitempty" tf:"encryption_algorithm,omitempty"`
// This is indicator to show whether resource disk encryption is enabled.
EncryptionAtHostEnabled *bool `json:"encryptionAtHostEnabled,omitempty" tf:"encryption_at_host_enabled,omitempty"`
// The ID of the key vault key.
KeyVaultKeyID *string `json:"keyVaultKeyId,omitempty" tf:"key_vault_key_id,omitempty"`
// This is the resource ID of Managed Identity used to access the key vault.
KeyVaultManagedIdentityID *string `json:"keyVaultManagedIdentityId,omitempty" tf:"key_vault_managed_identity_id,omitempty"`
}
type KafkaClusterDiskEncryptionParameters struct {
// This is an algorithm identifier for encryption. Possible values are RSA1_5, RSA-OAEP, RSA-OAEP-256.
// +kubebuilder:validation:Optional
EncryptionAlgorithm *string `json:"encryptionAlgorithm,omitempty" tf:"encryption_algorithm,omitempty"`
// This is indicator to show whether resource disk encryption is enabled.
// +kubebuilder:validation:Optional
EncryptionAtHostEnabled *bool `json:"encryptionAtHostEnabled,omitempty" tf:"encryption_at_host_enabled,omitempty"`
// The ID of the key vault key.
// +kubebuilder:validation:Optional
KeyVaultKeyID *string `json:"keyVaultKeyId,omitempty" tf:"key_vault_key_id,omitempty"`
// This is the resource ID of Managed Identity used to access the key vault.
// +kubebuilder:validation:Optional
KeyVaultManagedIdentityID *string `json:"keyVaultManagedIdentityId,omitempty" tf:"key_vault_managed_identity_id,omitempty"`
}
type KafkaClusterExtensionInitParameters struct {
// The workspace ID of the log analytics extension.
LogAnalyticsWorkspaceID *string `json:"logAnalyticsWorkspaceId,omitempty" tf:"log_analytics_workspace_id,omitempty"`
}
type KafkaClusterExtensionObservation struct {
// The workspace ID of the log analytics extension.
LogAnalyticsWorkspaceID *string `json:"logAnalyticsWorkspaceId,omitempty" tf:"log_analytics_workspace_id,omitempty"`
}
type KafkaClusterExtensionParameters struct {
// The workspace ID of the log analytics extension.
// +kubebuilder:validation:Optional
LogAnalyticsWorkspaceID *string `json:"logAnalyticsWorkspaceId" tf:"log_analytics_workspace_id,omitempty"`
// The workspace key of the log analytics extension.
// +kubebuilder:validation:Required
PrimaryKeySecretRef v1.SecretKeySelector `json:"primaryKeySecretRef" tf:"-"`
}
type KafkaClusterGatewayInitParameters struct {
// The username used for the Ambari Portal. Changing this forces a new resource to be created.
Username *string `json:"username,omitempty" tf:"username,omitempty"`
}
type KafkaClusterGatewayObservation struct {
// The username used for the Ambari Portal. Changing this forces a new resource to be created.
Username *string `json:"username,omitempty" tf:"username,omitempty"`
}
type KafkaClusterGatewayParameters struct {
// The password used for the Ambari Portal.
// +kubebuilder:validation:Required
PasswordSecretRef v1.SecretKeySelector `json:"passwordSecretRef" tf:"-"`
// The username used for the Ambari Portal. Changing this forces a new resource to be created.
// +kubebuilder:validation:Optional
Username *string `json:"username" tf:"username,omitempty"`
}
type KafkaClusterInitParameters struct {
// Specifies the Version of HDInsights which should be used for this Cluster. Changing this forces a new resource to be created.
ClusterVersion *string `json:"clusterVersion,omitempty" tf:"cluster_version,omitempty"`
// A component_version block as defined below.
ComponentVersion []KafkaClusterComponentVersionInitParameters `json:"componentVersion,omitempty" tf:"component_version,omitempty"`
// A compute_isolation block as defined below.
ComputeIsolation []KafkaClusterComputeIsolationInitParameters `json:"computeIsolation,omitempty" tf:"compute_isolation,omitempty"`
// One or more disk_encryption block as defined below.
DiskEncryption []KafkaClusterDiskEncryptionInitParameters `json:"diskEncryption,omitempty" tf:"disk_encryption,omitempty"`
// Whether encryption in transit is enabled for this HDInsight Kafka Cluster. Changing this forces a new resource to be created.
EncryptionInTransitEnabled *bool `json:"encryptionInTransitEnabled,omitempty" tf:"encryption_in_transit_enabled,omitempty"`
// An extension block as defined below.
Extension []KafkaClusterExtensionInitParameters `json:"extension,omitempty" tf:"extension,omitempty"`
// A gateway block as defined below.
Gateway []KafkaClusterGatewayInitParameters `json:"gateway,omitempty" tf:"gateway,omitempty"`
// Specifies the Azure Region which this HDInsight Kafka Cluster should exist. Changing this forces a new resource to be created.
Location *string `json:"location,omitempty" tf:"location,omitempty"`
// A metastores block as defined below.
Metastores []KafkaClusterMetastoresInitParameters `json:"metastores,omitempty" tf:"metastores,omitempty"`
// A monitor block as defined below.
Monitor []KafkaClusterMonitorInitParameters `json:"monitor,omitempty" tf:"monitor,omitempty"`
// A network block as defined below.
Network []KafkaClusterNetworkInitParameters `json:"network,omitempty" tf:"network,omitempty"`
// A rest_proxy block as defined below.
RestProxy []RestProxyInitParameters `json:"restProxy,omitempty" tf:"rest_proxy,omitempty"`
// A roles block as defined below.
Roles []KafkaClusterRolesInitParameters `json:"roles,omitempty" tf:"roles,omitempty"`
// A security_profile block as defined below. Changing this forces a new resource to be created.
SecurityProfile []KafkaClusterSecurityProfileInitParameters `json:"securityProfile,omitempty" tf:"security_profile,omitempty"`
// One or more storage_account block as defined below.
StorageAccount []KafkaClusterStorageAccountInitParameters `json:"storageAccount,omitempty" tf:"storage_account,omitempty"`
// A storage_account_gen2 block as defined below.
StorageAccountGen2 []KafkaClusterStorageAccountGen2InitParameters `json:"storageAccountGen2,omitempty" tf:"storage_account_gen2,omitempty"`
// The minimal supported TLS version. Possible values are 1.0, 1.1 or 1.2. Changing this forces a new resource to be created.
TLSMinVersion *string `json:"tlsMinVersion,omitempty" tf:"tls_min_version,omitempty"`
// A map of Tags which should be assigned to this HDInsight Kafka Cluster.
// +mapType=granular
Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"`
// Specifies the Tier which should be used for this HDInsight Kafka Cluster. Possible values are Standard or Premium. Changing this forces a new resource to be created.
Tier *string `json:"tier,omitempty" tf:"tier,omitempty"`
}
type KafkaClusterMetastoresAmbariInitParameters struct {
// The external Oozie metastore's existing SQL database. Changing this forces a new resource to be created.
DatabaseName *string `json:"databaseName,omitempty" tf:"database_name,omitempty"`
// The fully-qualified domain name (FQDN) of the SQL server to use for the external Oozie metastore. Changing this forces a new resource to be created.
Server *string `json:"server,omitempty" tf:"server,omitempty"`
// The Username of the local administrator for the Zookeeper Nodes. Changing this forces a new resource to be created.
Username *string `json:"username,omitempty" tf:"username,omitempty"`
}
type KafkaClusterMetastoresAmbariObservation struct {
// The external Oozie metastore's existing SQL database. Changing this forces a new resource to be created.
DatabaseName *string `json:"databaseName,omitempty" tf:"database_name,omitempty"`
// The fully-qualified domain name (FQDN) of the SQL server to use for the external Oozie metastore. Changing this forces a new resource to be created.
Server *string `json:"server,omitempty" tf:"server,omitempty"`
// The Username of the local administrator for the Zookeeper Nodes. Changing this forces a new resource to be created.
Username *string `json:"username,omitempty" tf:"username,omitempty"`
}
type KafkaClusterMetastoresAmbariParameters struct {
// The external Oozie metastore's existing SQL database. Changing this forces a new resource to be created.
// +kubebuilder:validation:Optional
DatabaseName *string `json:"databaseName" tf:"database_name,omitempty"`
// The Password associated with the local administrator for the Zookeeper Nodes. Changing this forces a new resource to be created.
// +kubebuilder:validation:Required
PasswordSecretRef v1.SecretKeySelector `json:"passwordSecretRef" tf:"-"`
// The fully-qualified domain name (FQDN) of the SQL server to use for the external Oozie metastore. Changing this forces a new resource to be created.
// +kubebuilder:validation:Optional
Server *string `json:"server" tf:"server,omitempty"`
// The Username of the local administrator for the Zookeeper Nodes. Changing this forces a new resource to be created.
// +kubebuilder:validation:Optional
Username *string `json:"username" tf:"username,omitempty"`
}
type KafkaClusterMetastoresHiveInitParameters struct {
// The external Oozie metastore's existing SQL database. Changing this forces a new resource to be created.
DatabaseName *string `json:"databaseName,omitempty" tf:"database_name,omitempty"`
// The fully-qualified domain name (FQDN) of the SQL server to use for the external Oozie metastore. Changing this forces a new resource to be created.
Server *string `json:"server,omitempty" tf:"server,omitempty"`
// The Username of the local administrator for the Zookeeper Nodes. Changing this forces a new resource to be created.
Username *string `json:"username,omitempty" tf:"username,omitempty"`
}
type KafkaClusterMetastoresHiveObservation struct {
// The external Oozie metastore's existing SQL database. Changing this forces a new resource to be created.
DatabaseName *string `json:"databaseName,omitempty" tf:"database_name,omitempty"`
// The fully-qualified domain name (FQDN) of the SQL server to use for the external Oozie metastore. Changing this forces a new resource to be created.
Server *string `json:"server,omitempty" tf:"server,omitempty"`
// The Username of the local administrator for the Zookeeper Nodes. Changing this forces a new resource to be created.
Username *string `json:"username,omitempty" tf:"username,omitempty"`
}
type KafkaClusterMetastoresHiveParameters struct {
// The external Oozie metastore's existing SQL database. Changing this forces a new resource to be created.
// +kubebuilder:validation:Optional
DatabaseName *string `json:"databaseName" tf:"database_name,omitempty"`
// The Password associated with the local administrator for the Zookeeper Nodes. Changing this forces a new resource to be created.
// +kubebuilder:validation:Required
PasswordSecretRef v1.SecretKeySelector `json:"passwordSecretRef" tf:"-"`
// The fully-qualified domain name (FQDN) of the SQL server to use for the external Oozie metastore. Changing this forces a new resource to be created.
// +kubebuilder:validation:Optional
Server *string `json:"server" tf:"server,omitempty"`
// The Username of the local administrator for the Zookeeper Nodes. Changing this forces a new resource to be created.
// +kubebuilder:validation:Optional
Username *string `json:"username" tf:"username,omitempty"`
}
type KafkaClusterMetastoresInitParameters struct {
// An ambari block as defined below.
Ambari []KafkaClusterMetastoresAmbariInitParameters `json:"ambari,omitempty" tf:"ambari,omitempty"`
// A hive block as defined below.
Hive []KafkaClusterMetastoresHiveInitParameters `json:"hive,omitempty" tf:"hive,omitempty"`
// An oozie block as defined below.
Oozie []KafkaClusterMetastoresOozieInitParameters `json:"oozie,omitempty" tf:"oozie,omitempty"`
}
type KafkaClusterMetastoresObservation struct {
// An ambari block as defined below.
Ambari []KafkaClusterMetastoresAmbariObservation `json:"ambari,omitempty" tf:"ambari,omitempty"`
// A hive block as defined below.
Hive []KafkaClusterMetastoresHiveObservation `json:"hive,omitempty" tf:"hive,omitempty"`
// An oozie block as defined below.
Oozie []KafkaClusterMetastoresOozieObservation `json:"oozie,omitempty" tf:"oozie,omitempty"`
}
type KafkaClusterMetastoresOozieInitParameters struct {
// The external Oozie metastore's existing SQL database. Changing this forces a new resource to be created.
DatabaseName *string `json:"databaseName,omitempty" tf:"database_name,omitempty"`
// The fully-qualified domain name (FQDN) of the SQL server to use for the external Oozie metastore. Changing this forces a new resource to be created.
Server *string `json:"server,omitempty" tf:"server,omitempty"`
// The Username of the local administrator for the Zookeeper Nodes. Changing this forces a new resource to be created.
Username *string `json:"username,omitempty" tf:"username,omitempty"`
}
type KafkaClusterMetastoresOozieObservation struct {
// The external Oozie metastore's existing SQL database. Changing this forces a new resource to be created.
DatabaseName *string `json:"databaseName,omitempty" tf:"database_name,omitempty"`
// The fully-qualified domain name (FQDN) of the SQL server to use for the external Oozie metastore. Changing this forces a new resource to be created.
Server *string `json:"server,omitempty" tf:"server,omitempty"`
// The Username of the local administrator for the Zookeeper Nodes. Changing this forces a new resource to be created.
Username *string `json:"username,omitempty" tf:"username,omitempty"`
}
type KafkaClusterMetastoresOozieParameters struct {
// The external Oozie metastore's existing SQL database. Changing this forces a new resource to be created.
// +kubebuilder:validation:Optional
DatabaseName *string `json:"databaseName" tf:"database_name,omitempty"`
// The Password associated with the local administrator for the Zookeeper Nodes. Changing this forces a new resource to be created.
// +kubebuilder:validation:Required
PasswordSecretRef v1.SecretKeySelector `json:"passwordSecretRef" tf:"-"`
// The fully-qualified domain name (FQDN) of the SQL server to use for the external Oozie metastore. Changing this forces a new resource to be created.
// +kubebuilder:validation:Optional
Server *string `json:"server" tf:"server,omitempty"`
// The Username of the local administrator for the Zookeeper Nodes. Changing this forces a new resource to be created.
// +kubebuilder:validation:Optional
Username *string `json:"username" tf:"username,omitempty"`
}
type KafkaClusterMetastoresParameters struct {
// An ambari block as defined below.
// +kubebuilder:validation:Optional
Ambari []KafkaClusterMetastoresAmbariParameters `json:"ambari,omitempty" tf:"ambari,omitempty"`
// A hive block as defined below.
// +kubebuilder:validation:Optional
Hive []KafkaClusterMetastoresHiveParameters `json:"hive,omitempty" tf:"hive,omitempty"`
// An oozie block as defined below.
// +kubebuilder:validation:Optional
Oozie []KafkaClusterMetastoresOozieParameters `json:"oozie,omitempty" tf:"oozie,omitempty"`
}
type KafkaClusterMonitorInitParameters struct {
// The Operations Management Suite (OMS) workspace ID.
LogAnalyticsWorkspaceID *string `json:"logAnalyticsWorkspaceId,omitempty" tf:"log_analytics_workspace_id,omitempty"`
}
type KafkaClusterMonitorObservation struct {
// The Operations Management Suite (OMS) workspace ID.
LogAnalyticsWorkspaceID *string `json:"logAnalyticsWorkspaceId,omitempty" tf:"log_analytics_workspace_id,omitempty"`
}
type KafkaClusterMonitorParameters struct {
// The Operations Management Suite (OMS) workspace ID.
// +kubebuilder:validation:Optional
LogAnalyticsWorkspaceID *string `json:"logAnalyticsWorkspaceId" tf:"log_analytics_workspace_id,omitempty"`
// The Operations Management Suite (OMS) workspace key.
// +kubebuilder:validation:Required
PrimaryKeySecretRef v1.SecretKeySelector `json:"primaryKeySecretRef" tf:"-"`
}
type KafkaClusterNetworkInitParameters struct {
// The direction of the resource provider connection. Possible values include Inbound or Outbound. Defaults to Inbound. Changing this forces a new resource to be created.
ConnectionDirection *string `json:"connectionDirection,omitempty" tf:"connection_direction,omitempty"`
// Is the private link enabled? Possible values include true or false. Defaults to false. Changing this forces a new resource to be created.
PrivateLinkEnabled *bool `json:"privateLinkEnabled,omitempty" tf:"private_link_enabled,omitempty"`
}
type KafkaClusterNetworkObservation struct {
// The direction of the resource provider connection. Possible values include Inbound or Outbound. Defaults to Inbound. Changing this forces a new resource to be created.
ConnectionDirection *string `json:"connectionDirection,omitempty" tf:"connection_direction,omitempty"`
// Is the private link enabled? Possible values include true or false. Defaults to false. Changing this forces a new resource to be created.
PrivateLinkEnabled *bool `json:"privateLinkEnabled,omitempty" tf:"private_link_enabled,omitempty"`
}
type KafkaClusterNetworkParameters struct {
// The direction of the resource provider connection. Possible values include Inbound or Outbound. Defaults to Inbound. Changing this forces a new resource to be created.
// +kubebuilder:validation:Optional
ConnectionDirection *string `json:"connectionDirection,omitempty" tf:"connection_direction,omitempty"`
// Is the private link enabled? Possible values include true or false. Defaults to false. Changing this forces a new resource to be created.
// +kubebuilder:validation:Optional
PrivateLinkEnabled *bool `json:"privateLinkEnabled,omitempty" tf:"private_link_enabled,omitempty"`
}
type KafkaClusterObservation struct {
// Specifies the Version of HDInsights which should be used for this Cluster. Changing this forces a new resource to be created.
ClusterVersion *string `json:"clusterVersion,omitempty" tf:"cluster_version,omitempty"`
// A component_version block as defined below.
ComponentVersion []KafkaClusterComponentVersionObservation `json:"componentVersion,omitempty" tf:"component_version,omitempty"`
// A compute_isolation block as defined below.
ComputeIsolation []KafkaClusterComputeIsolationObservation `json:"computeIsolation,omitempty" tf:"compute_isolation,omitempty"`
// One or more disk_encryption block as defined below.
DiskEncryption []KafkaClusterDiskEncryptionObservation `json:"diskEncryption,omitempty" tf:"disk_encryption,omitempty"`
// Whether encryption in transit is enabled for this HDInsight Kafka Cluster. Changing this forces a new resource to be created.
EncryptionInTransitEnabled *bool `json:"encryptionInTransitEnabled,omitempty" tf:"encryption_in_transit_enabled,omitempty"`
// An extension block as defined below.
Extension []KafkaClusterExtensionObservation `json:"extension,omitempty" tf:"extension,omitempty"`
// A gateway block as defined below.
Gateway []KafkaClusterGatewayObservation `json:"gateway,omitempty" tf:"gateway,omitempty"`
// The HTTPS Connectivity Endpoint for this HDInsight Kafka Cluster.
HTTPSEndpoint *string `json:"httpsEndpoint,omitempty" tf:"https_endpoint,omitempty"`
// The ID of the HDInsight Kafka Cluster.
ID *string `json:"id,omitempty" tf:"id,omitempty"`
// The Kafka Rest Proxy Endpoint for this HDInsight Kafka Cluster.
KafkaRestProxyEndpoint *string `json:"kafkaRestProxyEndpoint,omitempty" tf:"kafka_rest_proxy_endpoint,omitempty"`
// Specifies the Azure Region which this HDInsight Kafka Cluster should exist. Changing this forces a new resource to be created.
Location *string `json:"location,omitempty" tf:"location,omitempty"`
// A metastores block as defined below.
Metastores []KafkaClusterMetastoresObservation `json:"metastores,omitempty" tf:"metastores,omitempty"`
// A monitor block as defined below.
Monitor []KafkaClusterMonitorObservation `json:"monitor,omitempty" tf:"monitor,omitempty"`
// A network block as defined below.
Network []KafkaClusterNetworkObservation `json:"network,omitempty" tf:"network,omitempty"`
// Specifies the name of the Resource Group in which this HDInsight Kafka Cluster should exist. Changing this forces a new resource to be created.
ResourceGroupName *string `json:"resourceGroupName,omitempty" tf:"resource_group_name,omitempty"`
// A rest_proxy block as defined below.
RestProxy []RestProxyObservation `json:"restProxy,omitempty" tf:"rest_proxy,omitempty"`
// A roles block as defined below.
Roles []KafkaClusterRolesObservation `json:"roles,omitempty" tf:"roles,omitempty"`
// The SSH Connectivity Endpoint for this HDInsight Kafka Cluster.
SSHEndpoint *string `json:"sshEndpoint,omitempty" tf:"ssh_endpoint,omitempty"`
// A security_profile block as defined below. Changing this forces a new resource to be created.
SecurityProfile []KafkaClusterSecurityProfileObservation `json:"securityProfile,omitempty" tf:"security_profile,omitempty"`
// One or more storage_account block as defined below.
StorageAccount []KafkaClusterStorageAccountObservation `json:"storageAccount,omitempty" tf:"storage_account,omitempty"`
// A storage_account_gen2 block as defined below.
StorageAccountGen2 []KafkaClusterStorageAccountGen2Observation `json:"storageAccountGen2,omitempty" tf:"storage_account_gen2,omitempty"`
// The minimal supported TLS version. Possible values are 1.0, 1.1 or 1.2. Changing this forces a new resource to be created.
TLSMinVersion *string `json:"tlsMinVersion,omitempty" tf:"tls_min_version,omitempty"`
// A map of Tags which should be assigned to this HDInsight Kafka Cluster.
// +mapType=granular
Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"`
// Specifies the Tier which should be used for this HDInsight Kafka Cluster. Possible values are Standard or Premium. Changing this forces a new resource to be created.
Tier *string `json:"tier,omitempty" tf:"tier,omitempty"`
}
type KafkaClusterParameters struct {
// Specifies the Version of HDInsights which should be used for this Cluster. Changing this forces a new resource to be created.
// +kubebuilder:validation:Optional
ClusterVersion *string `json:"clusterVersion,omitempty" tf:"cluster_version,omitempty"`
// A component_version block as defined below.
// +kubebuilder:validation:Optional
ComponentVersion []KafkaClusterComponentVersionParameters `json:"componentVersion,omitempty" tf:"component_version,omitempty"`
// A compute_isolation block as defined below.
// +kubebuilder:validation:Optional
ComputeIsolation []KafkaClusterComputeIsolationParameters `json:"computeIsolation,omitempty" tf:"compute_isolation,omitempty"`
// One or more disk_encryption block as defined below.
// +kubebuilder:validation:Optional
DiskEncryption []KafkaClusterDiskEncryptionParameters `json:"diskEncryption,omitempty" tf:"disk_encryption,omitempty"`
// Whether encryption in transit is enabled for this HDInsight Kafka Cluster. Changing this forces a new resource to be created.
// +kubebuilder:validation:Optional
EncryptionInTransitEnabled *bool `json:"encryptionInTransitEnabled,omitempty" tf:"encryption_in_transit_enabled,omitempty"`
// An extension block as defined below.
// +kubebuilder:validation:Optional
Extension []KafkaClusterExtensionParameters `json:"extension,omitempty" tf:"extension,omitempty"`
// A gateway block as defined below.
// +kubebuilder:validation:Optional
Gateway []KafkaClusterGatewayParameters `json:"gateway,omitempty" tf:"gateway,omitempty"`
// Specifies the Azure Region which this HDInsight Kafka Cluster should exist. Changing this forces a new resource to be created.
// +kubebuilder:validation:Optional
Location *string `json:"location,omitempty" tf:"location,omitempty"`
// A metastores block as defined below.
// +kubebuilder:validation:Optional
Metastores []KafkaClusterMetastoresParameters `json:"metastores,omitempty" tf:"metastores,omitempty"`
// A monitor block as defined below.
// +kubebuilder:validation:Optional
Monitor []KafkaClusterMonitorParameters `json:"monitor,omitempty" tf:"monitor,omitempty"`
// A network block as defined below.
// +kubebuilder:validation:Optional
Network []KafkaClusterNetworkParameters `json:"network,omitempty" tf:"network,omitempty"`
// Specifies the name of the Resource Group in which this HDInsight Kafka Cluster should exist. 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:"-"`
// A rest_proxy block as defined below.
// +kubebuilder:validation:Optional
RestProxy []RestProxyParameters `json:"restProxy,omitempty" tf:"rest_proxy,omitempty"`
// A roles block as defined below.
// +kubebuilder:validation:Optional
Roles []KafkaClusterRolesParameters `json:"roles,omitempty" tf:"roles,omitempty"`
// A security_profile block as defined below. Changing this forces a new resource to be created.
// +kubebuilder:validation:Optional
SecurityProfile []KafkaClusterSecurityProfileParameters `json:"securityProfile,omitempty" tf:"security_profile,omitempty"`
// One or more storage_account block as defined below.
// +kubebuilder:validation:Optional
StorageAccount []KafkaClusterStorageAccountParameters `json:"storageAccount,omitempty" tf:"storage_account,omitempty"`
// A storage_account_gen2 block as defined below.
// +kubebuilder:validation:Optional
StorageAccountGen2 []KafkaClusterStorageAccountGen2Parameters `json:"storageAccountGen2,omitempty" tf:"storage_account_gen2,omitempty"`
// The minimal supported TLS version. Possible values are 1.0, 1.1 or 1.2. Changing this forces a new resource to be created.
// +kubebuilder:validation:Optional
TLSMinVersion *string `json:"tlsMinVersion,omitempty" tf:"tls_min_version,omitempty"`
// A map of Tags which should be assigned to this HDInsight Kafka Cluster.
// +kubebuilder:validation:Optional
// +mapType=granular
Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"`
// Specifies the Tier which should be used for this HDInsight Kafka Cluster. Possible values are Standard or Premium. Changing this forces a new resource to be created.
// +kubebuilder:validation:Optional
Tier *string `json:"tier,omitempty" tf:"tier,omitempty"`
}
type KafkaClusterRolesHeadNodeInitParameters struct {
// A list of SSH Keys which should be used for the local administrator on the Zookeeper Nodes. Changing this forces a new resource to be created.
// +listType=set
SSHKeys []*string `json:"sshKeys,omitempty" tf:"ssh_keys,omitempty"`
// The script action which will run on the cluster. One or more script_actions blocks as defined below.
ScriptActions []KafkaClusterRolesHeadNodeScriptActionsInitParameters `json:"scriptActions,omitempty" tf:"script_actions,omitempty"`
// The ID of the Subnet within the Virtual Network where the Zookeeper Nodes should be provisioned within. Changing this forces a new resource to be created.
// +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:"-"`
// The Username of the local administrator for the Zookeeper Nodes. Changing this forces a new resource to be created.
Username *string `json:"username,omitempty" tf:"username,omitempty"`
// The Size of the Virtual Machine which should be used as the Zookeeper Nodes. Possible values are ExtraSmall, Small, Medium, Large, ExtraLarge, A5, A6, A7, A8, A9, A10, A11, Standard_A1_V2, Standard_A2_V2, Standard_A2m_V2, Standard_A3, Standard_A4_V2, Standard_A4m_V2, Standard_A8_V2, Standard_A8m_V2, Standard_D1, Standard_D2, Standard_D3, Standard_D4, Standard_D11, Standard_D12, Standard_D13, Standard_D14, Standard_D1_V2, Standard_D2_V2, Standard_D3_V2, Standard_D4_V2, Standard_D5_V2, Standard_D11_V2, Standard_D12_V2, Standard_D13_V2, Standard_D14_V2, Standard_DS1_V2, Standard_DS2_V2, Standard_DS3_V2, Standard_DS4_V2, Standard_DS5_V2, Standard_DS11_V2, Standard_DS12_V2, Standard_DS13_V2, Standard_DS14_V2, Standard_E2_V3, Standard_E4_V3, Standard_E8_V3, Standard_E16_V3, Standard_E20_V3, Standard_E32_V3, Standard_E64_V3, Standard_E64i_V3, Standard_E2s_V3, Standard_E4s_V3, Standard_E8s_V3, Standard_E16s_V3, Standard_E20s_V3, Standard_E32s_V3, Standard_E64s_V3, Standard_E64is_V3, Standard_D2a_V4, Standard_D4a_V4, Standard_D8a_V4, Standard_D16a_V4, Standard_D32a_V4, Standard_D48a_V4, Standard_D64a_V4, Standard_D96a_V4, Standard_E2a_V4, Standard_E4a_V4, Standard_E8a_V4, Standard_E16a_V4, Standard_E20a_V4, Standard_E32a_V4, Standard_E48a_V4, Standard_E64a_V4, Standard_E96a_V4, Standard_G1, Standard_G2, Standard_G3, Standard_G4, Standard_G5, Standard_F2s_V2, Standard_F4s_V2, Standard_F8s_V2, Standard_F16s_V2, Standard_F32s_V2, Standard_F64s_V2, Standard_F72s_V2, Standard_GS1, Standard_GS2, Standard_GS3, Standard_GS4, Standard_GS5 and Standard_NC24. Changing this forces a new resource to be created.
VMSize *string `json:"vmSize,omitempty" tf:"vm_size,omitempty"`
// The ID of the Virtual Network where the Zookeeper Nodes should be provisioned within. Changing this forces a new resource to be created.
VirtualNetworkID *string `json:"virtualNetworkId,omitempty" tf:"virtual_network_id,omitempty"`
}
type KafkaClusterRolesHeadNodeObservation struct {
// A list of SSH Keys which should be used for the local administrator on the Zookeeper Nodes. Changing this forces a new resource to be created.
// +listType=set
SSHKeys []*string `json:"sshKeys,omitempty" tf:"ssh_keys,omitempty"`
// The script action which will run on the cluster. One or more script_actions blocks as defined below.
ScriptActions []KafkaClusterRolesHeadNodeScriptActionsObservation `json:"scriptActions,omitempty" tf:"script_actions,omitempty"`
// The ID of the Subnet within the Virtual Network where the Zookeeper Nodes should be provisioned within. Changing this forces a new resource to be created.
SubnetID *string `json:"subnetId,omitempty" tf:"subnet_id,omitempty"`
// The Username of the local administrator for the Zookeeper Nodes. Changing this forces a new resource to be created.
Username *string `json:"username,omitempty" tf:"username,omitempty"`
// The Size of the Virtual Machine which should be used as the Zookeeper Nodes. Possible values are ExtraSmall, Small, Medium, Large, ExtraLarge, A5, A6, A7, A8, A9, A10, A11, Standard_A1_V2, Standard_A2_V2, Standard_A2m_V2, Standard_A3, Standard_A4_V2, Standard_A4m_V2, Standard_A8_V2, Standard_A8m_V2, Standard_D1, Standard_D2, Standard_D3, Standard_D4, Standard_D11, Standard_D12, Standard_D13, Standard_D14, Standard_D1_V2, Standard_D2_V2, Standard_D3_V2, Standard_D4_V2, Standard_D5_V2, Standard_D11_V2, Standard_D12_V2, Standard_D13_V2, Standard_D14_V2, Standard_DS1_V2, Standard_DS2_V2, Standard_DS3_V2, Standard_DS4_V2, Standard_DS5_V2, Standard_DS11_V2, Standard_DS12_V2, Standard_DS13_V2, Standard_DS14_V2, Standard_E2_V3, Standard_E4_V3, Standard_E8_V3, Standard_E16_V3, Standard_E20_V3, Standard_E32_V3, Standard_E64_V3, Standard_E64i_V3, Standard_E2s_V3, Standard_E4s_V3, Standard_E8s_V3, Standard_E16s_V3, Standard_E20s_V3, Standard_E32s_V3, Standard_E64s_V3, Standard_E64is_V3, Standard_D2a_V4, Standard_D4a_V4, Standard_D8a_V4, Standard_D16a_V4, Standard_D32a_V4, Standard_D48a_V4, Standard_D64a_V4, Standard_D96a_V4, Standard_E2a_V4, Standard_E4a_V4, Standard_E8a_V4, Standard_E16a_V4, Standard_E20a_V4, Standard_E32a_V4, Standard_E48a_V4, Standard_E64a_V4, Standard_E96a_V4, Standard_G1, Standard_G2, Standard_G3, Standard_G4, Standard_G5, Standard_F2s_V2, Standard_F4s_V2, Standard_F8s_V2, Standard_F16s_V2, Standard_F32s_V2, Standard_F64s_V2, Standard_F72s_V2, Standard_GS1, Standard_GS2, Standard_GS3, Standard_GS4, Standard_GS5 and Standard_NC24. Changing this forces a new resource to be created.
VMSize *string `json:"vmSize,omitempty" tf:"vm_size,omitempty"`
// The ID of the Virtual Network where the Zookeeper Nodes should be provisioned within. Changing this forces a new resource to be created.
VirtualNetworkID *string `json:"virtualNetworkId,omitempty" tf:"virtual_network_id,omitempty"`
}
type KafkaClusterRolesHeadNodeParameters struct {
// The Password associated with the local administrator for the Zookeeper Nodes. Changing this forces a new resource to be created.
// +kubebuilder:validation:Optional
PasswordSecretRef *v1.SecretKeySelector `json:"passwordSecretRef,omitempty" tf:"-"`
// A list of SSH Keys which should be used for the local administrator on the Zookeeper Nodes. Changing this forces a new resource to be created.
// +kubebuilder:validation:Optional
// +listType=set
SSHKeys []*string `json:"sshKeys,omitempty" tf:"ssh_keys,omitempty"`
// The script action which will run on the cluster. One or more script_actions blocks as defined below.
// +kubebuilder:validation:Optional
ScriptActions []KafkaClusterRolesHeadNodeScriptActionsParameters `json:"scriptActions,omitempty" tf:"script_actions,omitempty"`
// The ID of the Subnet within the Virtual Network where the Zookeeper Nodes should be provisioned within. Changing this forces a new resource to be created.
// +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:"-"`
// The Username of the local administrator for the Zookeeper Nodes. Changing this forces a new resource to be created.
// +kubebuilder:validation:Optional
Username *string `json:"username" tf:"username,omitempty"`
// The Size of the Virtual Machine which should be used as the Zookeeper Nodes. Possible values are ExtraSmall, Small, Medium, Large, ExtraLarge, A5, A6, A7, A8, A9, A10, A11, Standard_A1_V2, Standard_A2_V2, Standard_A2m_V2, Standard_A3, Standard_A4_V2, Standard_A4m_V2, Standard_A8_V2, Standard_A8m_V2, Standard_D1, Standard_D2, Standard_D3, Standard_D4, Standard_D11, Standard_D12, Standard_D13, Standard_D14, Standard_D1_V2, Standard_D2_V2, Standard_D3_V2, Standard_D4_V2, Standard_D5_V2, Standard_D11_V2, Standard_D12_V2, Standard_D13_V2, Standard_D14_V2, Standard_DS1_V2, Standard_DS2_V2, Standard_DS3_V2, Standard_DS4_V2, Standard_DS5_V2, Standard_DS11_V2, Standard_DS12_V2, Standard_DS13_V2, Standard_DS14_V2, Standard_E2_V3, Standard_E4_V3, Standard_E8_V3, Standard_E16_V3, Standard_E20_V3, Standard_E32_V3, Standard_E64_V3, Standard_E64i_V3, Standard_E2s_V3, Standard_E4s_V3, Standard_E8s_V3, Standard_E16s_V3, Standard_E20s_V3, Standard_E32s_V3, Standard_E64s_V3, Standard_E64is_V3, Standard_D2a_V4, Standard_D4a_V4, Standard_D8a_V4, Standard_D16a_V4, Standard_D32a_V4, Standard_D48a_V4, Standard_D64a_V4, Standard_D96a_V4, Standard_E2a_V4, Standard_E4a_V4, Standard_E8a_V4, Standard_E16a_V4, Standard_E20a_V4, Standard_E32a_V4, Standard_E48a_V4, Standard_E64a_V4, Standard_E96a_V4, Standard_G1, Standard_G2, Standard_G3, Standard_G4, Standard_G5, Standard_F2s_V2, Standard_F4s_V2, Standard_F8s_V2, Standard_F16s_V2, Standard_F32s_V2, Standard_F64s_V2, Standard_F72s_V2, Standard_GS1, Standard_GS2, Standard_GS3, Standard_GS4, Standard_GS5 and Standard_NC24. Changing this forces a new resource to be created.
// +kubebuilder:validation:Optional
VMSize *string `json:"vmSize" tf:"vm_size,omitempty"`
// The ID of the Virtual Network where the Zookeeper Nodes should be provisioned within. Changing this forces a new resource to be created.
// +kubebuilder:validation:Optional
VirtualNetworkID *string `json:"virtualNetworkId,omitempty" tf:"virtual_network_id,omitempty"`
}
type KafkaClusterRolesHeadNodeScriptActionsInitParameters struct {
// The name of the script action.
Name *string `json:"name,omitempty" tf:"name,omitempty"`
// The parameters for the script provided.
Parameters *string `json:"parameters,omitempty" tf:"parameters,omitempty"`
// The URI to the script.
URI *string `json:"uri,omitempty" tf:"uri,omitempty"`
}
type KafkaClusterRolesHeadNodeScriptActionsObservation struct {
// The name of the script action.
Name *string `json:"name,omitempty" tf:"name,omitempty"`
// The parameters for the script provided.
Parameters *string `json:"parameters,omitempty" tf:"parameters,omitempty"`
// The URI to the script.
URI *string `json:"uri,omitempty" tf:"uri,omitempty"`
}
type KafkaClusterRolesHeadNodeScriptActionsParameters struct {
// The name of the script action.
// +kubebuilder:validation:Optional
Name *string `json:"name" tf:"name,omitempty"`
// The parameters for the script provided.
// +kubebuilder:validation:Optional
Parameters *string `json:"parameters,omitempty" tf:"parameters,omitempty"`
// The URI to the script.
// +kubebuilder:validation:Optional
URI *string `json:"uri" tf:"uri,omitempty"`
}
type KafkaClusterRolesInitParameters struct {
// A head_node block as defined above.
HeadNode []KafkaClusterRolesHeadNodeInitParameters `json:"headNode,omitempty" tf:"head_node,omitempty"`
// A kafka_management_node block as defined below.
KafkaManagementNode []KafkaManagementNodeInitParameters `json:"kafkaManagementNode,omitempty" tf:"kafka_management_node,omitempty"`
// A worker_node block as defined below.
WorkerNode []KafkaClusterRolesWorkerNodeInitParameters `json:"workerNode,omitempty" tf:"worker_node,omitempty"`
// A zookeeper_node block as defined below.
ZookeeperNode []KafkaClusterRolesZookeeperNodeInitParameters `json:"zookeeperNode,omitempty" tf:"zookeeper_node,omitempty"`
}
type KafkaClusterRolesObservation struct {
// A head_node block as defined above.
HeadNode []KafkaClusterRolesHeadNodeObservation `json:"headNode,omitempty" tf:"head_node,omitempty"`
// A kafka_management_node block as defined below.
KafkaManagementNode []KafkaManagementNodeObservation `json:"kafkaManagementNode,omitempty" tf:"kafka_management_node,omitempty"`
// A worker_node block as defined below.
WorkerNode []KafkaClusterRolesWorkerNodeObservation `json:"workerNode,omitempty" tf:"worker_node,omitempty"`
// A zookeeper_node block as defined below.
ZookeeperNode []KafkaClusterRolesZookeeperNodeObservation `json:"zookeeperNode,omitempty" tf:"zookeeper_node,omitempty"`
}
type KafkaClusterRolesParameters struct {
// A head_node block as defined above.
// +kubebuilder:validation:Optional
HeadNode []KafkaClusterRolesHeadNodeParameters `json:"headNode" tf:"head_node,omitempty"`
// A kafka_management_node block as defined below.
// +kubebuilder:validation:Optional
KafkaManagementNode []KafkaManagementNodeParameters `json:"kafkaManagementNode,omitempty" tf:"kafka_management_node,omitempty"`
// A worker_node block as defined below.
// +kubebuilder:validation:Optional
WorkerNode []KafkaClusterRolesWorkerNodeParameters `json:"workerNode" tf:"worker_node,omitempty"`
// A zookeeper_node block as defined below.
// +kubebuilder:validation:Optional
ZookeeperNode []KafkaClusterRolesZookeeperNodeParameters `json:"zookeeperNode" tf:"zookeeper_node,omitempty"`
}
type KafkaClusterRolesWorkerNodeInitParameters struct {
// The number of Data Disks which should be assigned to each Worker Node, which can be between 1 and 8. Changing this forces a new resource to be created.
NumberOfDisksPerNode *float64 `json:"numberOfDisksPerNode,omitempty" tf:"number_of_disks_per_node,omitempty"`
// A list of SSH Keys which should be used for the local administrator on the Zookeeper Nodes. Changing this forces a new resource to be created.
// +listType=set
SSHKeys []*string `json:"sshKeys,omitempty" tf:"ssh_keys,omitempty"`
// The script action which will run on the cluster. One or more script_actions blocks as defined below.
ScriptActions []KafkaClusterRolesWorkerNodeScriptActionsInitParameters `json:"scriptActions,omitempty" tf:"script_actions,omitempty"`
// The ID of the Subnet within the Virtual Network where the Zookeeper Nodes should be provisioned within. Changing this forces a new resource to be created.
// +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:"-"`
// The number of instances which should be run for the Worker Nodes.
TargetInstanceCount *float64 `json:"targetInstanceCount,omitempty" tf:"target_instance_count,omitempty"`
// The Username of the local administrator for the Zookeeper Nodes. Changing this forces a new resource to be created.
Username *string `json:"username,omitempty" tf:"username,omitempty"`
// The Size of the Virtual Machine which should be used as the Zookeeper Nodes. Possible values are ExtraSmall, Small, Medium, Large, ExtraLarge, A5, A6, A7, A8, A9, A10, A11, Standard_A1_V2, Standard_A2_V2, Standard_A2m_V2, Standard_A3, Standard_A4_V2, Standard_A4m_V2, Standard_A8_V2, Standard_A8m_V2, Standard_D1, Standard_D2, Standard_D3, Standard_D4, Standard_D11, Standard_D12, Standard_D13, Standard_D14, Standard_D1_V2, Standard_D2_V2, Standard_D3_V2, Standard_D4_V2, Standard_D5_V2, Standard_D11_V2, Standard_D12_V2, Standard_D13_V2, Standard_D14_V2, Standard_DS1_V2, Standard_DS2_V2, Standard_DS3_V2, Standard_DS4_V2, Standard_DS5_V2, Standard_DS11_V2, Standard_DS12_V2, Standard_DS13_V2, Standard_DS14_V2, Standard_E2_V3, Standard_E4_V3, Standard_E8_V3, Standard_E16_V3, Standard_E20_V3, Standard_E32_V3, Standard_E64_V3, Standard_E64i_V3, Standard_E2s_V3, Standard_E4s_V3, Standard_E8s_V3, Standard_E16s_V3, Standard_E20s_V3, Standard_E32s_V3, Standard_E64s_V3, Standard_E64is_V3, Standard_D2a_V4, Standard_D4a_V4, Standard_D8a_V4, Standard_D16a_V4, Standard_D32a_V4, Standard_D48a_V4, Standard_D64a_V4, Standard_D96a_V4, Standard_E2a_V4, Standard_E4a_V4, Standard_E8a_V4, Standard_E16a_V4, Standard_E20a_V4, Standard_E32a_V4, Standard_E48a_V4, Standard_E64a_V4, Standard_E96a_V4, Standard_G1, Standard_G2, Standard_G3, Standard_G4, Standard_G5, Standard_F2s_V2, Standard_F4s_V2, Standard_F8s_V2, Standard_F16s_V2, Standard_F32s_V2, Standard_F64s_V2, Standard_F72s_V2, Standard_GS1, Standard_GS2, Standard_GS3, Standard_GS4, Standard_GS5 and Standard_NC24. Changing this forces a new resource to be created.
VMSize *string `json:"vmSize,omitempty" tf:"vm_size,omitempty"`
// The ID of the Virtual Network where the Zookeeper Nodes should be provisioned within. Changing this forces a new resource to be created.
VirtualNetworkID *string `json:"virtualNetworkId,omitempty" tf:"virtual_network_id,omitempty"`
}
type KafkaClusterRolesWorkerNodeObservation struct {
// The number of Data Disks which should be assigned to each Worker Node, which can be between 1 and 8. Changing this forces a new resource to be created.
NumberOfDisksPerNode *float64 `json:"numberOfDisksPerNode,omitempty" tf:"number_of_disks_per_node,omitempty"`
// A list of SSH Keys which should be used for the local administrator on the Zookeeper Nodes. Changing this forces a new resource to be created.
// +listType=set
SSHKeys []*string `json:"sshKeys,omitempty" tf:"ssh_keys,omitempty"`
// The script action which will run on the cluster. One or more script_actions blocks as defined below.
ScriptActions []KafkaClusterRolesWorkerNodeScriptActionsObservation `json:"scriptActions,omitempty" tf:"script_actions,omitempty"`
// The ID of the Subnet within the Virtual Network where the Zookeeper Nodes should be provisioned within. Changing this forces a new resource to be created.
SubnetID *string `json:"subnetId,omitempty" tf:"subnet_id,omitempty"`
// The number of instances which should be run for the Worker Nodes.
TargetInstanceCount *float64 `json:"targetInstanceCount,omitempty" tf:"target_instance_count,omitempty"`
// The Username of the local administrator for the Zookeeper Nodes. Changing this forces a new resource to be created.
Username *string `json:"username,omitempty" tf:"username,omitempty"`
// The Size of the Virtual Machine which should be used as the Zookeeper Nodes. Possible values are ExtraSmall, Small, Medium, Large, ExtraLarge, A5, A6, A7, A8, A9, A10, A11, Standard_A1_V2, Standard_A2_V2, Standard_A2m_V2, Standard_A3, Standard_A4_V2, Standard_A4m_V2, Standard_A8_V2, Standard_A8m_V2, Standard_D1, Standard_D2, Standard_D3, Standard_D4, Standard_D11, Standard_D12, Standard_D13, Standard_D14, Standard_D1_V2, Standard_D2_V2, Standard_D3_V2, Standard_D4_V2, Standard_D5_V2, Standard_D11_V2, Standard_D12_V2, Standard_D13_V2, Standard_D14_V2, Standard_DS1_V2, Standard_DS2_V2, Standard_DS3_V2, Standard_DS4_V2, Standard_DS5_V2, Standard_DS11_V2, Standard_DS12_V2, Standard_DS13_V2, Standard_DS14_V2, Standard_E2_V3, Standard_E4_V3, Standard_E8_V3, Standard_E16_V3, Standard_E20_V3, Standard_E32_V3, Standard_E64_V3, Standard_E64i_V3, Standard_E2s_V3, Standard_E4s_V3, Standard_E8s_V3, Standard_E16s_V3, Standard_E20s_V3, Standard_E32s_V3, Standard_E64s_V3, Standard_E64is_V3, Standard_D2a_V4, Standard_D4a_V4, Standard_D8a_V4, Standard_D16a_V4, Standard_D32a_V4, Standard_D48a_V4, Standard_D64a_V4, Standard_D96a_V4, Standard_E2a_V4, Standard_E4a_V4, Standard_E8a_V4, Standard_E16a_V4, Standard_E20a_V4, Standard_E32a_V4, Standard_E48a_V4, Standard_E64a_V4, Standard_E96a_V4, Standard_G1, Standard_G2, Standard_G3, Standard_G4, Standard_G5, Standard_F2s_V2, Standard_F4s_V2, Standard_F8s_V2, Standard_F16s_V2, Standard_F32s_V2, Standard_F64s_V2, Standard_F72s_V2, Standard_GS1, Standard_GS2, Standard_GS3, Standard_GS4, Standard_GS5 and Standard_NC24. Changing this forces a new resource to be created.
VMSize *string `json:"vmSize,omitempty" tf:"vm_size,omitempty"`
// The ID of the Virtual Network where the Zookeeper Nodes should be provisioned within. Changing this forces a new resource to be created.
VirtualNetworkID *string `json:"virtualNetworkId,omitempty" tf:"virtual_network_id,omitempty"`
}
type KafkaClusterRolesWorkerNodeParameters struct {
// The number of Data Disks which should be assigned to each Worker Node, which can be between 1 and 8. Changing this forces a new resource to be created.
// +kubebuilder:validation:Optional
NumberOfDisksPerNode *float64 `json:"numberOfDisksPerNode" tf:"number_of_disks_per_node,omitempty"`
// The Password associated with the local administrator for the Zookeeper Nodes. Changing this forces a new resource to be created.
// +kubebuilder:validation:Optional
PasswordSecretRef *v1.SecretKeySelector `json:"passwordSecretRef,omitempty" tf:"-"`
// A list of SSH Keys which should be used for the local administrator on the Zookeeper Nodes. Changing this forces a new resource to be created.
// +kubebuilder:validation:Optional
// +listType=set
SSHKeys []*string `json:"sshKeys,omitempty" tf:"ssh_keys,omitempty"`
// The script action which will run on the cluster. One or more script_actions blocks as defined below.
// +kubebuilder:validation:Optional
ScriptActions []KafkaClusterRolesWorkerNodeScriptActionsParameters `json:"scriptActions,omitempty" tf:"script_actions,omitempty"`
// The ID of the Subnet within the Virtual Network where the Zookeeper Nodes should be provisioned within. Changing this forces a new resource to be created.
// +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:"-"`
// The number of instances which should be run for the Worker Nodes.
// +kubebuilder:validation:Optional
TargetInstanceCount *float64 `json:"targetInstanceCount" tf:"target_instance_count,omitempty"`
// The Username of the local administrator for the Zookeeper Nodes. Changing this forces a new resource to be created.
// +kubebuilder:validation:Optional
Username *string `json:"username" tf:"username,omitempty"`
// The Size of the Virtual Machine which should be used as the Zookeeper Nodes. Possible values are ExtraSmall, Small, Medium, Large, ExtraLarge, A5, A6, A7, A8, A9, A10, A11, Standard_A1_V2, Standard_A2_V2, Standard_A2m_V2, Standard_A3, Standard_A4_V2, Standard_A4m_V2, Standard_A8_V2, Standard_A8m_V2, Standard_D1, Standard_D2, Standard_D3, Standard_D4, Standard_D11, Standard_D12, Standard_D13, Standard_D14, Standard_D1_V2, Standard_D2_V2, Standard_D3_V2, Standard_D4_V2, Standard_D5_V2, Standard_D11_V2, Standard_D12_V2, Standard_D13_V2, Standard_D14_V2, Standard_DS1_V2, Standard_DS2_V2, Standard_DS3_V2, Standard_DS4_V2, Standard_DS5_V2, Standard_DS11_V2, Standard_DS12_V2, Standard_DS13_V2, Standard_DS14_V2, Standard_E2_V3, Standard_E4_V3, Standard_E8_V3, Standard_E16_V3, Standard_E20_V3, Standard_E32_V3, Standard_E64_V3, Standard_E64i_V3, Standard_E2s_V3, Standard_E4s_V3, Standard_E8s_V3, Standard_E16s_V3, Standard_E20s_V3, Standard_E32s_V3, Standard_E64s_V3, Standard_E64is_V3, Standard_D2a_V4, Standard_D4a_V4, Standard_D8a_V4, Standard_D16a_V4, Standard_D32a_V4, Standard_D48a_V4, Standard_D64a_V4, Standard_D96a_V4, Standard_E2a_V4, Standard_E4a_V4, Standard_E8a_V4, Standard_E16a_V4, Standard_E20a_V4, Standard_E32a_V4, Standard_E48a_V4, Standard_E64a_V4, Standard_E96a_V4, Standard_G1, Standard_G2, Standard_G3, Standard_G4, Standard_G5, Standard_F2s_V2, Standard_F4s_V2, Standard_F8s_V2, Standard_F16s_V2, Standard_F32s_V2, Standard_F64s_V2, Standard_F72s_V2, Standard_GS1, Standard_GS2, Standard_GS3, Standard_GS4, Standard_GS5 and Standard_NC24. Changing this forces a new resource to be created.
// +kubebuilder:validation:Optional
VMSize *string `json:"vmSize" tf:"vm_size,omitempty"`
// The ID of the Virtual Network where the Zookeeper Nodes should be provisioned within. Changing this forces a new resource to be created.
// +kubebuilder:validation:Optional
VirtualNetworkID *string `json:"virtualNetworkId,omitempty" tf:"virtual_network_id,omitempty"`
}
type KafkaClusterRolesWorkerNodeScriptActionsInitParameters struct {
// The name of the script action.
Name *string `json:"name,omitempty" tf:"name,omitempty"`
// The parameters for the script provided.
Parameters *string `json:"parameters,omitempty" tf:"parameters,omitempty"`
// The URI to the script.
URI *string `json:"uri,omitempty" tf:"uri,omitempty"`
}
type KafkaClusterRolesWorkerNodeScriptActionsObservation struct {
// The name of the script action.
Name *string `json:"name,omitempty" tf:"name,omitempty"`
// The parameters for the script provided.
Parameters *string `json:"parameters,omitempty" tf:"parameters,omitempty"`
// The URI to the script.
URI *string `json:"uri,omitempty" tf:"uri,omitempty"`
}
type KafkaClusterRolesWorkerNodeScriptActionsParameters struct {
// The name of the script action.
// +kubebuilder:validation:Optional
Name *string `json:"name" tf:"name,omitempty"`
// The parameters for the script provided.
// +kubebuilder:validation:Optional
Parameters *string `json:"parameters,omitempty" tf:"parameters,omitempty"`
// The URI to the script.
// +kubebuilder:validation:Optional
URI *string `json:"uri" tf:"uri,omitempty"`
}
type KafkaClusterRolesZookeeperNodeInitParameters struct {
// A list of SSH Keys which should be used for the local administrator on the Zookeeper Nodes. Changing this forces a new resource to be created.
// +listType=set
SSHKeys []*string `json:"sshKeys,omitempty" tf:"ssh_keys,omitempty"`
// The script action which will run on the cluster. One or more script_actions blocks as defined below.
ScriptActions []KafkaClusterRolesZookeeperNodeScriptActionsInitParameters `json:"scriptActions,omitempty" tf:"script_actions,omitempty"`
// The ID of the Subnet within the Virtual Network where the Zookeeper Nodes should be provisioned within. Changing this forces a new resource to be created.
// +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:"-"`
// The Username of the local administrator for the Zookeeper Nodes. Changing this forces a new resource to be created.
Username *string `json:"username,omitempty" tf:"username,omitempty"`
// The Size of the Virtual Machine which should be used as the Zookeeper Nodes. Possible values are ExtraSmall, Small, Medium, Large, ExtraLarge, A5, A6, A7, A8, A9, A10, A11, Standard_A1_V2, Standard_A2_V2, Standard_A2m_V2, Standard_A3, Standard_A4_V2, Standard_A4m_V2, Standard_A8_V2, Standard_A8m_V2, Standard_D1, Standard_D2, Standard_D3, Standard_D4, Standard_D11, Standard_D12, Standard_D13, Standard_D14, Standard_D1_V2, Standard_D2_V2, Standard_D3_V2, Standard_D4_V2, Standard_D5_V2, Standard_D11_V2, Standard_D12_V2, Standard_D13_V2, Standard_D14_V2, Standard_DS1_V2, Standard_DS2_V2, Standard_DS3_V2, Standard_DS4_V2, Standard_DS5_V2, Standard_DS11_V2, Standard_DS12_V2, Standard_DS13_V2, Standard_DS14_V2, Standard_E2_V3, Standard_E4_V3, Standard_E8_V3, Standard_E16_V3, Standard_E20_V3, Standard_E32_V3, Standard_E64_V3, Standard_E64i_V3, Standard_E2s_V3, Standard_E4s_V3, Standard_E8s_V3, Standard_E16s_V3, Standard_E20s_V3, Standard_E32s_V3, Standard_E64s_V3, Standard_E64is_V3, Standard_D2a_V4, Standard_D4a_V4, Standard_D8a_V4, Standard_D16a_V4, Standard_D32a_V4, Standard_D48a_V4, Standard_D64a_V4, Standard_D96a_V4, Standard_E2a_V4, Standard_E4a_V4, Standard_E8a_V4, Standard_E16a_V4, Standard_E20a_V4, Standard_E32a_V4, Standard_E48a_V4, Standard_E64a_V4, Standard_E96a_V4, Standard_G1, Standard_G2, Standard_G3, Standard_G4, Standard_G5, Standard_F2s_V2, Standard_F4s_V2, Standard_F8s_V2, Standard_F16s_V2, Standard_F32s_V2, Standard_F64s_V2, Standard_F72s_V2, Standard_GS1, Standard_GS2, Standard_GS3, Standard_GS4, Standard_GS5 and Standard_NC24. Changing this forces a new resource to be created.
VMSize *string `json:"vmSize,omitempty" tf:"vm_size,omitempty"`
// The ID of the Virtual Network where the Zookeeper Nodes should be provisioned within. Changing this forces a new resource to be created.
VirtualNetworkID *string `json:"virtualNetworkId,omitempty" tf:"virtual_network_id,omitempty"`
}
type KafkaClusterRolesZookeeperNodeObservation struct {
// A list of SSH Keys which should be used for the local administrator on the Zookeeper Nodes. Changing this forces a new resource to be created.
// +listType=set
SSHKeys []*string `json:"sshKeys,omitempty" tf:"ssh_keys,omitempty"`
// The script action which will run on the cluster. One or more script_actions blocks as defined below.
ScriptActions []KafkaClusterRolesZookeeperNodeScriptActionsObservation `json:"scriptActions,omitempty" tf:"script_actions,omitempty"`
// The ID of the Subnet within the Virtual Network where the Zookeeper Nodes should be provisioned within. Changing this forces a new resource to be created.
SubnetID *string `json:"subnetId,omitempty" tf:"subnet_id,omitempty"`
// The Username of the local administrator for the Zookeeper Nodes. Changing this forces a new resource to be created.
Username *string `json:"username,omitempty" tf:"username,omitempty"`
// The Size of the Virtual Machine which should be used as the Zookeeper Nodes. Possible values are ExtraSmall, Small, Medium, Large, ExtraLarge, A5, A6, A7, A8, A9, A10, A11, Standard_A1_V2, Standard_A2_V2, Standard_A2m_V2, Standard_A3, Standard_A4_V2, Standard_A4m_V2, Standard_A8_V2, Standard_A8m_V2, Standard_D1, Standard_D2, Standard_D3, Standard_D4, Standard_D11, Standard_D12, Standard_D13, Standard_D14, Standard_D1_V2, Standard_D2_V2, Standard_D3_V2, Standard_D4_V2, Standard_D5_V2, Standard_D11_V2, Standard_D12_V2, Standard_D13_V2, Standard_D14_V2, Standard_DS1_V2, Standard_DS2_V2, Standard_DS3_V2, Standard_DS4_V2, Standard_DS5_V2, Standard_DS11_V2, Standard_DS12_V2, Standard_DS13_V2, Standard_DS14_V2, Standard_E2_V3, Standard_E4_V3, Standard_E8_V3, Standard_E16_V3, Standard_E20_V3, Standard_E32_V3, Standard_E64_V3, Standard_E64i_V3, Standard_E2s_V3, Standard_E4s_V3, Standard_E8s_V3, Standard_E16s_V3, Standard_E20s_V3, Standard_E32s_V3, Standard_E64s_V3, Standard_E64is_V3, Standard_D2a_V4, Standard_D4a_V4, Standard_D8a_V4, Standard_D16a_V4, Standard_D32a_V4, Standard_D48a_V4, Standard_D64a_V4, Standard_D96a_V4, Standard_E2a_V4, Standard_E4a_V4, Standard_E8a_V4, Standard_E16a_V4, Standard_E20a_V4, Standard_E32a_V4, Standard_E48a_V4, Standard_E64a_V4, Standard_E96a_V4, Standard_G1, Standard_G2, Standard_G3, Standard_G4, Standard_G5, Standard_F2s_V2, Standard_F4s_V2, Standard_F8s_V2, Standard_F16s_V2, Standard_F32s_V2, Standard_F64s_V2, Standard_F72s_V2, Standard_GS1, Standard_GS2, Standard_GS3, Standard_GS4, Standard_GS5 and Standard_NC24. Changing this forces a new resource to be created.
VMSize *string `json:"vmSize,omitempty" tf:"vm_size,omitempty"`
// The ID of the Virtual Network where the Zookeeper Nodes should be provisioned within. Changing this forces a new resource to be created.
VirtualNetworkID *string `json:"virtualNetworkId,omitempty" tf:"virtual_network_id,omitempty"`
}