@cloudfleet/sdk 0.0.1-16d9790 → 0.0.1-1fc3e29
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.
- package/dist/schemas.gen.d.ts +57 -102
- package/dist/schemas.gen.d.ts.map +1 -1
- package/dist/schemas.gen.js +57 -111
- package/dist/schemas.gen.js.map +1 -1
- package/dist/sdk.gen.d.ts +55 -62
- package/dist/sdk.gen.d.ts.map +1 -1
- package/dist/sdk.gen.js +21 -21
- package/dist/sdk.gen.js.map +1 -1
- package/dist/types.gen.d.ts +24 -32
- package/dist/types.gen.d.ts.map +1 -1
- package/dist/zod.gen.d.ts +660 -144
- package/dist/zod.gen.d.ts.map +1 -1
- package/dist/zod.gen.js +313 -49
- package/dist/zod.gen.js.map +1 -1
- package/package.json +6 -6
package/dist/schemas.gen.d.ts
CHANGED
|
@@ -280,19 +280,19 @@ export declare const ClusterCreateInputSchema: {
|
|
|
280
280
|
readonly description: "Name of the cluster.";
|
|
281
281
|
readonly example: "production-cluster";
|
|
282
282
|
};
|
|
283
|
-
readonly region: {
|
|
284
|
-
readonly type: "string";
|
|
285
|
-
readonly description: "Cloudfleet control plane region. One of \"staging\", \"northamerica-central-1\". This field can not be updated after creation.";
|
|
286
|
-
readonly default: "staging";
|
|
287
|
-
readonly example: "northamerica-central-1";
|
|
288
|
-
readonly enum: readonly ["staging", "northamerica-central-1"];
|
|
289
|
-
};
|
|
290
283
|
readonly tier: {
|
|
291
284
|
readonly type: "string";
|
|
292
285
|
readonly description: "Tier of the cluster.";
|
|
293
286
|
readonly example: "pro";
|
|
294
287
|
readonly enum: readonly ["basic", "pro"];
|
|
295
288
|
};
|
|
289
|
+
readonly region: {
|
|
290
|
+
readonly type: "string";
|
|
291
|
+
readonly description: "Cloudfleet control plane region. One of \"staging\", \"northamerica-central-1\", \"europe-central-1a\". This field can not be updated after creation.";
|
|
292
|
+
readonly default: "staging";
|
|
293
|
+
readonly example: "northamerica-central-1";
|
|
294
|
+
readonly enum: readonly ["staging", "northamerica-central-1", "europe-central-1a"];
|
|
295
|
+
};
|
|
296
296
|
readonly version_channel: {
|
|
297
297
|
readonly type: "string";
|
|
298
298
|
readonly pattern: "^(x|X|0|[1-9]\\d*)\\.(x|X|0|[1-9]\\d*)\\.(x|X|0|[1-9]\\d*)(?:-((?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\\.(?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\\+([0-9a-zA-Z-]+(?:\\.[0-9a-zA-Z-]+)*))?$";
|
|
@@ -389,19 +389,19 @@ export declare const ClusterSchema: {
|
|
|
389
389
|
readonly description: "Name of the cluster.";
|
|
390
390
|
readonly example: "production-cluster";
|
|
391
391
|
};
|
|
392
|
-
readonly region: {
|
|
393
|
-
readonly type: "string";
|
|
394
|
-
readonly description: "Cloudfleet control plane region. One of \"staging\", \"northamerica-central-1\". This field can not be updated after creation.";
|
|
395
|
-
readonly default: "staging";
|
|
396
|
-
readonly example: "northamerica-central-1";
|
|
397
|
-
readonly enum: readonly ["staging", "northamerica-central-1"];
|
|
398
|
-
};
|
|
399
392
|
readonly tier: {
|
|
400
393
|
readonly type: "string";
|
|
401
394
|
readonly description: "Tier of the cluster.";
|
|
402
395
|
readonly example: "pro";
|
|
403
396
|
readonly enum: readonly ["basic", "pro"];
|
|
404
397
|
};
|
|
398
|
+
readonly region: {
|
|
399
|
+
readonly type: "string";
|
|
400
|
+
readonly description: "Cloudfleet control plane region. One of \"staging\", \"northamerica-central-1\", \"europe-central-1a\". This field can not be updated after creation.";
|
|
401
|
+
readonly default: "staging";
|
|
402
|
+
readonly example: "northamerica-central-1";
|
|
403
|
+
readonly enum: readonly ["staging", "northamerica-central-1", "europe-central-1a"];
|
|
404
|
+
};
|
|
405
405
|
readonly version_channel: {
|
|
406
406
|
readonly type: "string";
|
|
407
407
|
readonly pattern: "^(x|X|0|[1-9]\\d*)\\.(x|X|0|[1-9]\\d*)\\.(x|X|0|[1-9]\\d*)(?:-((?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\\.(?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\\+([0-9a-zA-Z-]+(?:\\.[0-9a-zA-Z-]+)*))?$";
|
|
@@ -472,6 +472,12 @@ export declare const ClusterUpdateInputSchema: {
|
|
|
472
472
|
readonly description: "Name of the cluster.";
|
|
473
473
|
readonly example: "production-cluster";
|
|
474
474
|
};
|
|
475
|
+
readonly tier: {
|
|
476
|
+
readonly type: "string";
|
|
477
|
+
readonly description: "Tier of the cluster.";
|
|
478
|
+
readonly example: "pro";
|
|
479
|
+
readonly enum: readonly ["basic", "pro"];
|
|
480
|
+
};
|
|
475
481
|
readonly version_channel: {
|
|
476
482
|
readonly type: "string";
|
|
477
483
|
readonly pattern: "^(x|X|0|[1-9]\\d*)\\.(x|X|0|[1-9]\\d*)\\.(x|X|0|[1-9]\\d*)(?:-((?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\\.(?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\\+([0-9a-zA-Z-]+(?:\\.[0-9a-zA-Z-]+)*))?$";
|
|
@@ -479,6 +485,7 @@ export declare const ClusterUpdateInputSchema: {
|
|
|
479
485
|
readonly example: "1.29.x-cfke.x";
|
|
480
486
|
};
|
|
481
487
|
};
|
|
488
|
+
readonly required: readonly ["tier"];
|
|
482
489
|
readonly additionalProperties: false;
|
|
483
490
|
};
|
|
484
491
|
export declare const FleetCreateInputSchema: {
|
|
@@ -514,31 +521,19 @@ export declare const FleetCreateInputSchema: {
|
|
|
514
521
|
readonly additionalProperties: false;
|
|
515
522
|
};
|
|
516
523
|
readonly hetzner: {
|
|
517
|
-
readonly
|
|
518
|
-
|
|
519
|
-
readonly
|
|
520
|
-
readonly
|
|
521
|
-
|
|
522
|
-
readonly default: true;
|
|
523
|
-
};
|
|
524
|
-
readonly apiKey: {
|
|
525
|
-
readonly type: "string";
|
|
526
|
-
};
|
|
524
|
+
readonly type: "object";
|
|
525
|
+
readonly properties: {
|
|
526
|
+
readonly enabled: {
|
|
527
|
+
readonly type: "boolean";
|
|
528
|
+
readonly default: true;
|
|
527
529
|
};
|
|
528
|
-
readonly
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
readonly properties: {
|
|
532
|
-
readonly apiKey: {
|
|
533
|
-
readonly type: "string";
|
|
534
|
-
};
|
|
535
|
-
readonly enabled: {
|
|
536
|
-
readonly type: "boolean";
|
|
537
|
-
readonly default: true;
|
|
538
|
-
};
|
|
530
|
+
readonly apiKey: {
|
|
531
|
+
readonly type: "string";
|
|
532
|
+
readonly description: "Hetzner Cloud API key with read / write access";
|
|
539
533
|
};
|
|
540
|
-
|
|
541
|
-
|
|
534
|
+
};
|
|
535
|
+
readonly required: readonly ["apiKey"];
|
|
536
|
+
readonly additionalProperties: false;
|
|
542
537
|
};
|
|
543
538
|
readonly aws: {
|
|
544
539
|
readonly type: "object";
|
|
@@ -563,13 +558,8 @@ export declare const FleetCreateInputSchema: {
|
|
|
563
558
|
readonly description: "Unique identifier of the kubernetes fleet.";
|
|
564
559
|
readonly example: "new-clouds-fleet";
|
|
565
560
|
};
|
|
566
|
-
readonly type: {
|
|
567
|
-
readonly type: "string";
|
|
568
|
-
readonly description: "Specifies the fleet type: infrastructure managed by Cloudfleet or Connected Fleets.";
|
|
569
|
-
readonly enum: readonly ["managed", "connected"];
|
|
570
|
-
};
|
|
571
561
|
};
|
|
572
|
-
readonly required: readonly ["id"
|
|
562
|
+
readonly required: readonly ["id"];
|
|
573
563
|
readonly additionalProperties: false;
|
|
574
564
|
};
|
|
575
565
|
export declare const FleetSchema: {
|
|
@@ -605,31 +595,19 @@ export declare const FleetSchema: {
|
|
|
605
595
|
readonly additionalProperties: false;
|
|
606
596
|
};
|
|
607
597
|
readonly hetzner: {
|
|
608
|
-
readonly
|
|
609
|
-
|
|
610
|
-
readonly
|
|
611
|
-
readonly
|
|
612
|
-
|
|
613
|
-
readonly default: true;
|
|
614
|
-
};
|
|
615
|
-
readonly apiKey: {
|
|
616
|
-
readonly type: "string";
|
|
617
|
-
};
|
|
598
|
+
readonly type: "object";
|
|
599
|
+
readonly properties: {
|
|
600
|
+
readonly enabled: {
|
|
601
|
+
readonly type: "boolean";
|
|
602
|
+
readonly default: true;
|
|
618
603
|
};
|
|
619
|
-
readonly
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
readonly properties: {
|
|
623
|
-
readonly apiKey: {
|
|
624
|
-
readonly type: "string";
|
|
625
|
-
};
|
|
626
|
-
readonly enabled: {
|
|
627
|
-
readonly type: "boolean";
|
|
628
|
-
readonly default: true;
|
|
629
|
-
};
|
|
604
|
+
readonly apiKey: {
|
|
605
|
+
readonly type: "string";
|
|
606
|
+
readonly description: "Hetzner Cloud API key with read / write access";
|
|
630
607
|
};
|
|
631
|
-
|
|
632
|
-
|
|
608
|
+
};
|
|
609
|
+
readonly required: readonly ["apiKey"];
|
|
610
|
+
readonly additionalProperties: false;
|
|
633
611
|
};
|
|
634
612
|
readonly aws: {
|
|
635
613
|
readonly type: "object";
|
|
@@ -654,13 +632,8 @@ export declare const FleetSchema: {
|
|
|
654
632
|
readonly description: "Unique identifier of the kubernetes fleet.";
|
|
655
633
|
readonly example: "new-clouds-fleet";
|
|
656
634
|
};
|
|
657
|
-
readonly type: {
|
|
658
|
-
readonly type: "string";
|
|
659
|
-
readonly description: "Specifies the fleet type: infrastructure managed by Cloudfleet or Connected Fleets.";
|
|
660
|
-
readonly enum: readonly ["managed", "connected"];
|
|
661
|
-
};
|
|
662
635
|
};
|
|
663
|
-
readonly required: readonly ["id"
|
|
636
|
+
readonly required: readonly ["id"];
|
|
664
637
|
readonly additionalProperties: false;
|
|
665
638
|
};
|
|
666
639
|
export declare const FleetUpdateInputSchema: {
|
|
@@ -696,31 +669,19 @@ export declare const FleetUpdateInputSchema: {
|
|
|
696
669
|
readonly additionalProperties: false;
|
|
697
670
|
};
|
|
698
671
|
readonly hetzner: {
|
|
699
|
-
readonly
|
|
700
|
-
|
|
701
|
-
readonly
|
|
702
|
-
readonly
|
|
703
|
-
|
|
704
|
-
readonly default: true;
|
|
705
|
-
};
|
|
706
|
-
readonly apiKey: {
|
|
707
|
-
readonly type: "string";
|
|
708
|
-
};
|
|
672
|
+
readonly type: "object";
|
|
673
|
+
readonly properties: {
|
|
674
|
+
readonly enabled: {
|
|
675
|
+
readonly type: "boolean";
|
|
676
|
+
readonly default: true;
|
|
709
677
|
};
|
|
710
|
-
readonly
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
readonly properties: {
|
|
714
|
-
readonly apiKey: {
|
|
715
|
-
readonly type: "string";
|
|
716
|
-
};
|
|
717
|
-
readonly enabled: {
|
|
718
|
-
readonly type: "boolean";
|
|
719
|
-
readonly default: true;
|
|
720
|
-
};
|
|
678
|
+
readonly apiKey: {
|
|
679
|
+
readonly type: "string";
|
|
680
|
+
readonly description: "Hetzner Cloud API key with read / write access";
|
|
721
681
|
};
|
|
722
|
-
|
|
723
|
-
|
|
682
|
+
};
|
|
683
|
+
readonly required: readonly ["apiKey"];
|
|
684
|
+
readonly additionalProperties: false;
|
|
724
685
|
};
|
|
725
686
|
readonly aws: {
|
|
726
687
|
readonly type: "object";
|
|
@@ -1290,12 +1251,6 @@ export declare const OrganizationSchema: {
|
|
|
1290
1251
|
readonly description: "Maximum number of fleets that can be created per cluster.";
|
|
1291
1252
|
readonly example: 999;
|
|
1292
1253
|
};
|
|
1293
|
-
readonly managed_fleets_cpu_max: {
|
|
1294
|
-
readonly type: "integer";
|
|
1295
|
-
readonly minimum: 0;
|
|
1296
|
-
readonly description: "Maximum number of CPU cores per managed fleet.";
|
|
1297
|
-
readonly example: 999;
|
|
1298
|
-
};
|
|
1299
1254
|
readonly cluster_tiers: {
|
|
1300
1255
|
readonly type: "array";
|
|
1301
1256
|
readonly items: {
|
|
@@ -1337,7 +1292,7 @@ export declare const OrganizationSchema: {
|
|
|
1337
1292
|
readonly description: "List of CFKE control plane versions available for the organization.";
|
|
1338
1293
|
};
|
|
1339
1294
|
};
|
|
1340
|
-
readonly required: readonly ["basic_clusters_max", "basic_clusters_available", "pro_clusters_max", "pro_clusters_available", "fleets_max", "
|
|
1295
|
+
readonly required: readonly ["basic_clusters_max", "basic_clusters_available", "pro_clusters_max", "pro_clusters_available", "fleets_max", "cluster_tiers", "regions", "versions"];
|
|
1341
1296
|
readonly additionalProperties: false;
|
|
1342
1297
|
readonly description: "For security reasons, platform quota is controlled by Cloudfleet and can be updated only by Cloudfleet administrators. Please open a support ticket if you need to change the platform quota.";
|
|
1343
1298
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"schemas.gen.d.ts","sourceRoot":"","sources":["../src/schemas.gen.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAqFvB,CAAC;AAEX,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA2DvB,CAAC;AAEX,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAwCzB,CAAC;AAEX,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAkEd,CAAC;AAEX,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;CAgBzB,CAAC;AAEX,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAkC3B,CAAC;AAEX,eAAO,MAAM,4BAA4B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;CA0GrB,CAAC;AAEX,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAoDtB,CAAC;AAEX,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;CAoBzB,CAAC;AAEX,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAoCd,CAAC;AAEX,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;CAmBzB,CAAC;AAEX,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA+Fd,CAAC;AAEX,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAiDxB,CAAC;AAEX,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAkDb,CAAC;AAEX,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAqCxB,CAAC"}
|
package/dist/schemas.gen.js
CHANGED
|
@@ -281,19 +281,19 @@ export const ClusterCreateInputSchema = {
|
|
|
281
281
|
description: 'Name of the cluster.',
|
|
282
282
|
example: 'production-cluster'
|
|
283
283
|
},
|
|
284
|
-
region: {
|
|
285
|
-
type: 'string',
|
|
286
|
-
description: 'Cloudfleet control plane region. One of "staging", "northamerica-central-1". This field can not be updated after creation.',
|
|
287
|
-
default: 'staging',
|
|
288
|
-
example: 'northamerica-central-1',
|
|
289
|
-
enum: ['staging', 'northamerica-central-1']
|
|
290
|
-
},
|
|
291
284
|
tier: {
|
|
292
285
|
type: 'string',
|
|
293
286
|
description: 'Tier of the cluster.',
|
|
294
287
|
example: 'pro',
|
|
295
288
|
enum: ['basic', 'pro']
|
|
296
289
|
},
|
|
290
|
+
region: {
|
|
291
|
+
type: 'string',
|
|
292
|
+
description: 'Cloudfleet control plane region. One of "staging", "northamerica-central-1", "europe-central-1a". This field can not be updated after creation.',
|
|
293
|
+
default: 'staging',
|
|
294
|
+
example: 'northamerica-central-1',
|
|
295
|
+
enum: ['staging', 'northamerica-central-1', 'europe-central-1a']
|
|
296
|
+
},
|
|
297
297
|
version_channel: {
|
|
298
298
|
type: 'string',
|
|
299
299
|
pattern: '^(x|X|0|[1-9]\\d*)\\.(x|X|0|[1-9]\\d*)\\.(x|X|0|[1-9]\\d*)(?:-((?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\\.(?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\\+([0-9a-zA-Z-]+(?:\\.[0-9a-zA-Z-]+)*))?$',
|
|
@@ -391,19 +391,19 @@ export const ClusterSchema = {
|
|
|
391
391
|
description: 'Name of the cluster.',
|
|
392
392
|
example: 'production-cluster'
|
|
393
393
|
},
|
|
394
|
-
region: {
|
|
395
|
-
type: 'string',
|
|
396
|
-
description: 'Cloudfleet control plane region. One of "staging", "northamerica-central-1". This field can not be updated after creation.',
|
|
397
|
-
default: 'staging',
|
|
398
|
-
example: 'northamerica-central-1',
|
|
399
|
-
enum: ['staging', 'northamerica-central-1']
|
|
400
|
-
},
|
|
401
394
|
tier: {
|
|
402
395
|
type: 'string',
|
|
403
396
|
description: 'Tier of the cluster.',
|
|
404
397
|
example: 'pro',
|
|
405
398
|
enum: ['basic', 'pro']
|
|
406
399
|
},
|
|
400
|
+
region: {
|
|
401
|
+
type: 'string',
|
|
402
|
+
description: 'Cloudfleet control plane region. One of "staging", "northamerica-central-1", "europe-central-1a". This field can not be updated after creation.',
|
|
403
|
+
default: 'staging',
|
|
404
|
+
example: 'northamerica-central-1',
|
|
405
|
+
enum: ['staging', 'northamerica-central-1', 'europe-central-1a']
|
|
406
|
+
},
|
|
407
407
|
version_channel: {
|
|
408
408
|
type: 'string',
|
|
409
409
|
pattern: '^(x|X|0|[1-9]\\d*)\\.(x|X|0|[1-9]\\d*)\\.(x|X|0|[1-9]\\d*)(?:-((?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\\.(?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\\+([0-9a-zA-Z-]+(?:\\.[0-9a-zA-Z-]+)*))?$',
|
|
@@ -478,6 +478,12 @@ export const ClusterUpdateInputSchema = {
|
|
|
478
478
|
description: 'Name of the cluster.',
|
|
479
479
|
example: 'production-cluster'
|
|
480
480
|
},
|
|
481
|
+
tier: {
|
|
482
|
+
type: 'string',
|
|
483
|
+
description: 'Tier of the cluster.',
|
|
484
|
+
example: 'pro',
|
|
485
|
+
enum: ['basic', 'pro']
|
|
486
|
+
},
|
|
481
487
|
version_channel: {
|
|
482
488
|
type: 'string',
|
|
483
489
|
pattern: '^(x|X|0|[1-9]\\d*)\\.(x|X|0|[1-9]\\d*)\\.(x|X|0|[1-9]\\d*)(?:-((?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\\.(?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\\+([0-9a-zA-Z-]+(?:\\.[0-9a-zA-Z-]+)*))?$',
|
|
@@ -485,6 +491,7 @@ export const ClusterUpdateInputSchema = {
|
|
|
485
491
|
example: '1.29.x-cfke.x'
|
|
486
492
|
}
|
|
487
493
|
},
|
|
494
|
+
required: ['tier'],
|
|
488
495
|
additionalProperties: false
|
|
489
496
|
};
|
|
490
497
|
export const FleetCreateInputSchema = {
|
|
@@ -520,34 +527,19 @@ export const FleetCreateInputSchema = {
|
|
|
520
527
|
additionalProperties: false
|
|
521
528
|
},
|
|
522
529
|
hetzner: {
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
type: 'boolean',
|
|
529
|
-
default: true
|
|
530
|
-
},
|
|
531
|
-
apiKey: {
|
|
532
|
-
type: 'string'
|
|
533
|
-
}
|
|
534
|
-
},
|
|
535
|
-
additionalProperties: false
|
|
530
|
+
type: 'object',
|
|
531
|
+
properties: {
|
|
532
|
+
enabled: {
|
|
533
|
+
type: 'boolean',
|
|
534
|
+
default: true
|
|
536
535
|
},
|
|
537
|
-
{
|
|
538
|
-
type: '
|
|
539
|
-
|
|
540
|
-
apiKey: {
|
|
541
|
-
type: 'string'
|
|
542
|
-
},
|
|
543
|
-
enabled: {
|
|
544
|
-
type: 'boolean',
|
|
545
|
-
default: true
|
|
546
|
-
}
|
|
547
|
-
},
|
|
548
|
-
additionalProperties: false
|
|
536
|
+
apiKey: {
|
|
537
|
+
type: 'string',
|
|
538
|
+
description: 'Hetzner Cloud API key with read / write access'
|
|
549
539
|
}
|
|
550
|
-
|
|
540
|
+
},
|
|
541
|
+
required: ['apiKey'],
|
|
542
|
+
additionalProperties: false
|
|
551
543
|
},
|
|
552
544
|
aws: {
|
|
553
545
|
type: 'object',
|
|
@@ -571,14 +563,9 @@ export const FleetCreateInputSchema = {
|
|
|
571
563
|
pattern: '^[a-z0-9]([-a-z0-9]*[a-z0-9])?$',
|
|
572
564
|
description: 'Unique identifier of the kubernetes fleet.',
|
|
573
565
|
example: 'new-clouds-fleet'
|
|
574
|
-
},
|
|
575
|
-
type: {
|
|
576
|
-
type: 'string',
|
|
577
|
-
description: 'Specifies the fleet type: infrastructure managed by Cloudfleet or Connected Fleets.',
|
|
578
|
-
enum: ['managed', 'connected']
|
|
579
566
|
}
|
|
580
567
|
},
|
|
581
|
-
required: ['id'
|
|
568
|
+
required: ['id'],
|
|
582
569
|
additionalProperties: false
|
|
583
570
|
};
|
|
584
571
|
export const FleetSchema = {
|
|
@@ -614,34 +601,19 @@ export const FleetSchema = {
|
|
|
614
601
|
additionalProperties: false
|
|
615
602
|
},
|
|
616
603
|
hetzner: {
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
type: 'boolean',
|
|
623
|
-
default: true
|
|
624
|
-
},
|
|
625
|
-
apiKey: {
|
|
626
|
-
type: 'string'
|
|
627
|
-
}
|
|
628
|
-
},
|
|
629
|
-
additionalProperties: false
|
|
604
|
+
type: 'object',
|
|
605
|
+
properties: {
|
|
606
|
+
enabled: {
|
|
607
|
+
type: 'boolean',
|
|
608
|
+
default: true
|
|
630
609
|
},
|
|
631
|
-
{
|
|
632
|
-
type: '
|
|
633
|
-
|
|
634
|
-
apiKey: {
|
|
635
|
-
type: 'string'
|
|
636
|
-
},
|
|
637
|
-
enabled: {
|
|
638
|
-
type: 'boolean',
|
|
639
|
-
default: true
|
|
640
|
-
}
|
|
641
|
-
},
|
|
642
|
-
additionalProperties: false
|
|
610
|
+
apiKey: {
|
|
611
|
+
type: 'string',
|
|
612
|
+
description: 'Hetzner Cloud API key with read / write access'
|
|
643
613
|
}
|
|
644
|
-
|
|
614
|
+
},
|
|
615
|
+
required: ['apiKey'],
|
|
616
|
+
additionalProperties: false
|
|
645
617
|
},
|
|
646
618
|
aws: {
|
|
647
619
|
type: 'object',
|
|
@@ -665,14 +637,9 @@ export const FleetSchema = {
|
|
|
665
637
|
pattern: '^[a-z0-9]([-a-z0-9]*[a-z0-9])?$',
|
|
666
638
|
description: 'Unique identifier of the kubernetes fleet.',
|
|
667
639
|
example: 'new-clouds-fleet'
|
|
668
|
-
},
|
|
669
|
-
type: {
|
|
670
|
-
type: 'string',
|
|
671
|
-
description: 'Specifies the fleet type: infrastructure managed by Cloudfleet or Connected Fleets.',
|
|
672
|
-
enum: ['managed', 'connected']
|
|
673
640
|
}
|
|
674
641
|
},
|
|
675
|
-
required: ['id'
|
|
642
|
+
required: ['id'],
|
|
676
643
|
additionalProperties: false
|
|
677
644
|
};
|
|
678
645
|
export const FleetUpdateInputSchema = {
|
|
@@ -708,34 +675,19 @@ export const FleetUpdateInputSchema = {
|
|
|
708
675
|
additionalProperties: false
|
|
709
676
|
},
|
|
710
677
|
hetzner: {
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
type: 'boolean',
|
|
717
|
-
default: true
|
|
718
|
-
},
|
|
719
|
-
apiKey: {
|
|
720
|
-
type: 'string'
|
|
721
|
-
}
|
|
722
|
-
},
|
|
723
|
-
additionalProperties: false
|
|
678
|
+
type: 'object',
|
|
679
|
+
properties: {
|
|
680
|
+
enabled: {
|
|
681
|
+
type: 'boolean',
|
|
682
|
+
default: true
|
|
724
683
|
},
|
|
725
|
-
{
|
|
726
|
-
type: '
|
|
727
|
-
|
|
728
|
-
apiKey: {
|
|
729
|
-
type: 'string'
|
|
730
|
-
},
|
|
731
|
-
enabled: {
|
|
732
|
-
type: 'boolean',
|
|
733
|
-
default: true
|
|
734
|
-
}
|
|
735
|
-
},
|
|
736
|
-
additionalProperties: false
|
|
684
|
+
apiKey: {
|
|
685
|
+
type: 'string',
|
|
686
|
+
description: 'Hetzner Cloud API key with read / write access'
|
|
737
687
|
}
|
|
738
|
-
|
|
688
|
+
},
|
|
689
|
+
required: ['apiKey'],
|
|
690
|
+
additionalProperties: false
|
|
739
691
|
},
|
|
740
692
|
aws: {
|
|
741
693
|
type: 'object',
|
|
@@ -1318,12 +1270,6 @@ export const OrganizationSchema = {
|
|
|
1318
1270
|
description: 'Maximum number of fleets that can be created per cluster.',
|
|
1319
1271
|
example: 999
|
|
1320
1272
|
},
|
|
1321
|
-
managed_fleets_cpu_max: {
|
|
1322
|
-
type: 'integer',
|
|
1323
|
-
minimum: 0,
|
|
1324
|
-
description: 'Maximum number of CPU cores per managed fleet.',
|
|
1325
|
-
example: 999
|
|
1326
|
-
},
|
|
1327
1273
|
cluster_tiers: {
|
|
1328
1274
|
type: 'array',
|
|
1329
1275
|
items: {
|
|
@@ -1365,7 +1311,7 @@ export const OrganizationSchema = {
|
|
|
1365
1311
|
description: 'List of CFKE control plane versions available for the organization.'
|
|
1366
1312
|
}
|
|
1367
1313
|
},
|
|
1368
|
-
required: ['basic_clusters_max', 'basic_clusters_available', 'pro_clusters_max', 'pro_clusters_available', 'fleets_max', '
|
|
1314
|
+
required: ['basic_clusters_max', 'basic_clusters_available', 'pro_clusters_max', 'pro_clusters_available', 'fleets_max', 'cluster_tiers', 'regions', 'versions'],
|
|
1369
1315
|
additionalProperties: false,
|
|
1370
1316
|
description: 'For security reasons, platform quota is controlled by Cloudfleet and can be updated only by Cloudfleet administrators. Please open a support ticket if you need to change the platform quota.'
|
|
1371
1317
|
},
|