@cloudfleet/sdk 0.0.1-ac77333 → 0.0.1-aca000f
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 +224 -43
- package/dist/schemas.gen.d.ts.map +1 -1
- package/dist/schemas.gen.js +959 -55
- package/dist/schemas.gen.js.map +1 -1
- package/dist/types.gen.d.ts +124 -33
- package/dist/types.gen.d.ts.map +1 -1
- package/dist/zod.gen.d.ts +1771 -49
- package/dist/zod.gen.d.ts.map +1 -1
- package/dist/zod.gen.js +725 -24
- package/dist/zod.gen.js.map +1 -1
- package/package.json +1 -1
package/dist/schemas.gen.d.ts
CHANGED
|
@@ -1,6 +1,12 @@
|
|
|
1
1
|
export declare const BillingContactSchema: {
|
|
2
2
|
readonly type: "object";
|
|
3
3
|
readonly properties: {
|
|
4
|
+
readonly type: {
|
|
5
|
+
readonly type: "string";
|
|
6
|
+
readonly description: "Type of the organization. `business` for legal entities, `personal` for individuals.";
|
|
7
|
+
readonly example: "business";
|
|
8
|
+
readonly enum: readonly ["business", "personal"];
|
|
9
|
+
};
|
|
4
10
|
readonly company: {
|
|
5
11
|
readonly type: "string";
|
|
6
12
|
readonly maxLength: 120;
|
|
@@ -76,7 +82,7 @@ export declare const BillingContactSchema: {
|
|
|
76
82
|
readonly enum: readonly ["ad_nrt", "ae_trn", "al_tin", "am_tin", "ao_tin", "ar_cuit", "at_vat", "au_abn", "au_arn", "ba_tin", "bb_tin", "be_vat", "bg_uic", "bg_vat", "bh_vat", "bo_tin", "br_cnpj", "br_cpf", "bs_tin", "by_tin", "ca_bn", "ca_gst_hst", "ca_pst_bc", "ca_pst_mb", "ca_pst_sk", "ca_qst", "cd_nif", "ch_uid", "ch_vat", "cl_tin", "cn_tin", "co_nit", "cr_tin", "cy_vat", "cz_vat", "de_stn", "de_vat", "dk_vat", "do_rcn", "ec_ruc", "ee_vat", "eg_tin", "es_cif", "es_vat", "eu_oss_vat", "fi_vat", "fr_vat", "gb_vat", "ge_vat", "gn_nif", "gr_vat", "hk_br", "hr_oib", "hr_vat", "hu_tin", "hu_vat", "id_npwp", "ie_vat", "il_vat", "in_gst", "is_vat", "it_vat", "jp_cn", "jp_rn", "jp_trn", "ke_pin", "kh_tin", "kr_brn", "kz_bin", "li_uid", "li_vat", "lt_vat", "lu_vat", "lv_vat", "ma_vat", "md_vat", "me_pib", "mk_vat", "mr_nif", "mt_vat", "mx_rfc", "my_frp", "my_itn", "my_sst", "ng_tin", "nl_vat", "no_vat", "no_voec", "np_pan", "nz_gst", "om_vat", "pe_ruc", "ph_tin", "pl_vat", "pt_vat", "ro_tin", "ro_vat", "rs_pib", "ru_inn", "ru_kpp", "sa_vat", "se_vat", "sg_gst", "sg_uen", "si_tin", "si_vat", "sk_vat", "sn_ninea", "sr_fin", "sv_nit", "th_vat", "tj_tin", "tr_tin", "tw_vat", "tz_vat", "ua_vat", "ug_tin", "us_ein", "uy_ruc", "uz_tin", "uz_vat", "ve_rif", "vn_tin", "xi_vat", "za_vat", "zm_tin", "zw_tin", ""];
|
|
77
83
|
};
|
|
78
84
|
};
|
|
79
|
-
readonly required: readonly ["email", "individual_name"];
|
|
85
|
+
readonly required: readonly ["type", "email", "individual_name"];
|
|
80
86
|
readonly additionalProperties: false;
|
|
81
87
|
};
|
|
82
88
|
export declare const BillingCreditsSchema: {
|
|
@@ -503,13 +509,12 @@ export declare const FleetCreateInputSchema: {
|
|
|
503
509
|
readonly type: "object";
|
|
504
510
|
readonly properties: {
|
|
505
511
|
readonly cpu: {
|
|
506
|
-
readonly type: "
|
|
507
|
-
readonly format: "float";
|
|
512
|
+
readonly type: "integer";
|
|
508
513
|
readonly minimum: 0;
|
|
509
|
-
readonly
|
|
514
|
+
readonly maximum: 100000;
|
|
515
|
+
readonly description: "CPU limit in cores. Maximum 100,000.";
|
|
510
516
|
};
|
|
511
517
|
};
|
|
512
|
-
readonly required: readonly ["cpu"];
|
|
513
518
|
readonly additionalProperties: false;
|
|
514
519
|
readonly description: "Limits define a set of bounds for provisioning capacity.";
|
|
515
520
|
};
|
|
@@ -518,14 +523,15 @@ export declare const FleetCreateInputSchema: {
|
|
|
518
523
|
readonly properties: {
|
|
519
524
|
readonly enabled: {
|
|
520
525
|
readonly type: "boolean";
|
|
521
|
-
readonly default: true;
|
|
522
526
|
};
|
|
523
527
|
readonly project: {
|
|
524
528
|
readonly type: "string";
|
|
525
|
-
readonly
|
|
529
|
+
readonly pattern: "^[a-z][a-z0-9-]{4,28}[a-z0-9]$";
|
|
530
|
+
readonly 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.";
|
|
531
|
+
readonly example: "my-cloudfleet-project";
|
|
526
532
|
};
|
|
527
533
|
};
|
|
528
|
-
readonly required: readonly ["
|
|
534
|
+
readonly required: readonly ["enabled"];
|
|
529
535
|
readonly additionalProperties: false;
|
|
530
536
|
};
|
|
531
537
|
readonly hetzner: {
|
|
@@ -533,14 +539,16 @@ export declare const FleetCreateInputSchema: {
|
|
|
533
539
|
readonly properties: {
|
|
534
540
|
readonly enabled: {
|
|
535
541
|
readonly type: "boolean";
|
|
536
|
-
readonly default: true;
|
|
537
542
|
};
|
|
538
543
|
readonly apiKey: {
|
|
539
544
|
readonly type: "string";
|
|
540
|
-
readonly
|
|
545
|
+
readonly maxLength: 64;
|
|
546
|
+
readonly minLength: 64;
|
|
547
|
+
readonly pattern: "^[A-Za-z0-9]+$";
|
|
548
|
+
readonly description: "Hetzner Cloud API token with read / write access (64 alphanumeric characters). Omit this field to keep the existing value.";
|
|
541
549
|
};
|
|
542
550
|
};
|
|
543
|
-
readonly required: readonly ["
|
|
551
|
+
readonly required: readonly ["enabled"];
|
|
544
552
|
readonly additionalProperties: false;
|
|
545
553
|
};
|
|
546
554
|
readonly aws: {
|
|
@@ -548,16 +556,67 @@ export declare const FleetCreateInputSchema: {
|
|
|
548
556
|
readonly properties: {
|
|
549
557
|
readonly enabled: {
|
|
550
558
|
readonly type: "boolean";
|
|
551
|
-
readonly default: true;
|
|
552
559
|
};
|
|
553
560
|
readonly controllerRoleArn: {
|
|
554
561
|
readonly type: "string";
|
|
555
|
-
readonly
|
|
562
|
+
readonly pattern: "^arn:aws(-[a-z]+)*:iam::\\d{12}:role\\/[\\w+=,.@/-]+$";
|
|
563
|
+
readonly description: "AWS IAM role ARN that Karpenter uses to manage resources. Omit when AWS is disabled.";
|
|
564
|
+
readonly example: "arn:aws:iam::123456789012:role/Cloudfleet";
|
|
556
565
|
};
|
|
557
566
|
};
|
|
558
|
-
readonly required: readonly ["
|
|
567
|
+
readonly required: readonly ["enabled"];
|
|
559
568
|
readonly additionalProperties: false;
|
|
560
569
|
};
|
|
570
|
+
readonly constraints: {
|
|
571
|
+
readonly type: "object";
|
|
572
|
+
readonly properties: {
|
|
573
|
+
readonly 'karpenter.sh/capacity-type': {
|
|
574
|
+
readonly type: "array";
|
|
575
|
+
readonly items: {
|
|
576
|
+
readonly type: "string";
|
|
577
|
+
readonly enum: readonly ["on-demand", "spot"];
|
|
578
|
+
};
|
|
579
|
+
readonly minItems: 1;
|
|
580
|
+
readonly description: "Allowed values for `karpenter.sh/capacity-type`.";
|
|
581
|
+
readonly default: readonly ["on-demand", "spot"];
|
|
582
|
+
};
|
|
583
|
+
readonly 'kubernetes.io/arch': {
|
|
584
|
+
readonly type: "array";
|
|
585
|
+
readonly items: {
|
|
586
|
+
readonly type: "string";
|
|
587
|
+
readonly enum: readonly ["amd64", "arm64"];
|
|
588
|
+
};
|
|
589
|
+
readonly minItems: 1;
|
|
590
|
+
readonly description: "Allowed values for `kubernetes.io/arch`.";
|
|
591
|
+
readonly default: readonly ["amd64"];
|
|
592
|
+
};
|
|
593
|
+
readonly 'cfke.io/instance-family': {
|
|
594
|
+
readonly type: "array";
|
|
595
|
+
readonly items: {
|
|
596
|
+
readonly type: "string";
|
|
597
|
+
readonly enum: readonly ["a1", "a2", "a3", "a4", "c1", "c2", "c2d", "c3", "c3d", "c4", "c4a", "c4d", "c5", "c5a", "c5ad", "c5d", "c5n", "c6a", "c6g", "c6gd", "c6gn", "c6i", "c6id", "c6in", "c7a", "c7g", "c7gd", "c7gn", "c7i", "c7i-flex", "c8g", "c8gd", "cax", "ccx", "cpx", "cx", "d2", "d3", "d3en", "dl1", "dl2q", "e2", "f1", "f2", "g1", "g2", "g4ad", "g4dn", "g5", "g5g", "g6", "g6e", "gr6", "h1", "h3", "hpc6a", "hpc6id", "hpc7a", "hpc7g", "i2", "i3", "i3en", "i4g", "i4i", "i7i", "i7ie", "i8g", "im4gn", "inf1", "inf2", "is4gen", "m1", "m2", "m3", "m4", "m5", "m5a", "m5ad", "m5d", "m5dn", "m5n", "m5zn", "m6a", "m6g", "m6gd", "m6i", "m6id", "m6idn", "m6in", "m7a", "m7g", "m7gd", "m7i", "m7i-flex", "m8g", "m8gd", "n1", "n2", "n2d", "n4", "p3", "p3dn", "p4d", "p4de", "p5", "p5e", "p5en", "p6-b200", "r3", "r4", "r5", "r5a", "r5ad", "r5b", "r5d", "r5dn", "r5n", "r6a", "r6g", "r6gd", "r6i", "r6id", "r6idn", "r6in", "r7a", "r7g", "r7gd", "r7i", "r7iz", "r8g", "r8gd", "t2", "t2a", "t2d", "t3", "t3a", "t4g", "trn1", "trn1n", "u-3tb1", "u-6tb1", "u7i-12tb", "u7i-6tb", "u7i-8tb", "u7in-16tb", "u7in-24tb", "u7in-32tb", "vt1", "x1", "x1e", "x2gd", "x2idn", "x2iedn", "x2iezn", "x4", "x8g", "z1d", "z3"];
|
|
598
|
+
};
|
|
599
|
+
readonly description: "Allowed values for `cfke.io/instance-family`.";
|
|
600
|
+
};
|
|
601
|
+
readonly 'topology.kubernetes.io/region': {
|
|
602
|
+
readonly type: "array";
|
|
603
|
+
readonly items: {
|
|
604
|
+
readonly type: "string";
|
|
605
|
+
readonly enum: readonly ["africa-south1", "ap-northeast-1", "ap-northeast-2", "ap-northeast-3", "ap-south-1", "ap-southeast-1", "ap-southeast-2", "ash", "asia-east1", "asia-east2", "asia-northeast1", "asia-northeast2", "asia-northeast3", "asia-south1", "asia-south2", "asia-southeast1", "asia-southeast2", "australia-southeast1", "australia-southeast2", "ca-central-1", "eu-central-1", "eu-central-2", "eu-north-1", "eu-west-1", "eu-west-2", "eu-west-3", "europe-central2", "europe-north1", "europe-southwest1", "europe-west1", "europe-west10", "europe-west12", "europe-west2", "europe-west3", "europe-west4", "europe-west6", "europe-west8", "europe-west9", "fsn1", "hel1", "hil", "me-central1", "me-central2", "me-west1", "nbg1", "northamerica-northeast1", "northamerica-northeast2", "sa-east-1", "sin", "southamerica-east1", "southamerica-west1", "us-central1", "us-east-1", "us-east-2", "us-east1", "us-east4", "us-east5", "us-south1", "us-west-1", "us-west-2", "us-west1", "us-west2", "us-west3", "us-west4"];
|
|
606
|
+
};
|
|
607
|
+
readonly description: "Allowed values for `topology.kubernetes.io/region`.";
|
|
608
|
+
};
|
|
609
|
+
};
|
|
610
|
+
readonly additionalProperties: false;
|
|
611
|
+
readonly 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. Omit a field to place no restriction on that key.";
|
|
612
|
+
};
|
|
613
|
+
readonly scalingProfile: {
|
|
614
|
+
readonly type: "string";
|
|
615
|
+
readonly description: "Controls scale-up / scale-down responsiveness. `aggressive` prioritizes cost-optimization. `conservative` prioritizes stability of the fleet.";
|
|
616
|
+
readonly default: "conservative";
|
|
617
|
+
readonly example: "conservative";
|
|
618
|
+
readonly enum: readonly ["aggressive", "conservative"];
|
|
619
|
+
};
|
|
561
620
|
readonly id: {
|
|
562
621
|
readonly type: "string";
|
|
563
622
|
readonly maxLength: 63;
|
|
@@ -577,13 +636,12 @@ export declare const FleetSchema: {
|
|
|
577
636
|
readonly type: "object";
|
|
578
637
|
readonly properties: {
|
|
579
638
|
readonly cpu: {
|
|
580
|
-
readonly type: "
|
|
581
|
-
readonly format: "float";
|
|
639
|
+
readonly type: "integer";
|
|
582
640
|
readonly minimum: 0;
|
|
583
|
-
readonly
|
|
641
|
+
readonly maximum: 100000;
|
|
642
|
+
readonly description: "CPU limit in cores. Maximum 100,000.";
|
|
584
643
|
};
|
|
585
644
|
};
|
|
586
|
-
readonly required: readonly ["cpu"];
|
|
587
645
|
readonly additionalProperties: false;
|
|
588
646
|
readonly description: "Limits define a set of bounds for provisioning capacity.";
|
|
589
647
|
};
|
|
@@ -592,14 +650,15 @@ export declare const FleetSchema: {
|
|
|
592
650
|
readonly properties: {
|
|
593
651
|
readonly enabled: {
|
|
594
652
|
readonly type: "boolean";
|
|
595
|
-
readonly default: true;
|
|
596
653
|
};
|
|
597
654
|
readonly project: {
|
|
598
655
|
readonly type: "string";
|
|
599
|
-
readonly
|
|
656
|
+
readonly pattern: "^[a-z][a-z0-9-]{4,28}[a-z0-9]$";
|
|
657
|
+
readonly 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.";
|
|
658
|
+
readonly example: "my-cloudfleet-project";
|
|
600
659
|
};
|
|
601
660
|
};
|
|
602
|
-
readonly required: readonly ["
|
|
661
|
+
readonly required: readonly ["enabled"];
|
|
603
662
|
readonly additionalProperties: false;
|
|
604
663
|
};
|
|
605
664
|
readonly hetzner: {
|
|
@@ -607,14 +666,14 @@ export declare const FleetSchema: {
|
|
|
607
666
|
readonly properties: {
|
|
608
667
|
readonly enabled: {
|
|
609
668
|
readonly type: "boolean";
|
|
610
|
-
readonly default: true;
|
|
611
669
|
};
|
|
612
670
|
readonly apiKey: {
|
|
613
671
|
readonly type: "string";
|
|
614
|
-
readonly
|
|
672
|
+
readonly pattern: "^\\*{64}$";
|
|
673
|
+
readonly 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.";
|
|
615
674
|
};
|
|
616
675
|
};
|
|
617
|
-
readonly required: readonly ["
|
|
676
|
+
readonly required: readonly ["enabled"];
|
|
618
677
|
readonly additionalProperties: false;
|
|
619
678
|
};
|
|
620
679
|
readonly aws: {
|
|
@@ -622,15 +681,66 @@ export declare const FleetSchema: {
|
|
|
622
681
|
readonly properties: {
|
|
623
682
|
readonly enabled: {
|
|
624
683
|
readonly type: "boolean";
|
|
625
|
-
readonly default: true;
|
|
626
684
|
};
|
|
627
685
|
readonly controllerRoleArn: {
|
|
628
686
|
readonly type: "string";
|
|
629
|
-
readonly
|
|
687
|
+
readonly pattern: "^arn:aws(-[a-z]+)*:iam::\\d{12}:role\\/[\\w+=,.@/-]+$";
|
|
688
|
+
readonly description: "AWS IAM role ARN that Karpenter uses to manage resources. Omit when AWS is disabled.";
|
|
689
|
+
readonly example: "arn:aws:iam::123456789012:role/Cloudfleet";
|
|
690
|
+
};
|
|
691
|
+
};
|
|
692
|
+
readonly required: readonly ["enabled"];
|
|
693
|
+
readonly additionalProperties: false;
|
|
694
|
+
};
|
|
695
|
+
readonly constraints: {
|
|
696
|
+
readonly type: "object";
|
|
697
|
+
readonly properties: {
|
|
698
|
+
readonly 'karpenter.sh/capacity-type': {
|
|
699
|
+
readonly type: "array";
|
|
700
|
+
readonly items: {
|
|
701
|
+
readonly type: "string";
|
|
702
|
+
readonly enum: readonly ["on-demand", "spot"];
|
|
703
|
+
};
|
|
704
|
+
readonly minItems: 1;
|
|
705
|
+
readonly description: "Allowed values for `karpenter.sh/capacity-type`.";
|
|
706
|
+
readonly default: readonly ["on-demand", "spot"];
|
|
707
|
+
};
|
|
708
|
+
readonly 'kubernetes.io/arch': {
|
|
709
|
+
readonly type: "array";
|
|
710
|
+
readonly items: {
|
|
711
|
+
readonly type: "string";
|
|
712
|
+
readonly enum: readonly ["amd64", "arm64"];
|
|
713
|
+
};
|
|
714
|
+
readonly minItems: 1;
|
|
715
|
+
readonly description: "Allowed values for `kubernetes.io/arch`.";
|
|
716
|
+
readonly default: readonly ["amd64"];
|
|
717
|
+
};
|
|
718
|
+
readonly 'cfke.io/instance-family': {
|
|
719
|
+
readonly type: "array";
|
|
720
|
+
readonly items: {
|
|
721
|
+
readonly type: "string";
|
|
722
|
+
readonly enum: readonly ["a1", "a2", "a3", "a4", "c1", "c2", "c2d", "c3", "c3d", "c4", "c4a", "c4d", "c5", "c5a", "c5ad", "c5d", "c5n", "c6a", "c6g", "c6gd", "c6gn", "c6i", "c6id", "c6in", "c7a", "c7g", "c7gd", "c7gn", "c7i", "c7i-flex", "c8g", "c8gd", "cax", "ccx", "cpx", "cx", "d2", "d3", "d3en", "dl1", "dl2q", "e2", "f1", "f2", "g1", "g2", "g4ad", "g4dn", "g5", "g5g", "g6", "g6e", "gr6", "h1", "h3", "hpc6a", "hpc6id", "hpc7a", "hpc7g", "i2", "i3", "i3en", "i4g", "i4i", "i7i", "i7ie", "i8g", "im4gn", "inf1", "inf2", "is4gen", "m1", "m2", "m3", "m4", "m5", "m5a", "m5ad", "m5d", "m5dn", "m5n", "m5zn", "m6a", "m6g", "m6gd", "m6i", "m6id", "m6idn", "m6in", "m7a", "m7g", "m7gd", "m7i", "m7i-flex", "m8g", "m8gd", "n1", "n2", "n2d", "n4", "p3", "p3dn", "p4d", "p4de", "p5", "p5e", "p5en", "p6-b200", "r3", "r4", "r5", "r5a", "r5ad", "r5b", "r5d", "r5dn", "r5n", "r6a", "r6g", "r6gd", "r6i", "r6id", "r6idn", "r6in", "r7a", "r7g", "r7gd", "r7i", "r7iz", "r8g", "r8gd", "t2", "t2a", "t2d", "t3", "t3a", "t4g", "trn1", "trn1n", "u-3tb1", "u-6tb1", "u7i-12tb", "u7i-6tb", "u7i-8tb", "u7in-16tb", "u7in-24tb", "u7in-32tb", "vt1", "x1", "x1e", "x2gd", "x2idn", "x2iedn", "x2iezn", "x4", "x8g", "z1d", "z3"];
|
|
723
|
+
};
|
|
724
|
+
readonly description: "Allowed values for `cfke.io/instance-family`.";
|
|
725
|
+
};
|
|
726
|
+
readonly 'topology.kubernetes.io/region': {
|
|
727
|
+
readonly type: "array";
|
|
728
|
+
readonly items: {
|
|
729
|
+
readonly type: "string";
|
|
730
|
+
readonly enum: readonly ["africa-south1", "ap-northeast-1", "ap-northeast-2", "ap-northeast-3", "ap-south-1", "ap-southeast-1", "ap-southeast-2", "ash", "asia-east1", "asia-east2", "asia-northeast1", "asia-northeast2", "asia-northeast3", "asia-south1", "asia-south2", "asia-southeast1", "asia-southeast2", "australia-southeast1", "australia-southeast2", "ca-central-1", "eu-central-1", "eu-central-2", "eu-north-1", "eu-west-1", "eu-west-2", "eu-west-3", "europe-central2", "europe-north1", "europe-southwest1", "europe-west1", "europe-west10", "europe-west12", "europe-west2", "europe-west3", "europe-west4", "europe-west6", "europe-west8", "europe-west9", "fsn1", "hel1", "hil", "me-central1", "me-central2", "me-west1", "nbg1", "northamerica-northeast1", "northamerica-northeast2", "sa-east-1", "sin", "southamerica-east1", "southamerica-west1", "us-central1", "us-east-1", "us-east-2", "us-east1", "us-east4", "us-east5", "us-south1", "us-west-1", "us-west-2", "us-west1", "us-west2", "us-west3", "us-west4"];
|
|
731
|
+
};
|
|
732
|
+
readonly description: "Allowed values for `topology.kubernetes.io/region`.";
|
|
630
733
|
};
|
|
631
734
|
};
|
|
632
|
-
readonly required: readonly ["controllerRoleArn"];
|
|
633
735
|
readonly additionalProperties: false;
|
|
736
|
+
readonly 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. Omit a field to place no restriction on that key.";
|
|
737
|
+
};
|
|
738
|
+
readonly scalingProfile: {
|
|
739
|
+
readonly type: "string";
|
|
740
|
+
readonly description: "Controls scale-up / scale-down responsiveness. `aggressive` prioritizes cost-optimization. `conservative` prioritizes stability of the fleet.";
|
|
741
|
+
readonly default: "conservative";
|
|
742
|
+
readonly example: "conservative";
|
|
743
|
+
readonly enum: readonly ["aggressive", "conservative"];
|
|
634
744
|
};
|
|
635
745
|
readonly id: {
|
|
636
746
|
readonly type: "string";
|
|
@@ -641,7 +751,7 @@ export declare const FleetSchema: {
|
|
|
641
751
|
readonly example: "new-clouds-fleet";
|
|
642
752
|
};
|
|
643
753
|
};
|
|
644
|
-
readonly required: readonly ["id"];
|
|
754
|
+
readonly required: readonly ["scalingProfile", "id"];
|
|
645
755
|
readonly additionalProperties: false;
|
|
646
756
|
};
|
|
647
757
|
export declare const FleetUpdateInputSchema: {
|
|
@@ -651,13 +761,12 @@ export declare const FleetUpdateInputSchema: {
|
|
|
651
761
|
readonly type: "object";
|
|
652
762
|
readonly properties: {
|
|
653
763
|
readonly cpu: {
|
|
654
|
-
readonly type: "
|
|
655
|
-
readonly format: "float";
|
|
764
|
+
readonly type: "integer";
|
|
656
765
|
readonly minimum: 0;
|
|
657
|
-
readonly
|
|
766
|
+
readonly maximum: 100000;
|
|
767
|
+
readonly description: "CPU limit in cores. Maximum 100,000.";
|
|
658
768
|
};
|
|
659
769
|
};
|
|
660
|
-
readonly required: readonly ["cpu"];
|
|
661
770
|
readonly additionalProperties: false;
|
|
662
771
|
readonly description: "Limits define a set of bounds for provisioning capacity.";
|
|
663
772
|
};
|
|
@@ -666,14 +775,15 @@ export declare const FleetUpdateInputSchema: {
|
|
|
666
775
|
readonly properties: {
|
|
667
776
|
readonly enabled: {
|
|
668
777
|
readonly type: "boolean";
|
|
669
|
-
readonly default: true;
|
|
670
778
|
};
|
|
671
779
|
readonly project: {
|
|
672
780
|
readonly type: "string";
|
|
673
|
-
readonly
|
|
781
|
+
readonly pattern: "^[a-z][a-z0-9-]{4,28}[a-z0-9]$";
|
|
782
|
+
readonly 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.";
|
|
783
|
+
readonly example: "my-cloudfleet-project";
|
|
674
784
|
};
|
|
675
785
|
};
|
|
676
|
-
readonly required: readonly ["
|
|
786
|
+
readonly required: readonly ["enabled"];
|
|
677
787
|
readonly additionalProperties: false;
|
|
678
788
|
};
|
|
679
789
|
readonly hetzner: {
|
|
@@ -681,14 +791,16 @@ export declare const FleetUpdateInputSchema: {
|
|
|
681
791
|
readonly properties: {
|
|
682
792
|
readonly enabled: {
|
|
683
793
|
readonly type: "boolean";
|
|
684
|
-
readonly default: true;
|
|
685
794
|
};
|
|
686
795
|
readonly apiKey: {
|
|
687
796
|
readonly type: "string";
|
|
688
|
-
readonly
|
|
797
|
+
readonly maxLength: 64;
|
|
798
|
+
readonly minLength: 64;
|
|
799
|
+
readonly pattern: "^[A-Za-z0-9]+$";
|
|
800
|
+
readonly description: "Hetzner Cloud API token with read / write access (64 alphanumeric characters). Omit this field to keep the existing value.";
|
|
689
801
|
};
|
|
690
802
|
};
|
|
691
|
-
readonly required: readonly ["
|
|
803
|
+
readonly required: readonly ["enabled"];
|
|
692
804
|
readonly additionalProperties: false;
|
|
693
805
|
};
|
|
694
806
|
readonly aws: {
|
|
@@ -696,17 +808,66 @@ export declare const FleetUpdateInputSchema: {
|
|
|
696
808
|
readonly properties: {
|
|
697
809
|
readonly enabled: {
|
|
698
810
|
readonly type: "boolean";
|
|
699
|
-
readonly default: true;
|
|
700
811
|
};
|
|
701
812
|
readonly controllerRoleArn: {
|
|
702
813
|
readonly type: "string";
|
|
703
|
-
readonly
|
|
814
|
+
readonly pattern: "^arn:aws(-[a-z]+)*:iam::\\d{12}:role\\/[\\w+=,.@/-]+$";
|
|
815
|
+
readonly description: "AWS IAM role ARN that Karpenter uses to manage resources. Omit when AWS is disabled.";
|
|
816
|
+
readonly example: "arn:aws:iam::123456789012:role/Cloudfleet";
|
|
704
817
|
};
|
|
705
818
|
};
|
|
706
|
-
readonly required: readonly ["
|
|
819
|
+
readonly required: readonly ["enabled"];
|
|
707
820
|
readonly additionalProperties: false;
|
|
708
821
|
};
|
|
822
|
+
readonly constraints: {
|
|
823
|
+
readonly type: "object";
|
|
824
|
+
readonly properties: {
|
|
825
|
+
readonly 'karpenter.sh/capacity-type': {
|
|
826
|
+
readonly type: "array";
|
|
827
|
+
readonly items: {
|
|
828
|
+
readonly type: "string";
|
|
829
|
+
readonly enum: readonly ["on-demand", "spot"];
|
|
830
|
+
};
|
|
831
|
+
readonly minItems: 1;
|
|
832
|
+
readonly description: "Allowed values for `karpenter.sh/capacity-type`.";
|
|
833
|
+
};
|
|
834
|
+
readonly 'kubernetes.io/arch': {
|
|
835
|
+
readonly type: "array";
|
|
836
|
+
readonly items: {
|
|
837
|
+
readonly type: "string";
|
|
838
|
+
readonly enum: readonly ["amd64", "arm64"];
|
|
839
|
+
};
|
|
840
|
+
readonly minItems: 1;
|
|
841
|
+
readonly description: "Allowed values for `kubernetes.io/arch`.";
|
|
842
|
+
};
|
|
843
|
+
readonly 'cfke.io/instance-family': {
|
|
844
|
+
readonly type: "array";
|
|
845
|
+
readonly items: {
|
|
846
|
+
readonly type: "string";
|
|
847
|
+
readonly enum: readonly ["a1", "a2", "a3", "a4", "c1", "c2", "c2d", "c3", "c3d", "c4", "c4a", "c4d", "c5", "c5a", "c5ad", "c5d", "c5n", "c6a", "c6g", "c6gd", "c6gn", "c6i", "c6id", "c6in", "c7a", "c7g", "c7gd", "c7gn", "c7i", "c7i-flex", "c8g", "c8gd", "cax", "ccx", "cpx", "cx", "d2", "d3", "d3en", "dl1", "dl2q", "e2", "f1", "f2", "g1", "g2", "g4ad", "g4dn", "g5", "g5g", "g6", "g6e", "gr6", "h1", "h3", "hpc6a", "hpc6id", "hpc7a", "hpc7g", "i2", "i3", "i3en", "i4g", "i4i", "i7i", "i7ie", "i8g", "im4gn", "inf1", "inf2", "is4gen", "m1", "m2", "m3", "m4", "m5", "m5a", "m5ad", "m5d", "m5dn", "m5n", "m5zn", "m6a", "m6g", "m6gd", "m6i", "m6id", "m6idn", "m6in", "m7a", "m7g", "m7gd", "m7i", "m7i-flex", "m8g", "m8gd", "n1", "n2", "n2d", "n4", "p3", "p3dn", "p4d", "p4de", "p5", "p5e", "p5en", "p6-b200", "r3", "r4", "r5", "r5a", "r5ad", "r5b", "r5d", "r5dn", "r5n", "r6a", "r6g", "r6gd", "r6i", "r6id", "r6idn", "r6in", "r7a", "r7g", "r7gd", "r7i", "r7iz", "r8g", "r8gd", "t2", "t2a", "t2d", "t3", "t3a", "t4g", "trn1", "trn1n", "u-3tb1", "u-6tb1", "u7i-12tb", "u7i-6tb", "u7i-8tb", "u7in-16tb", "u7in-24tb", "u7in-32tb", "vt1", "x1", "x1e", "x2gd", "x2idn", "x2iedn", "x2iezn", "x4", "x8g", "z1d", "z3"];
|
|
848
|
+
};
|
|
849
|
+
readonly description: "Allowed values for `cfke.io/instance-family`.";
|
|
850
|
+
};
|
|
851
|
+
readonly 'topology.kubernetes.io/region': {
|
|
852
|
+
readonly type: "array";
|
|
853
|
+
readonly items: {
|
|
854
|
+
readonly type: "string";
|
|
855
|
+
readonly enum: readonly ["africa-south1", "ap-northeast-1", "ap-northeast-2", "ap-northeast-3", "ap-south-1", "ap-southeast-1", "ap-southeast-2", "ash", "asia-east1", "asia-east2", "asia-northeast1", "asia-northeast2", "asia-northeast3", "asia-south1", "asia-south2", "asia-southeast1", "asia-southeast2", "australia-southeast1", "australia-southeast2", "ca-central-1", "eu-central-1", "eu-central-2", "eu-north-1", "eu-west-1", "eu-west-2", "eu-west-3", "europe-central2", "europe-north1", "europe-southwest1", "europe-west1", "europe-west10", "europe-west12", "europe-west2", "europe-west3", "europe-west4", "europe-west6", "europe-west8", "europe-west9", "fsn1", "hel1", "hil", "me-central1", "me-central2", "me-west1", "nbg1", "northamerica-northeast1", "northamerica-northeast2", "sa-east-1", "sin", "southamerica-east1", "southamerica-west1", "us-central1", "us-east-1", "us-east-2", "us-east1", "us-east4", "us-east5", "us-south1", "us-west-1", "us-west-2", "us-west1", "us-west2", "us-west3", "us-west4"];
|
|
856
|
+
};
|
|
857
|
+
readonly description: "Allowed values for `topology.kubernetes.io/region`.";
|
|
858
|
+
};
|
|
859
|
+
};
|
|
860
|
+
readonly additionalProperties: false;
|
|
861
|
+
readonly 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. Omit a field to place no restriction on that key.";
|
|
862
|
+
};
|
|
863
|
+
readonly scalingProfile: {
|
|
864
|
+
readonly type: "string";
|
|
865
|
+
readonly description: "Controls scale-up / scale-down responsiveness. `aggressive` prioritizes cost-optimization. `conservative` prioritizes stability of the fleet.";
|
|
866
|
+
readonly example: "conservative";
|
|
867
|
+
readonly enum: readonly ["aggressive", "conservative"];
|
|
868
|
+
};
|
|
709
869
|
};
|
|
870
|
+
readonly required: readonly ["scalingProfile"];
|
|
710
871
|
readonly additionalProperties: false;
|
|
711
872
|
};
|
|
712
873
|
export declare const InviteSchema: {
|
|
@@ -937,6 +1098,12 @@ export declare const MarketplaceListingSchema: {
|
|
|
937
1098
|
export declare const OrganizationCreateInputSchema: {
|
|
938
1099
|
readonly type: "object";
|
|
939
1100
|
readonly properties: {
|
|
1101
|
+
readonly type: {
|
|
1102
|
+
readonly type: "string";
|
|
1103
|
+
readonly description: "Type of the organization. `business` for legal entities, `personal` for individuals.";
|
|
1104
|
+
readonly example: "business";
|
|
1105
|
+
readonly enum: readonly ["business", "personal"];
|
|
1106
|
+
};
|
|
940
1107
|
readonly email: {
|
|
941
1108
|
readonly type: "string";
|
|
942
1109
|
readonly format: "email";
|
|
@@ -945,11 +1112,13 @@ export declare const OrganizationCreateInputSchema: {
|
|
|
945
1112
|
};
|
|
946
1113
|
readonly first_name: {
|
|
947
1114
|
readonly type: "string";
|
|
1115
|
+
readonly minLength: 1;
|
|
948
1116
|
readonly description: "First name of the billing contact person.";
|
|
949
1117
|
readonly example: "John";
|
|
950
1118
|
};
|
|
951
1119
|
readonly last_name: {
|
|
952
1120
|
readonly type: "string";
|
|
1121
|
+
readonly minLength: 1;
|
|
953
1122
|
readonly description: "Last name of the billing contact person.";
|
|
954
1123
|
readonly example: "Doe";
|
|
955
1124
|
};
|
|
@@ -967,7 +1136,7 @@ export declare const OrganizationCreateInputSchema: {
|
|
|
967
1136
|
readonly description: "Password for the root account. Must be at least 8 characters long and contain at least one uppercase letter, one lowercase letter, one number and one special character.";
|
|
968
1137
|
};
|
|
969
1138
|
};
|
|
970
|
-
readonly required: readonly ["email", "first_name", "last_name", "company_name", "password"];
|
|
1139
|
+
readonly required: readonly ["type", "email", "first_name", "last_name", "company_name", "password"];
|
|
971
1140
|
readonly additionalProperties: false;
|
|
972
1141
|
};
|
|
973
1142
|
export declare const OrganizationSchema: {
|
|
@@ -986,6 +1155,12 @@ export declare const OrganizationSchema: {
|
|
|
986
1155
|
readonly description: "Name of the legal entity. This name will be used in invoices. Use your first and last name for individual accounts.";
|
|
987
1156
|
readonly example: "ACME Corp.";
|
|
988
1157
|
};
|
|
1158
|
+
readonly type: {
|
|
1159
|
+
readonly type: "string";
|
|
1160
|
+
readonly description: "Type of the organization. `business` for legal entities, `personal` for individuals.";
|
|
1161
|
+
readonly example: "business";
|
|
1162
|
+
readonly enum: readonly ["business", "personal"];
|
|
1163
|
+
};
|
|
989
1164
|
readonly date_created: {
|
|
990
1165
|
readonly type: "string";
|
|
991
1166
|
readonly format: "date-time";
|
|
@@ -1079,8 +1254,14 @@ export declare const OrganizationSchema: {
|
|
|
1079
1254
|
readonly description: "Status of the organization. Can be `active` or `closed`, or `suspended`.";
|
|
1080
1255
|
readonly enum: readonly ["active", "closed", "suspended"];
|
|
1081
1256
|
};
|
|
1257
|
+
readonly verification: {
|
|
1258
|
+
readonly type: "string";
|
|
1259
|
+
readonly 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.";
|
|
1260
|
+
readonly example: "verified";
|
|
1261
|
+
readonly enum: readonly ["none", "submitted", "verified"];
|
|
1262
|
+
};
|
|
1082
1263
|
};
|
|
1083
|
-
readonly required: readonly ["id", "date_created", "quota", "status"];
|
|
1264
|
+
readonly required: readonly ["id", "type", "date_created", "quota", "status", "verification"];
|
|
1084
1265
|
readonly additionalProperties: false;
|
|
1085
1266
|
};
|
|
1086
1267
|
export declare const PaymentMethodSchema: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"schemas.gen.d.ts","sourceRoot":"","sources":["../src/schemas.gen.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,oBAAoB
|
|
1
|
+
{"version":3,"file":"schemas.gen.d.ts","sourceRoot":"","sources":["../src/schemas.gen.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA8NvB,CAAC;AAEX,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA2DvB,CAAC;AAEX,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA8CzB,CAAC;AAEX,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA4Fd,CAAC;AAEX,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;CAmBzB,CAAC;AAEX,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAmD3B,CAAC;AAEX,eAAO,MAAM,4BAA4B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAoG/B,CAAC;AAEX,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA2HhB,CAAC;AAEX,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;CA+B3B,CAAC;AAEX,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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