-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathopdb.yaml
2618 lines (2618 loc) · 86.1 KB
/
opdb.yaml
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
x-generated: Automatically generated by CDP protoc plugin. Do not edit manually.
swagger: '2.0'
x-endpoint-name: opdb
x-products: CDP
x-form-factors: public
x-cdp-releases: PUBLIC
info:
version: 0.9.135 (BETA)
title: Operational Database service
license:
name: Apache 2.0
description: Interact with the Cloudera Operational Database service
termsOfService: https://www.cloudera.com/legal/commercial-terms-and-conditions.html
schemes:
- https
consumes:
- application/json
produces:
- application/json
paths:
/api/v1/opdb/addCoprocessor:
post:
summary: Add a coprocessor for a specific table
description: Adds a coprocessor for a specific table.
operationId: addCoprocessor
x-entitlement: COD_COPROCESSORS
parameters:
- name: input
in: body
required: true
schema:
$ref: '#/definitions/AddCoprocessorRequest'
responses:
200:
description: Expected response to a valid request.
schema:
$ref: '#/definitions/AddCoprocessorResponse'
default:
description: The default response on an error.
schema:
$ref: '#/definitions/Error'
x-mutating: true
/api/v1/opdb/collectDiagnostics:
post:
summary: Collect diagnostic data bundles from the database
description: returns details of running command
operationId: collectDiagnostics
parameters:
- name: input
in: body
required: true
schema:
$ref: '#/definitions/CollectDiagnosticsRequest'
responses:
200:
description: Expected response to a valid request.
schema:
$ref: '#/definitions/CollectDiagnosticsResponse'
default:
description: The default response on an error.
schema:
$ref: '#/definitions/Error'
x-mutating: false
/api/v1/opdb/createDatabase:
post:
summary: Create opDb
description: Create a operational database in a environment
operationId: createDatabase
parameters:
- name: input
in: body
required: true
schema:
$ref: '#/definitions/CreateDatabaseRequest'
responses:
200:
description: Expected response to a valid request.
schema:
$ref: '#/definitions/CreateDatabaseResponse'
default:
description: The default response on an error.
schema:
$ref: '#/definitions/Error'
x-mutating: true
/api/v1/opdb/createSnapshot:
post:
summary: Creates a snapshot for a specific table.
description: Returns id state and creation time.
operationId: createSnapshot
parameters:
- name: input
in: body
required: true
schema:
$ref: '#/definitions/CreateSnapshotRequest'
responses:
200:
description: Expected response to a valid request.
schema:
$ref: '#/definitions/CreateSnapshotResponse'
default:
description: The default response on an error.
schema:
$ref: '#/definitions/Error'
x-mutating: true
/api/v1/opdb/deleteSnapshot:
post:
summary: Deletes a snapshot.
description: Returns the snapshot that is deleted.
operationId: deleteSnapshot
parameters:
- name: input
in: body
required: true
schema:
$ref: '#/definitions/DeleteSnapshotRequest'
responses:
200:
description: Expected response to a valid request.
schema:
$ref: '#/definitions/DeleteSnapshotResponse'
default:
description: The default response on an error.
schema:
$ref: '#/definitions/Error'
x-mutating: true
/api/v1/opdb/describeClientConnectivity:
post:
summary: Returns client connectivity details
description: Returns details to enable programmatic client connectivity for a database
operationId: describeClientConnectivity
parameters:
- name: input
in: body
required: true
schema:
$ref: '#/definitions/DescribeClientConnectivityRequest'
responses:
200:
description: Expected response to a valid request.
schema:
$ref: '#/definitions/DescribeClientConnectivityResponse'
default:
description: The default response on an error.
schema:
$ref: '#/definitions/Error'
x-mutating: false
/api/v1/opdb/describeDatabase:
post:
summary: Describe a opDb
description: Details about the operational database
operationId: describeDatabase
parameters:
- name: input
in: body
required: true
schema:
$ref: '#/definitions/DescribeDatabaseRequest'
responses:
200:
description: Expected response to a valid request.
schema:
$ref: '#/definitions/DescribeDatabaseResponse'
default:
description: The default response on an error.
schema:
$ref: '#/definitions/Error'
x-mutating: false
/api/v1/opdb/describeHbaseConfiguration:
post:
summary: Describes the configuration of HBase.
description: Describes the selected configuration of the HBase cluster of an operational database in the environment.
operationId: describeHbaseConfiguration
parameters:
- name: input
in: body
required: true
schema:
$ref: '#/definitions/DescribeHbaseConfigurationRequest'
responses:
200:
description: Expected response to a valid request.
schema:
$ref: '#/definitions/DescribeHbaseConfigurationResponse'
default:
description: The default response on an error.
schema:
$ref: '#/definitions/Error'
x-mutating: false
/api/v1/opdb/describeUpgradeDatabase:
post:
summary: Describes the upgrade availability.
description: Describes the upgrade availability for an operational database.
operationId: describeUpgradeDatabase
parameters:
- name: input
in: body
required: true
schema:
$ref: '#/definitions/DescribeUpgradeDatabaseRequest'
responses:
200:
description: Expected response to a valid request.
schema:
$ref: '#/definitions/DescribeUpgradeDatabaseResponse'
default:
description: The default response on an error.
schema:
$ref: '#/definitions/Error'
x-mutating: false
/api/v1/opdb/dropDatabase:
post:
summary: drop a opDb
description: drop the operational database
operationId: dropDatabase
parameters:
- name: input
in: body
required: true
schema:
$ref: '#/definitions/DropDatabaseRequest'
responses:
200:
description: Expected response to a valid request.
schema:
$ref: '#/definitions/DropDatabaseResponse'
default:
description: The default response on an error.
schema:
$ref: '#/definitions/Error'
x-mutating: true
/api/v1/opdb/listCertificates:
post:
summary: List certificates
description: List SHA-1 fingerprints of certificates in Global Trust Store
operationId: listCertificates
parameters:
- name: input
in: body
required: true
schema:
$ref: '#/definitions/ListCertificatesRequest'
responses:
200:
description: Expected response to a valid request.
schema:
$ref: '#/definitions/ListCertificatesResponse'
default:
description: The default response on an error.
schema:
$ref: '#/definitions/Error'
x-mutating: false
/api/v1/opdb/listCoprocessors:
post:
summary: Lists coprocessors in a database
description: Lists coprocessors in a database.
operationId: listCoprocessors
x-entitlement: COD_COPROCESSORS
parameters:
- name: input
in: body
required: true
schema:
$ref: '#/definitions/ListCoprocessorsRequest'
responses:
200:
description: Expected response to a valid request.
schema:
$ref: '#/definitions/ListCoprocessorsResponse'
default:
description: The default response on an error.
schema:
$ref: '#/definitions/Error'
x-mutating: false
/api/v1/opdb/listDatabases:
post:
summary: List all opDbs in an environment
description: Fetch a list of all operational databases in an environment
operationId: listDatabases
parameters:
- name: input
in: body
required: true
schema:
$ref: '#/definitions/ListDatabasesRequest'
responses:
200:
description: Expected response to a valid request.
schema:
$ref: '#/definitions/ListDatabasesResponse'
default:
description: The default response on an error.
schema:
$ref: '#/definitions/Error'
x-mutating: false
/api/v1/opdb/listDiagnostics:
post:
summary: List all diagnostics associated to the database
description: returns list of diagnostics collections
operationId: listDiagnostics
parameters:
- name: input
in: body
required: true
schema:
$ref: '#/definitions/ListDiagnosticsRequest'
responses:
200:
description: Expected response to a valid request.
schema:
$ref: '#/definitions/ListDiagnosticsResponse'
default:
description: The default response on an error.
schema:
$ref: '#/definitions/Error'
x-mutating: false
/api/v1/opdb/listEdgeNodes:
post:
summary: Lists edge nodes in a database
description: Lists edge nodes in a database.
operationId: listEdgeNodes
parameters:
- name: input
in: body
required: true
schema:
$ref: '#/definitions/ListEdgeNodesRequest'
responses:
200:
description: Expected response to a valid request.
schema:
$ref: '#/definitions/ListEdgeNodesResponse'
default:
description: The default response on an error.
schema:
$ref: '#/definitions/Error'
x-mutating: false
/api/v1/opdb/listEvents:
post:
summary: Lists events
description: Lists events in reverse chronological order for an operational database.
operationId: listEvents
x-entitlement: COD_PROACTIVE_SUPPORT
x-paging-default-max-items: 20
parameters:
- name: input
in: body
required: true
schema:
$ref: '#/definitions/ListEventsRequest'
responses:
200:
description: Expected response to a valid request.
schema:
$ref: '#/definitions/ListEventsResponse'
default:
description: The default response on an error.
schema:
$ref: '#/definitions/Error'
x-mutating: false
/api/v1/opdb/listRestoreSnapshots:
post:
summary: Lists instances when a snapshot was restored to a database.
description: Returns a list of snapshots restored into a database.
operationId: listRestoreSnapshots
parameters:
- name: input
in: body
required: true
schema:
$ref: '#/definitions/ListRestoreSnapshotsRequest'
responses:
200:
description: Expected response to a valid request.
schema:
$ref: '#/definitions/ListRestoreSnapshotsResponse'
default:
description: The default response on an error.
schema:
$ref: '#/definitions/Error'
x-mutating: false
/api/v1/opdb/listScalingEvents:
post:
summary: Lists scaling events
description: Lists scaling events in reverse chronological order for an operational database.
operationId: listScalingEvents
x-paging-default-max-items: 20
parameters:
- name: input
in: body
required: true
schema:
$ref: '#/definitions/ListScalingEventsRequest'
responses:
200:
description: Expected response to a valid request.
schema:
$ref: '#/definitions/ListScalingEventsResponse'
default:
description: The default response on an error.
schema:
$ref: '#/definitions/Error'
x-mutating: false
/api/v1/opdb/listSnapshots:
post:
summary: Shows snapshot for a table name in a specific location.
description: Returns list of snapshot names.
operationId: listSnapshots
parameters:
- name: input
in: body
required: true
schema:
$ref: '#/definitions/ListSnapshotsRequest'
responses:
200:
description: Expected response to a valid request.
schema:
$ref: '#/definitions/ListSnapshotsResponse'
default:
description: The default response on an error.
schema:
$ref: '#/definitions/Error'
x-mutating: false
/api/v1/opdb/listSupportedEnvironments:
post:
summary: List of environments available for the database creation
description: Fetches a list of environments available for the database creation
operationId: listSupportedEnvironments
parameters:
- name: input
in: body
required: true
schema:
$ref: '#/definitions/ListSupportedEnvironmentsRequest'
responses:
200:
description: Expected response to a valid request.
schema:
$ref: '#/definitions/ListSupportedEnvironmentsResponse'
default:
description: The default response on an error.
schema:
$ref: '#/definitions/Error'
x-mutating: false
/api/v1/opdb/listSupportedInstanceTypes:
post:
summary: Lists instance types supported by COD
description: Lists instance types supported by COD.
operationId: listSupportedInstanceTypes
parameters:
- name: input
in: body
required: true
schema:
$ref: '#/definitions/ListSupportedInstanceTypesRequest'
responses:
200:
description: Expected response to a valid request.
schema:
$ref: '#/definitions/ListSupportedInstanceTypesResponse'
default:
description: The default response on an error.
schema:
$ref: '#/definitions/Error'
x-mutating: false
/api/v1/opdb/prepareUpgradeDatabase:
post:
summary: Prepare database upgrade.
description: Running upgrade related validations and prepares the required parcels for the upgrade.
operationId: prepareUpgradeDatabase
parameters:
- name: input
in: body
required: true
schema:
$ref: '#/definitions/PrepareUpgradeDatabaseRequest'
responses:
200:
description: Expected response to a valid request.
schema:
$ref: '#/definitions/PrepareUpgradeDatabaseResponse'
default:
description: The default response on an error.
schema:
$ref: '#/definitions/Error'
x-mutating: true
/api/v1/opdb/removeCoprocessor:
post:
summary: Removes a coprocessor for a specific table
description: Removes a coprocessor for a specific table.
operationId: removeCoprocessor
x-entitlement: COD_COPROCESSORS
parameters:
- name: input
in: body
required: true
schema:
$ref: '#/definitions/RemoveCoprocessorRequest'
responses:
200:
description: Expected response to a valid request.
schema:
$ref: '#/definitions/RemoveCoprocessorResponse'
default:
description: The default response on an error.
schema:
$ref: '#/definitions/Error'
x-mutating: true
/api/v1/opdb/restoreSnapshot:
post:
summary: Restores a snapshot.
description: Returns the snapshot that was restored.
operationId: restoreSnapshot
parameters:
- name: input
in: body
required: true
schema:
$ref: '#/definitions/RestoreSnapshotRequest'
responses:
200:
description: Expected response to a valid request.
schema:
$ref: '#/definitions/RestoreSnapshotResponse'
default:
description: The default response on an error.
schema:
$ref: '#/definitions/Error'
x-mutating: true
/api/v1/opdb/startDatabase:
post:
summary: Starts the database
description: Starts a previously stopped database
operationId: startDatabase
parameters:
- name: input
in: body
required: true
schema:
$ref: '#/definitions/StartDatabaseRequest'
responses:
200:
description: Expected response to a valid request.
schema:
$ref: '#/definitions/StartDatabaseResponse'
default:
description: The default response on an error.
schema:
$ref: '#/definitions/Error'
x-mutating: true
/api/v1/opdb/stopDatabase:
post:
summary: Stops the database
description: Stops a running database
operationId: stopDatabase
parameters:
- name: input
in: body
required: true
schema:
$ref: '#/definitions/StopDatabaseRequest'
responses:
200:
description: Expected response to a valid request.
schema:
$ref: '#/definitions/StopDatabaseResponse'
default:
description: The default response on an error.
schema:
$ref: '#/definitions/Error'
x-mutating: true
/api/v1/opdb/updateDatabase:
post:
summary: Updates the database
description: Update an operational database in an environment
operationId: updateDatabase
parameters:
- name: input
in: body
required: true
schema:
$ref: '#/definitions/UpdateDatabaseRequest'
responses:
200:
description: Expected response to a valid request.
schema:
$ref: '#/definitions/UpdateDatabaseResponse'
default:
description: The default response on an error.
schema:
$ref: '#/definitions/Error'
x-mutating: true
/api/v1/opdb/updateEdgeNodes:
post:
summary: Update edge nodes in a database
description: Update edge nodes in a database.
operationId: updateEdgeNodes
parameters:
- name: input
in: body
required: true
schema:
$ref: '#/definitions/UpdateEdgeNodesRequest'
responses:
200:
description: Expected response to a valid request.
schema:
$ref: '#/definitions/UpdateEdgeNodesResponse'
default:
description: The default response on an error.
schema:
$ref: '#/definitions/Error'
x-mutating: true
/api/v1/opdb/updateHbaseConfiguration:
post:
summary: Updates the configuration of HBase.
description: Updates the selected configuration of the HBase cluster of an operational database in the environment.
operationId: updateHbaseConfiguration
parameters:
- name: input
in: body
required: true
schema:
$ref: '#/definitions/UpdateHbaseConfigurationRequest'
responses:
200:
description: Expected response to a valid request.
schema:
$ref: '#/definitions/UpdateHbaseConfigurationResponse'
default:
description: The default response on an error.
schema:
$ref: '#/definitions/Error'
x-mutating: true
/api/v1/opdb/upgradeDatabase:
post:
summary: Upgrades the database.
description: Upgrades an operational database in an environment to a given runtime.
operationId: upgradeDatabase
parameters:
- name: input
in: body
required: true
schema:
$ref: '#/definitions/UpgradeDatabaseRequest'
responses:
200:
description: Expected response to a valid request.
schema:
$ref: '#/definitions/UpgradeDatabaseResponse'
default:
description: The default response on an error.
schema:
$ref: '#/definitions/Error'
x-mutating: true
/api/v1/opdb/uploadCertificate:
post:
summary: Upload custom certificate
description: Upload a custom certificate to Global Trust Store
operationId: uploadCertificate
parameters:
- name: input
in: body
required: true
schema:
$ref: '#/definitions/UploadCertificateRequest'
responses:
200:
description: Expected response to a valid request.
schema:
$ref: '#/definitions/UploadCertificateResponse'
default:
description: The default response on an error.
schema:
$ref: '#/definitions/Error'
x-mutating: true
definitions:
Error:
type: object
description: An object returned on an error.
properties:
code:
type: string
description: The error code.
message:
type: string
description: The error message.
DiagnosticsBundle:
type: object
description: Describe a diagnostics bundle
properties:
id:
type: string
description: Identifier for each bundle collection
crn:
type: string
description: The object on which diagnostics was collected
startTime:
type: string
format: date-time
description: Start time
endTime:
type: string
format: date-time
description: The end time, if the command is finished.
status:
type: string
description: A status of the diagnostics collection process
result:
type: string
description: If this is a download, a link to the download location of the bundle
CollectDiagnosticsRequest:
type: object
description: Enables starting collection of the diagnostics. This is an asynchronous API and not expected to block.
required:
- environmentName
- databaseName
- endTime
properties:
environmentName:
type: string
description: The name of the environment
databaseName:
type: string
description: The name of the database
endTime:
type: string
description: The end time (in ISO 8601 format) of the period to collection statistics for.
startTime:
type: string
description: The start time (in ISO 8601 format) of the period to collection statistics for.
CollectDiagnosticsResponse:
type: object
description: Information about diagnostic bundle generation
properties:
diagnosticsBundle:
description: Details of requested diagnostic bundle collection
$ref: '#/definitions/DiagnosticsBundle'
ListDiagnosticsRequest:
type: object
description: Lists the in-progress diagnostic bundle operations.
required:
- environmentName
- databaseName
properties:
environmentName:
type: string
description: The name of the environment
databaseName:
type: string
description: The name of the database
ListDiagnosticsResponse:
type: object
description: The list of in-progress diagnostic bundle operations
properties:
diagnosticsBundles:
type: array
items:
$ref: '#/definitions/DiagnosticsBundle'
description: List of diagnostics operations
KeyValuePair:
type: object
description: Generic key-value type, because map<> is not supported
properties:
key:
type: string
description: Key
value:
type: string
description: Value
InstanceGroupType:
type: string
description: "InstanceGroup Type.\n `WORKER` - WORKER value of the InstanceGroup name. `LEADER` - LEADER value of the InstanceGroup name. `MASTER` - MASTER value of the InstanceGroup name. `GATEWAY` - GATEWAY value of the InstanceGroup name. `STRONGMETA` - STRONGMETA value of the InstanceGroup name. `EDGE` - EDGE value of the InstanceGroup name. `COMPUTE` - COMPUTE value of the InstanceGroup name. `RESTWORKER` - RESTWORKER value of the InstanceGroup name."
enum:
- WORKER
- LEADER
- MASTER
- GATEWAY
- STRONGMETA
- EDGE
CustomRecipe:
type: object
description: Describe a custom recipe.
required:
- names
- instanceGroup
properties:
names:
type: array
items:
type: string
description: Name of the recipe.
instanceGroup:
description: Instance group to apply the recipe to.
$ref: '#/definitions/InstanceGroupType'
VolumeEncryption:
type: object
description: Specify volume encryption key for instance group.
required:
- encryptionKey
- instanceGroup
properties:
encryptionKey:
type: string
description: Encryption key.
instanceGroup:
description: Instance group to apply the encryption key to.
$ref: '#/definitions/InstanceGroupType'
CreateDatabaseRequest:
type: object
description: A request to create the database
required:
- environmentName
- databaseName
properties:
environmentName:
type: string
description: environment name
databaseName:
type: string
description: database name
autoScalingParameters:
description: Parameters to configure the AutoScaling
$ref: '#/definitions/AutoScalingParameters'
disableExternalDB:
type: boolean
description: Skips external database creation to avoid DB creation time.
subnetId:
type: string
description: Override subnet where the database will be deployed. Disables Multi-AZ if set [only for AWS].
customUserTags:
type: array
items:
$ref: '#/definitions/KeyValuePair'
description: Optional tags to apply to launched infrastructure resources
disableMultiAz:
type: boolean
description: Disable deployment into multiple availability-zones (the database will be deployed into one subnet).
attachedStorageForWorkers:
description: Attached storage for the worker nodes for AWS, Azure, and GCP cloud providers.
$ref: '#/definitions/AttachedStorageForWorkers'
disableKerberos:
type: boolean
description: Disable Kerberos authentication.
numEdgeNodes:
type: integer
format: int32
description: Number of edge nodes to be created for the database. A positive, non-zero number is required. The default value is 0.
image:
description: Image details for the database.
$ref: '#/definitions/Image'
disableJwtAuth:
type: boolean
description: Disable OAuth Bearer (JWT) authentication scheme.
enableRegionCanary:
type: boolean
description: To enable the region canary for the database.
scaleType:
description: Optional tags to choose one of the predefined cluster sizes.
$ref: '#/definitions/ScaleType'
storageType:
description: Optional tag to choose the storage types.
$ref: '#/definitions/StorageType'
recipes:
type: array
items:
$ref: '#/definitions/CustomRecipe'
description: Custom recipes for the database.
enableGrafana:
type: boolean
description: To enable grafana server for the database.
javaVersion:
type: integer
format: int32
description: Optional tag to configure the major version of Java on the cluster.
computeClusterId:
type: string
description: Uses provided compute cluster for Kubernetes clusters instead of creating a new one. Deprecated, use `computeClusterCrn` instead.
x-deprecated: true
storageLocation:
type: string
description: Provide an optional external storage location for a non-CDP managed bucket as the HBase root.
rootVolumeSize:
type: integer
format: int32
description: Root volume size in GiB.
volumeEncryptions:
type: array
items:
$ref: '#/definitions/VolumeEncryption'
description: Specifies encryption key to encrypt volume for instance group. It is currently supported for AWS cloud provider only.
gatewayNodesCount:
type: integer
format: int32
description: Number of gateway nodes to be created for the database. When multiple gateway nodes are present Knox works in HA mode. A positive, non-zero number is required. The default value is 1. Requires the COD_RESTWORKERS entitlement.
restworkerNodesCount:
type: integer
format: int32
description: Number of REST Worker nodes to be created for the database. A positive, non-zero number is required. The default value is 0. Requires the COD_RESTWORKERS entitlement.
computeClusterCrn:
type: string
description: Utilizes the existing compute cluster with the provided CRN instead of creating a new one.
architecture:
description: Specifies the Architecture of the cluster nodes.
$ref: '#/definitions/ArchitectureType'
customInstanceTypes:
description: Provide custom VM instance types for master, worker, gateway, leader, edge and compute groups.
$ref: '#/definitions/CustomInstanceTypes'
securityRequest:
description: Specifies the Security related configuration of the cluster.
$ref: '#/definitions/SecurityRequest'
CustomInstanceTypes:
type: object
description: Custom VM Instance Types.
properties:
masterType:
type: string
description: Master VM Instance Type.
workerType:
type: string
description: Worker VM Instance Type.
gatewayType:
type: string
description: Gateway VM Instance Type.
leaderType:
type: string
description: Leader VM Instance Type.
edgeType:
type: string
description: Edge VM Instance Type.
computeType:
type: string
description: Compute VM Instance Type.
VolumeType:
type: string
description: "Volume Type.\n `HDD` - Hard disk drives (HDD) volume type. Default is HDD. `SSD` - Solid disk drives (SSD) volume type. `LOCAL_SSD` - Local SSD volume type."
enum:
- HDD
- SSD
- LOCAL_SSD
AttachedStorageForWorkers:
type: object
description: Attached storage for the worker nodes for AWS, Azure, and GCP cloud providers.
properties:
volumeCount:
type: integer
format: int32
minimum: 1
maximum: 8
description: 'The number of Volumes. Default is 4. Valid Range: Minimum value of 1, maximum value 8.'
volumeSize:
type: integer
format: int32
description: The target size of the volume, in GiB. Default is 2048.
volumeType:
description: The volume type. This parameter can be HDD or SSD. Default is HDD.
$ref: '#/definitions/VolumeType'
ScaleType:
type: string
description: "Scale type.\n `MICRO` - Create a 2-node cluster (1 gateway and 1 worker) with high availability disabled. `LIGHT` - Create a multi-node cluster with a light master and gateway instance type. `HEAVY` - Create a multi-node cluster with heavy master and gateway instance type."
enum:
- MICRO
- LIGHT
- HEAVY
StorageType:
type: string
description: "Storage type for clusters.\n `CLOUD_WITH_EPHEMERAL` - Cloud with ephemeral storage. `CLOUD` - Cloud storage without ephemeral storage. `HDFS` - HDFS storage."
enum:
- CLOUD_WITH_EPHEMERAL
- CLOUD
- HDFS
ArchitectureType:
type: string
description: "Architecture type for cluster.\n `X86_64` - X64 CPU Architecture is used for the cluster. `ARM64` - ARM64 CPU Architecture is used for the cluster."
enum:
- X86_64
- ARM64
SecurityRequest:
type: object
description: Security related configurations for the clusters.
properties:
seLinux:
description: SELinux enforcement policy, can be PERMISSIVE or ENFORCING
$ref: '#/definitions/SELinux'
SecurityResponse:
type: object
description: Security related configurations for the clusters.
properties:
seLinux:
description: SELinux enforcement policy, can be PERMISSIVE or ENFORCING
$ref: '#/definitions/SELinux'
SELinux:
type: string
description: "SELinux configurations for the cluster\n `PERMISSIVE` - PERMISSIVE policy is used for the cluster. `ENFORCING` - ENFORCING policy is used for the cluster."
enum:
- PERMISSIVE
- ENFORCING
UpdateDatabaseRequest:
type: object