kb-cloud-client-typescript 2.4.0-alpha.137 → 2.4.0-alpha.139

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (98) hide show
  1. package/dist/adminapi/apis/database-api.d.ts +319 -0
  2. package/dist/adminapi/apis/database-api.d.ts.map +1 -1
  3. package/dist/adminapi/apis/database-api.js +344 -0
  4. package/dist/adminapi/apis/database-api.js.map +1 -1
  5. package/dist/adminapi/apis/influxdb-api.d.ts +318 -0
  6. package/dist/adminapi/apis/influxdb-api.d.ts.map +1 -1
  7. package/dist/adminapi/apis/influxdb-api.js +344 -0
  8. package/dist/adminapi/apis/influxdb-api.js.map +1 -1
  9. package/dist/adminapi/apis/shared-api.d.ts +318 -0
  10. package/dist/adminapi/apis/shared-api.d.ts.map +1 -1
  11. package/dist/adminapi/apis/shared-api.js +344 -0
  12. package/dist/adminapi/apis/shared-api.js.map +1 -1
  13. package/dist/adminapi/models/index.d.ts +4 -0
  14. package/dist/adminapi/models/index.d.ts.map +1 -1
  15. package/dist/adminapi/models/index.js +4 -0
  16. package/dist/adminapi/models/index.js.map +1 -1
  17. package/dist/adminapi/models/influx-dbbucket-create.d.ts +44 -0
  18. package/dist/adminapi/models/influx-dbbucket-create.d.ts.map +1 -0
  19. package/dist/adminapi/models/influx-dbbucket-create.js +16 -0
  20. package/dist/adminapi/models/influx-dbbucket-create.js.map +1 -0
  21. package/dist/adminapi/models/influx-dbbucket-retention-rule.d.ts +38 -0
  22. package/dist/adminapi/models/influx-dbbucket-retention-rule.d.ts.map +1 -0
  23. package/dist/adminapi/models/influx-dbbucket-retention-rule.js +16 -0
  24. package/dist/adminapi/models/influx-dbbucket-retention-rule.js.map +1 -0
  25. package/dist/adminapi/models/influx-dbbucket-update.d.ts +38 -0
  26. package/dist/adminapi/models/influx-dbbucket-update.d.ts.map +1 -0
  27. package/dist/adminapi/models/influx-dbbucket-update.js +16 -0
  28. package/dist/adminapi/models/influx-dbbucket-update.js.map +1 -0
  29. package/dist/adminapi/models/influx-dbbucket.d.ts +25 -0
  30. package/dist/adminapi/models/influx-dbbucket.d.ts.map +1 -1
  31. package/dist/adminapi/models/influx-dbretention-rule-type.d.ts +21 -0
  32. package/dist/adminapi/models/influx-dbretention-rule-type.d.ts.map +1 -0
  33. package/dist/adminapi/models/influx-dbretention-rule-type.js +25 -0
  34. package/dist/adminapi/models/influx-dbretention-rule-type.js.map +1 -0
  35. package/dist/adminapi/models/storage-provider-schema-props.d.ts +10 -3
  36. package/dist/adminapi/models/storage-provider-schema-props.d.ts.map +1 -1
  37. package/dist/internalapi/apis/cluster-api.d.ts +4 -4
  38. package/dist/internalapi/apis/cluster-api.d.ts.map +1 -1
  39. package/dist/openapi/apis/database-api.d.ts +319 -0
  40. package/dist/openapi/apis/database-api.d.ts.map +1 -1
  41. package/dist/openapi/apis/database-api.js +344 -0
  42. package/dist/openapi/apis/database-api.js.map +1 -1
  43. package/dist/openapi/apis/influxdb-api.d.ts +318 -0
  44. package/dist/openapi/apis/influxdb-api.d.ts.map +1 -1
  45. package/dist/openapi/apis/influxdb-api.js +344 -0
  46. package/dist/openapi/apis/influxdb-api.js.map +1 -1
  47. package/dist/openapi/apis/shared-api.d.ts +318 -0
  48. package/dist/openapi/apis/shared-api.d.ts.map +1 -1
  49. package/dist/openapi/apis/shared-api.js +344 -0
  50. package/dist/openapi/apis/shared-api.js.map +1 -1
  51. package/dist/openapi/models/index.d.ts +4 -0
  52. package/dist/openapi/models/index.d.ts.map +1 -1
  53. package/dist/openapi/models/index.js +4 -0
  54. package/dist/openapi/models/index.js.map +1 -1
  55. package/dist/openapi/models/influx-dbbucket-create.d.ts +44 -0
  56. package/dist/openapi/models/influx-dbbucket-create.d.ts.map +1 -0
  57. package/dist/openapi/models/influx-dbbucket-create.js +16 -0
  58. package/dist/openapi/models/influx-dbbucket-create.js.map +1 -0
  59. package/dist/openapi/models/influx-dbbucket-retention-rule.d.ts +38 -0
  60. package/dist/openapi/models/influx-dbbucket-retention-rule.d.ts.map +1 -0
  61. package/dist/openapi/models/influx-dbbucket-retention-rule.js +16 -0
  62. package/dist/openapi/models/influx-dbbucket-retention-rule.js.map +1 -0
  63. package/dist/openapi/models/influx-dbbucket-update.d.ts +38 -0
  64. package/dist/openapi/models/influx-dbbucket-update.d.ts.map +1 -0
  65. package/dist/openapi/models/influx-dbbucket-update.js +16 -0
  66. package/dist/openapi/models/influx-dbbucket-update.js.map +1 -0
  67. package/dist/openapi/models/influx-dbbucket.d.ts +25 -0
  68. package/dist/openapi/models/influx-dbbucket.d.ts.map +1 -1
  69. package/dist/openapi/models/influx-dbretention-rule-type.d.ts +21 -0
  70. package/dist/openapi/models/influx-dbretention-rule-type.d.ts.map +1 -0
  71. package/dist/openapi/models/influx-dbretention-rule-type.js +25 -0
  72. package/dist/openapi/models/influx-dbretention-rule-type.js.map +1 -0
  73. package/package.json +1 -1
  74. package/src/adminapi/.openapi-generator/FILES +4 -0
  75. package/src/adminapi/apis/database-api.ts +563 -0
  76. package/src/adminapi/apis/influxdb-api.ts +561 -0
  77. package/src/adminapi/apis/shared-api.ts +561 -0
  78. package/src/adminapi/models/index.ts +4 -0
  79. package/src/adminapi/models/influx-dbbucket-create.ts +51 -0
  80. package/src/adminapi/models/influx-dbbucket-retention-rule.ts +47 -0
  81. package/src/adminapi/models/influx-dbbucket-update.ts +45 -0
  82. package/src/adminapi/models/influx-dbbucket.ts +27 -0
  83. package/src/adminapi/models/influx-dbretention-rule-type.ts +30 -0
  84. package/src/adminapi/models/storage-provider-schema-props.ts +12 -3
  85. package/src/adminapi.yaml +257 -2
  86. package/src/internalapi/apis/cluster-api.ts +3 -3
  87. package/src/internalapi.yaml +9 -2
  88. package/src/openapi/.openapi-generator/FILES +4 -0
  89. package/src/openapi/apis/database-api.ts +563 -0
  90. package/src/openapi/apis/influxdb-api.ts +561 -0
  91. package/src/openapi/apis/shared-api.ts +561 -0
  92. package/src/openapi/models/index.ts +4 -0
  93. package/src/openapi/models/influx-dbbucket-create.ts +51 -0
  94. package/src/openapi/models/influx-dbbucket-retention-rule.ts +47 -0
  95. package/src/openapi/models/influx-dbbucket-update.ts +45 -0
  96. package/src/openapi/models/influx-dbbucket.ts +27 -0
  97. package/src/openapi/models/influx-dbretention-rule-type.ts +30 -0
  98. package/src/openapi.yaml +252 -0
