@cloudfleet/sdk 0.0.1-2caaedc → 0.0.1-2d09a49
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/README.md +26 -2
- package/dist/@tanstack/react-query.gen.d.ts +1199 -0
- package/dist/@tanstack/react-query.gen.d.ts.map +1 -0
- package/dist/@tanstack/react-query.gen.js +1215 -0
- package/dist/@tanstack/react-query.gen.js.map +1 -0
- package/dist/client/client.gen.d.ts.map +1 -1
- package/dist/client/client.gen.js +104 -123
- package/dist/client/client.gen.js.map +1 -1
- package/dist/client/types.gen.d.ts +6 -3
- package/dist/client/types.gen.d.ts.map +1 -1
- package/dist/client/utils.gen.d.ts +7 -3
- package/dist/client/utils.gen.d.ts.map +1 -1
- package/dist/client/utils.gen.js +3 -3
- package/dist/client/utils.gen.js.map +1 -1
- package/dist/core/params.gen.js +4 -4
- package/dist/core/params.gen.js.map +1 -1
- package/dist/core/serverSentEvents.gen.d.ts +1 -1
- package/dist/core/serverSentEvents.gen.d.ts.map +1 -1
- package/dist/core/serverSentEvents.gen.js +3 -4
- package/dist/core/serverSentEvents.gen.js.map +1 -1
- package/dist/schemas.gen.d.ts +932 -140
- package/dist/schemas.gen.d.ts.map +1 -1
- package/dist/schemas.gen.js +1867 -213
- package/dist/schemas.gen.js.map +1 -1
- package/dist/sdk.gen.d.ts +262 -186
- package/dist/sdk.gen.d.ts.map +1 -1
- package/dist/sdk.gen.js +377 -257
- package/dist/sdk.gen.js.map +1 -1
- package/dist/services/kubernetes/api.d.ts +8 -8
- package/dist/types.gen.d.ts +1469 -736
- package/dist/types.gen.d.ts.map +1 -1
- package/dist/zod.gen.d.ts +3415 -1208
- package/dist/zod.gen.d.ts.map +1 -1
- package/dist/zod.gen.js +1280 -293
- package/dist/zod.gen.js.map +1 -1
- package/package.json +27 -11
package/dist/schemas.gen.js
CHANGED
|
@@ -1,7 +1,65 @@
|
|
|
1
1
|
// This file is auto-generated by @hey-api/openapi-ts
|
|
2
|
+
export const BasicPriceConsentInputSchema = {
|
|
3
|
+
type: 'object',
|
|
4
|
+
properties: {
|
|
5
|
+
decision: {
|
|
6
|
+
type: 'string',
|
|
7
|
+
description: 'The administrator\'s decision on the new Basic price. `accepted` continues to paid billing when the signup credit runs out; `rejected` opts out (clusters are suspended, never charged). A `rejected` org can later be flipped back to `accepted`.',
|
|
8
|
+
example: 'accepted',
|
|
9
|
+
enum: [
|
|
10
|
+
'accepted',
|
|
11
|
+
'rejected'
|
|
12
|
+
]
|
|
13
|
+
}
|
|
14
|
+
},
|
|
15
|
+
required: [
|
|
16
|
+
'decision'
|
|
17
|
+
],
|
|
18
|
+
additionalProperties: false
|
|
19
|
+
};
|
|
20
|
+
export const BasicPriceConsentSchema = {
|
|
21
|
+
type: 'object',
|
|
22
|
+
properties: {
|
|
23
|
+
status: {
|
|
24
|
+
type: 'string',
|
|
25
|
+
description: 'Consent status for the new Basic price. `not_applicable` when the organization is not in scope for the migration. `pending` when the organization must opt in but no admin has decided yet. `accepted` / `rejected` reflect the recorded decision.',
|
|
26
|
+
example: 'pending',
|
|
27
|
+
enum: [
|
|
28
|
+
'not_applicable',
|
|
29
|
+
'pending',
|
|
30
|
+
'accepted',
|
|
31
|
+
'rejected'
|
|
32
|
+
]
|
|
33
|
+
},
|
|
34
|
+
decided_at: {
|
|
35
|
+
type: 'string',
|
|
36
|
+
format: 'date-time',
|
|
37
|
+
description: 'When the current decision was recorded. Absent while `not_applicable` or `pending`.',
|
|
38
|
+
example: '2026-09-05T10:12:00.000Z'
|
|
39
|
+
},
|
|
40
|
+
decided_by: {
|
|
41
|
+
type: 'string',
|
|
42
|
+
description: 'User id of the administrator who recorded the current decision. Absent while `not_applicable` or `pending`.',
|
|
43
|
+
example: '2b7a5c9e-1f4d-4a1b-9c3e-8d2f6a0b1c2d'
|
|
44
|
+
}
|
|
45
|
+
},
|
|
46
|
+
required: [
|
|
47
|
+
'status'
|
|
48
|
+
],
|
|
49
|
+
additionalProperties: false
|
|
50
|
+
};
|
|
2
51
|
export const BillingContactSchema = {
|
|
3
52
|
type: 'object',
|
|
4
53
|
properties: {
|
|
54
|
+
type: {
|
|
55
|
+
type: 'string',
|
|
56
|
+
description: 'Type of the organization. `business` for legal entities, `personal` for individuals.',
|
|
57
|
+
example: 'business',
|
|
58
|
+
enum: [
|
|
59
|
+
'business',
|
|
60
|
+
'personal'
|
|
61
|
+
]
|
|
62
|
+
},
|
|
5
63
|
company: {
|
|
6
64
|
type: 'string',
|
|
7
65
|
maxLength: 120,
|
|
@@ -207,6 +265,7 @@ export const BillingContactSchema = {
|
|
|
207
265
|
}
|
|
208
266
|
},
|
|
209
267
|
required: [
|
|
268
|
+
'type',
|
|
210
269
|
'email',
|
|
211
270
|
'individual_name'
|
|
212
271
|
],
|
|
@@ -358,24 +417,8 @@ export const ChartSchema = {
|
|
|
358
417
|
},
|
|
359
418
|
status: {
|
|
360
419
|
type: 'string',
|
|
361
|
-
description: 'Status of the chart deployment.',
|
|
362
|
-
example: '
|
|
363
|
-
enum: [
|
|
364
|
-
'InstallSucceeded',
|
|
365
|
-
'InstallFailed',
|
|
366
|
-
'UpgradeSucceeded',
|
|
367
|
-
'UpgradeFailed',
|
|
368
|
-
'TestSucceeded',
|
|
369
|
-
'TestFailed',
|
|
370
|
-
'RollbackSucceeded',
|
|
371
|
-
'RollbackFailed',
|
|
372
|
-
'UninstallSucceeded',
|
|
373
|
-
'UninstallFailed',
|
|
374
|
-
'ArtifactFailed',
|
|
375
|
-
'DependencyNotReady',
|
|
376
|
-
'Progressing',
|
|
377
|
-
'SourceNotReady'
|
|
378
|
-
]
|
|
420
|
+
description: 'Status of the chart deployment (Flux HelmRelease Ready condition reason, e.g. InstallSucceeded, UpgradeFailed, Progressing).',
|
|
421
|
+
example: 'InstallSucceeded'
|
|
379
422
|
},
|
|
380
423
|
version_current: {
|
|
381
424
|
type: 'string',
|
|
@@ -446,22 +489,12 @@ export const ClusterCreateInputSchema = {
|
|
|
446
489
|
tier: {
|
|
447
490
|
type: 'string',
|
|
448
491
|
description: 'Tier of the cluster.',
|
|
492
|
+
default: 'basic',
|
|
449
493
|
example: 'pro',
|
|
450
494
|
enum: [
|
|
451
495
|
'basic',
|
|
452
|
-
'pro'
|
|
453
|
-
|
|
454
|
-
},
|
|
455
|
-
region: {
|
|
456
|
-
type: 'string',
|
|
457
|
-
description: 'Cloudfleet control plane region. One of "staging-1a", "northamerica-central-1", "europe-central-1a", "northamerica-central-1a". This field can not be updated after creation.',
|
|
458
|
-
default: 'staging-1a',
|
|
459
|
-
example: 'northamerica-central-1a',
|
|
460
|
-
enum: [
|
|
461
|
-
'staging-1a',
|
|
462
|
-
'northamerica-central-1',
|
|
463
|
-
'europe-central-1a',
|
|
464
|
-
'northamerica-central-1a'
|
|
496
|
+
'pro',
|
|
497
|
+
'enterprise'
|
|
465
498
|
]
|
|
466
499
|
},
|
|
467
500
|
version_channel: {
|
|
@@ -469,20 +502,105 @@ export const ClusterCreateInputSchema = {
|
|
|
469
502
|
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-]+)*))?$',
|
|
470
503
|
description: 'Version of the kubernetes cluster.',
|
|
471
504
|
default: '1.x.x-cfke.x',
|
|
472
|
-
example: '1.x.x-cfke.x'
|
|
505
|
+
example: '1.x.x-cfke.x'
|
|
506
|
+
},
|
|
507
|
+
release_channel: {
|
|
508
|
+
type: 'string',
|
|
509
|
+
description: 'Release channel for the cluster\'s control plane.',
|
|
510
|
+
default: 'rapid',
|
|
511
|
+
example: 'rapid',
|
|
473
512
|
enum: [
|
|
474
|
-
'
|
|
475
|
-
'
|
|
476
|
-
'
|
|
477
|
-
'1.33.x-cfke.x'
|
|
513
|
+
'rapid',
|
|
514
|
+
'stable',
|
|
515
|
+
'extended'
|
|
478
516
|
]
|
|
517
|
+
},
|
|
518
|
+
features: {
|
|
519
|
+
type: 'object',
|
|
520
|
+
properties: {
|
|
521
|
+
gpu_sharing_strategy: {
|
|
522
|
+
type: 'string',
|
|
523
|
+
description: 'GPU sharing strategy.',
|
|
524
|
+
default: 'none',
|
|
525
|
+
example: 'none',
|
|
526
|
+
enum: [
|
|
527
|
+
'none',
|
|
528
|
+
'mps',
|
|
529
|
+
'time_slicing'
|
|
530
|
+
]
|
|
531
|
+
},
|
|
532
|
+
gpu_max_shared_clients_per_gpu: {
|
|
533
|
+
type: 'integer',
|
|
534
|
+
minimum: 2,
|
|
535
|
+
maximum: 48,
|
|
536
|
+
description: 'Maximum number of pods that may share a single GPU.',
|
|
537
|
+
default: 4,
|
|
538
|
+
example: 10
|
|
539
|
+
},
|
|
540
|
+
cilium_socket_lb_host_namespace_only: {
|
|
541
|
+
type: 'boolean',
|
|
542
|
+
description: 'Restrict Cilium socket load-balancing to the host namespace. Required for the Tailscale operator and Istio.',
|
|
543
|
+
example: false
|
|
544
|
+
}
|
|
545
|
+
},
|
|
546
|
+
additionalProperties: false,
|
|
547
|
+
description: 'Cluster feature toggles.',
|
|
548
|
+
default: {
|
|
549
|
+
gpu_sharing_strategy: 'none',
|
|
550
|
+
gpu_max_shared_clients_per_gpu: 4,
|
|
551
|
+
cilium_socket_lb_host_namespace_only: false
|
|
552
|
+
}
|
|
553
|
+
},
|
|
554
|
+
region: {
|
|
555
|
+
type: 'string',
|
|
556
|
+
description: 'Cloudfleet control plane region. This field can not be updated after creation.',
|
|
557
|
+
example: 'europe-central-1a'
|
|
558
|
+
},
|
|
559
|
+
networking: {
|
|
560
|
+
type: 'object',
|
|
561
|
+
properties: {
|
|
562
|
+
pod_cidr: {
|
|
563
|
+
type: 'string',
|
|
564
|
+
description: 'CIDR block for pod IPs.',
|
|
565
|
+
default: '10.244.0.0/16'
|
|
566
|
+
},
|
|
567
|
+
service_cidr: {
|
|
568
|
+
type: 'string',
|
|
569
|
+
description: 'CIDR block for service IPs.',
|
|
570
|
+
default: '10.96.0.0/12'
|
|
571
|
+
},
|
|
572
|
+
dual_stack: {
|
|
573
|
+
type: 'boolean',
|
|
574
|
+
description: 'Enable IPv4+IPv6 dual-stack networking.'
|
|
575
|
+
},
|
|
576
|
+
pod_cidr_v6: {
|
|
577
|
+
type: 'string',
|
|
578
|
+
description: 'IPv6 pod CIDR. Requires dual_stack.',
|
|
579
|
+
default: '2001:db8:1:2::/48'
|
|
580
|
+
},
|
|
581
|
+
service_cidr_v6: {
|
|
582
|
+
type: 'string',
|
|
583
|
+
description: 'IPv6 service CIDR. Requires dual_stack.',
|
|
584
|
+
default: '2001:db8:1:1::/112'
|
|
585
|
+
}
|
|
586
|
+
},
|
|
587
|
+
additionalProperties: false,
|
|
588
|
+
description: 'Cluster networking configuration. Immutable after creation.',
|
|
589
|
+
default: {
|
|
590
|
+
pod_cidr: '10.244.0.0/16',
|
|
591
|
+
service_cidr: '10.96.0.0/12',
|
|
592
|
+
dual_stack: false,
|
|
593
|
+
pod_cidr_v6: '2001:db8:1:2::/48',
|
|
594
|
+
service_cidr_v6: '2001:db8:1:1::/112'
|
|
595
|
+
}
|
|
479
596
|
}
|
|
480
597
|
},
|
|
481
598
|
required: [
|
|
482
599
|
'name',
|
|
483
|
-
'
|
|
600
|
+
'region'
|
|
484
601
|
],
|
|
485
|
-
additionalProperties: false
|
|
602
|
+
additionalProperties: false,
|
|
603
|
+
description: 'Mutable cluster configuration. Applied as a full overwrite: any omitted field is reset to its default rather than left unchanged.'
|
|
486
604
|
};
|
|
487
605
|
export const ClusterJoinInformationSchema = {
|
|
488
606
|
type: 'object',
|
|
@@ -503,6 +621,11 @@ export const ClusterJoinInformationSchema = {
|
|
|
503
621
|
description: 'Cluster DNS IP address. This is the IP address of the kube-dns service in the cluster.',
|
|
504
622
|
example: '10.96.0.10'
|
|
505
623
|
},
|
|
624
|
+
pod_cidr: {
|
|
625
|
+
type: 'string',
|
|
626
|
+
description: 'Pod CIDR for the cluster. Used to configure iptables rules on nodes to prevent Tailscale routing loops.',
|
|
627
|
+
example: '10.244.0.0/16'
|
|
628
|
+
},
|
|
506
629
|
auth_key: {
|
|
507
630
|
type: 'string',
|
|
508
631
|
description: 'Authentication key for the cluster.',
|
|
@@ -578,6 +701,7 @@ export const ClusterJoinInformationSchema = {
|
|
|
578
701
|
'certificate_authority',
|
|
579
702
|
'endpoint',
|
|
580
703
|
'cluster_dns',
|
|
704
|
+
'pod_cidr',
|
|
581
705
|
'auth_key',
|
|
582
706
|
'bootstrap_token',
|
|
583
707
|
'versions',
|
|
@@ -599,24 +723,123 @@ export const ClusterSchema = {
|
|
|
599
723
|
tier: {
|
|
600
724
|
type: 'string',
|
|
601
725
|
description: 'Tier of the cluster.',
|
|
726
|
+
default: 'basic',
|
|
602
727
|
example: 'pro',
|
|
603
728
|
enum: [
|
|
604
729
|
'basic',
|
|
605
|
-
'pro'
|
|
730
|
+
'pro',
|
|
731
|
+
'enterprise'
|
|
606
732
|
]
|
|
607
733
|
},
|
|
608
|
-
|
|
734
|
+
version_channel: {
|
|
609
735
|
type: 'string',
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
736
|
+
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-]+)*))?$',
|
|
737
|
+
description: 'Version of the kubernetes cluster.',
|
|
738
|
+
default: '1.x.x-cfke.x',
|
|
739
|
+
example: '1.x.x-cfke.x'
|
|
740
|
+
},
|
|
741
|
+
release_channel: {
|
|
742
|
+
type: 'string',
|
|
743
|
+
description: 'Release channel for the cluster\'s control plane.',
|
|
744
|
+
default: 'rapid',
|
|
745
|
+
example: 'rapid',
|
|
613
746
|
enum: [
|
|
614
|
-
'
|
|
615
|
-
'
|
|
616
|
-
'
|
|
617
|
-
'northamerica-central-1a'
|
|
747
|
+
'rapid',
|
|
748
|
+
'stable',
|
|
749
|
+
'extended'
|
|
618
750
|
]
|
|
619
751
|
},
|
|
752
|
+
features: {
|
|
753
|
+
type: 'object',
|
|
754
|
+
properties: {
|
|
755
|
+
gpu_sharing_strategy: {
|
|
756
|
+
type: 'string',
|
|
757
|
+
description: 'GPU sharing strategy.',
|
|
758
|
+
default: 'none',
|
|
759
|
+
example: 'none',
|
|
760
|
+
enum: [
|
|
761
|
+
'none',
|
|
762
|
+
'mps',
|
|
763
|
+
'time_slicing'
|
|
764
|
+
]
|
|
765
|
+
},
|
|
766
|
+
gpu_max_shared_clients_per_gpu: {
|
|
767
|
+
type: 'integer',
|
|
768
|
+
minimum: 2,
|
|
769
|
+
maximum: 48,
|
|
770
|
+
description: 'Maximum number of pods that may share a single GPU.',
|
|
771
|
+
default: 4,
|
|
772
|
+
example: 10
|
|
773
|
+
},
|
|
774
|
+
cilium_socket_lb_host_namespace_only: {
|
|
775
|
+
type: 'boolean',
|
|
776
|
+
description: 'Restrict Cilium socket load-balancing to the host namespace. Required for the Tailscale operator and Istio.',
|
|
777
|
+
example: false
|
|
778
|
+
}
|
|
779
|
+
},
|
|
780
|
+
required: [
|
|
781
|
+
'gpu_sharing_strategy',
|
|
782
|
+
'gpu_max_shared_clients_per_gpu',
|
|
783
|
+
'cilium_socket_lb_host_namespace_only'
|
|
784
|
+
],
|
|
785
|
+
additionalProperties: false,
|
|
786
|
+
description: 'Cluster feature toggles.',
|
|
787
|
+
default: {
|
|
788
|
+
gpu_sharing_strategy: 'none',
|
|
789
|
+
gpu_max_shared_clients_per_gpu: 4,
|
|
790
|
+
cilium_socket_lb_host_namespace_only: false
|
|
791
|
+
}
|
|
792
|
+
},
|
|
793
|
+
region: {
|
|
794
|
+
type: 'string',
|
|
795
|
+
description: 'Cloudfleet control plane region. This field can not be updated after creation.',
|
|
796
|
+
example: 'europe-central-1a'
|
|
797
|
+
},
|
|
798
|
+
networking: {
|
|
799
|
+
type: 'object',
|
|
800
|
+
properties: {
|
|
801
|
+
pod_cidr: {
|
|
802
|
+
type: 'string',
|
|
803
|
+
description: 'CIDR block for pod IPs.',
|
|
804
|
+
default: '10.244.0.0/16'
|
|
805
|
+
},
|
|
806
|
+
service_cidr: {
|
|
807
|
+
type: 'string',
|
|
808
|
+
description: 'CIDR block for service IPs.',
|
|
809
|
+
default: '10.96.0.0/12'
|
|
810
|
+
},
|
|
811
|
+
dual_stack: {
|
|
812
|
+
type: 'boolean',
|
|
813
|
+
description: 'Enable IPv4+IPv6 dual-stack networking.'
|
|
814
|
+
},
|
|
815
|
+
pod_cidr_v6: {
|
|
816
|
+
type: 'string',
|
|
817
|
+
description: 'IPv6 pod CIDR. Requires dual_stack.',
|
|
818
|
+
default: '2001:db8:1:2::/48'
|
|
819
|
+
},
|
|
820
|
+
service_cidr_v6: {
|
|
821
|
+
type: 'string',
|
|
822
|
+
description: 'IPv6 service CIDR. Requires dual_stack.',
|
|
823
|
+
default: '2001:db8:1:1::/112'
|
|
824
|
+
}
|
|
825
|
+
},
|
|
826
|
+
required: [
|
|
827
|
+
'pod_cidr',
|
|
828
|
+
'service_cidr',
|
|
829
|
+
'dual_stack',
|
|
830
|
+
'pod_cidr_v6',
|
|
831
|
+
'service_cidr_v6'
|
|
832
|
+
],
|
|
833
|
+
additionalProperties: false,
|
|
834
|
+
description: 'Cluster networking configuration. Immutable after creation.',
|
|
835
|
+
default: {
|
|
836
|
+
pod_cidr: '10.244.0.0/16',
|
|
837
|
+
service_cidr: '10.96.0.0/12',
|
|
838
|
+
dual_stack: false,
|
|
839
|
+
pod_cidr_v6: '2001:db8:1:2::/48',
|
|
840
|
+
service_cidr_v6: '2001:db8:1:1::/112'
|
|
841
|
+
}
|
|
842
|
+
},
|
|
620
843
|
id: {
|
|
621
844
|
type: 'string',
|
|
622
845
|
format: 'uuid',
|
|
@@ -625,16 +848,13 @@ export const ClusterSchema = {
|
|
|
625
848
|
},
|
|
626
849
|
status: {
|
|
627
850
|
type: 'string',
|
|
628
|
-
description: 'Status of the cluster.
|
|
629
|
-
example: '
|
|
851
|
+
description: 'Status of the cluster.',
|
|
852
|
+
example: 'deployed',
|
|
630
853
|
enum: [
|
|
631
|
-
'active',
|
|
632
|
-
'disabled',
|
|
633
|
-
'deleted',
|
|
634
854
|
'creating',
|
|
635
855
|
'deployed',
|
|
636
|
-
'
|
|
637
|
-
'
|
|
856
|
+
'updating',
|
|
857
|
+
'disabled'
|
|
638
858
|
]
|
|
639
859
|
},
|
|
640
860
|
endpoint: {
|
|
@@ -642,8 +862,24 @@ export const ClusterSchema = {
|
|
|
642
862
|
{
|
|
643
863
|
type: 'string',
|
|
644
864
|
format: 'uri',
|
|
645
|
-
description: 'URL of the Kubernetes cluster control plane. This is the endpoint that kubectl uses to connect to the cluster.',
|
|
646
|
-
example: 'https://2ae6557c-c61f-49c6-b4c1-a65473470a03.staging.cfke.
|
|
865
|
+
description: 'URL signed by a public CA of the Kubernetes cluster control plane. This is the endpoint that kubectl uses to connect to the cluster.',
|
|
866
|
+
example: 'https://2ae6557c-c61f-49c6-b4c1-a65473470a03.staging.cfke.io'
|
|
867
|
+
},
|
|
868
|
+
{
|
|
869
|
+
type: 'string',
|
|
870
|
+
enum: [
|
|
871
|
+
''
|
|
872
|
+
]
|
|
873
|
+
}
|
|
874
|
+
]
|
|
875
|
+
},
|
|
876
|
+
endpoint_public: {
|
|
877
|
+
anyOf: [
|
|
878
|
+
{
|
|
879
|
+
type: 'string',
|
|
880
|
+
format: 'uri',
|
|
881
|
+
description: 'Deprecated alias of `endpoint`; retained for backward compatibility.',
|
|
882
|
+
example: 'https://2ae6557c-c61f-49c6-b4c1-a65473470a03.staging.cfke.io'
|
|
647
883
|
},
|
|
648
884
|
{
|
|
649
885
|
type: 'string',
|
|
@@ -677,21 +913,22 @@ export const ClusterSchema = {
|
|
|
677
913
|
type: 'boolean',
|
|
678
914
|
description: 'Indicates if the cluster is ready to be used.',
|
|
679
915
|
example: true
|
|
680
|
-
},
|
|
681
|
-
version_channel: {
|
|
682
|
-
type: 'string',
|
|
683
|
-
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-]+)*))?$',
|
|
684
|
-
description: 'Version of the kubernetes cluster.',
|
|
685
|
-
example: '1.x.x-cfke.x'
|
|
686
916
|
}
|
|
687
917
|
},
|
|
688
918
|
required: [
|
|
689
919
|
'name',
|
|
690
920
|
'tier',
|
|
921
|
+
'version_channel',
|
|
922
|
+
'release_channel',
|
|
923
|
+
'features',
|
|
924
|
+
'region',
|
|
925
|
+
'networking',
|
|
691
926
|
'id',
|
|
692
|
-
'status'
|
|
927
|
+
'status',
|
|
928
|
+
'ready'
|
|
693
929
|
],
|
|
694
|
-
additionalProperties: false
|
|
930
|
+
additionalProperties: false,
|
|
931
|
+
description: 'Mutable cluster configuration. Applied as a full overwrite: any omitted field is reset to its default rather than left unchanged.'
|
|
695
932
|
};
|
|
696
933
|
export const ClusterUpdateInputSchema = {
|
|
697
934
|
type: 'object',
|
|
@@ -707,23 +944,74 @@ export const ClusterUpdateInputSchema = {
|
|
|
707
944
|
tier: {
|
|
708
945
|
type: 'string',
|
|
709
946
|
description: 'Tier of the cluster.',
|
|
947
|
+
default: 'basic',
|
|
710
948
|
example: 'pro',
|
|
711
949
|
enum: [
|
|
712
950
|
'basic',
|
|
713
|
-
'pro'
|
|
951
|
+
'pro',
|
|
952
|
+
'enterprise'
|
|
714
953
|
]
|
|
715
954
|
},
|
|
716
955
|
version_channel: {
|
|
717
956
|
type: 'string',
|
|
718
957
|
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-]+)*))?$',
|
|
719
958
|
description: 'Version of the kubernetes cluster.',
|
|
959
|
+
default: '1.x.x-cfke.x',
|
|
720
960
|
example: '1.x.x-cfke.x'
|
|
961
|
+
},
|
|
962
|
+
release_channel: {
|
|
963
|
+
type: 'string',
|
|
964
|
+
description: 'Release channel for the cluster\'s control plane.',
|
|
965
|
+
default: 'rapid',
|
|
966
|
+
example: 'rapid',
|
|
967
|
+
enum: [
|
|
968
|
+
'rapid',
|
|
969
|
+
'stable',
|
|
970
|
+
'extended'
|
|
971
|
+
]
|
|
972
|
+
},
|
|
973
|
+
features: {
|
|
974
|
+
type: 'object',
|
|
975
|
+
properties: {
|
|
976
|
+
gpu_sharing_strategy: {
|
|
977
|
+
type: 'string',
|
|
978
|
+
description: 'GPU sharing strategy.',
|
|
979
|
+
default: 'none',
|
|
980
|
+
example: 'none',
|
|
981
|
+
enum: [
|
|
982
|
+
'none',
|
|
983
|
+
'mps',
|
|
984
|
+
'time_slicing'
|
|
985
|
+
]
|
|
986
|
+
},
|
|
987
|
+
gpu_max_shared_clients_per_gpu: {
|
|
988
|
+
type: 'integer',
|
|
989
|
+
minimum: 2,
|
|
990
|
+
maximum: 48,
|
|
991
|
+
description: 'Maximum number of pods that may share a single GPU.',
|
|
992
|
+
default: 4,
|
|
993
|
+
example: 10
|
|
994
|
+
},
|
|
995
|
+
cilium_socket_lb_host_namespace_only: {
|
|
996
|
+
type: 'boolean',
|
|
997
|
+
description: 'Restrict Cilium socket load-balancing to the host namespace. Required for the Tailscale operator and Istio.',
|
|
998
|
+
example: false
|
|
999
|
+
}
|
|
1000
|
+
},
|
|
1001
|
+
additionalProperties: false,
|
|
1002
|
+
description: 'Cluster feature toggles.',
|
|
1003
|
+
default: {
|
|
1004
|
+
gpu_sharing_strategy: 'none',
|
|
1005
|
+
gpu_max_shared_clients_per_gpu: 4,
|
|
1006
|
+
cilium_socket_lb_host_namespace_only: false
|
|
1007
|
+
}
|
|
721
1008
|
}
|
|
722
1009
|
},
|
|
723
1010
|
required: [
|
|
724
|
-
'
|
|
1011
|
+
'name'
|
|
725
1012
|
],
|
|
726
|
-
additionalProperties: false
|
|
1013
|
+
additionalProperties: false,
|
|
1014
|
+
description: 'Mutable cluster configuration. Applied as a full overwrite: any omitted field is reset to its default rather than left unchanged.'
|
|
727
1015
|
};
|
|
728
1016
|
export const FleetCreateInputSchema = {
|
|
729
1017
|
type: 'object',
|
|
@@ -732,15 +1020,12 @@ export const FleetCreateInputSchema = {
|
|
|
732
1020
|
type: 'object',
|
|
733
1021
|
properties: {
|
|
734
1022
|
cpu: {
|
|
735
|
-
type: '
|
|
736
|
-
format: 'float',
|
|
1023
|
+
type: 'integer',
|
|
737
1024
|
minimum: 0,
|
|
738
|
-
|
|
1025
|
+
maximum: 100000,
|
|
1026
|
+
description: 'CPU limit in cores. Maximum 100,000.'
|
|
739
1027
|
}
|
|
740
1028
|
},
|
|
741
|
-
required: [
|
|
742
|
-
'cpu'
|
|
743
|
-
],
|
|
744
1029
|
additionalProperties: false,
|
|
745
1030
|
description: 'Limits define a set of bounds for provisioning capacity.'
|
|
746
1031
|
},
|
|
@@ -748,16 +1033,17 @@ export const FleetCreateInputSchema = {
|
|
|
748
1033
|
type: 'object',
|
|
749
1034
|
properties: {
|
|
750
1035
|
enabled: {
|
|
751
|
-
type: 'boolean'
|
|
752
|
-
default: true
|
|
1036
|
+
type: 'boolean'
|
|
753
1037
|
},
|
|
754
1038
|
project: {
|
|
755
1039
|
type: 'string',
|
|
756
|
-
|
|
1040
|
+
pattern: '^[a-z][a-z0-9-]{4,28}[a-z0-9]$',
|
|
1041
|
+
description: 'GCP project ID to deploy instances into. 6-30 chars, lowercase letters/digits/hyphens, must start with a letter and not end with a hyphen. Omit when GCP is disabled.',
|
|
1042
|
+
example: 'my-cloudfleet-project'
|
|
757
1043
|
}
|
|
758
1044
|
},
|
|
759
1045
|
required: [
|
|
760
|
-
'
|
|
1046
|
+
'enabled'
|
|
761
1047
|
],
|
|
762
1048
|
additionalProperties: false
|
|
763
1049
|
},
|
|
@@ -765,16 +1051,18 @@ export const FleetCreateInputSchema = {
|
|
|
765
1051
|
type: 'object',
|
|
766
1052
|
properties: {
|
|
767
1053
|
enabled: {
|
|
768
|
-
type: 'boolean'
|
|
769
|
-
default: true
|
|
1054
|
+
type: 'boolean'
|
|
770
1055
|
},
|
|
771
1056
|
apiKey: {
|
|
772
1057
|
type: 'string',
|
|
773
|
-
|
|
1058
|
+
maxLength: 64,
|
|
1059
|
+
minLength: 64,
|
|
1060
|
+
pattern: '^([A-Za-z0-9]{64}|\\*{64})$',
|
|
1061
|
+
description: 'Hetzner Cloud API token with read/write access (64 alphanumeric characters). Write-only: reads return a redacted placeholder, never the token. Omit the field, or send the placeholder back unchanged, to keep the existing key. Send a new value to rotate it.'
|
|
774
1062
|
}
|
|
775
1063
|
},
|
|
776
1064
|
required: [
|
|
777
|
-
'
|
|
1065
|
+
'enabled'
|
|
778
1066
|
],
|
|
779
1067
|
additionalProperties: false
|
|
780
1068
|
},
|
|
@@ -782,19 +1070,321 @@ export const FleetCreateInputSchema = {
|
|
|
782
1070
|
type: 'object',
|
|
783
1071
|
properties: {
|
|
784
1072
|
enabled: {
|
|
785
|
-
type: 'boolean'
|
|
786
|
-
default: true
|
|
1073
|
+
type: 'boolean'
|
|
787
1074
|
},
|
|
788
1075
|
controllerRoleArn: {
|
|
789
1076
|
type: 'string',
|
|
790
|
-
|
|
1077
|
+
pattern: '^arn:aws(-[a-z]+)*:iam::\\d{12}:role\\/[\\w+=,.@/-]+$',
|
|
1078
|
+
description: 'AWS IAM role ARN that Karpenter uses to manage resources. Omit when AWS is disabled.',
|
|
1079
|
+
example: 'arn:aws:iam::123456789012:role/Cloudfleet'
|
|
791
1080
|
}
|
|
792
1081
|
},
|
|
793
1082
|
required: [
|
|
794
|
-
'
|
|
1083
|
+
'enabled'
|
|
795
1084
|
],
|
|
796
1085
|
additionalProperties: false
|
|
797
1086
|
},
|
|
1087
|
+
constraints: {
|
|
1088
|
+
type: 'object',
|
|
1089
|
+
properties: {
|
|
1090
|
+
'karpenter.sh/capacity-type': {
|
|
1091
|
+
type: 'array',
|
|
1092
|
+
items: {
|
|
1093
|
+
type: 'string',
|
|
1094
|
+
enum: [
|
|
1095
|
+
'on-demand',
|
|
1096
|
+
'spot'
|
|
1097
|
+
]
|
|
1098
|
+
},
|
|
1099
|
+
minItems: 1,
|
|
1100
|
+
description: 'Allowed values for `karpenter.sh/capacity-type`.',
|
|
1101
|
+
default: [
|
|
1102
|
+
'on-demand',
|
|
1103
|
+
'spot'
|
|
1104
|
+
]
|
|
1105
|
+
},
|
|
1106
|
+
'kubernetes.io/arch': {
|
|
1107
|
+
type: 'array',
|
|
1108
|
+
items: {
|
|
1109
|
+
type: 'string',
|
|
1110
|
+
enum: [
|
|
1111
|
+
'amd64',
|
|
1112
|
+
'arm64'
|
|
1113
|
+
]
|
|
1114
|
+
},
|
|
1115
|
+
minItems: 1,
|
|
1116
|
+
description: 'Allowed values for `kubernetes.io/arch`.',
|
|
1117
|
+
default: [
|
|
1118
|
+
'amd64'
|
|
1119
|
+
]
|
|
1120
|
+
},
|
|
1121
|
+
'cfke.io/instance-family': {
|
|
1122
|
+
type: 'array',
|
|
1123
|
+
items: {
|
|
1124
|
+
type: 'string',
|
|
1125
|
+
enum: [
|
|
1126
|
+
'a1',
|
|
1127
|
+
'a2',
|
|
1128
|
+
'a3',
|
|
1129
|
+
'a4',
|
|
1130
|
+
'c1',
|
|
1131
|
+
'c2',
|
|
1132
|
+
'c2d',
|
|
1133
|
+
'c3',
|
|
1134
|
+
'c3d',
|
|
1135
|
+
'c4',
|
|
1136
|
+
'c4a',
|
|
1137
|
+
'c4d',
|
|
1138
|
+
'c5',
|
|
1139
|
+
'c5a',
|
|
1140
|
+
'c5ad',
|
|
1141
|
+
'c5d',
|
|
1142
|
+
'c5n',
|
|
1143
|
+
'c6a',
|
|
1144
|
+
'c6g',
|
|
1145
|
+
'c6gd',
|
|
1146
|
+
'c6gn',
|
|
1147
|
+
'c6i',
|
|
1148
|
+
'c6id',
|
|
1149
|
+
'c6in',
|
|
1150
|
+
'c7a',
|
|
1151
|
+
'c7g',
|
|
1152
|
+
'c7gd',
|
|
1153
|
+
'c7gn',
|
|
1154
|
+
'c7i',
|
|
1155
|
+
'c7i-flex',
|
|
1156
|
+
'c8g',
|
|
1157
|
+
'c8gd',
|
|
1158
|
+
'cax',
|
|
1159
|
+
'ccx',
|
|
1160
|
+
'cpx',
|
|
1161
|
+
'cx',
|
|
1162
|
+
'd2',
|
|
1163
|
+
'd3',
|
|
1164
|
+
'd3en',
|
|
1165
|
+
'dl1',
|
|
1166
|
+
'dl2q',
|
|
1167
|
+
'e2',
|
|
1168
|
+
'f1',
|
|
1169
|
+
'f2',
|
|
1170
|
+
'g1',
|
|
1171
|
+
'g2',
|
|
1172
|
+
'g4ad',
|
|
1173
|
+
'g4dn',
|
|
1174
|
+
'g5',
|
|
1175
|
+
'g5g',
|
|
1176
|
+
'g6',
|
|
1177
|
+
'g6e',
|
|
1178
|
+
'gr6',
|
|
1179
|
+
'h1',
|
|
1180
|
+
'h3',
|
|
1181
|
+
'hpc6a',
|
|
1182
|
+
'hpc6id',
|
|
1183
|
+
'hpc7a',
|
|
1184
|
+
'hpc7g',
|
|
1185
|
+
'i2',
|
|
1186
|
+
'i3',
|
|
1187
|
+
'i3en',
|
|
1188
|
+
'i4g',
|
|
1189
|
+
'i4i',
|
|
1190
|
+
'i7i',
|
|
1191
|
+
'i7ie',
|
|
1192
|
+
'i8g',
|
|
1193
|
+
'im4gn',
|
|
1194
|
+
'inf1',
|
|
1195
|
+
'inf2',
|
|
1196
|
+
'is4gen',
|
|
1197
|
+
'm1',
|
|
1198
|
+
'm2',
|
|
1199
|
+
'm3',
|
|
1200
|
+
'm4',
|
|
1201
|
+
'm5',
|
|
1202
|
+
'm5a',
|
|
1203
|
+
'm5ad',
|
|
1204
|
+
'm5d',
|
|
1205
|
+
'm5dn',
|
|
1206
|
+
'm5n',
|
|
1207
|
+
'm5zn',
|
|
1208
|
+
'm6a',
|
|
1209
|
+
'm6g',
|
|
1210
|
+
'm6gd',
|
|
1211
|
+
'm6i',
|
|
1212
|
+
'm6id',
|
|
1213
|
+
'm6idn',
|
|
1214
|
+
'm6in',
|
|
1215
|
+
'm7a',
|
|
1216
|
+
'm7g',
|
|
1217
|
+
'm7gd',
|
|
1218
|
+
'm7i',
|
|
1219
|
+
'm7i-flex',
|
|
1220
|
+
'm8g',
|
|
1221
|
+
'm8gd',
|
|
1222
|
+
'n1',
|
|
1223
|
+
'n2',
|
|
1224
|
+
'n2d',
|
|
1225
|
+
'n4',
|
|
1226
|
+
'p3',
|
|
1227
|
+
'p3dn',
|
|
1228
|
+
'p4d',
|
|
1229
|
+
'p4de',
|
|
1230
|
+
'p5',
|
|
1231
|
+
'p5e',
|
|
1232
|
+
'p5en',
|
|
1233
|
+
'p6-b200',
|
|
1234
|
+
'r3',
|
|
1235
|
+
'r4',
|
|
1236
|
+
'r5',
|
|
1237
|
+
'r5a',
|
|
1238
|
+
'r5ad',
|
|
1239
|
+
'r5b',
|
|
1240
|
+
'r5d',
|
|
1241
|
+
'r5dn',
|
|
1242
|
+
'r5n',
|
|
1243
|
+
'r6a',
|
|
1244
|
+
'r6g',
|
|
1245
|
+
'r6gd',
|
|
1246
|
+
'r6i',
|
|
1247
|
+
'r6id',
|
|
1248
|
+
'r6idn',
|
|
1249
|
+
'r6in',
|
|
1250
|
+
'r7a',
|
|
1251
|
+
'r7g',
|
|
1252
|
+
'r7gd',
|
|
1253
|
+
'r7i',
|
|
1254
|
+
'r7iz',
|
|
1255
|
+
'r8g',
|
|
1256
|
+
'r8gd',
|
|
1257
|
+
't2',
|
|
1258
|
+
't2a',
|
|
1259
|
+
't2d',
|
|
1260
|
+
't3',
|
|
1261
|
+
't3a',
|
|
1262
|
+
't4g',
|
|
1263
|
+
'trn1',
|
|
1264
|
+
'trn1n',
|
|
1265
|
+
'u-3tb1',
|
|
1266
|
+
'u-6tb1',
|
|
1267
|
+
'u7i-12tb',
|
|
1268
|
+
'u7i-6tb',
|
|
1269
|
+
'u7i-8tb',
|
|
1270
|
+
'u7in-16tb',
|
|
1271
|
+
'u7in-24tb',
|
|
1272
|
+
'u7in-32tb',
|
|
1273
|
+
'vt1',
|
|
1274
|
+
'x1',
|
|
1275
|
+
'x1e',
|
|
1276
|
+
'x2gd',
|
|
1277
|
+
'x2idn',
|
|
1278
|
+
'x2iedn',
|
|
1279
|
+
'x2iezn',
|
|
1280
|
+
'x4',
|
|
1281
|
+
'x8g',
|
|
1282
|
+
'z1d',
|
|
1283
|
+
'z3'
|
|
1284
|
+
]
|
|
1285
|
+
},
|
|
1286
|
+
description: 'Allowed values for `cfke.io/instance-family`.',
|
|
1287
|
+
default: []
|
|
1288
|
+
},
|
|
1289
|
+
'topology.kubernetes.io/region': {
|
|
1290
|
+
type: 'array',
|
|
1291
|
+
items: {
|
|
1292
|
+
type: 'string',
|
|
1293
|
+
enum: [
|
|
1294
|
+
'africa-south1',
|
|
1295
|
+
'ap-northeast-1',
|
|
1296
|
+
'ap-northeast-2',
|
|
1297
|
+
'ap-northeast-3',
|
|
1298
|
+
'ap-south-1',
|
|
1299
|
+
'ap-southeast-1',
|
|
1300
|
+
'ap-southeast-2',
|
|
1301
|
+
'ash',
|
|
1302
|
+
'asia-east1',
|
|
1303
|
+
'asia-east2',
|
|
1304
|
+
'asia-northeast1',
|
|
1305
|
+
'asia-northeast2',
|
|
1306
|
+
'asia-northeast3',
|
|
1307
|
+
'asia-south1',
|
|
1308
|
+
'asia-south2',
|
|
1309
|
+
'asia-southeast1',
|
|
1310
|
+
'asia-southeast2',
|
|
1311
|
+
'australia-southeast1',
|
|
1312
|
+
'australia-southeast2',
|
|
1313
|
+
'ca-central-1',
|
|
1314
|
+
'eu-central-1',
|
|
1315
|
+
'eu-central-2',
|
|
1316
|
+
'eu-north-1',
|
|
1317
|
+
'eu-west-1',
|
|
1318
|
+
'eu-west-2',
|
|
1319
|
+
'eu-west-3',
|
|
1320
|
+
'europe-central2',
|
|
1321
|
+
'europe-north1',
|
|
1322
|
+
'europe-southwest1',
|
|
1323
|
+
'europe-west1',
|
|
1324
|
+
'europe-west10',
|
|
1325
|
+
'europe-west12',
|
|
1326
|
+
'europe-west2',
|
|
1327
|
+
'europe-west3',
|
|
1328
|
+
'europe-west4',
|
|
1329
|
+
'europe-west6',
|
|
1330
|
+
'europe-west8',
|
|
1331
|
+
'europe-west9',
|
|
1332
|
+
'fsn1',
|
|
1333
|
+
'hel1',
|
|
1334
|
+
'hil',
|
|
1335
|
+
'me-central1',
|
|
1336
|
+
'me-central2',
|
|
1337
|
+
'me-west1',
|
|
1338
|
+
'nbg1',
|
|
1339
|
+
'northamerica-northeast1',
|
|
1340
|
+
'northamerica-northeast2',
|
|
1341
|
+
'sa-east-1',
|
|
1342
|
+
'sin',
|
|
1343
|
+
'southamerica-east1',
|
|
1344
|
+
'southamerica-west1',
|
|
1345
|
+
'us-central1',
|
|
1346
|
+
'us-east-1',
|
|
1347
|
+
'us-east-2',
|
|
1348
|
+
'us-east1',
|
|
1349
|
+
'us-east4',
|
|
1350
|
+
'us-east5',
|
|
1351
|
+
'us-south1',
|
|
1352
|
+
'us-west-1',
|
|
1353
|
+
'us-west-2',
|
|
1354
|
+
'us-west1',
|
|
1355
|
+
'us-west2',
|
|
1356
|
+
'us-west3',
|
|
1357
|
+
'us-west4'
|
|
1358
|
+
]
|
|
1359
|
+
},
|
|
1360
|
+
description: 'Allowed values for `topology.kubernetes.io/region`.',
|
|
1361
|
+
default: []
|
|
1362
|
+
}
|
|
1363
|
+
},
|
|
1364
|
+
additionalProperties: false,
|
|
1365
|
+
description: 'Constraints define scheduling and provisioning requirements for the fleet. Each field restricts the values allowed for a given Kubernetes label key. Multiple constraints are ANDed together.',
|
|
1366
|
+
default: {
|
|
1367
|
+
'karpenter.sh/capacity-type': [
|
|
1368
|
+
'on-demand',
|
|
1369
|
+
'spot'
|
|
1370
|
+
],
|
|
1371
|
+
'kubernetes.io/arch': [
|
|
1372
|
+
'amd64'
|
|
1373
|
+
],
|
|
1374
|
+
'cfke.io/instance-family': [],
|
|
1375
|
+
'topology.kubernetes.io/region': []
|
|
1376
|
+
}
|
|
1377
|
+
},
|
|
1378
|
+
scalingProfile: {
|
|
1379
|
+
type: 'string',
|
|
1380
|
+
description: 'Controls scale-up / scale-down responsiveness. `aggressive` prioritizes cost-optimization. `conservative` prioritizes stability of the fleet. Full-overwrite: omit to reset to the default (`conservative`).',
|
|
1381
|
+
default: 'conservative',
|
|
1382
|
+
example: 'conservative',
|
|
1383
|
+
enum: [
|
|
1384
|
+
'aggressive',
|
|
1385
|
+
'conservative'
|
|
1386
|
+
]
|
|
1387
|
+
},
|
|
798
1388
|
id: {
|
|
799
1389
|
type: 'string',
|
|
800
1390
|
maxLength: 63,
|
|
@@ -807,7 +1397,8 @@ export const FleetCreateInputSchema = {
|
|
|
807
1397
|
required: [
|
|
808
1398
|
'id'
|
|
809
1399
|
],
|
|
810
|
-
additionalProperties: false
|
|
1400
|
+
additionalProperties: false,
|
|
1401
|
+
description: 'Mutable fleet configuration. Applied as a full overwrite: any omitted field is reset to its default rather than left unchanged.'
|
|
811
1402
|
};
|
|
812
1403
|
export const FleetSchema = {
|
|
813
1404
|
type: 'object',
|
|
@@ -816,15 +1407,12 @@ export const FleetSchema = {
|
|
|
816
1407
|
type: 'object',
|
|
817
1408
|
properties: {
|
|
818
1409
|
cpu: {
|
|
819
|
-
type: '
|
|
820
|
-
format: 'float',
|
|
1410
|
+
type: 'integer',
|
|
821
1411
|
minimum: 0,
|
|
822
|
-
|
|
1412
|
+
maximum: 100000,
|
|
1413
|
+
description: 'CPU limit in cores. Maximum 100,000.'
|
|
823
1414
|
}
|
|
824
1415
|
},
|
|
825
|
-
required: [
|
|
826
|
-
'cpu'
|
|
827
|
-
],
|
|
828
1416
|
additionalProperties: false,
|
|
829
1417
|
description: 'Limits define a set of bounds for provisioning capacity.'
|
|
830
1418
|
},
|
|
@@ -832,16 +1420,17 @@ export const FleetSchema = {
|
|
|
832
1420
|
type: 'object',
|
|
833
1421
|
properties: {
|
|
834
1422
|
enabled: {
|
|
835
|
-
type: 'boolean'
|
|
836
|
-
default: true
|
|
1423
|
+
type: 'boolean'
|
|
837
1424
|
},
|
|
838
1425
|
project: {
|
|
839
1426
|
type: 'string',
|
|
840
|
-
|
|
1427
|
+
pattern: '^[a-z][a-z0-9-]{4,28}[a-z0-9]$',
|
|
1428
|
+
description: 'GCP project ID to deploy instances into. 6-30 chars, lowercase letters/digits/hyphens, must start with a letter and not end with a hyphen. Omit when GCP is disabled.',
|
|
1429
|
+
example: 'my-cloudfleet-project'
|
|
841
1430
|
}
|
|
842
1431
|
},
|
|
843
1432
|
required: [
|
|
844
|
-
'
|
|
1433
|
+
'enabled'
|
|
845
1434
|
],
|
|
846
1435
|
additionalProperties: false
|
|
847
1436
|
},
|
|
@@ -849,16 +1438,16 @@ export const FleetSchema = {
|
|
|
849
1438
|
type: 'object',
|
|
850
1439
|
properties: {
|
|
851
1440
|
enabled: {
|
|
852
|
-
type: 'boolean'
|
|
853
|
-
default: true
|
|
1441
|
+
type: 'boolean'
|
|
854
1442
|
},
|
|
855
1443
|
apiKey: {
|
|
856
1444
|
type: 'string',
|
|
857
|
-
|
|
1445
|
+
pattern: '^\\*{64}$',
|
|
1446
|
+
description: 'Redacted Hetzner API token. Returned as 64 asterisks when a token is configured; omitted otherwise. The real value is never echoed by the API.'
|
|
858
1447
|
}
|
|
859
1448
|
},
|
|
860
1449
|
required: [
|
|
861
|
-
'
|
|
1450
|
+
'enabled'
|
|
862
1451
|
],
|
|
863
1452
|
additionalProperties: false
|
|
864
1453
|
},
|
|
@@ -866,19 +1455,325 @@ export const FleetSchema = {
|
|
|
866
1455
|
type: 'object',
|
|
867
1456
|
properties: {
|
|
868
1457
|
enabled: {
|
|
869
|
-
type: 'boolean'
|
|
870
|
-
default: true
|
|
1458
|
+
type: 'boolean'
|
|
871
1459
|
},
|
|
872
1460
|
controllerRoleArn: {
|
|
873
1461
|
type: 'string',
|
|
874
|
-
|
|
1462
|
+
pattern: '^arn:aws(-[a-z]+)*:iam::\\d{12}:role\\/[\\w+=,.@/-]+$',
|
|
1463
|
+
description: 'AWS IAM role ARN that Karpenter uses to manage resources. Omit when AWS is disabled.',
|
|
1464
|
+
example: 'arn:aws:iam::123456789012:role/Cloudfleet'
|
|
875
1465
|
}
|
|
876
1466
|
},
|
|
877
1467
|
required: [
|
|
878
|
-
'
|
|
1468
|
+
'enabled'
|
|
879
1469
|
],
|
|
880
1470
|
additionalProperties: false
|
|
881
1471
|
},
|
|
1472
|
+
constraints: {
|
|
1473
|
+
type: 'object',
|
|
1474
|
+
properties: {
|
|
1475
|
+
'karpenter.sh/capacity-type': {
|
|
1476
|
+
type: 'array',
|
|
1477
|
+
items: {
|
|
1478
|
+
type: 'string',
|
|
1479
|
+
enum: [
|
|
1480
|
+
'on-demand',
|
|
1481
|
+
'spot'
|
|
1482
|
+
]
|
|
1483
|
+
},
|
|
1484
|
+
minItems: 1,
|
|
1485
|
+
description: 'Allowed values for `karpenter.sh/capacity-type`.',
|
|
1486
|
+
default: [
|
|
1487
|
+
'on-demand',
|
|
1488
|
+
'spot'
|
|
1489
|
+
]
|
|
1490
|
+
},
|
|
1491
|
+
'kubernetes.io/arch': {
|
|
1492
|
+
type: 'array',
|
|
1493
|
+
items: {
|
|
1494
|
+
type: 'string',
|
|
1495
|
+
enum: [
|
|
1496
|
+
'amd64',
|
|
1497
|
+
'arm64'
|
|
1498
|
+
]
|
|
1499
|
+
},
|
|
1500
|
+
minItems: 1,
|
|
1501
|
+
description: 'Allowed values for `kubernetes.io/arch`.',
|
|
1502
|
+
default: [
|
|
1503
|
+
'amd64'
|
|
1504
|
+
]
|
|
1505
|
+
},
|
|
1506
|
+
'cfke.io/instance-family': {
|
|
1507
|
+
type: 'array',
|
|
1508
|
+
items: {
|
|
1509
|
+
type: 'string',
|
|
1510
|
+
enum: [
|
|
1511
|
+
'a1',
|
|
1512
|
+
'a2',
|
|
1513
|
+
'a3',
|
|
1514
|
+
'a4',
|
|
1515
|
+
'c1',
|
|
1516
|
+
'c2',
|
|
1517
|
+
'c2d',
|
|
1518
|
+
'c3',
|
|
1519
|
+
'c3d',
|
|
1520
|
+
'c4',
|
|
1521
|
+
'c4a',
|
|
1522
|
+
'c4d',
|
|
1523
|
+
'c5',
|
|
1524
|
+
'c5a',
|
|
1525
|
+
'c5ad',
|
|
1526
|
+
'c5d',
|
|
1527
|
+
'c5n',
|
|
1528
|
+
'c6a',
|
|
1529
|
+
'c6g',
|
|
1530
|
+
'c6gd',
|
|
1531
|
+
'c6gn',
|
|
1532
|
+
'c6i',
|
|
1533
|
+
'c6id',
|
|
1534
|
+
'c6in',
|
|
1535
|
+
'c7a',
|
|
1536
|
+
'c7g',
|
|
1537
|
+
'c7gd',
|
|
1538
|
+
'c7gn',
|
|
1539
|
+
'c7i',
|
|
1540
|
+
'c7i-flex',
|
|
1541
|
+
'c8g',
|
|
1542
|
+
'c8gd',
|
|
1543
|
+
'cax',
|
|
1544
|
+
'ccx',
|
|
1545
|
+
'cpx',
|
|
1546
|
+
'cx',
|
|
1547
|
+
'd2',
|
|
1548
|
+
'd3',
|
|
1549
|
+
'd3en',
|
|
1550
|
+
'dl1',
|
|
1551
|
+
'dl2q',
|
|
1552
|
+
'e2',
|
|
1553
|
+
'f1',
|
|
1554
|
+
'f2',
|
|
1555
|
+
'g1',
|
|
1556
|
+
'g2',
|
|
1557
|
+
'g4ad',
|
|
1558
|
+
'g4dn',
|
|
1559
|
+
'g5',
|
|
1560
|
+
'g5g',
|
|
1561
|
+
'g6',
|
|
1562
|
+
'g6e',
|
|
1563
|
+
'gr6',
|
|
1564
|
+
'h1',
|
|
1565
|
+
'h3',
|
|
1566
|
+
'hpc6a',
|
|
1567
|
+
'hpc6id',
|
|
1568
|
+
'hpc7a',
|
|
1569
|
+
'hpc7g',
|
|
1570
|
+
'i2',
|
|
1571
|
+
'i3',
|
|
1572
|
+
'i3en',
|
|
1573
|
+
'i4g',
|
|
1574
|
+
'i4i',
|
|
1575
|
+
'i7i',
|
|
1576
|
+
'i7ie',
|
|
1577
|
+
'i8g',
|
|
1578
|
+
'im4gn',
|
|
1579
|
+
'inf1',
|
|
1580
|
+
'inf2',
|
|
1581
|
+
'is4gen',
|
|
1582
|
+
'm1',
|
|
1583
|
+
'm2',
|
|
1584
|
+
'm3',
|
|
1585
|
+
'm4',
|
|
1586
|
+
'm5',
|
|
1587
|
+
'm5a',
|
|
1588
|
+
'm5ad',
|
|
1589
|
+
'm5d',
|
|
1590
|
+
'm5dn',
|
|
1591
|
+
'm5n',
|
|
1592
|
+
'm5zn',
|
|
1593
|
+
'm6a',
|
|
1594
|
+
'm6g',
|
|
1595
|
+
'm6gd',
|
|
1596
|
+
'm6i',
|
|
1597
|
+
'm6id',
|
|
1598
|
+
'm6idn',
|
|
1599
|
+
'm6in',
|
|
1600
|
+
'm7a',
|
|
1601
|
+
'm7g',
|
|
1602
|
+
'm7gd',
|
|
1603
|
+
'm7i',
|
|
1604
|
+
'm7i-flex',
|
|
1605
|
+
'm8g',
|
|
1606
|
+
'm8gd',
|
|
1607
|
+
'n1',
|
|
1608
|
+
'n2',
|
|
1609
|
+
'n2d',
|
|
1610
|
+
'n4',
|
|
1611
|
+
'p3',
|
|
1612
|
+
'p3dn',
|
|
1613
|
+
'p4d',
|
|
1614
|
+
'p4de',
|
|
1615
|
+
'p5',
|
|
1616
|
+
'p5e',
|
|
1617
|
+
'p5en',
|
|
1618
|
+
'p6-b200',
|
|
1619
|
+
'r3',
|
|
1620
|
+
'r4',
|
|
1621
|
+
'r5',
|
|
1622
|
+
'r5a',
|
|
1623
|
+
'r5ad',
|
|
1624
|
+
'r5b',
|
|
1625
|
+
'r5d',
|
|
1626
|
+
'r5dn',
|
|
1627
|
+
'r5n',
|
|
1628
|
+
'r6a',
|
|
1629
|
+
'r6g',
|
|
1630
|
+
'r6gd',
|
|
1631
|
+
'r6i',
|
|
1632
|
+
'r6id',
|
|
1633
|
+
'r6idn',
|
|
1634
|
+
'r6in',
|
|
1635
|
+
'r7a',
|
|
1636
|
+
'r7g',
|
|
1637
|
+
'r7gd',
|
|
1638
|
+
'r7i',
|
|
1639
|
+
'r7iz',
|
|
1640
|
+
'r8g',
|
|
1641
|
+
'r8gd',
|
|
1642
|
+
't2',
|
|
1643
|
+
't2a',
|
|
1644
|
+
't2d',
|
|
1645
|
+
't3',
|
|
1646
|
+
't3a',
|
|
1647
|
+
't4g',
|
|
1648
|
+
'trn1',
|
|
1649
|
+
'trn1n',
|
|
1650
|
+
'u-3tb1',
|
|
1651
|
+
'u-6tb1',
|
|
1652
|
+
'u7i-12tb',
|
|
1653
|
+
'u7i-6tb',
|
|
1654
|
+
'u7i-8tb',
|
|
1655
|
+
'u7in-16tb',
|
|
1656
|
+
'u7in-24tb',
|
|
1657
|
+
'u7in-32tb',
|
|
1658
|
+
'vt1',
|
|
1659
|
+
'x1',
|
|
1660
|
+
'x1e',
|
|
1661
|
+
'x2gd',
|
|
1662
|
+
'x2idn',
|
|
1663
|
+
'x2iedn',
|
|
1664
|
+
'x2iezn',
|
|
1665
|
+
'x4',
|
|
1666
|
+
'x8g',
|
|
1667
|
+
'z1d',
|
|
1668
|
+
'z3'
|
|
1669
|
+
]
|
|
1670
|
+
},
|
|
1671
|
+
description: 'Allowed values for `cfke.io/instance-family`.',
|
|
1672
|
+
default: []
|
|
1673
|
+
},
|
|
1674
|
+
'topology.kubernetes.io/region': {
|
|
1675
|
+
type: 'array',
|
|
1676
|
+
items: {
|
|
1677
|
+
type: 'string',
|
|
1678
|
+
enum: [
|
|
1679
|
+
'africa-south1',
|
|
1680
|
+
'ap-northeast-1',
|
|
1681
|
+
'ap-northeast-2',
|
|
1682
|
+
'ap-northeast-3',
|
|
1683
|
+
'ap-south-1',
|
|
1684
|
+
'ap-southeast-1',
|
|
1685
|
+
'ap-southeast-2',
|
|
1686
|
+
'ash',
|
|
1687
|
+
'asia-east1',
|
|
1688
|
+
'asia-east2',
|
|
1689
|
+
'asia-northeast1',
|
|
1690
|
+
'asia-northeast2',
|
|
1691
|
+
'asia-northeast3',
|
|
1692
|
+
'asia-south1',
|
|
1693
|
+
'asia-south2',
|
|
1694
|
+
'asia-southeast1',
|
|
1695
|
+
'asia-southeast2',
|
|
1696
|
+
'australia-southeast1',
|
|
1697
|
+
'australia-southeast2',
|
|
1698
|
+
'ca-central-1',
|
|
1699
|
+
'eu-central-1',
|
|
1700
|
+
'eu-central-2',
|
|
1701
|
+
'eu-north-1',
|
|
1702
|
+
'eu-west-1',
|
|
1703
|
+
'eu-west-2',
|
|
1704
|
+
'eu-west-3',
|
|
1705
|
+
'europe-central2',
|
|
1706
|
+
'europe-north1',
|
|
1707
|
+
'europe-southwest1',
|
|
1708
|
+
'europe-west1',
|
|
1709
|
+
'europe-west10',
|
|
1710
|
+
'europe-west12',
|
|
1711
|
+
'europe-west2',
|
|
1712
|
+
'europe-west3',
|
|
1713
|
+
'europe-west4',
|
|
1714
|
+
'europe-west6',
|
|
1715
|
+
'europe-west8',
|
|
1716
|
+
'europe-west9',
|
|
1717
|
+
'fsn1',
|
|
1718
|
+
'hel1',
|
|
1719
|
+
'hil',
|
|
1720
|
+
'me-central1',
|
|
1721
|
+
'me-central2',
|
|
1722
|
+
'me-west1',
|
|
1723
|
+
'nbg1',
|
|
1724
|
+
'northamerica-northeast1',
|
|
1725
|
+
'northamerica-northeast2',
|
|
1726
|
+
'sa-east-1',
|
|
1727
|
+
'sin',
|
|
1728
|
+
'southamerica-east1',
|
|
1729
|
+
'southamerica-west1',
|
|
1730
|
+
'us-central1',
|
|
1731
|
+
'us-east-1',
|
|
1732
|
+
'us-east-2',
|
|
1733
|
+
'us-east1',
|
|
1734
|
+
'us-east4',
|
|
1735
|
+
'us-east5',
|
|
1736
|
+
'us-south1',
|
|
1737
|
+
'us-west-1',
|
|
1738
|
+
'us-west-2',
|
|
1739
|
+
'us-west1',
|
|
1740
|
+
'us-west2',
|
|
1741
|
+
'us-west3',
|
|
1742
|
+
'us-west4'
|
|
1743
|
+
]
|
|
1744
|
+
},
|
|
1745
|
+
description: 'Allowed values for `topology.kubernetes.io/region`.',
|
|
1746
|
+
default: []
|
|
1747
|
+
}
|
|
1748
|
+
},
|
|
1749
|
+
required: [
|
|
1750
|
+
'karpenter.sh/capacity-type',
|
|
1751
|
+
'kubernetes.io/arch'
|
|
1752
|
+
],
|
|
1753
|
+
additionalProperties: false,
|
|
1754
|
+
description: 'Constraints define scheduling and provisioning requirements for the fleet. Each field restricts the values allowed for a given Kubernetes label key. Multiple constraints are ANDed together.',
|
|
1755
|
+
default: {
|
|
1756
|
+
'karpenter.sh/capacity-type': [
|
|
1757
|
+
'on-demand',
|
|
1758
|
+
'spot'
|
|
1759
|
+
],
|
|
1760
|
+
'kubernetes.io/arch': [
|
|
1761
|
+
'amd64'
|
|
1762
|
+
],
|
|
1763
|
+
'cfke.io/instance-family': [],
|
|
1764
|
+
'topology.kubernetes.io/region': []
|
|
1765
|
+
}
|
|
1766
|
+
},
|
|
1767
|
+
scalingProfile: {
|
|
1768
|
+
type: 'string',
|
|
1769
|
+
description: 'Controls scale-up / scale-down responsiveness. `aggressive` prioritizes cost-optimization. `conservative` prioritizes stability of the fleet. Full-overwrite: omit to reset to the default (`conservative`).',
|
|
1770
|
+
default: 'conservative',
|
|
1771
|
+
example: 'conservative',
|
|
1772
|
+
enum: [
|
|
1773
|
+
'aggressive',
|
|
1774
|
+
'conservative'
|
|
1775
|
+
]
|
|
1776
|
+
},
|
|
882
1777
|
id: {
|
|
883
1778
|
type: 'string',
|
|
884
1779
|
maxLength: 63,
|
|
@@ -886,12 +1781,38 @@ export const FleetSchema = {
|
|
|
886
1781
|
pattern: '^[a-z0-9]([-a-z0-9]*[a-z0-9])?$',
|
|
887
1782
|
description: 'Unique identifier of the kubernetes fleet.',
|
|
888
1783
|
example: 'new-clouds-fleet'
|
|
1784
|
+
},
|
|
1785
|
+
ready: {
|
|
1786
|
+
type: 'boolean',
|
|
1787
|
+
description: 'Indicates whether the fleet configuration is healthy.',
|
|
1788
|
+
example: true
|
|
1789
|
+
},
|
|
1790
|
+
status_message: {
|
|
1791
|
+
type: 'string',
|
|
1792
|
+
description: 'Human-readable reason the fleet is not ready. Present only when `ready` is false.',
|
|
1793
|
+
example: 'Invalid provider permissions.'
|
|
1794
|
+
},
|
|
1795
|
+
created_at: {
|
|
1796
|
+
type: 'string',
|
|
1797
|
+
description: 'Creation date and time of the fleet.',
|
|
1798
|
+
example: '2024-09-12T09:11:27Z'
|
|
1799
|
+
},
|
|
1800
|
+
updated_at: {
|
|
1801
|
+
type: 'string',
|
|
1802
|
+
description: 'Date and time the fleet was last updated.',
|
|
1803
|
+
example: '2024-09-12T09:11:27Z'
|
|
889
1804
|
}
|
|
890
1805
|
},
|
|
891
1806
|
required: [
|
|
892
|
-
'
|
|
1807
|
+
'constraints',
|
|
1808
|
+
'scalingProfile',
|
|
1809
|
+
'id',
|
|
1810
|
+
'ready',
|
|
1811
|
+
'created_at',
|
|
1812
|
+
'updated_at'
|
|
893
1813
|
],
|
|
894
|
-
additionalProperties: false
|
|
1814
|
+
additionalProperties: false,
|
|
1815
|
+
description: 'Mutable fleet configuration. Applied as a full overwrite: any omitted field is reset to its default rather than left unchanged.'
|
|
895
1816
|
};
|
|
896
1817
|
export const FleetUpdateInputSchema = {
|
|
897
1818
|
type: 'object',
|
|
@@ -900,15 +1821,12 @@ export const FleetUpdateInputSchema = {
|
|
|
900
1821
|
type: 'object',
|
|
901
1822
|
properties: {
|
|
902
1823
|
cpu: {
|
|
903
|
-
type: '
|
|
904
|
-
format: 'float',
|
|
1824
|
+
type: 'integer',
|
|
905
1825
|
minimum: 0,
|
|
906
|
-
|
|
1826
|
+
maximum: 100000,
|
|
1827
|
+
description: 'CPU limit in cores. Maximum 100,000.'
|
|
907
1828
|
}
|
|
908
1829
|
},
|
|
909
|
-
required: [
|
|
910
|
-
'cpu'
|
|
911
|
-
],
|
|
912
1830
|
additionalProperties: false,
|
|
913
1831
|
description: 'Limits define a set of bounds for provisioning capacity.'
|
|
914
1832
|
},
|
|
@@ -916,16 +1834,17 @@ export const FleetUpdateInputSchema = {
|
|
|
916
1834
|
type: 'object',
|
|
917
1835
|
properties: {
|
|
918
1836
|
enabled: {
|
|
919
|
-
type: 'boolean'
|
|
920
|
-
default: true
|
|
1837
|
+
type: 'boolean'
|
|
921
1838
|
},
|
|
922
1839
|
project: {
|
|
923
1840
|
type: 'string',
|
|
924
|
-
|
|
1841
|
+
pattern: '^[a-z][a-z0-9-]{4,28}[a-z0-9]$',
|
|
1842
|
+
description: 'GCP project ID to deploy instances into. 6-30 chars, lowercase letters/digits/hyphens, must start with a letter and not end with a hyphen. Omit when GCP is disabled.',
|
|
1843
|
+
example: 'my-cloudfleet-project'
|
|
925
1844
|
}
|
|
926
1845
|
},
|
|
927
1846
|
required: [
|
|
928
|
-
'
|
|
1847
|
+
'enabled'
|
|
929
1848
|
],
|
|
930
1849
|
additionalProperties: false
|
|
931
1850
|
},
|
|
@@ -933,16 +1852,18 @@ export const FleetUpdateInputSchema = {
|
|
|
933
1852
|
type: 'object',
|
|
934
1853
|
properties: {
|
|
935
1854
|
enabled: {
|
|
936
|
-
type: 'boolean'
|
|
937
|
-
default: true
|
|
1855
|
+
type: 'boolean'
|
|
938
1856
|
},
|
|
939
1857
|
apiKey: {
|
|
940
1858
|
type: 'string',
|
|
941
|
-
|
|
1859
|
+
maxLength: 64,
|
|
1860
|
+
minLength: 64,
|
|
1861
|
+
pattern: '^([A-Za-z0-9]{64}|\\*{64})$',
|
|
1862
|
+
description: 'Hetzner Cloud API token with read/write access (64 alphanumeric characters). Write-only: reads return a redacted placeholder, never the token. Omit the field, or send the placeholder back unchanged, to keep the existing key. Send a new value to rotate it.'
|
|
942
1863
|
}
|
|
943
1864
|
},
|
|
944
1865
|
required: [
|
|
945
|
-
'
|
|
1866
|
+
'enabled'
|
|
946
1867
|
],
|
|
947
1868
|
additionalProperties: false
|
|
948
1869
|
},
|
|
@@ -950,20 +1871,348 @@ export const FleetUpdateInputSchema = {
|
|
|
950
1871
|
type: 'object',
|
|
951
1872
|
properties: {
|
|
952
1873
|
enabled: {
|
|
953
|
-
type: 'boolean'
|
|
954
|
-
default: true
|
|
1874
|
+
type: 'boolean'
|
|
955
1875
|
},
|
|
956
1876
|
controllerRoleArn: {
|
|
957
1877
|
type: 'string',
|
|
958
|
-
|
|
1878
|
+
pattern: '^arn:aws(-[a-z]+)*:iam::\\d{12}:role\\/[\\w+=,.@/-]+$',
|
|
1879
|
+
description: 'AWS IAM role ARN that Karpenter uses to manage resources. Omit when AWS is disabled.',
|
|
1880
|
+
example: 'arn:aws:iam::123456789012:role/Cloudfleet'
|
|
959
1881
|
}
|
|
960
1882
|
},
|
|
961
1883
|
required: [
|
|
962
|
-
'
|
|
1884
|
+
'enabled'
|
|
963
1885
|
],
|
|
964
1886
|
additionalProperties: false
|
|
1887
|
+
},
|
|
1888
|
+
constraints: {
|
|
1889
|
+
type: 'object',
|
|
1890
|
+
properties: {
|
|
1891
|
+
'karpenter.sh/capacity-type': {
|
|
1892
|
+
type: 'array',
|
|
1893
|
+
items: {
|
|
1894
|
+
type: 'string',
|
|
1895
|
+
enum: [
|
|
1896
|
+
'on-demand',
|
|
1897
|
+
'spot'
|
|
1898
|
+
]
|
|
1899
|
+
},
|
|
1900
|
+
minItems: 1,
|
|
1901
|
+
description: 'Allowed values for `karpenter.sh/capacity-type`.',
|
|
1902
|
+
default: [
|
|
1903
|
+
'on-demand',
|
|
1904
|
+
'spot'
|
|
1905
|
+
]
|
|
1906
|
+
},
|
|
1907
|
+
'kubernetes.io/arch': {
|
|
1908
|
+
type: 'array',
|
|
1909
|
+
items: {
|
|
1910
|
+
type: 'string',
|
|
1911
|
+
enum: [
|
|
1912
|
+
'amd64',
|
|
1913
|
+
'arm64'
|
|
1914
|
+
]
|
|
1915
|
+
},
|
|
1916
|
+
minItems: 1,
|
|
1917
|
+
description: 'Allowed values for `kubernetes.io/arch`.',
|
|
1918
|
+
default: [
|
|
1919
|
+
'amd64'
|
|
1920
|
+
]
|
|
1921
|
+
},
|
|
1922
|
+
'cfke.io/instance-family': {
|
|
1923
|
+
type: 'array',
|
|
1924
|
+
items: {
|
|
1925
|
+
type: 'string',
|
|
1926
|
+
enum: [
|
|
1927
|
+
'a1',
|
|
1928
|
+
'a2',
|
|
1929
|
+
'a3',
|
|
1930
|
+
'a4',
|
|
1931
|
+
'c1',
|
|
1932
|
+
'c2',
|
|
1933
|
+
'c2d',
|
|
1934
|
+
'c3',
|
|
1935
|
+
'c3d',
|
|
1936
|
+
'c4',
|
|
1937
|
+
'c4a',
|
|
1938
|
+
'c4d',
|
|
1939
|
+
'c5',
|
|
1940
|
+
'c5a',
|
|
1941
|
+
'c5ad',
|
|
1942
|
+
'c5d',
|
|
1943
|
+
'c5n',
|
|
1944
|
+
'c6a',
|
|
1945
|
+
'c6g',
|
|
1946
|
+
'c6gd',
|
|
1947
|
+
'c6gn',
|
|
1948
|
+
'c6i',
|
|
1949
|
+
'c6id',
|
|
1950
|
+
'c6in',
|
|
1951
|
+
'c7a',
|
|
1952
|
+
'c7g',
|
|
1953
|
+
'c7gd',
|
|
1954
|
+
'c7gn',
|
|
1955
|
+
'c7i',
|
|
1956
|
+
'c7i-flex',
|
|
1957
|
+
'c8g',
|
|
1958
|
+
'c8gd',
|
|
1959
|
+
'cax',
|
|
1960
|
+
'ccx',
|
|
1961
|
+
'cpx',
|
|
1962
|
+
'cx',
|
|
1963
|
+
'd2',
|
|
1964
|
+
'd3',
|
|
1965
|
+
'd3en',
|
|
1966
|
+
'dl1',
|
|
1967
|
+
'dl2q',
|
|
1968
|
+
'e2',
|
|
1969
|
+
'f1',
|
|
1970
|
+
'f2',
|
|
1971
|
+
'g1',
|
|
1972
|
+
'g2',
|
|
1973
|
+
'g4ad',
|
|
1974
|
+
'g4dn',
|
|
1975
|
+
'g5',
|
|
1976
|
+
'g5g',
|
|
1977
|
+
'g6',
|
|
1978
|
+
'g6e',
|
|
1979
|
+
'gr6',
|
|
1980
|
+
'h1',
|
|
1981
|
+
'h3',
|
|
1982
|
+
'hpc6a',
|
|
1983
|
+
'hpc6id',
|
|
1984
|
+
'hpc7a',
|
|
1985
|
+
'hpc7g',
|
|
1986
|
+
'i2',
|
|
1987
|
+
'i3',
|
|
1988
|
+
'i3en',
|
|
1989
|
+
'i4g',
|
|
1990
|
+
'i4i',
|
|
1991
|
+
'i7i',
|
|
1992
|
+
'i7ie',
|
|
1993
|
+
'i8g',
|
|
1994
|
+
'im4gn',
|
|
1995
|
+
'inf1',
|
|
1996
|
+
'inf2',
|
|
1997
|
+
'is4gen',
|
|
1998
|
+
'm1',
|
|
1999
|
+
'm2',
|
|
2000
|
+
'm3',
|
|
2001
|
+
'm4',
|
|
2002
|
+
'm5',
|
|
2003
|
+
'm5a',
|
|
2004
|
+
'm5ad',
|
|
2005
|
+
'm5d',
|
|
2006
|
+
'm5dn',
|
|
2007
|
+
'm5n',
|
|
2008
|
+
'm5zn',
|
|
2009
|
+
'm6a',
|
|
2010
|
+
'm6g',
|
|
2011
|
+
'm6gd',
|
|
2012
|
+
'm6i',
|
|
2013
|
+
'm6id',
|
|
2014
|
+
'm6idn',
|
|
2015
|
+
'm6in',
|
|
2016
|
+
'm7a',
|
|
2017
|
+
'm7g',
|
|
2018
|
+
'm7gd',
|
|
2019
|
+
'm7i',
|
|
2020
|
+
'm7i-flex',
|
|
2021
|
+
'm8g',
|
|
2022
|
+
'm8gd',
|
|
2023
|
+
'n1',
|
|
2024
|
+
'n2',
|
|
2025
|
+
'n2d',
|
|
2026
|
+
'n4',
|
|
2027
|
+
'p3',
|
|
2028
|
+
'p3dn',
|
|
2029
|
+
'p4d',
|
|
2030
|
+
'p4de',
|
|
2031
|
+
'p5',
|
|
2032
|
+
'p5e',
|
|
2033
|
+
'p5en',
|
|
2034
|
+
'p6-b200',
|
|
2035
|
+
'r3',
|
|
2036
|
+
'r4',
|
|
2037
|
+
'r5',
|
|
2038
|
+
'r5a',
|
|
2039
|
+
'r5ad',
|
|
2040
|
+
'r5b',
|
|
2041
|
+
'r5d',
|
|
2042
|
+
'r5dn',
|
|
2043
|
+
'r5n',
|
|
2044
|
+
'r6a',
|
|
2045
|
+
'r6g',
|
|
2046
|
+
'r6gd',
|
|
2047
|
+
'r6i',
|
|
2048
|
+
'r6id',
|
|
2049
|
+
'r6idn',
|
|
2050
|
+
'r6in',
|
|
2051
|
+
'r7a',
|
|
2052
|
+
'r7g',
|
|
2053
|
+
'r7gd',
|
|
2054
|
+
'r7i',
|
|
2055
|
+
'r7iz',
|
|
2056
|
+
'r8g',
|
|
2057
|
+
'r8gd',
|
|
2058
|
+
't2',
|
|
2059
|
+
't2a',
|
|
2060
|
+
't2d',
|
|
2061
|
+
't3',
|
|
2062
|
+
't3a',
|
|
2063
|
+
't4g',
|
|
2064
|
+
'trn1',
|
|
2065
|
+
'trn1n',
|
|
2066
|
+
'u-3tb1',
|
|
2067
|
+
'u-6tb1',
|
|
2068
|
+
'u7i-12tb',
|
|
2069
|
+
'u7i-6tb',
|
|
2070
|
+
'u7i-8tb',
|
|
2071
|
+
'u7in-16tb',
|
|
2072
|
+
'u7in-24tb',
|
|
2073
|
+
'u7in-32tb',
|
|
2074
|
+
'vt1',
|
|
2075
|
+
'x1',
|
|
2076
|
+
'x1e',
|
|
2077
|
+
'x2gd',
|
|
2078
|
+
'x2idn',
|
|
2079
|
+
'x2iedn',
|
|
2080
|
+
'x2iezn',
|
|
2081
|
+
'x4',
|
|
2082
|
+
'x8g',
|
|
2083
|
+
'z1d',
|
|
2084
|
+
'z3'
|
|
2085
|
+
]
|
|
2086
|
+
},
|
|
2087
|
+
description: 'Allowed values for `cfke.io/instance-family`.',
|
|
2088
|
+
default: []
|
|
2089
|
+
},
|
|
2090
|
+
'topology.kubernetes.io/region': {
|
|
2091
|
+
type: 'array',
|
|
2092
|
+
items: {
|
|
2093
|
+
type: 'string',
|
|
2094
|
+
enum: [
|
|
2095
|
+
'africa-south1',
|
|
2096
|
+
'ap-northeast-1',
|
|
2097
|
+
'ap-northeast-2',
|
|
2098
|
+
'ap-northeast-3',
|
|
2099
|
+
'ap-south-1',
|
|
2100
|
+
'ap-southeast-1',
|
|
2101
|
+
'ap-southeast-2',
|
|
2102
|
+
'ash',
|
|
2103
|
+
'asia-east1',
|
|
2104
|
+
'asia-east2',
|
|
2105
|
+
'asia-northeast1',
|
|
2106
|
+
'asia-northeast2',
|
|
2107
|
+
'asia-northeast3',
|
|
2108
|
+
'asia-south1',
|
|
2109
|
+
'asia-south2',
|
|
2110
|
+
'asia-southeast1',
|
|
2111
|
+
'asia-southeast2',
|
|
2112
|
+
'australia-southeast1',
|
|
2113
|
+
'australia-southeast2',
|
|
2114
|
+
'ca-central-1',
|
|
2115
|
+
'eu-central-1',
|
|
2116
|
+
'eu-central-2',
|
|
2117
|
+
'eu-north-1',
|
|
2118
|
+
'eu-west-1',
|
|
2119
|
+
'eu-west-2',
|
|
2120
|
+
'eu-west-3',
|
|
2121
|
+
'europe-central2',
|
|
2122
|
+
'europe-north1',
|
|
2123
|
+
'europe-southwest1',
|
|
2124
|
+
'europe-west1',
|
|
2125
|
+
'europe-west10',
|
|
2126
|
+
'europe-west12',
|
|
2127
|
+
'europe-west2',
|
|
2128
|
+
'europe-west3',
|
|
2129
|
+
'europe-west4',
|
|
2130
|
+
'europe-west6',
|
|
2131
|
+
'europe-west8',
|
|
2132
|
+
'europe-west9',
|
|
2133
|
+
'fsn1',
|
|
2134
|
+
'hel1',
|
|
2135
|
+
'hil',
|
|
2136
|
+
'me-central1',
|
|
2137
|
+
'me-central2',
|
|
2138
|
+
'me-west1',
|
|
2139
|
+
'nbg1',
|
|
2140
|
+
'northamerica-northeast1',
|
|
2141
|
+
'northamerica-northeast2',
|
|
2142
|
+
'sa-east-1',
|
|
2143
|
+
'sin',
|
|
2144
|
+
'southamerica-east1',
|
|
2145
|
+
'southamerica-west1',
|
|
2146
|
+
'us-central1',
|
|
2147
|
+
'us-east-1',
|
|
2148
|
+
'us-east-2',
|
|
2149
|
+
'us-east1',
|
|
2150
|
+
'us-east4',
|
|
2151
|
+
'us-east5',
|
|
2152
|
+
'us-south1',
|
|
2153
|
+
'us-west-1',
|
|
2154
|
+
'us-west-2',
|
|
2155
|
+
'us-west1',
|
|
2156
|
+
'us-west2',
|
|
2157
|
+
'us-west3',
|
|
2158
|
+
'us-west4'
|
|
2159
|
+
]
|
|
2160
|
+
},
|
|
2161
|
+
description: 'Allowed values for `topology.kubernetes.io/region`.',
|
|
2162
|
+
default: []
|
|
2163
|
+
}
|
|
2164
|
+
},
|
|
2165
|
+
additionalProperties: false,
|
|
2166
|
+
description: 'Constraints define scheduling and provisioning requirements for the fleet. Each field restricts the values allowed for a given Kubernetes label key. Multiple constraints are ANDed together.',
|
|
2167
|
+
default: {
|
|
2168
|
+
'karpenter.sh/capacity-type': [
|
|
2169
|
+
'on-demand',
|
|
2170
|
+
'spot'
|
|
2171
|
+
],
|
|
2172
|
+
'kubernetes.io/arch': [
|
|
2173
|
+
'amd64'
|
|
2174
|
+
],
|
|
2175
|
+
'cfke.io/instance-family': [],
|
|
2176
|
+
'topology.kubernetes.io/region': []
|
|
2177
|
+
}
|
|
2178
|
+
},
|
|
2179
|
+
scalingProfile: {
|
|
2180
|
+
type: 'string',
|
|
2181
|
+
description: 'Controls scale-up / scale-down responsiveness. `aggressive` prioritizes cost-optimization. `conservative` prioritizes stability of the fleet. Full-overwrite: omit to reset to the default (`conservative`).',
|
|
2182
|
+
default: 'conservative',
|
|
2183
|
+
example: 'conservative',
|
|
2184
|
+
enum: [
|
|
2185
|
+
'aggressive',
|
|
2186
|
+
'conservative'
|
|
2187
|
+
]
|
|
965
2188
|
}
|
|
966
2189
|
},
|
|
2190
|
+
additionalProperties: false,
|
|
2191
|
+
description: 'Mutable fleet configuration. Applied as a full overwrite: any omitted field is reset to its default rather than left unchanged.'
|
|
2192
|
+
};
|
|
2193
|
+
export const InviteCreateInputSchema = {
|
|
2194
|
+
type: 'object',
|
|
2195
|
+
properties: {
|
|
2196
|
+
email: {
|
|
2197
|
+
type: 'string',
|
|
2198
|
+
format: 'email',
|
|
2199
|
+
description: 'Email address of the user to invite.',
|
|
2200
|
+
example: 'email@example.com'
|
|
2201
|
+
},
|
|
2202
|
+
role: {
|
|
2203
|
+
type: 'string',
|
|
2204
|
+
description: 'Role the invited user will be assigned on redemption. Can be \'Administrator\' or \'User\'.',
|
|
2205
|
+
default: 'User',
|
|
2206
|
+
example: 'User',
|
|
2207
|
+
enum: [
|
|
2208
|
+
'Administrator',
|
|
2209
|
+
'User'
|
|
2210
|
+
]
|
|
2211
|
+
}
|
|
2212
|
+
},
|
|
2213
|
+
required: [
|
|
2214
|
+
'email'
|
|
2215
|
+
],
|
|
967
2216
|
additionalProperties: false
|
|
968
2217
|
};
|
|
969
2218
|
export const InviteSchema = {
|
|
@@ -996,6 +2245,16 @@ export const InviteSchema = {
|
|
|
996
2245
|
type: 'string',
|
|
997
2246
|
description: 'Generated unique invite code.',
|
|
998
2247
|
example: '7kUZnH7nnKUFfvc4NK2KQF'
|
|
2248
|
+
},
|
|
2249
|
+
role: {
|
|
2250
|
+
type: 'string',
|
|
2251
|
+
description: 'Role the invited user will be assigned on redemption. Can be \'Administrator\' or \'User\'.',
|
|
2252
|
+
default: 'User',
|
|
2253
|
+
example: 'User',
|
|
2254
|
+
enum: [
|
|
2255
|
+
'Administrator',
|
|
2256
|
+
'User'
|
|
2257
|
+
]
|
|
999
2258
|
}
|
|
1000
2259
|
},
|
|
1001
2260
|
required: [
|
|
@@ -1216,6 +2475,15 @@ export const MarketplaceListingSchema = {
|
|
|
1216
2475
|
export const OrganizationCreateInputSchema = {
|
|
1217
2476
|
type: 'object',
|
|
1218
2477
|
properties: {
|
|
2478
|
+
type: {
|
|
2479
|
+
type: 'string',
|
|
2480
|
+
description: 'Type of the organization. `business` for legal entities, `personal` for individuals.',
|
|
2481
|
+
example: 'business',
|
|
2482
|
+
enum: [
|
|
2483
|
+
'business',
|
|
2484
|
+
'personal'
|
|
2485
|
+
]
|
|
2486
|
+
},
|
|
1219
2487
|
email: {
|
|
1220
2488
|
type: 'string',
|
|
1221
2489
|
format: 'email',
|
|
@@ -1224,11 +2492,13 @@ export const OrganizationCreateInputSchema = {
|
|
|
1224
2492
|
},
|
|
1225
2493
|
first_name: {
|
|
1226
2494
|
type: 'string',
|
|
2495
|
+
minLength: 1,
|
|
1227
2496
|
description: 'First name of the billing contact person.',
|
|
1228
2497
|
example: 'John'
|
|
1229
2498
|
},
|
|
1230
2499
|
last_name: {
|
|
1231
2500
|
type: 'string',
|
|
2501
|
+
minLength: 1,
|
|
1232
2502
|
description: 'Last name of the billing contact person.',
|
|
1233
2503
|
example: 'Doe'
|
|
1234
2504
|
},
|
|
@@ -1247,6 +2517,7 @@ export const OrganizationCreateInputSchema = {
|
|
|
1247
2517
|
}
|
|
1248
2518
|
},
|
|
1249
2519
|
required: [
|
|
2520
|
+
'type',
|
|
1250
2521
|
'email',
|
|
1251
2522
|
'first_name',
|
|
1252
2523
|
'last_name',
|
|
@@ -1255,6 +2526,20 @@ export const OrganizationCreateInputSchema = {
|
|
|
1255
2526
|
],
|
|
1256
2527
|
additionalProperties: false
|
|
1257
2528
|
};
|
|
2529
|
+
export const OrganizationCreateOutputSchema = {
|
|
2530
|
+
type: 'object',
|
|
2531
|
+
properties: {
|
|
2532
|
+
id: {
|
|
2533
|
+
type: 'string',
|
|
2534
|
+
description: 'Unique identifier of the newly created organization. Generated by the API and safe to use for client-side tracking immediately.',
|
|
2535
|
+
example: 'organization-id'
|
|
2536
|
+
}
|
|
2537
|
+
},
|
|
2538
|
+
required: [
|
|
2539
|
+
'id'
|
|
2540
|
+
],
|
|
2541
|
+
additionalProperties: false
|
|
2542
|
+
};
|
|
1258
2543
|
export const OrganizationSchema = {
|
|
1259
2544
|
type: 'object',
|
|
1260
2545
|
properties: {
|
|
@@ -1271,6 +2556,15 @@ export const OrganizationSchema = {
|
|
|
1271
2556
|
description: 'Name of the legal entity. This name will be used in invoices. Use your first and last name for individual accounts.',
|
|
1272
2557
|
example: 'ACME Corp.'
|
|
1273
2558
|
},
|
|
2559
|
+
type: {
|
|
2560
|
+
type: 'string',
|
|
2561
|
+
description: 'Type of the organization. `business` for legal entities, `personal` for individuals.',
|
|
2562
|
+
example: 'business',
|
|
2563
|
+
enum: [
|
|
2564
|
+
'business',
|
|
2565
|
+
'personal'
|
|
2566
|
+
]
|
|
2567
|
+
},
|
|
1274
2568
|
date_created: {
|
|
1275
2569
|
type: 'string',
|
|
1276
2570
|
format: 'date-time',
|
|
@@ -1302,6 +2596,17 @@ export const OrganizationSchema = {
|
|
|
1302
2596
|
description: 'Available number of Pro clusters that can be created.',
|
|
1303
2597
|
example: 999
|
|
1304
2598
|
},
|
|
2599
|
+
enterprise_clusters_max: {
|
|
2600
|
+
type: 'integer',
|
|
2601
|
+
minimum: 0,
|
|
2602
|
+
description: 'Maximum number of Enterprise clusters that can be created.',
|
|
2603
|
+
example: 999
|
|
2604
|
+
},
|
|
2605
|
+
enterprise_clusters_available: {
|
|
2606
|
+
type: 'integer',
|
|
2607
|
+
description: 'Available number of Enterprise clusters that can be created.',
|
|
2608
|
+
example: 999
|
|
2609
|
+
},
|
|
1305
2610
|
fleets_max: {
|
|
1306
2611
|
type: 'integer',
|
|
1307
2612
|
minimum: 0,
|
|
@@ -1321,7 +2626,7 @@ export const OrganizationSchema = {
|
|
|
1321
2626
|
type: 'array',
|
|
1322
2627
|
items: {
|
|
1323
2628
|
type: 'string',
|
|
1324
|
-
example: 'northamerica-central-
|
|
2629
|
+
example: 'northamerica-central-1a'
|
|
1325
2630
|
},
|
|
1326
2631
|
minItems: 1,
|
|
1327
2632
|
description: 'List of Cloudfleet control plane regions available for the organization.'
|
|
@@ -1351,18 +2656,6 @@ export const OrganizationSchema = {
|
|
|
1351
2656
|
minItems: 1,
|
|
1352
2657
|
description: 'List of CFKE control plane versions available for the organization.'
|
|
1353
2658
|
},
|
|
1354
|
-
copilot_user_hourly_tokens: {
|
|
1355
|
-
type: 'integer',
|
|
1356
|
-
minimum: 0,
|
|
1357
|
-
description: 'User-level maximum number of tokens Cloudfleet Copilot can process per hour.',
|
|
1358
|
-
example: 42000
|
|
1359
|
-
},
|
|
1360
|
-
copilot_organization_hourly_tokens: {
|
|
1361
|
-
type: 'integer',
|
|
1362
|
-
minimum: 0,
|
|
1363
|
-
description: 'Organization-level maximum number of tokens Cloudfleet Copilot can process per hour.',
|
|
1364
|
-
example: 242000
|
|
1365
|
-
},
|
|
1366
2659
|
cfcr_storage_gb: {
|
|
1367
2660
|
type: 'integer',
|
|
1368
2661
|
minimum: -1,
|
|
@@ -1375,12 +2668,12 @@ export const OrganizationSchema = {
|
|
|
1375
2668
|
'basic_clusters_available',
|
|
1376
2669
|
'pro_clusters_max',
|
|
1377
2670
|
'pro_clusters_available',
|
|
2671
|
+
'enterprise_clusters_max',
|
|
2672
|
+
'enterprise_clusters_available',
|
|
1378
2673
|
'fleets_max',
|
|
1379
2674
|
'cluster_tiers',
|
|
1380
2675
|
'regions',
|
|
1381
2676
|
'versions',
|
|
1382
|
-
'copilot_user_hourly_tokens',
|
|
1383
|
-
'copilot_organization_hourly_tokens',
|
|
1384
2677
|
'cfcr_storage_gb'
|
|
1385
2678
|
],
|
|
1386
2679
|
additionalProperties: false,
|
|
@@ -1394,13 +2687,25 @@ export const OrganizationSchema = {
|
|
|
1394
2687
|
'closed',
|
|
1395
2688
|
'suspended'
|
|
1396
2689
|
]
|
|
2690
|
+
},
|
|
2691
|
+
verification: {
|
|
2692
|
+
type: 'string',
|
|
2693
|
+
description: 'Verification status of the organization, which determines the assigned quota. `none` when billing information is incomplete, `submitted` when billing information is complete but the organization is not yet verified, `verified` when the organization is verified.',
|
|
2694
|
+
example: 'verified',
|
|
2695
|
+
enum: [
|
|
2696
|
+
'none',
|
|
2697
|
+
'submitted',
|
|
2698
|
+
'verified'
|
|
2699
|
+
]
|
|
1397
2700
|
}
|
|
1398
2701
|
},
|
|
1399
2702
|
required: [
|
|
1400
2703
|
'id',
|
|
2704
|
+
'type',
|
|
1401
2705
|
'date_created',
|
|
1402
2706
|
'quota',
|
|
1403
|
-
'status'
|
|
2707
|
+
'status',
|
|
2708
|
+
'verification'
|
|
1404
2709
|
],
|
|
1405
2710
|
additionalProperties: false
|
|
1406
2711
|
};
|
|
@@ -1409,28 +2714,23 @@ export const PaymentMethodSchema = {
|
|
|
1409
2714
|
properties: {
|
|
1410
2715
|
id: {
|
|
1411
2716
|
type: 'string',
|
|
1412
|
-
|
|
1413
|
-
|
|
1414
|
-
example: 'e94d30ec-a2dd-4dcb-832c-ac2be144ba91'
|
|
1415
|
-
},
|
|
1416
|
-
setup: {
|
|
1417
|
-
type: 'boolean',
|
|
1418
|
-
description: 'Whether organization payment method was set up and ready to use for payments.',
|
|
1419
|
-
example: true
|
|
2717
|
+
description: 'Payment method identifier. Stripe payment method id for cards/SEPA; the constant `bank_transfer` for the invoice/bank-transfer method. Used to set as default or delete the payment method.',
|
|
2718
|
+
example: 'pm_1MtwBwLkdIwHu7ix28a3tqPa'
|
|
1420
2719
|
},
|
|
1421
2720
|
type: {
|
|
1422
2721
|
type: 'string',
|
|
1423
|
-
|
|
1424
|
-
description: 'Payment method type type. Only `card` payments supported at the moment.',
|
|
2722
|
+
description: 'Payment method type. `card`, `sepa_debit` for SEPA Direct Debit (business accounts only), or `bank_transfer` for paying invoices by bank transfer.',
|
|
1425
2723
|
example: 'card',
|
|
1426
2724
|
enum: [
|
|
1427
|
-
'card'
|
|
2725
|
+
'card',
|
|
2726
|
+
'sepa_debit',
|
|
2727
|
+
'bank_transfer'
|
|
1428
2728
|
]
|
|
1429
2729
|
},
|
|
1430
2730
|
last4: {
|
|
1431
2731
|
type: 'string',
|
|
1432
2732
|
nullable: true,
|
|
1433
|
-
description: 'Last 4 digits of the payment card number.',
|
|
2733
|
+
description: 'Last 4 digits of the payment card number, of the bank account (IBAN) for SEPA Direct Debit, or of the destination IBAN for bank transfer.',
|
|
1434
2734
|
example: '4242'
|
|
1435
2735
|
},
|
|
1436
2736
|
exp_month: {
|
|
@@ -1438,42 +2738,56 @@ export const PaymentMethodSchema = {
|
|
|
1438
2738
|
minimum: 1,
|
|
1439
2739
|
maximum: 12,
|
|
1440
2740
|
nullable: true,
|
|
1441
|
-
description: 'Two-digit number representing the card\'s expiration month.',
|
|
1442
|
-
example:
|
|
2741
|
+
description: 'Two-digit number representing the card\'s expiration month. Null for SEPA Direct Debit and bank transfer.',
|
|
2742
|
+
example: 12
|
|
1443
2743
|
},
|
|
1444
2744
|
exp_year: {
|
|
1445
2745
|
type: 'integer',
|
|
1446
|
-
minimum: 2024,
|
|
1447
2746
|
nullable: true,
|
|
1448
|
-
description: 'Four-digit number representing the card\'s expiration year.',
|
|
1449
|
-
example:
|
|
2747
|
+
description: 'Four-digit number representing the card\'s expiration year. May be in the past for an expired card still on file. Null for SEPA Direct Debit and bank transfer.',
|
|
2748
|
+
example: 2028
|
|
1450
2749
|
},
|
|
1451
2750
|
brand: {
|
|
1452
2751
|
type: 'string',
|
|
1453
2752
|
nullable: true,
|
|
1454
|
-
description: 'Payment card brand
|
|
1455
|
-
example: 'visa'
|
|
1456
|
-
|
|
1457
|
-
|
|
1458
|
-
|
|
1459
|
-
|
|
1460
|
-
|
|
1461
|
-
|
|
1462
|
-
|
|
1463
|
-
|
|
1464
|
-
|
|
1465
|
-
|
|
1466
|
-
|
|
2753
|
+
description: 'Payment card brand as reported by Stripe, e.g. `visa`, `mastercard`, `amex`, `cartes_bancaires`, or `unknown`. Null for SEPA Direct Debit and bank transfer.',
|
|
2754
|
+
example: 'visa'
|
|
2755
|
+
},
|
|
2756
|
+
iban: {
|
|
2757
|
+
type: 'string',
|
|
2758
|
+
nullable: true,
|
|
2759
|
+
description: 'Full destination IBAN to send bank transfers to. Set only for `bank_transfer`; null otherwise. This is Cloudfleet\'s virtual receiving account, shown in full so the customer can pay into it.',
|
|
2760
|
+
example: 'DE11243015658023127510'
|
|
2761
|
+
},
|
|
2762
|
+
bic: {
|
|
2763
|
+
type: 'string',
|
|
2764
|
+
nullable: true,
|
|
2765
|
+
description: 'BIC/SWIFT of the destination bank for bank transfers. Set only for `bank_transfer`; null otherwise.',
|
|
2766
|
+
example: 'SOGEDEFFXXX'
|
|
2767
|
+
},
|
|
2768
|
+
account_holder_name: {
|
|
2769
|
+
type: 'string',
|
|
2770
|
+
nullable: true,
|
|
2771
|
+
description: 'Account holder name of the destination bank account for bank transfers. Set only for `bank_transfer`; null otherwise.',
|
|
2772
|
+
example: 'Cloudfleet GmbH'
|
|
2773
|
+
},
|
|
2774
|
+
is_default: {
|
|
2775
|
+
type: 'boolean',
|
|
2776
|
+
description: 'Whether this payment method is the default used for invoices and active subscriptions. Always false for `bank_transfer` (it cannot be a Stripe default payment method).',
|
|
2777
|
+
example: true
|
|
1467
2778
|
}
|
|
1468
2779
|
},
|
|
1469
2780
|
required: [
|
|
1470
2781
|
'id',
|
|
1471
|
-
'setup',
|
|
1472
2782
|
'type',
|
|
1473
2783
|
'last4',
|
|
1474
2784
|
'exp_month',
|
|
1475
2785
|
'exp_year',
|
|
1476
|
-
'brand'
|
|
2786
|
+
'brand',
|
|
2787
|
+
'iban',
|
|
2788
|
+
'bic',
|
|
2789
|
+
'account_holder_name',
|
|
2790
|
+
'is_default'
|
|
1477
2791
|
],
|
|
1478
2792
|
additionalProperties: false
|
|
1479
2793
|
};
|
|
@@ -1502,6 +2816,17 @@ export const PlatformQuotaSchema = {
|
|
|
1502
2816
|
description: 'Available number of Pro clusters that can be created.',
|
|
1503
2817
|
example: 999
|
|
1504
2818
|
},
|
|
2819
|
+
enterprise_clusters_max: {
|
|
2820
|
+
type: 'integer',
|
|
2821
|
+
minimum: 0,
|
|
2822
|
+
description: 'Maximum number of Enterprise clusters that can be created.',
|
|
2823
|
+
example: 999
|
|
2824
|
+
},
|
|
2825
|
+
enterprise_clusters_available: {
|
|
2826
|
+
type: 'integer',
|
|
2827
|
+
description: 'Available number of Enterprise clusters that can be created.',
|
|
2828
|
+
example: 999
|
|
2829
|
+
},
|
|
1505
2830
|
fleets_max: {
|
|
1506
2831
|
type: 'integer',
|
|
1507
2832
|
minimum: 0,
|
|
@@ -1521,7 +2846,7 @@ export const PlatformQuotaSchema = {
|
|
|
1521
2846
|
type: 'array',
|
|
1522
2847
|
items: {
|
|
1523
2848
|
type: 'string',
|
|
1524
|
-
example: 'northamerica-central-
|
|
2849
|
+
example: 'northamerica-central-1a'
|
|
1525
2850
|
},
|
|
1526
2851
|
minItems: 1,
|
|
1527
2852
|
description: 'List of Cloudfleet control plane regions available for the organization.'
|
|
@@ -1551,18 +2876,6 @@ export const PlatformQuotaSchema = {
|
|
|
1551
2876
|
minItems: 1,
|
|
1552
2877
|
description: 'List of CFKE control plane versions available for the organization.'
|
|
1553
2878
|
},
|
|
1554
|
-
copilot_user_hourly_tokens: {
|
|
1555
|
-
type: 'integer',
|
|
1556
|
-
minimum: 0,
|
|
1557
|
-
description: 'User-level maximum number of tokens Cloudfleet Copilot can process per hour.',
|
|
1558
|
-
example: 42000
|
|
1559
|
-
},
|
|
1560
|
-
copilot_organization_hourly_tokens: {
|
|
1561
|
-
type: 'integer',
|
|
1562
|
-
minimum: 0,
|
|
1563
|
-
description: 'Organization-level maximum number of tokens Cloudfleet Copilot can process per hour.',
|
|
1564
|
-
example: 242000
|
|
1565
|
-
},
|
|
1566
2879
|
cfcr_storage_gb: {
|
|
1567
2880
|
type: 'integer',
|
|
1568
2881
|
minimum: -1,
|
|
@@ -1575,12 +2888,12 @@ export const PlatformQuotaSchema = {
|
|
|
1575
2888
|
'basic_clusters_available',
|
|
1576
2889
|
'pro_clusters_max',
|
|
1577
2890
|
'pro_clusters_available',
|
|
2891
|
+
'enterprise_clusters_max',
|
|
2892
|
+
'enterprise_clusters_available',
|
|
1578
2893
|
'fleets_max',
|
|
1579
2894
|
'cluster_tiers',
|
|
1580
2895
|
'regions',
|
|
1581
2896
|
'versions',
|
|
1582
|
-
'copilot_user_hourly_tokens',
|
|
1583
|
-
'copilot_organization_hourly_tokens',
|
|
1584
2897
|
'cfcr_storage_gb'
|
|
1585
2898
|
],
|
|
1586
2899
|
additionalProperties: false
|
|
@@ -1850,6 +3163,329 @@ export const RegistryTagSchema = {
|
|
|
1850
3163
|
],
|
|
1851
3164
|
additionalProperties: false
|
|
1852
3165
|
};
|
|
3166
|
+
export const TicketAttachmentSchema = {
|
|
3167
|
+
type: 'object',
|
|
3168
|
+
properties: {
|
|
3169
|
+
id: {
|
|
3170
|
+
type: 'string',
|
|
3171
|
+
description: 'Unique identifier of the attachment (Mongo ObjectId).',
|
|
3172
|
+
example: '60c72b2f9f1b2c001f8e4d3c'
|
|
3173
|
+
},
|
|
3174
|
+
filename: {
|
|
3175
|
+
type: 'string',
|
|
3176
|
+
description: 'Original filename as uploaded.',
|
|
3177
|
+
example: 'debug.log'
|
|
3178
|
+
},
|
|
3179
|
+
content_type: {
|
|
3180
|
+
type: 'string',
|
|
3181
|
+
description: 'MIME content type of the attachment.',
|
|
3182
|
+
example: 'text/plain'
|
|
3183
|
+
},
|
|
3184
|
+
size: {
|
|
3185
|
+
type: 'integer',
|
|
3186
|
+
description: 'Size of the attachment in bytes.',
|
|
3187
|
+
example: 12345
|
|
3188
|
+
}
|
|
3189
|
+
},
|
|
3190
|
+
required: [
|
|
3191
|
+
'id',
|
|
3192
|
+
'filename',
|
|
3193
|
+
'content_type',
|
|
3194
|
+
'size'
|
|
3195
|
+
],
|
|
3196
|
+
additionalProperties: false
|
|
3197
|
+
};
|
|
3198
|
+
export const TicketCreateInputSchema = {
|
|
3199
|
+
type: 'object',
|
|
3200
|
+
properties: {
|
|
3201
|
+
category: {
|
|
3202
|
+
type: 'string',
|
|
3203
|
+
description: 'Ticket category. Drives auto-assignment and may carry a subcategory in `properties`.',
|
|
3204
|
+
example: 'technical',
|
|
3205
|
+
enum: [
|
|
3206
|
+
'billing',
|
|
3207
|
+
'technical',
|
|
3208
|
+
'general'
|
|
3209
|
+
]
|
|
3210
|
+
},
|
|
3211
|
+
body: {
|
|
3212
|
+
type: 'string',
|
|
3213
|
+
maxLength: 50000,
|
|
3214
|
+
minLength: 1,
|
|
3215
|
+
pattern: '\\S',
|
|
3216
|
+
description: 'Initial message body in markdown. There is no separate subject — the first message body is the description.',
|
|
3217
|
+
example: 'My cluster cannot reach the registry. Logs attached.'
|
|
3218
|
+
},
|
|
3219
|
+
properties: {
|
|
3220
|
+
type: 'object',
|
|
3221
|
+
additionalProperties: true,
|
|
3222
|
+
description: 'Free-form key/value bag set by the UI (e.g. `subcategory`, `cluster_id`, `cluster_name`, `region`).',
|
|
3223
|
+
example: {
|
|
3224
|
+
subcategory: 'cluster-question',
|
|
3225
|
+
cluster_id: '60c72b2f9f1b2c001f8e4d3a'
|
|
3226
|
+
}
|
|
3227
|
+
}
|
|
3228
|
+
},
|
|
3229
|
+
required: [
|
|
3230
|
+
'category',
|
|
3231
|
+
'body'
|
|
3232
|
+
],
|
|
3233
|
+
additionalProperties: false
|
|
3234
|
+
};
|
|
3235
|
+
export const TicketMessageInputSchema = {
|
|
3236
|
+
type: 'object',
|
|
3237
|
+
properties: {
|
|
3238
|
+
body: {
|
|
3239
|
+
type: 'string',
|
|
3240
|
+
maxLength: 50000,
|
|
3241
|
+
minLength: 1,
|
|
3242
|
+
pattern: '\\S',
|
|
3243
|
+
description: 'Reply body in markdown.',
|
|
3244
|
+
example: 'Thanks — that resolved it on my side.'
|
|
3245
|
+
}
|
|
3246
|
+
},
|
|
3247
|
+
required: [
|
|
3248
|
+
'body'
|
|
3249
|
+
],
|
|
3250
|
+
additionalProperties: false
|
|
3251
|
+
};
|
|
3252
|
+
export const TicketMessageSchema = {
|
|
3253
|
+
type: 'object',
|
|
3254
|
+
properties: {
|
|
3255
|
+
id: {
|
|
3256
|
+
type: 'string',
|
|
3257
|
+
description: 'Unique identifier of the message (Mongo ObjectId).',
|
|
3258
|
+
example: '60c72b2f9f1b2c001f8e4d3b'
|
|
3259
|
+
},
|
|
3260
|
+
type: {
|
|
3261
|
+
type: 'string',
|
|
3262
|
+
description: 'Message type. Internal notes are filtered out of customer-facing responses.',
|
|
3263
|
+
example: 'customer_reply',
|
|
3264
|
+
enum: [
|
|
3265
|
+
'customer_reply',
|
|
3266
|
+
'agent_reply'
|
|
3267
|
+
]
|
|
3268
|
+
},
|
|
3269
|
+
body: {
|
|
3270
|
+
type: 'string',
|
|
3271
|
+
description: 'Message body in markdown.',
|
|
3272
|
+
example: 'Thanks — that resolved it on my side.'
|
|
3273
|
+
},
|
|
3274
|
+
author_first_name: {
|
|
3275
|
+
type: 'string',
|
|
3276
|
+
nullable: true,
|
|
3277
|
+
description: 'First name of the author. Null when not provided.',
|
|
3278
|
+
example: 'Jane'
|
|
3279
|
+
},
|
|
3280
|
+
author_last_name: {
|
|
3281
|
+
type: 'string',
|
|
3282
|
+
nullable: true,
|
|
3283
|
+
description: 'Last name of the author. Null when not provided.',
|
|
3284
|
+
example: 'Doe'
|
|
3285
|
+
},
|
|
3286
|
+
attachments: {
|
|
3287
|
+
type: 'array',
|
|
3288
|
+
items: {
|
|
3289
|
+
type: 'object',
|
|
3290
|
+
properties: {
|
|
3291
|
+
id: {
|
|
3292
|
+
type: 'string',
|
|
3293
|
+
description: 'Unique identifier of the attachment (Mongo ObjectId).',
|
|
3294
|
+
example: '60c72b2f9f1b2c001f8e4d3c'
|
|
3295
|
+
},
|
|
3296
|
+
filename: {
|
|
3297
|
+
type: 'string',
|
|
3298
|
+
description: 'Original filename as uploaded.',
|
|
3299
|
+
example: 'debug.log'
|
|
3300
|
+
},
|
|
3301
|
+
content_type: {
|
|
3302
|
+
type: 'string',
|
|
3303
|
+
description: 'MIME content type of the attachment.',
|
|
3304
|
+
example: 'text/plain'
|
|
3305
|
+
},
|
|
3306
|
+
size: {
|
|
3307
|
+
type: 'integer',
|
|
3308
|
+
description: 'Size of the attachment in bytes.',
|
|
3309
|
+
example: 12345
|
|
3310
|
+
}
|
|
3311
|
+
},
|
|
3312
|
+
required: [
|
|
3313
|
+
'id',
|
|
3314
|
+
'filename',
|
|
3315
|
+
'content_type',
|
|
3316
|
+
'size'
|
|
3317
|
+
],
|
|
3318
|
+
additionalProperties: false
|
|
3319
|
+
},
|
|
3320
|
+
description: 'Attachments associated with this message.',
|
|
3321
|
+
example: []
|
|
3322
|
+
},
|
|
3323
|
+
date_created: {
|
|
3324
|
+
type: 'string',
|
|
3325
|
+
format: 'date-time',
|
|
3326
|
+
description: 'Creation date of the message. ISO 8601 UTC.',
|
|
3327
|
+
example: '2026-05-11T16:08:14.338Z'
|
|
3328
|
+
}
|
|
3329
|
+
},
|
|
3330
|
+
required: [
|
|
3331
|
+
'id',
|
|
3332
|
+
'type',
|
|
3333
|
+
'body',
|
|
3334
|
+
'date_created'
|
|
3335
|
+
],
|
|
3336
|
+
additionalProperties: false
|
|
3337
|
+
};
|
|
3338
|
+
export const TicketSchema = {
|
|
3339
|
+
type: 'object',
|
|
3340
|
+
properties: {
|
|
3341
|
+
id: {
|
|
3342
|
+
type: 'string',
|
|
3343
|
+
description: 'Unique identifier of the ticket (Mongo ObjectId).',
|
|
3344
|
+
example: '60c72b2f9f1b2c001f8e4d3a'
|
|
3345
|
+
},
|
|
3346
|
+
status: {
|
|
3347
|
+
type: 'string',
|
|
3348
|
+
description: 'Current state of the ticket.',
|
|
3349
|
+
example: 'waiting_on_us',
|
|
3350
|
+
enum: [
|
|
3351
|
+
'waiting_on_us',
|
|
3352
|
+
'waiting_on_user',
|
|
3353
|
+
'closed'
|
|
3354
|
+
]
|
|
3355
|
+
},
|
|
3356
|
+
category: {
|
|
3357
|
+
type: 'string',
|
|
3358
|
+
description: 'Ticket category.',
|
|
3359
|
+
example: 'technical',
|
|
3360
|
+
enum: [
|
|
3361
|
+
'billing',
|
|
3362
|
+
'technical',
|
|
3363
|
+
'general'
|
|
3364
|
+
]
|
|
3365
|
+
},
|
|
3366
|
+
summary: {
|
|
3367
|
+
type: 'string',
|
|
3368
|
+
description: 'First 128 characters of the initial message body, with markdown formatting and newlines stripped. Used for ticket list previews.',
|
|
3369
|
+
example: 'My cluster cannot reach the registry. Logs attached.'
|
|
3370
|
+
},
|
|
3371
|
+
closed_at: {
|
|
3372
|
+
type: 'string',
|
|
3373
|
+
format: 'date-time',
|
|
3374
|
+
nullable: true,
|
|
3375
|
+
description: 'Closure timestamp. Null while the ticket is open.',
|
|
3376
|
+
example: '2026-05-18T16:08:14.338Z'
|
|
3377
|
+
},
|
|
3378
|
+
date_created: {
|
|
3379
|
+
type: 'string',
|
|
3380
|
+
format: 'date-time',
|
|
3381
|
+
description: 'Creation date of the ticket. ISO 8601 UTC.',
|
|
3382
|
+
example: '2026-05-11T16:08:14.338Z'
|
|
3383
|
+
},
|
|
3384
|
+
date_updated: {
|
|
3385
|
+
type: 'string',
|
|
3386
|
+
format: 'date-time',
|
|
3387
|
+
description: 'Last update date of the ticket. ISO 8601 UTC.',
|
|
3388
|
+
example: '2026-05-11T16:08:14.338Z'
|
|
3389
|
+
},
|
|
3390
|
+
messages: {
|
|
3391
|
+
type: 'array',
|
|
3392
|
+
items: {
|
|
3393
|
+
type: 'object',
|
|
3394
|
+
properties: {
|
|
3395
|
+
id: {
|
|
3396
|
+
type: 'string',
|
|
3397
|
+
description: 'Unique identifier of the message (Mongo ObjectId).',
|
|
3398
|
+
example: '60c72b2f9f1b2c001f8e4d3b'
|
|
3399
|
+
},
|
|
3400
|
+
type: {
|
|
3401
|
+
type: 'string',
|
|
3402
|
+
description: 'Message type. Internal notes are filtered out of customer-facing responses.',
|
|
3403
|
+
example: 'customer_reply',
|
|
3404
|
+
enum: [
|
|
3405
|
+
'customer_reply',
|
|
3406
|
+
'agent_reply'
|
|
3407
|
+
]
|
|
3408
|
+
},
|
|
3409
|
+
body: {
|
|
3410
|
+
type: 'string',
|
|
3411
|
+
description: 'Message body in markdown.',
|
|
3412
|
+
example: 'Thanks — that resolved it on my side.'
|
|
3413
|
+
},
|
|
3414
|
+
author_first_name: {
|
|
3415
|
+
type: 'string',
|
|
3416
|
+
description: 'First name of the author. Null when not provided.',
|
|
3417
|
+
example: 'Jane'
|
|
3418
|
+
},
|
|
3419
|
+
author_last_name: {
|
|
3420
|
+
type: 'string',
|
|
3421
|
+
description: 'Last name of the author. Null when not provided.',
|
|
3422
|
+
example: 'Doe'
|
|
3423
|
+
},
|
|
3424
|
+
attachments: {
|
|
3425
|
+
type: 'array',
|
|
3426
|
+
items: {
|
|
3427
|
+
type: 'object',
|
|
3428
|
+
properties: {
|
|
3429
|
+
id: {
|
|
3430
|
+
type: 'string',
|
|
3431
|
+
description: 'Unique identifier of the attachment (Mongo ObjectId).',
|
|
3432
|
+
example: '60c72b2f9f1b2c001f8e4d3c'
|
|
3433
|
+
},
|
|
3434
|
+
filename: {
|
|
3435
|
+
type: 'string',
|
|
3436
|
+
description: 'Original filename as uploaded.',
|
|
3437
|
+
example: 'debug.log'
|
|
3438
|
+
},
|
|
3439
|
+
content_type: {
|
|
3440
|
+
type: 'string',
|
|
3441
|
+
description: 'MIME content type of the attachment.',
|
|
3442
|
+
example: 'text/plain'
|
|
3443
|
+
},
|
|
3444
|
+
size: {
|
|
3445
|
+
type: 'integer',
|
|
3446
|
+
description: 'Size of the attachment in bytes.',
|
|
3447
|
+
example: 12345
|
|
3448
|
+
}
|
|
3449
|
+
},
|
|
3450
|
+
required: [
|
|
3451
|
+
'id',
|
|
3452
|
+
'filename',
|
|
3453
|
+
'content_type',
|
|
3454
|
+
'size'
|
|
3455
|
+
],
|
|
3456
|
+
additionalProperties: false
|
|
3457
|
+
},
|
|
3458
|
+
description: 'Attachments associated with this message.',
|
|
3459
|
+
example: []
|
|
3460
|
+
},
|
|
3461
|
+
date_created: {
|
|
3462
|
+
type: 'string',
|
|
3463
|
+
format: 'date-time',
|
|
3464
|
+
description: 'Creation date of the message. ISO 8601 UTC.',
|
|
3465
|
+
example: '2026-05-11T16:08:14.338Z'
|
|
3466
|
+
}
|
|
3467
|
+
},
|
|
3468
|
+
required: [
|
|
3469
|
+
'id',
|
|
3470
|
+
'type',
|
|
3471
|
+
'body',
|
|
3472
|
+
'date_created'
|
|
3473
|
+
],
|
|
3474
|
+
additionalProperties: false
|
|
3475
|
+
},
|
|
3476
|
+
description: 'Messages on the ticket in chronological order. Internal notes are excluded. Returned by the detail endpoint only.'
|
|
3477
|
+
}
|
|
3478
|
+
},
|
|
3479
|
+
required: [
|
|
3480
|
+
'id',
|
|
3481
|
+
'status',
|
|
3482
|
+
'category',
|
|
3483
|
+
'summary',
|
|
3484
|
+
'date_created',
|
|
3485
|
+
'date_updated'
|
|
3486
|
+
],
|
|
3487
|
+
additionalProperties: false
|
|
3488
|
+
};
|
|
1853
3489
|
export const TokenCreateInputSchema = {
|
|
1854
3490
|
type: 'object',
|
|
1855
3491
|
properties: {
|
|
@@ -1960,12 +3596,21 @@ export const UsageFacetsSchema = {
|
|
|
1960
3596
|
product: {
|
|
1961
3597
|
type: 'array',
|
|
1962
3598
|
items: {
|
|
1963
|
-
type: 'string'
|
|
3599
|
+
type: 'string',
|
|
3600
|
+
enum: [
|
|
3601
|
+
'cfke_controlplane_basic',
|
|
3602
|
+
'cfke_controlplane_pro',
|
|
3603
|
+
'cfke_controlplane_enterprise',
|
|
3604
|
+
'cfke_connected_nodes_basic',
|
|
3605
|
+
'cfke_connected_nodes_pro',
|
|
3606
|
+
'cfke_connected_nodes_enterprise',
|
|
3607
|
+
'cfcr_storage'
|
|
3608
|
+
]
|
|
1964
3609
|
},
|
|
1965
3610
|
description: 'List of unique products',
|
|
1966
3611
|
example: [
|
|
1967
|
-
'
|
|
1968
|
-
'
|
|
3612
|
+
'cfke_controlplane_pro',
|
|
3613
|
+
'cfke_connected_nodes_pro'
|
|
1969
3614
|
]
|
|
1970
3615
|
}
|
|
1971
3616
|
},
|
|
@@ -1992,7 +3637,16 @@ export const UsageResponseSchema = {
|
|
|
1992
3637
|
product: {
|
|
1993
3638
|
type: 'string',
|
|
1994
3639
|
description: 'The product the usage is associated with',
|
|
1995
|
-
example: '
|
|
3640
|
+
example: 'cfke_controlplane_pro',
|
|
3641
|
+
enum: [
|
|
3642
|
+
'cfke_controlplane_basic',
|
|
3643
|
+
'cfke_controlplane_pro',
|
|
3644
|
+
'cfke_controlplane_enterprise',
|
|
3645
|
+
'cfke_connected_nodes_basic',
|
|
3646
|
+
'cfke_connected_nodes_pro',
|
|
3647
|
+
'cfke_connected_nodes_enterprise',
|
|
3648
|
+
'cfcr_storage'
|
|
3649
|
+
]
|
|
1996
3650
|
},
|
|
1997
3651
|
value: {
|
|
1998
3652
|
type: 'number',
|
|
@@ -2040,12 +3694,21 @@ export const UsageResponseSchema = {
|
|
|
2040
3694
|
product: {
|
|
2041
3695
|
type: 'array',
|
|
2042
3696
|
items: {
|
|
2043
|
-
type: 'string'
|
|
3697
|
+
type: 'string',
|
|
3698
|
+
enum: [
|
|
3699
|
+
'cfke_controlplane_basic',
|
|
3700
|
+
'cfke_controlplane_pro',
|
|
3701
|
+
'cfke_controlplane_enterprise',
|
|
3702
|
+
'cfke_connected_nodes_basic',
|
|
3703
|
+
'cfke_connected_nodes_pro',
|
|
3704
|
+
'cfke_connected_nodes_enterprise',
|
|
3705
|
+
'cfcr_storage'
|
|
3706
|
+
]
|
|
2044
3707
|
},
|
|
2045
3708
|
description: 'List of unique products',
|
|
2046
3709
|
example: [
|
|
2047
|
-
'
|
|
2048
|
-
'
|
|
3710
|
+
'cfke_controlplane_pro',
|
|
3711
|
+
'cfke_connected_nodes_pro'
|
|
2049
3712
|
]
|
|
2050
3713
|
}
|
|
2051
3714
|
},
|
|
@@ -2075,7 +3738,16 @@ export const UsageSchema = {
|
|
|
2075
3738
|
product: {
|
|
2076
3739
|
type: 'string',
|
|
2077
3740
|
description: 'The product the usage is associated with',
|
|
2078
|
-
example: '
|
|
3741
|
+
example: 'cfke_controlplane_pro',
|
|
3742
|
+
enum: [
|
|
3743
|
+
'cfke_controlplane_basic',
|
|
3744
|
+
'cfke_controlplane_pro',
|
|
3745
|
+
'cfke_controlplane_enterprise',
|
|
3746
|
+
'cfke_connected_nodes_basic',
|
|
3747
|
+
'cfke_connected_nodes_pro',
|
|
3748
|
+
'cfke_connected_nodes_enterprise',
|
|
3749
|
+
'cfcr_storage'
|
|
3750
|
+
]
|
|
2079
3751
|
},
|
|
2080
3752
|
value: {
|
|
2081
3753
|
type: 'number',
|
|
@@ -2138,24 +3810,6 @@ export const UserCreateInputSchema = {
|
|
|
2138
3810
|
type: 'string',
|
|
2139
3811
|
minLength: 8,
|
|
2140
3812
|
description: 'User password. Must be at least 8 characters long.'
|
|
2141
|
-
},
|
|
2142
|
-
status: {
|
|
2143
|
-
type: 'string',
|
|
2144
|
-
description: 'Status of the user. Can be `active` or `inactive`. Inactive users cannot log in or manage organization resources.',
|
|
2145
|
-
example: 'active',
|
|
2146
|
-
enum: [
|
|
2147
|
-
'active',
|
|
2148
|
-
'inactive'
|
|
2149
|
-
]
|
|
2150
|
-
},
|
|
2151
|
-
role: {
|
|
2152
|
-
type: 'string',
|
|
2153
|
-
description: 'User role. Can be \'Administrator\', \'User\'.',
|
|
2154
|
-
example: 'User',
|
|
2155
|
-
enum: [
|
|
2156
|
-
'Administrator',
|
|
2157
|
-
'User'
|
|
2158
|
-
]
|
|
2159
3813
|
}
|
|
2160
3814
|
},
|
|
2161
3815
|
required: [
|