@cloudfleet/sdk 0.0.1-e644e0d → 0.0.1-e9052b2

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.
@@ -67,10 +67,208 @@ export declare const BillingContactSchema: {
67
67
  readonly description: "Last name of the billing contact person.";
68
68
  readonly example: "Doe";
69
69
  };
70
+ readonly tax_id: {
71
+ readonly type: "string";
72
+ readonly nullable: true;
73
+ readonly description: "Tax ID of the organization.";
74
+ readonly example: "DE123456789";
75
+ };
76
+ readonly tax_id_type: {
77
+ readonly type: "string";
78
+ readonly nullable: true;
79
+ readonly description: "Type of the tax ID.";
80
+ readonly example: "de_vat";
81
+ 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", ""];
82
+ };
70
83
  };
71
84
  readonly required: readonly ["email", "first_name", "last_name"];
72
85
  readonly additionalProperties: false;
73
86
  };
87
+ export declare const BillingCreditsSchema: {
88
+ readonly type: "object";
89
+ readonly properties: {
90
+ readonly id: {
91
+ readonly type: "string";
92
+ readonly description: "Generated unique identifier of the promotional code.";
93
+ readonly example: "7kUZnH7nnKUFfvc4NK2KQF";
94
+ };
95
+ readonly date_created: {
96
+ readonly type: "string";
97
+ readonly format: "date-time";
98
+ readonly description: "Date of the credit application. ISO 8601 date string in the UTC timezone.";
99
+ readonly example: "2023-12-20T13:53:32.000Z";
100
+ };
101
+ readonly code: {
102
+ readonly type: "string";
103
+ readonly description: "Promotional code used by the customer.";
104
+ readonly example: "VQ4SCMB";
105
+ };
106
+ readonly description: {
107
+ readonly type: "string";
108
+ readonly description: "Description of the promotional code.";
109
+ readonly example: "10% off on all products";
110
+ };
111
+ readonly products: {
112
+ readonly type: "array";
113
+ readonly items: {
114
+ readonly type: "string";
115
+ };
116
+ readonly description: "List of product SKUs that the promotional code can be used on.";
117
+ readonly example: readonly ["cfke_controlplane", "cfke_connected_nodes", "infra_compute", "infra_storage", "infra_loadbalancing", "infra_traffic", "cfcr_storage"];
118
+ };
119
+ readonly type: {
120
+ readonly type: "string";
121
+ readonly description: "Type of the promotional code.";
122
+ readonly example: "credit";
123
+ readonly enum: readonly ["credit", "discount"];
124
+ };
125
+ readonly value: {
126
+ readonly type: "number";
127
+ readonly format: "float";
128
+ readonly description: "Value of the promotional code.";
129
+ readonly example: 10;
130
+ };
131
+ readonly billing_period: {
132
+ readonly type: "string";
133
+ readonly format: "date-time";
134
+ readonly description: "Date of the billing cycle. An ISO 8601 date string in the UTC timezone.";
135
+ readonly example: "2023-12-20T13:53:32.000Z";
136
+ };
137
+ readonly value_remaining: {
138
+ readonly type: "number";
139
+ readonly format: "float";
140
+ readonly description: "Value of the promotional code.";
141
+ readonly example: 10;
142
+ };
143
+ };
144
+ readonly required: readonly ["date_created", "code", "type", "value", "billing_period"];
145
+ readonly additionalProperties: false;
146
+ };
147
+ export declare const ChartCreateInputSchema: {
148
+ readonly type: "object";
149
+ readonly properties: {
150
+ readonly values: {
151
+ readonly type: "string";
152
+ readonly description: "Values to be used in the chart encoded as a JSON string.";
153
+ };
154
+ readonly version_channel: {
155
+ readonly type: "string";
156
+ readonly pattern: "^(x|X|0|[1-9]\\d*)\\.(x|X|0|[1-9]\\d*)\\.(x|X|0|[1-9]\\d*)(?:-((?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\\.(?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\\+([0-9a-zA-Z-]+(?:\\.[0-9a-zA-Z-]+)*))?$";
157
+ readonly description: "Desired version range or channel for the chart.";
158
+ readonly example: "2.x.x-cfke.x";
159
+ };
160
+ readonly name: {
161
+ readonly type: "string";
162
+ readonly maxLength: 63;
163
+ readonly minLength: 1;
164
+ readonly pattern: "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$";
165
+ readonly description: "Unique identifier of the chart deployment aka name of the helm release.";
166
+ readonly example: "postgresql-0";
167
+ };
168
+ readonly namespace: {
169
+ readonly type: "string";
170
+ readonly maxLength: 63;
171
+ readonly minLength: 1;
172
+ readonly pattern: "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$";
173
+ readonly description: "Namespace of the chart deployment";
174
+ readonly example: "default";
175
+ };
176
+ readonly chart: {
177
+ readonly type: "string";
178
+ readonly maxLength: 63;
179
+ readonly minLength: 1;
180
+ readonly pattern: "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$";
181
+ readonly description: "Name of the chart listing";
182
+ readonly example: "postgresql";
183
+ };
184
+ };
185
+ readonly required: readonly ["values", "version_channel", "name", "namespace", "chart"];
186
+ readonly additionalProperties: false;
187
+ };
188
+ export declare const ChartSchema: {
189
+ readonly type: "object";
190
+ readonly properties: {
191
+ readonly values: {
192
+ readonly type: "string";
193
+ readonly description: "Values to be used in the chart encoded as a JSON string.";
194
+ };
195
+ readonly version_channel: {
196
+ readonly type: "string";
197
+ readonly pattern: "^(x|X|0|[1-9]\\d*)\\.(x|X|0|[1-9]\\d*)\\.(x|X|0|[1-9]\\d*)(?:-((?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\\.(?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\\+([0-9a-zA-Z-]+(?:\\.[0-9a-zA-Z-]+)*))?$";
198
+ readonly description: "Desired version range or channel for the chart.";
199
+ readonly example: "2.x.x-cfke.x";
200
+ };
201
+ readonly name: {
202
+ readonly type: "string";
203
+ readonly maxLength: 63;
204
+ readonly minLength: 1;
205
+ readonly pattern: "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$";
206
+ readonly description: "Unique identifier of the chart deployment aka name of the helm release.";
207
+ readonly example: "postgresql-0";
208
+ };
209
+ readonly namespace: {
210
+ readonly type: "string";
211
+ readonly maxLength: 63;
212
+ readonly minLength: 1;
213
+ readonly pattern: "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$";
214
+ readonly description: "Namespace of the chart deployment";
215
+ readonly example: "default";
216
+ };
217
+ readonly chart: {
218
+ readonly type: "string";
219
+ readonly maxLength: 63;
220
+ readonly minLength: 1;
221
+ readonly pattern: "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$";
222
+ readonly description: "Name of the chart listing";
223
+ readonly example: "postgresql";
224
+ };
225
+ readonly status: {
226
+ readonly type: "string";
227
+ readonly description: "Status of the chart deployment.";
228
+ readonly example: "active";
229
+ readonly enum: readonly ["InstallSucceeded", "InstallFailed", "UpgradeSucceeded", "UpgradeFailed", "TestSucceeded", "TestFailed", "RollbackSucceeded", "RollbackFailed", "UninstallSucceeded", "UninstallFailed", "ArtifactFailed", "DependencyNotReady", "Progressing", "SourceNotReady"];
230
+ };
231
+ readonly version_current: {
232
+ readonly type: "string";
233
+ readonly description: "Current version of the chart deployment.";
234
+ readonly example: "2.1.33-cfke.11";
235
+ };
236
+ readonly created_at: {
237
+ readonly type: "string";
238
+ readonly description: "Creation date and time of the chart deployment.";
239
+ readonly example: "2024-09-12T09:11:27Z";
240
+ };
241
+ readonly updated_at: {
242
+ readonly type: "string";
243
+ readonly description: "Last update date and time of the chart deployment.";
244
+ readonly example: "2024-09-12T09:11:27Z";
245
+ };
246
+ readonly ready: {
247
+ readonly type: "boolean";
248
+ readonly description: "Indicates if the chart deployment is ready to be used.";
249
+ readonly example: true;
250
+ };
251
+ };
252
+ readonly required: readonly ["values", "version_channel", "name", "namespace", "chart", "status", "version_current", "created_at", "updated_at", "ready"];
253
+ readonly additionalProperties: false;
254
+ };
255
+ export declare const ChartUpdateInputSchema: {
256
+ readonly type: "object";
257
+ readonly properties: {
258
+ readonly values: {
259
+ readonly type: "string";
260
+ readonly description: "Values to be used in the chart encoded as a JSON string.";
261
+ };
262
+ readonly version_channel: {
263
+ readonly type: "string";
264
+ readonly pattern: "^(x|X|0|[1-9]\\d*)\\.(x|X|0|[1-9]\\d*)\\.(x|X|0|[1-9]\\d*)(?:-((?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\\.(?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\\+([0-9a-zA-Z-]+(?:\\.[0-9a-zA-Z-]+)*))?$";
265
+ readonly description: "Desired version range or channel for the chart.";
266
+ readonly example: "2.x.x-cfke.x";
267
+ };
268
+ };
269
+ readonly required: readonly ["values", "version_channel"];
270
+ readonly additionalProperties: false;
271
+ };
74
272
  export declare const ClusterCreateInputSchema: {
75
273
  readonly type: "object";
76
274
  readonly properties: {
@@ -82,19 +280,19 @@ export declare const ClusterCreateInputSchema: {
82
280
  readonly description: "Name of the cluster.";
83
281
  readonly example: "production-cluster";
84
282
  };
85
- readonly region: {
86
- readonly type: "string";
87
- readonly description: "Cloudfleet control plane region. One of \"staging\", \"northamerica-central-1\". This field can not be updated after creation.";
88
- readonly default: "staging";
89
- readonly example: "northamerica-central-1";
90
- readonly enum: readonly ["staging", "northamerica-central-1"];
91
- };
92
283
  readonly tier: {
93
284
  readonly type: "string";
94
285
  readonly description: "Tier of the cluster.";
95
286
  readonly example: "pro";
96
287
  readonly enum: readonly ["basic", "pro"];
97
288
  };
289
+ readonly region: {
290
+ readonly type: "string";
291
+ readonly description: "Cloudfleet control plane region. One of \"staging\", \"northamerica-central-1\", \"europe-central-1a\". This field can not be updated after creation.";
292
+ readonly default: "staging";
293
+ readonly example: "northamerica-central-1";
294
+ readonly enum: readonly ["staging", "northamerica-central-1", "europe-central-1a"];
295
+ };
98
296
  readonly version_channel: {
99
297
  readonly type: "string";
100
298
  readonly pattern: "^(x|X|0|[1-9]\\d*)\\.(x|X|0|[1-9]\\d*)\\.(x|X|0|[1-9]\\d*)(?:-((?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\\.(?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\\+([0-9a-zA-Z-]+(?:\\.[0-9a-zA-Z-]+)*))?$";
@@ -191,19 +389,19 @@ export declare const ClusterSchema: {
191
389
  readonly description: "Name of the cluster.";
192
390
  readonly example: "production-cluster";
193
391
  };
194
- readonly region: {
195
- readonly type: "string";
196
- readonly description: "Cloudfleet control plane region. One of \"staging\", \"northamerica-central-1\". This field can not be updated after creation.";
197
- readonly default: "staging";
198
- readonly example: "northamerica-central-1";
199
- readonly enum: readonly ["staging", "northamerica-central-1"];
200
- };
201
392
  readonly tier: {
202
393
  readonly type: "string";
203
394
  readonly description: "Tier of the cluster.";
204
395
  readonly example: "pro";
205
396
  readonly enum: readonly ["basic", "pro"];
206
397
  };
398
+ readonly region: {
399
+ readonly type: "string";
400
+ readonly description: "Cloudfleet control plane region. One of \"staging\", \"northamerica-central-1\", \"europe-central-1a\". This field can not be updated after creation.";
401
+ readonly default: "staging";
402
+ readonly example: "northamerica-central-1";
403
+ readonly enum: readonly ["staging", "northamerica-central-1", "europe-central-1a"];
404
+ };
207
405
  readonly version_channel: {
208
406
  readonly type: "string";
209
407
  readonly pattern: "^(x|X|0|[1-9]\\d*)\\.(x|X|0|[1-9]\\d*)\\.(x|X|0|[1-9]\\d*)(?:-((?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\\.(?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\\+([0-9a-zA-Z-]+(?:\\.[0-9a-zA-Z-]+)*))?$";
@@ -274,6 +472,12 @@ export declare const ClusterUpdateInputSchema: {
274
472
  readonly description: "Name of the cluster.";
275
473
  readonly example: "production-cluster";
276
474
  };
475
+ readonly tier: {
476
+ readonly type: "string";
477
+ readonly description: "Tier of the cluster.";
478
+ readonly example: "pro";
479
+ readonly enum: readonly ["basic", "pro"];
480
+ };
277
481
  readonly version_channel: {
278
482
  readonly type: "string";
279
483
  readonly pattern: "^(x|X|0|[1-9]\\d*)\\.(x|X|0|[1-9]\\d*)\\.(x|X|0|[1-9]\\d*)(?:-((?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\\.(?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\\+([0-9a-zA-Z-]+(?:\\.[0-9a-zA-Z-]+)*))?$";
@@ -281,6 +485,7 @@ export declare const ClusterUpdateInputSchema: {
281
485
  readonly example: "1.29.x-cfke.x";
282
486
  };
283
487
  };
488
+ readonly required: readonly ["tier"];
284
489
  readonly additionalProperties: false;
285
490
  };
286
491
  export declare const FleetCreateInputSchema: {
@@ -316,31 +521,19 @@ export declare const FleetCreateInputSchema: {
316
521
  readonly additionalProperties: false;
317
522
  };
318
523
  readonly hetzner: {
319
- readonly oneOf: readonly [{
320
- readonly type: "object";
321
- readonly properties: {
322
- readonly enabled: {
323
- readonly type: "boolean";
324
- readonly default: true;
325
- };
326
- readonly apiKey: {
327
- readonly type: "string";
328
- };
524
+ readonly type: "object";
525
+ readonly properties: {
526
+ readonly enabled: {
527
+ readonly type: "boolean";
528
+ readonly default: true;
329
529
  };
330
- readonly additionalProperties: false;
331
- }, {
332
- readonly type: "object";
333
- readonly properties: {
334
- readonly apiKey: {
335
- readonly type: "string";
336
- };
337
- readonly enabled: {
338
- readonly type: "boolean";
339
- readonly default: true;
340
- };
530
+ readonly apiKey: {
531
+ readonly type: "string";
532
+ readonly description: "Hetzner Cloud API key with read / write access";
341
533
  };
342
- readonly additionalProperties: false;
343
- }];
534
+ };
535
+ readonly required: readonly ["apiKey"];
536
+ readonly additionalProperties: false;
344
537
  };
345
538
  readonly aws: {
346
539
  readonly type: "object";
@@ -365,13 +558,8 @@ export declare const FleetCreateInputSchema: {
365
558
  readonly description: "Unique identifier of the kubernetes fleet.";
366
559
  readonly example: "new-clouds-fleet";
367
560
  };
368
- readonly type: {
369
- readonly type: "string";
370
- readonly description: "Specifies the fleet type: infrastructure managed by Cloudfleet or Connected Fleets.";
371
- readonly enum: readonly ["managed", "connected"];
372
- };
373
561
  };
374
- readonly required: readonly ["id", "type"];
562
+ readonly required: readonly ["id"];
375
563
  readonly additionalProperties: false;
376
564
  };
377
565
  export declare const FleetSchema: {
@@ -407,31 +595,19 @@ export declare const FleetSchema: {
407
595
  readonly additionalProperties: false;
408
596
  };
409
597
  readonly hetzner: {
410
- readonly oneOf: readonly [{
411
- readonly type: "object";
412
- readonly properties: {
413
- readonly enabled: {
414
- readonly type: "boolean";
415
- readonly default: true;
416
- };
417
- readonly apiKey: {
418
- readonly type: "string";
419
- };
598
+ readonly type: "object";
599
+ readonly properties: {
600
+ readonly enabled: {
601
+ readonly type: "boolean";
602
+ readonly default: true;
420
603
  };
421
- readonly additionalProperties: false;
422
- }, {
423
- readonly type: "object";
424
- readonly properties: {
425
- readonly apiKey: {
426
- readonly type: "string";
427
- };
428
- readonly enabled: {
429
- readonly type: "boolean";
430
- readonly default: true;
431
- };
604
+ readonly apiKey: {
605
+ readonly type: "string";
606
+ readonly description: "Hetzner Cloud API key with read / write access";
432
607
  };
433
- readonly additionalProperties: false;
434
- }];
608
+ };
609
+ readonly required: readonly ["apiKey"];
610
+ readonly additionalProperties: false;
435
611
  };
436
612
  readonly aws: {
437
613
  readonly type: "object";
@@ -456,13 +632,8 @@ export declare const FleetSchema: {
456
632
  readonly description: "Unique identifier of the kubernetes fleet.";
457
633
  readonly example: "new-clouds-fleet";
458
634
  };
459
- readonly type: {
460
- readonly type: "string";
461
- readonly description: "Specifies the fleet type: infrastructure managed by Cloudfleet or Connected Fleets.";
462
- readonly enum: readonly ["managed", "connected"];
463
- };
464
635
  };
465
- readonly required: readonly ["id", "type"];
636
+ readonly required: readonly ["id"];
466
637
  readonly additionalProperties: false;
467
638
  };
468
639
  export declare const FleetUpdateInputSchema: {
@@ -498,31 +669,19 @@ export declare const FleetUpdateInputSchema: {
498
669
  readonly additionalProperties: false;
499
670
  };
500
671
  readonly hetzner: {
501
- readonly oneOf: readonly [{
502
- readonly type: "object";
503
- readonly properties: {
504
- readonly enabled: {
505
- readonly type: "boolean";
506
- readonly default: true;
507
- };
508
- readonly apiKey: {
509
- readonly type: "string";
510
- };
672
+ readonly type: "object";
673
+ readonly properties: {
674
+ readonly enabled: {
675
+ readonly type: "boolean";
676
+ readonly default: true;
511
677
  };
512
- readonly additionalProperties: false;
513
- }, {
514
- readonly type: "object";
515
- readonly properties: {
516
- readonly apiKey: {
517
- readonly type: "string";
518
- };
519
- readonly enabled: {
520
- readonly type: "boolean";
521
- readonly default: true;
522
- };
678
+ readonly apiKey: {
679
+ readonly type: "string";
680
+ readonly description: "Hetzner Cloud API key with read / write access";
523
681
  };
524
- readonly additionalProperties: false;
525
- }];
682
+ };
683
+ readonly required: readonly ["apiKey"];
684
+ readonly additionalProperties: false;
526
685
  };
527
686
  readonly aws: {
528
687
  readonly type: "object";
@@ -542,276 +701,6 @@ export declare const FleetUpdateInputSchema: {
542
701
  };
543
702
  readonly additionalProperties: false;
544
703
  };
545
- export declare const InfrastructureFilterSchema: {
546
- readonly type: "object";
547
- readonly properties: {
548
- readonly version: {
549
- readonly type: "integer";
550
- readonly description: "Version of the infrastructure filter definition. Currently only version 1 is supported.";
551
- readonly default: 1;
552
- readonly example: 1;
553
- readonly enum: readonly [1];
554
- };
555
- readonly provider: {
556
- readonly type: "array";
557
- readonly items: {
558
- readonly type: "string";
559
- };
560
- readonly description: "Limit selection of cloud providers to this list. For the full list of supported providers, see [Providers](https://cloudfleet.ai/docs/cloud-infrastructure/providers/)";
561
- readonly example: "AWS";
562
- };
563
- readonly region: {
564
- readonly type: "array";
565
- readonly items: {
566
- readonly type: "string";
567
- };
568
- readonly description: "Limits selection of cloud regions to this list of Cloudfleet regions. For the full list of normalized regions and their mapping to CSP regions, see [Regions](https://cloudfleet.ai/docs/cloud-infrastructure/node-regions/)";
569
- readonly example: "northamerica";
570
- };
571
- readonly sub_region: {
572
- readonly type: "array";
573
- readonly items: {
574
- readonly type: "string";
575
- };
576
- readonly description: "Limits selection of cloud regions to this list of Cloudfleet regions. For the full list of normalized regions and their mapping to CSP regions, see [Regions](https://cloudfleet.ai/docs/cloud-infrastructure/node-regions/)";
577
- readonly example: "west";
578
- };
579
- readonly csp_region: {
580
- readonly type: "array";
581
- readonly items: {
582
- readonly type: "string";
583
- };
584
- readonly description: "Limits selection of cloud regions to this list of canonical provider regions";
585
- readonly example: "eu-west-1";
586
- };
587
- readonly instance_type: {
588
- readonly type: "array";
589
- readonly items: {
590
- readonly type: "string";
591
- };
592
- readonly description: "Limits selection of instance types to this list. Instance / VM type as defined by the cloud service provider";
593
- readonly example: "p4d.24xlarge";
594
- };
595
- readonly accelerator_name: {
596
- readonly type: "array";
597
- readonly items: {
598
- readonly type: "string";
599
- };
600
- readonly description: "List of Normalized accelerator model names. For example, all variations of Nvidia A100 GPUs will have 'A100' as accelerator name with various memory configurations set in accelerator_memory field";
601
- readonly example: "A100";
602
- };
603
- readonly accelerator_manufacturer: {
604
- readonly type: "array";
605
- readonly items: {
606
- readonly type: "string";
607
- };
608
- readonly description: "List of normalized accelerator manufacturer names. For example, all Nvidia GPUs will have 'NVIDIA' as accelerator manufacturer";
609
- readonly example: "NVIDIA";
610
- };
611
- readonly accelerator_count_min: {
612
- readonly type: "integer";
613
- readonly minimum: 0;
614
- readonly description: "Minimum number of accelerators available on the instance. Some cloud providers support shared accelerators, so the number of accelerators may be a fraction of the number of physical accelerators.";
615
- readonly example: 1;
616
- };
617
- readonly accelerator_count_max: {
618
- readonly type: "integer";
619
- readonly minimum: 0;
620
- readonly description: "Maximum number of accelerators available on the instance. Some cloud providers support shared accelerators, so the number of accelerators may be a fraction of the number of physical accelerators.";
621
- readonly example: 8;
622
- };
623
- readonly accelerator_memory_min: {
624
- readonly type: "number";
625
- readonly format: "float";
626
- readonly description: "Minimum amount of accelerator memory available to each accelerator. For example, Nvidia A100 GPUs will typically have '40.0' gibibytes (GiB) of memory, while A100 GPUs with HBM2E memory will have '80.0' gibibytes (GiB) of memory";
627
- readonly example: 40;
628
- };
629
- readonly accelerator_memory_max: {
630
- readonly type: "number";
631
- readonly format: "float";
632
- readonly description: "Maximum amount of accelerator memory available to each accelerator. For example, Nvidia A100 GPUs will typically have '40.0' gibibytes (GiB) of memory, while A100 GPUs with HBM2E memory will have '80.0' gibibytes (GiB) of memory";
633
- readonly example: 80;
634
- };
635
- readonly memory_min: {
636
- readonly type: "integer";
637
- readonly minimum: 0;
638
- readonly description: "Minimum amount of RAM in gibibytes (GiB)";
639
- readonly example: 32;
640
- };
641
- readonly memory_max: {
642
- readonly type: "integer";
643
- readonly minimum: 0;
644
- readonly description: "Maximum amount of RAM in gibibytes (GiB)";
645
- readonly example: 64;
646
- };
647
- readonly vcpu_min: {
648
- readonly type: "integer";
649
- readonly minimum: 1;
650
- readonly description: "Minimum number of vCPUs as defined by the cloud service provider. Some cloud providers use hyperthreading, so the number of vCPUs may be twice as high as the number of physical cores.";
651
- readonly example: 32;
652
- };
653
- readonly vcpu_max: {
654
- readonly type: "integer";
655
- readonly minimum: 1;
656
- readonly description: "Maximum number of vCPUs as defined by the cloud service provider. Some cloud providers use hyperthreading, so the number of vCPUs may be twice as high as the number of physical cores.";
657
- readonly example: 128;
658
- };
659
- readonly storage_total_min: {
660
- readonly type: "number";
661
- readonly format: "float";
662
- readonly minimum: 10;
663
- readonly description: "Minimum total storage in GiB (attached and local)";
664
- readonly example: 128;
665
- };
666
- readonly storage_total_max: {
667
- readonly type: "number";
668
- readonly format: "float";
669
- readonly minimum: 10;
670
- readonly description: "Maximum total storage in GiB (attached and local)";
671
- readonly example: 256;
672
- };
673
- readonly storage_local_min: {
674
- readonly type: "number";
675
- readonly format: "float";
676
- readonly description: "Minimum volume of directly attached, block-device local storage in gibibytes (GiB)";
677
- readonly example: 24;
678
- };
679
- readonly storage_local_max: {
680
- readonly type: "number";
681
- readonly format: "float";
682
- readonly description: "Maximum volume of directly attached, block-device local storage in gibibytes (GiB)";
683
- readonly example: 128;
684
- };
685
- readonly price_min: {
686
- readonly type: "number";
687
- readonly format: "float";
688
- readonly description: "Minimum price of running the inctance per hour in USD as defined by the cloud service provider. The cheapest instance will be selected.";
689
- readonly example: 10;
690
- };
691
- readonly price_max: {
692
- readonly type: "number";
693
- readonly format: "float";
694
- readonly description: "Maximum price of running the inctance per hour in USD as defined by the cloud service provider. The cheapest instance will be selected.";
695
- readonly example: 50;
696
- };
697
- };
698
- readonly additionalProperties: false;
699
- };
700
- export declare const InfrastructureInstanceSchema: {
701
- readonly type: "object";
702
- readonly properties: {
703
- readonly sku: {
704
- readonly type: "string";
705
- readonly description: "Cloudfleet instance SKU. Has a format of <provider>-<csp_region>-<instance_type>.";
706
- readonly example: "AWS-EU-WEST-1C-P4D.24XLARGE";
707
- };
708
- readonly provider: {
709
- readonly type: "string";
710
- readonly description: "Normalized cloud service provider name. For the full list of supported providers, see [Providers](https://cloudfleet.ai/docs/cloud-infrastructure/providers/)";
711
- readonly example: "AWS";
712
- };
713
- readonly region: {
714
- readonly type: "string";
715
- readonly description: "Normalized region. For the full list of normalized regions and their mapping to CSP regions, see [Regions](https://cloudfleet.ai/docs/cloud-infrastructure/node-regions/)";
716
- readonly example: "europe";
717
- };
718
- readonly sub_region: {
719
- readonly type: "string";
720
- readonly description: "Normalized sub-region. For the full list of normalized regions and their mapping to CSP regions, see [Regions](https://cloudfleet.ai/docs/cloud-infrastructure/node-regions/)";
721
- readonly example: "west";
722
- };
723
- readonly csp_region: {
724
- readonly type: "string";
725
- readonly description: "Region as defined by the cloud service provider";
726
- readonly example: "eu-west-1";
727
- };
728
- readonly csp_zone: {
729
- readonly type: "string";
730
- readonly description: "Availability zone as defined by the cloud service provider";
731
- readonly example: "eu-west-1a";
732
- };
733
- readonly instance_type: {
734
- readonly type: "string";
735
- readonly description: "Instance / VM type as defined by the cloud service provider";
736
- readonly example: "p4d.24xlarge";
737
- };
738
- readonly architecture: {
739
- readonly type: "string";
740
- readonly description: "Instance CPU architecture";
741
- readonly example: "amd64";
742
- };
743
- readonly os: {
744
- readonly type: "string";
745
- readonly description: "Instance operating system";
746
- readonly example: "linux";
747
- };
748
- readonly vcpu: {
749
- readonly type: "number";
750
- readonly format: "float";
751
- readonly minimum: 1;
752
- readonly description: "CPU count as defined by the cloud service provider. Some cloud providers use hyperthreading, so the number of vCPUs may be twice as high as the number of physical cores.";
753
- readonly example: 96;
754
- };
755
- readonly memory: {
756
- readonly type: "number";
757
- readonly format: "float";
758
- readonly minimum: 1;
759
- readonly description: "Total amount of RAM in gibibytes (GiB)";
760
- readonly example: 1152;
761
- };
762
- readonly local_storage: {
763
- readonly type: "number";
764
- readonly format: "float";
765
- readonly description: "Volume of directly attached, block-device local storage in gibibytes (GiB)";
766
- readonly example: 8000;
767
- };
768
- readonly accelerator_name: {
769
- readonly type: "string";
770
- readonly description: "Normalized model name of accelerator. For example, all variations of Nvidia A100 GPUs will have 'A100' as accelerator name with various memory configurations set in accelerator_memory field";
771
- readonly example: "A100";
772
- };
773
- readonly accelerator_manufacturer: {
774
- readonly type: "string";
775
- readonly description: "Normalized manufacturer name of accelerator. For example, all Nvidia GPUs will have 'NVIDIA' as accelerator manufacturer";
776
- readonly example: "NVIDIA";
777
- };
778
- readonly accelerator_count: {
779
- readonly type: "integer";
780
- readonly description: "Number of accelerators available on the instance. Some cloud providers support shared accelerators, so the number of accelerators may be a fraction of the number of physical accelerators.";
781
- readonly example: 8;
782
- };
783
- readonly accelerator_memory: {
784
- readonly type: "number";
785
- readonly format: "float";
786
- readonly description: "Ammount of accelerator memory available to each accelerator. For example, Nvidia A100 GPUs will typically have '40.0' gibibytes (GiB) of memory, while A100 GPUs with HBM2E memory will have '80.0' gibibytes (GiB) of memory";
787
- readonly example: 40;
788
- };
789
- readonly pods_capacity: {
790
- readonly type: "number";
791
- readonly format: "float";
792
- readonly description: "Maximum number of pods that can be run on this instance type.";
793
- readonly example: 110;
794
- };
795
- readonly capacity_type: {
796
- readonly type: "string";
797
- readonly description: "Capacity type of the instance. E.g. `on-demand`, `spot`.";
798
- readonly example: "on-demand";
799
- };
800
- readonly price: {
801
- readonly type: "number";
802
- readonly format: "float";
803
- readonly description: "Price of running the inctance per hour in USD as defined by the cloud service provider";
804
- readonly example: 35.39655;
805
- };
806
- readonly available: {
807
- readonly type: "boolean";
808
- readonly description: "Whether this instance type is available.";
809
- readonly example: true;
810
- };
811
- };
812
- readonly required: readonly ["sku", "provider", "region", "sub_region", "csp_region", "csp_zone", "instance_type", "architecture", "os", "vcpu", "memory", "local_storage", "price"];
813
- readonly additionalProperties: false;
814
- };
815
704
  export declare const InviteSchema: {
816
705
  readonly type: "object";
817
706
  readonly properties: {
@@ -1191,6 +1080,88 @@ export declare const InvoiceSchema: {
1191
1080
  };
1192
1081
  readonly additionalProperties: false;
1193
1082
  };
1083
+ export declare const MarketplaceListingSchema: {
1084
+ readonly type: "object";
1085
+ readonly properties: {
1086
+ readonly id: {
1087
+ readonly type: "string";
1088
+ readonly maxLength: 63;
1089
+ readonly minLength: 1;
1090
+ readonly pattern: "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$";
1091
+ readonly description: "Id of the chart listing";
1092
+ readonly example: "portworx-enterprise-disaster-recovery-baremetal";
1093
+ };
1094
+ readonly name: {
1095
+ readonly type: "string";
1096
+ readonly description: "Name of the chart listing";
1097
+ readonly example: "Portworx Enterprise + Disaster Recovery - Baremetal";
1098
+ };
1099
+ readonly developer: {
1100
+ readonly type: "string";
1101
+ readonly description: "Author of the chart listing";
1102
+ readonly example: "Portworx";
1103
+ };
1104
+ readonly description: {
1105
+ readonly type: "string";
1106
+ readonly description: "Short description of the chart listing";
1107
+ readonly example: "Run Kubernetes with unmatched scalability, availability, and self-service access to any storage";
1108
+ };
1109
+ readonly logoUrl: {
1110
+ readonly type: "string";
1111
+ readonly description: "Logo of the chart listing";
1112
+ readonly example: "https://portworx.com/wp-content/themes/portworx/assets/images/header/portworx-logo.png";
1113
+ };
1114
+ readonly longDescription: {
1115
+ readonly type: "string";
1116
+ readonly description: "Long description of the chart listing";
1117
+ readonly example: "Portworx-Enterprise is the complete multi-cloud ready Kubernetes storage platform for running mission-critical apps in production....";
1118
+ };
1119
+ readonly categories: {
1120
+ readonly type: "array";
1121
+ readonly items: {
1122
+ readonly type: "string";
1123
+ readonly example: "AI & Machine Learning";
1124
+ };
1125
+ readonly description: "Tags of the chart";
1126
+ };
1127
+ readonly version_channels: {
1128
+ readonly type: "array";
1129
+ readonly items: {
1130
+ readonly type: "string";
1131
+ readonly pattern: "^(x|X|0|[1-9]\\d*)\\.(x|X|0|[1-9]\\d*)\\.(x|X|0|[1-9]\\d*)(?:-((?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\\.(?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\\+([0-9a-zA-Z-]+(?:\\.[0-9a-zA-Z-]+)*))?$";
1132
+ readonly description: "Version of the chart.";
1133
+ readonly example: "2.x.x-cfke.x";
1134
+ };
1135
+ };
1136
+ readonly value_schemas: {
1137
+ readonly type: "array";
1138
+ readonly items: {
1139
+ readonly type: "object";
1140
+ readonly properties: {
1141
+ readonly version: {
1142
+ readonly type: "string";
1143
+ readonly pattern: "^(x|X|0|[1-9]\\d*)\\.(x|X|0|[1-9]\\d*)\\.(x|X|0|[1-9]\\d*)(?:-((?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\\.(?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\\+([0-9a-zA-Z-]+(?:\\.[0-9a-zA-Z-]+)*))?$";
1144
+ readonly description: "Version of the chart.";
1145
+ readonly example: "2.1.1-cfke.123";
1146
+ };
1147
+ readonly schema: {
1148
+ readonly type: "string";
1149
+ readonly description: "Schema of the chart values. JSON Schema as string";
1150
+ };
1151
+ readonly placeholder: {
1152
+ readonly type: "string";
1153
+ readonly description: "Schema of the chart values";
1154
+ readonly example: "foo: 1\nbar: example";
1155
+ };
1156
+ };
1157
+ readonly required: readonly ["version", "schema", "placeholder"];
1158
+ readonly additionalProperties: false;
1159
+ };
1160
+ };
1161
+ };
1162
+ readonly required: readonly ["id", "name", "developer", "description", "logoUrl", "longDescription", "categories", "version_channels", "value_schemas"];
1163
+ readonly additionalProperties: false;
1164
+ };
1194
1165
  export declare const OrganizationCreateInputSchema: {
1195
1166
  readonly type: "object";
1196
1167
  readonly properties: {
@@ -1280,12 +1251,6 @@ export declare const OrganizationSchema: {
1280
1251
  readonly description: "Maximum number of fleets that can be created per cluster.";
1281
1252
  readonly example: 999;
1282
1253
  };
1283
- readonly managed_fleets_cpu_max: {
1284
- readonly type: "integer";
1285
- readonly minimum: 0;
1286
- readonly description: "Maximum number of CPU cores per managed fleet.";
1287
- readonly example: 999;
1288
- };
1289
1254
  readonly cluster_tiers: {
1290
1255
  readonly type: "array";
1291
1256
  readonly items: {
@@ -1327,7 +1292,7 @@ export declare const OrganizationSchema: {
1327
1292
  readonly description: "List of CFKE control plane versions available for the organization.";
1328
1293
  };
1329
1294
  };
1330
- readonly required: readonly ["basic_clusters_max", "basic_clusters_available", "pro_clusters_max", "pro_clusters_available", "fleets_max", "managed_fleets_cpu_max", "cluster_tiers", "regions", "versions"];
1295
+ readonly required: readonly ["basic_clusters_max", "basic_clusters_available", "pro_clusters_max", "pro_clusters_available", "fleets_max", "cluster_tiers", "regions", "versions"];
1331
1296
  readonly additionalProperties: false;
1332
1297
  readonly description: "For security reasons, platform quota is controlled by Cloudfleet and can be updated only by Cloudfleet administrators. Please open a support ticket if you need to change the platform quota.";
1333
1298
  };
@@ -1489,13 +1454,13 @@ export declare const UsageSchema: {
1489
1454
  readonly type: "string";
1490
1455
  readonly description: "Tier of the cluster.";
1491
1456
  readonly example: "pro";
1492
- readonly enum: readonly [""];
1457
+ readonly enum: readonly ["basic", "pro", ""];
1493
1458
  };
1494
1459
  readonly product: {
1495
1460
  readonly type: "string";
1496
1461
  readonly description: "The product the usage is associated with";
1497
- readonly example: "cfke_infra_compute";
1498
- readonly enum: readonly ["cfke_infra_compute", "cfke_nodes", "cfke_controlplane"];
1462
+ readonly example: "cfke_controlplane";
1463
+ readonly enum: readonly ["cfke_controlplane", "cfke_connected_nodes", "infra_compute", "infra_storage", "infra_loadbalancing", "infra_traffic", "cfcr_storage"];
1499
1464
  };
1500
1465
  readonly node_name: {
1501
1466
  readonly type: "string";
@@ -1587,7 +1552,7 @@ export declare const UserCreateInputSchema: {
1587
1552
  readonly password: {
1588
1553
  readonly type: "string";
1589
1554
  readonly minLength: 8;
1590
- readonly description: "User password. Must be at least 8 characters long and contain at least one uppercase letter, one lowercase letter, one number and one special character.";
1555
+ readonly description: "User password. Must be at least 8 characters long.";
1591
1556
  };
1592
1557
  readonly status: {
1593
1558
  readonly type: "string";
@@ -1652,28 +1617,6 @@ export declare const UserSchema: {
1652
1617
  readonly description: "Creation date of the user. ISO 8601 date string in UTC timezone";
1653
1618
  readonly example: "2023-11-02T16:08:14.338Z";
1654
1619
  };
1655
- readonly cluster_permissions: {
1656
- readonly type: "array";
1657
- readonly items: {
1658
- readonly type: "object";
1659
- readonly properties: {
1660
- readonly cluster_id: {
1661
- readonly type: "string";
1662
- readonly format: "uuid";
1663
- readonly description: "Unique identifier of the cluster. UUID v4 string in canonical form";
1664
- readonly example: "035ce46d-44d8-4e58-a8a2-b0192d1c27df";
1665
- };
1666
- readonly permissions: {
1667
- readonly type: "string";
1668
- readonly description: "User permissions to access the cluster. Can be `readwrite` or `readonly`.";
1669
- readonly example: "readwrite";
1670
- readonly enum: readonly ["readwrite", "readonly"];
1671
- };
1672
- };
1673
- readonly required: readonly ["cluster_id", "permissions"];
1674
- readonly additionalProperties: false;
1675
- };
1676
- };
1677
1620
  };
1678
1621
  readonly required: readonly ["email", "first_name", "last_name", "role", "status", "id", "date_created"];
1679
1622
  readonly additionalProperties: false;