@@ -543,12 +543,16 @@ export * from './import-task-list-response';
543
543
  export * from './import-task-response';
544
544
  export * from './import-task-status';
545
545
  export * from './influx-dbbucket';
546
+ export * from './influx-dbbucket-create';
546
547
  export * from './influx-dbbucket-permission';
548
+ export * from './influx-dbbucket-retention-rule';
549
+ export * from './influx-dbbucket-update';
547
550
  export * from './influx-dborganization';
548
551
  export * from './influx-dbpassword-change';
549
552
  export * from './influx-dbpermission';
550
553
  export * from './influx-dbpermission-action';
551
554
  export * from './influx-dbresource';
555
+ export * from './influx-dbretention-rule-type';
552
556
  export * from './influx-dbtoken';
553
557
  export * from './influx-dbtoken-create';
554
558
  export * from './influx-dbtoken-created';
@@ -0,0 +1,51 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * KubeBlocks Cloud API
5
+ * KubeBlocks Cloud API is a RESTful API for managing KubeBlocks Cloud resources. The API is organized around REST. Our API has predictable resource-oriented URLs, accepts `JSON-encoded` request bodies, returns `JSON-encoded` responses, and uses standard HTTP response codes, authentication, and verbs. We use standard HTTP authentication and provide API keys to identify who you are. Your API keys carry many privileges, so be sure to keep them secret! Do not share your secret API keys in publicly accessible areas such as GitHub, client-side code, and so forth.
6
+ *
7
+ * The version of the OpenAPI document: 1.0.0
8
+ * Contact: support@apecloud.com
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+
16
+ // May contain unused imports in some cases
17
+ // @ts-ignore
18
+ import type { InfluxDBBucketRetentionRule } from './influx-dbbucket-retention-rule';
19
+
20
+ /**
21
+ *
22
+ * @export
23
+ * @interface InfluxDBBucketCreate
24
+ */
25
+ export interface InfluxDBBucketCreate {
26
+ /**
27
+ *
28
+ * @type {string}
29
+ * @memberof InfluxDBBucketCreate
30
+ */
31
+ 'orgID': string;
32
+ /**
33
+ *
34
+ * @type {string}
35
+ * @memberof InfluxDBBucketCreate
36
+ */
37
+ 'name': string;
38
+ /**
39
+ *
40
+ * @type {string}
41
+ * @memberof InfluxDBBucketCreate
42
+ */
43
+ 'description'?: string;
44
+ /**
45
+ *
46
+ * @type {Array<InfluxDBBucketRetentionRule>}
47
+ * @memberof InfluxDBBucketCreate
48
+ */
49
+ 'retentionRules'?: Array<InfluxDBBucketRetentionRule>;
50
+ }
51
+
@@ -0,0 +1,47 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * KubeBlocks Cloud API
5
+ * KubeBlocks Cloud API is a RESTful API for managing KubeBlocks Cloud resources. The API is organized around REST. Our API has predictable resource-oriented URLs, accepts `JSON-encoded` request bodies, returns `JSON-encoded` responses, and uses standard HTTP response codes, authentication, and verbs. We use standard HTTP authentication and provide API keys to identify who you are. Your API keys carry many privileges, so be sure to keep them secret! Do not share your secret API keys in publicly accessible areas such as GitHub, client-side code, and so forth.
6
+ *
7
+ * The version of the OpenAPI document: 1.0.0
8
+ * Contact: support@apecloud.com
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+
16
+ // May contain unused imports in some cases
17
+ // @ts-ignore
18
+ import type { InfluxDBRetentionRuleType } from './influx-dbretention-rule-type';
19
+
20
+ /**
21
+ *
22
+ * @export
23
+ * @interface InfluxDBBucketRetentionRule
24
+ */
25
+ export interface InfluxDBBucketRetentionRule {
26
+ /**
27
+ *
28
+ * @type {InfluxDBRetentionRuleType}
29
+ * @memberof InfluxDBBucketRetentionRule
30
+ */
31
+ 'type'?: InfluxDBRetentionRuleType;
32
+ /**
33
+ * 0 means forever. Positive retention must be at least 3600 seconds. Omit on PATCH to preserve retention.
34
+ * @type {number}
35
+ * @memberof InfluxDBBucketRetentionRule
36
+ */
37
+ 'everySeconds'?: number;
38
+ /**
39
+ * 0 selects the native default. Omit on PATCH to preserve the existing duration.
40
+ * @type {number}
41
+ * @memberof InfluxDBBucketRetentionRule
42
+ */
43
+ 'shardGroupDurationSeconds'?: number;
44
+ }
45
+
46
+
47
+
@@ -0,0 +1,45 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * KubeBlocks Cloud API
5
+ * KubeBlocks Cloud API is a RESTful API for managing KubeBlocks Cloud resources. The API is organized around REST. Our API has predictable resource-oriented URLs, accepts `JSON-encoded` request bodies, returns `JSON-encoded` responses, and uses standard HTTP response codes, authentication, and verbs. We use standard HTTP authentication and provide API keys to identify who you are. Your API keys carry many privileges, so be sure to keep them secret! Do not share your secret API keys in publicly accessible areas such as GitHub, client-side code, and so forth.
6
+ *
7
+ * The version of the OpenAPI document: 1.0.0
8
+ * Contact: support@apecloud.com
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+
16
+ // May contain unused imports in some cases
17
+ // @ts-ignore
18
+ import type { InfluxDBBucketRetentionRule } from './influx-dbbucket-retention-rule';
19
+
20
+ /**
21
+ * Partial update. Omitted fields are unchanged; empty description clears it. Absent or empty retentionRules does not change retention. To retain forever send everySeconds: 0. System buckets cannot be renamed.
22
+ * @export
23
+ * @interface InfluxDBBucketUpdate
24
+ */
25
+ export interface InfluxDBBucketUpdate {
26
+ /**
27
+ *
28
+ * @type {string}
29
+ * @memberof InfluxDBBucketUpdate
30
+ */
31
+ 'name'?: string;
32
+ /**
33
+ *
34
+ * @type {string}
35
+ * @memberof InfluxDBBucketUpdate
36
+ */
37
+ 'description'?: string;
38
+ /**
39
+ *
40
+ * @type {Array<InfluxDBBucketRetentionRule>}
41
+ * @memberof InfluxDBBucketUpdate
42
+ */
43
+ 'retentionRules'?: Array<InfluxDBBucketRetentionRule>;
44
+ }
45
+
@@ -13,6 +13,9 @@
13
13
  */
14
14
 
15
15
 
16
+ // May contain unused imports in some cases
17
+ // @ts-ignore
18
+ import type { InfluxDBBucketRetentionRule } from './influx-dbbucket-retention-rule';
16
19
 
17
20
  /**
18
21
  *
@@ -44,5 +47,29 @@ export interface InfluxDBBucket {
44
47
  * @memberof InfluxDBBucket
45
48
  */
46
49
  'type': string;
50
+ /**
51
+ *
52
+ * @type {string}
53
+ * @memberof InfluxDBBucket
54
+ */
55
+ 'description': string;
56
+ /**
57
+ *
58
+ * @type {Array<InfluxDBBucketRetentionRule>}
59
+ * @memberof InfluxDBBucket
60
+ */
61
+ 'retentionRules': Array<InfluxDBBucketRetentionRule>;
62
+ /**
63
+ *
64
+ * @type {string}
65
+ * @memberof InfluxDBBucket
66
+ */
67
+ 'createdAt'?: string;
68
+ /**
69
+ *
70
+ * @type {string}
71
+ * @memberof InfluxDBBucket
72
+ */
73
+ 'updatedAt'?: string;
47
74
  }
48
75
 
@@ -0,0 +1,30 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * KubeBlocks Cloud API
5
+ * KubeBlocks Cloud API is a RESTful API for managing KubeBlocks Cloud resources. The API is organized around REST. Our API has predictable resource-oriented URLs, accepts `JSON-encoded` request bodies, returns `JSON-encoded` responses, and uses standard HTTP response codes, authentication, and verbs. We use standard HTTP authentication and provide API keys to identify who you are. Your API keys carry many privileges, so be sure to keep them secret! Do not share your secret API keys in publicly accessible areas such as GitHub, client-side code, and so forth.
6
+ *
7
+ * The version of the OpenAPI document: 1.0.0
8
+ * Contact: support@apecloud.com
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+
16
+
17
+ /**
18
+ *
19
+ * @export
20
+ * @enum {string}
21
+ */
22
+
23
+ export const InfluxDBRetentionRuleType = {
24
+ expire: 'expire'
25
+ } as const;
26
+
27
+ export type InfluxDBRetentionRuleType = typeof InfluxDBRetentionRuleType[keyof typeof InfluxDBRetentionRuleType];
28
+
29
+
30
+
package/src/openapi.yaml CHANGED
@@ -368,6 +368,193 @@ paths:
368
368
  $ref: '#/components/responses/409'
369
369
  '500':
370
370
  $ref: '#/components/responses/500'
371
+ post:
372
+ summary: InfluxDB CreateBucket
373
+ operationId: influxDBCreateBucket
374
+ tags:
375
+ - influxdb
376
+ - database
377
+ - shared
378
+ parameters:
379
+ - name: orgName
380
+ in: path
381
+ required: true
382
+ schema:
383
+ type: string
384
+ - name: clusterName
385
+ in: path
386
+ required: true
387
+ schema:
388
+ type: string
389
+ responses:
390
+ '201':
391
+ description: Success
392
+ content:
393
+ application/json:
394
+ schema:
395
+ $ref: '#/components/schemas/InfluxDBBucket'
396
+ '400':
397
+ $ref: '#/components/responses/400'
398
+ '401':
399
+ $ref: '#/components/responses/401'
400
+ '403':
401
+ $ref: '#/components/responses/403'
402
+ '404':
403
+ $ref: '#/components/responses/404'
404
+ '409':
405
+ $ref: '#/components/responses/409'
406
+ '500':
407
+ $ref: '#/components/responses/500'
408
+ requestBody:
409
+ required: true
410
+ content:
411
+ application/json:
412
+ schema:
413
+ $ref: '#/components/schemas/InfluxDBBucketCreate'
414
+ /api/v1/data/influxdb/organizations/{orgName}/clusters/{clusterName}/buckets/{bucketID}:
415
+ get:
416
+ summary: InfluxDB GetBucket
417
+ operationId: influxDBGetBucket
418
+ tags:
419
+ - influxdb
420
+ - database
421
+ - shared
422
+ parameters:
423
+ - name: orgName
424
+ in: path
425
+ required: true
426
+ schema:
427
+ type: string
428
+ - name: clusterName
429
+ in: path
430
+ required: true
431
+ schema:
432
+ type: string
433
+ - name: bucketID
434
+ in: path
435
+ required: true
436
+ schema:
437
+ type: string
438
+ - name: influxOrgID
439
+ in: query
440
+ required: true
441
+ schema:
442
+ type: string
443
+ responses:
444
+ '200':
445
+ description: Success
446
+ content:
447
+ application/json:
448
+ schema:
449
+ $ref: '#/components/schemas/InfluxDBBucket'
450
+ '400':
451
+ $ref: '#/components/responses/400'
452
+ '401':
453
+ $ref: '#/components/responses/401'
454
+ '403':
455
+ $ref: '#/components/responses/403'
456
+ '404':
457
+ $ref: '#/components/responses/404'
458
+ '409':
459
+ $ref: '#/components/responses/409'
460
+ '500':
461
+ $ref: '#/components/responses/500'
462
+ patch:
463
+ summary: InfluxDB UpdateBucket
464
+ operationId: influxDBUpdateBucket
465
+ tags:
466
+ - influxdb
467
+ - database
468
+ - shared
469
+ parameters:
470
+ - name: orgName
471
+ in: path
472
+ required: true
473
+ schema:
474
+ type: string
475
+ - name: clusterName
476
+ in: path
477
+ required: true
478
+ schema:
479
+ type: string
480
+ - name: bucketID
481
+ in: path
482
+ required: true
483
+ schema:
484
+ type: string
485
+ - name: influxOrgID
486
+ in: query
487
+ required: true
488
+ schema:
489
+ type: string
490
+ responses:
491
+ '200':
492
+ description: Success
493
+ content:
494
+ application/json:
495
+ schema:
496
+ $ref: '#/components/schemas/InfluxDBBucket'
497
+ '400':
498
+ $ref: '#/components/responses/400'
499
+ '401':
500
+ $ref: '#/components/responses/401'
501
+ '403':
502
+ $ref: '#/components/responses/403'
503
+ '404':
504
+ $ref: '#/components/responses/404'
505
+ '409':
506
+ $ref: '#/components/responses/409'
507
+ '500':
508
+ $ref: '#/components/responses/500'
509
+ requestBody:
510
+ required: true
511
+ content:
512
+ application/json:
513
+ schema:
514
+ $ref: '#/components/schemas/InfluxDBBucketUpdate'
515
+ delete:
516
+ summary: InfluxDB DeleteBucket
517
+ operationId: influxDBDeleteBucket
518
+ tags:
519
+ - influxdb
520
+ - database
521
+ - shared
522
+ parameters:
523
+ - name: orgName
524
+ in: path
525
+ required: true
526
+ schema:
527
+ type: string
528
+ - name: clusterName
529
+ in: path
530
+ required: true
531
+ schema:
532
+ type: string
533
+ - name: bucketID
534
+ in: path
535
+ required: true
536
+ schema:
537
+ type: string
538
+ - name: influxOrgID
539
+ in: query
540
+ required: true
541
+ schema:
542
+ type: string
543
+ responses:
544
+ '204':
545
+ description: Success
546
+ '400':
547
+ $ref: '#/components/responses/400'
548
+ '401':
549
+ $ref: '#/components/responses/401'
550
+ '403':
551
+ $ref: '#/components/responses/403'
552
+ '404':
553
+ $ref: '#/components/responses/404'
554
+ '409':
555
+ $ref: '#/components/responses/409'
556
+ '500':
557
+ $ref: '#/components/responses/500'
371
558
  /api/v1/data/influxdb/organizations/{orgName}/clusters/{clusterName}/accounts/{userID}/tokens:
372
559
  get:
373
560
  summary: InfluxDB ListTokens
@@ -26823,6 +27010,27 @@ components:
26823
27010
  type: string
26824
27011
  name:
26825
27012
  type: string
27013
+ InfluxDBRetentionRuleType:
27014
+ type: string
27015
+ enum:
27016
+ - expire
27017
+ InfluxDBBucketRetentionRule:
27018
+ type: object
27019
+ properties:
27020
+ type:
27021
+ $ref: '#/components/schemas/InfluxDBRetentionRuleType'
27022
+ everySeconds:
27023
+ type: integer
27024
+ format: int64
27025
+ minimum: 0
27026
+ maximum: 9223372036
27027
+ description: 0 means forever. Positive retention must be at least 3600 seconds. Omit on PATCH to preserve retention.
27028
+ shardGroupDurationSeconds:
27029
+ type: integer
27030
+ format: int64
27031
+ minimum: 0
27032
+ maximum: 9223372036
27033
+ description: 0 selects the native default. Omit on PATCH to preserve the existing duration.
26826
27034
  InfluxDBBucket:
26827
27035
  type: object
26828
27036
  required:
@@ -26830,6 +27038,8 @@ components:
26830
27038
  - orgID
26831
27039
  - name
26832
27040
  - type
27041
+ - description
27042
+ - retentionRules
26833
27043
  properties:
26834
27044
  id:
26835
27045
  type: string
@@ -26839,6 +27049,48 @@ components:
26839
27049
  type: string
26840
27050
  type:
26841
27051
  type: string
27052
+ description:
27053
+ type: string
27054
+ retentionRules:
27055
+ type: array
27056
+ items:
27057
+ $ref: '#/components/schemas/InfluxDBBucketRetentionRule'
27058
+ createdAt:
27059
+ type: string
27060
+ format: date-time
27061
+ updatedAt:
27062
+ type: string
27063
+ format: date-time
27064
+ InfluxDBBucketCreate:
27065
+ type: object
27066
+ required:
27067
+ - orgID
27068
+ - name
27069
+ properties:
27070
+ orgID:
27071
+ type: string
27072
+ name:
27073
+ type: string
27074
+ description:
27075
+ type: string
27076
+ retentionRules:
27077
+ type: array
27078
+ items:
27079
+ $ref: '#/components/schemas/InfluxDBBucketRetentionRule'
27080
+ maxItems: 1
27081
+ InfluxDBBucketUpdate:
27082
+ type: object
27083
+ properties:
27084
+ name:
27085
+ type: string
27086
+ description:
27087
+ type: string
27088
+ retentionRules:
27089
+ type: array
27090
+ items:
27091
+ $ref: '#/components/schemas/InfluxDBBucketRetentionRule'
27092
+ maxItems: 1
27093
+ description: 'Partial update. Omitted fields are unchanged; empty description clears it. Absent or empty retentionRules does not change retention. To retain forever send everySeconds: 0. System buckets cannot be renamed.'
26842
27094
  InfluxDBTokenStatus:
26843
27095
  type: string
26844
27096
  enum: