@cloudfleet/sdk 0.0.1-7bf9c12 → 0.0.1-7d337a1
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/client.gen.d.ts +13 -0
- package/dist/client.gen.d.ts.map +1 -0
- package/dist/client.gen.js +6 -0
- package/dist/client.gen.js.map +1 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +3 -0
- package/dist/index.js.map +1 -1
- package/dist/schemas.gen.d.ts +458 -693
- package/dist/schemas.gen.d.ts.map +1 -1
- package/dist/schemas.gen.js +459 -702
- package/dist/schemas.gen.js.map +1 -1
- package/dist/sdk.gen.d.ts +145 -139
- package/dist/sdk.gen.d.ts.map +1 -1
- package/dist/sdk.gen.js +212 -146
- package/dist/sdk.gen.js.map +1 -1
- package/dist/services/kubernetes/api.d.ts +196 -0
- package/dist/services/kubernetes/api.d.ts.map +1 -0
- package/dist/services/kubernetes/api.js +140 -0
- package/dist/services/kubernetes/api.js.map +1 -0
- package/dist/services/kubernetes/index.d.ts +44 -0
- package/dist/services/kubernetes/index.d.ts.map +1 -0
- package/dist/services/kubernetes/index.js +68 -0
- package/dist/services/kubernetes/index.js.map +1 -0
- package/dist/services/kubernetes/types.d.ts +1335 -0
- package/dist/services/kubernetes/types.d.ts.map +1 -0
- package/dist/services/kubernetes/types.js +2 -0
- package/dist/services/kubernetes/types.js.map +1 -0
- package/dist/types.gen.d.ts +477 -723
- package/dist/types.gen.d.ts.map +1 -1
- package/dist/zod.gen.d.ts +1297 -1223
- package/dist/zod.gen.d.ts.map +1 -1
- package/dist/zod.gen.js +551 -204
- package/dist/zod.gen.js.map +1 -1
- package/package.json +9 -5
package/dist/types.gen.d.ts
CHANGED
|
@@ -1,16 +1,182 @@
|
|
|
1
|
-
export type
|
|
1
|
+
export type BillingContact = {
|
|
2
2
|
/**
|
|
3
|
-
* Name of the
|
|
3
|
+
* Name of the legal entity. This name will be used in invoices. Use your first and last name for individual accounts.
|
|
4
|
+
*/
|
|
5
|
+
company?: string;
|
|
6
|
+
/**
|
|
7
|
+
* Street address, P.O. box, c/o
|
|
8
|
+
*/
|
|
9
|
+
address1?: string;
|
|
10
|
+
/**
|
|
11
|
+
* Apartment, suite, unit, building, floor, etc.
|
|
12
|
+
*/
|
|
13
|
+
address2?: string;
|
|
14
|
+
/**
|
|
15
|
+
* Postal code as a string.
|
|
16
|
+
*/
|
|
17
|
+
postalCode?: string;
|
|
18
|
+
/**
|
|
19
|
+
* City or town name.
|
|
20
|
+
*/
|
|
21
|
+
city?: string;
|
|
22
|
+
/**
|
|
23
|
+
* State, province, or region name.
|
|
24
|
+
*/
|
|
25
|
+
state?: string;
|
|
26
|
+
/**
|
|
27
|
+
* Country as a ISO 3166-1 alpha-2 country code.
|
|
28
|
+
*/
|
|
29
|
+
country?: string;
|
|
30
|
+
/**
|
|
31
|
+
* Phone number as a string.
|
|
32
|
+
*/
|
|
33
|
+
phone?: string;
|
|
34
|
+
/**
|
|
35
|
+
* Email address used for billing as a string.
|
|
36
|
+
*/
|
|
37
|
+
email: string;
|
|
38
|
+
/**
|
|
39
|
+
* First name of the billing contact person.
|
|
40
|
+
*/
|
|
41
|
+
first_name: string;
|
|
42
|
+
/**
|
|
43
|
+
* Last name of the billing contact person.
|
|
44
|
+
*/
|
|
45
|
+
last_name: string;
|
|
46
|
+
/**
|
|
47
|
+
* Tax ID of the organization.
|
|
48
|
+
*/
|
|
49
|
+
tax_id?: string;
|
|
50
|
+
/**
|
|
51
|
+
* Type of the tax ID.
|
|
52
|
+
*/
|
|
53
|
+
tax_id_type?: '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' | '';
|
|
54
|
+
};
|
|
55
|
+
export type BillingCredits = {
|
|
56
|
+
/**
|
|
57
|
+
* Generated unique identifier of the promotional code.
|
|
58
|
+
*/
|
|
59
|
+
id?: string;
|
|
60
|
+
/**
|
|
61
|
+
* Date of the credit application. ISO 8601 date string in the UTC timezone.
|
|
62
|
+
*/
|
|
63
|
+
date_created: string;
|
|
64
|
+
/**
|
|
65
|
+
* Promotional code used by the customer.
|
|
66
|
+
*/
|
|
67
|
+
code: string;
|
|
68
|
+
/**
|
|
69
|
+
* Description of the promotional code.
|
|
70
|
+
*/
|
|
71
|
+
description?: string;
|
|
72
|
+
/**
|
|
73
|
+
* List of product SKUs that the promotional code can be used on.
|
|
74
|
+
*/
|
|
75
|
+
products?: Array<string>;
|
|
76
|
+
/**
|
|
77
|
+
* Type of the promotional code.
|
|
78
|
+
*/
|
|
79
|
+
type: 'credit' | 'discount';
|
|
80
|
+
/**
|
|
81
|
+
* Value of the promotional code.
|
|
82
|
+
*/
|
|
83
|
+
value: number;
|
|
84
|
+
/**
|
|
85
|
+
* Date of the billing cycle. An ISO 8601 date string in the UTC timezone.
|
|
86
|
+
*/
|
|
87
|
+
billing_period: string;
|
|
88
|
+
/**
|
|
89
|
+
* Value of the promotional code.
|
|
90
|
+
*/
|
|
91
|
+
value_remaining?: number;
|
|
92
|
+
};
|
|
93
|
+
export type ChartCreateInput = {
|
|
94
|
+
/**
|
|
95
|
+
* Values to be used in the chart encoded as a JSON string.
|
|
96
|
+
*/
|
|
97
|
+
values: string;
|
|
98
|
+
/**
|
|
99
|
+
* Desired version range or channel for the chart.
|
|
100
|
+
*/
|
|
101
|
+
version_channel: string;
|
|
102
|
+
/**
|
|
103
|
+
* Unique identifier of the chart deployment aka name of the helm release.
|
|
104
|
+
*/
|
|
105
|
+
name: string;
|
|
106
|
+
/**
|
|
107
|
+
* Namespace of the chart deployment
|
|
108
|
+
*/
|
|
109
|
+
namespace: string;
|
|
110
|
+
/**
|
|
111
|
+
* Name of the chart listing
|
|
112
|
+
*/
|
|
113
|
+
chart: string;
|
|
114
|
+
};
|
|
115
|
+
export type Chart = {
|
|
116
|
+
/**
|
|
117
|
+
* Values to be used in the chart encoded as a JSON string.
|
|
118
|
+
*/
|
|
119
|
+
values: string;
|
|
120
|
+
/**
|
|
121
|
+
* Desired version range or channel for the chart.
|
|
122
|
+
*/
|
|
123
|
+
version_channel: string;
|
|
124
|
+
/**
|
|
125
|
+
* Unique identifier of the chart deployment aka name of the helm release.
|
|
4
126
|
*/
|
|
5
127
|
name: string;
|
|
6
128
|
/**
|
|
7
|
-
*
|
|
129
|
+
* Namespace of the chart deployment
|
|
130
|
+
*/
|
|
131
|
+
namespace: string;
|
|
132
|
+
/**
|
|
133
|
+
* Name of the chart listing
|
|
134
|
+
*/
|
|
135
|
+
chart: string;
|
|
136
|
+
/**
|
|
137
|
+
* Status of the chart deployment.
|
|
138
|
+
*/
|
|
139
|
+
status: 'InstallSucceeded' | 'InstallFailed' | 'UpgradeSucceeded' | 'UpgradeFailed' | 'TestSucceeded' | 'TestFailed' | 'RollbackSucceeded' | 'RollbackFailed' | 'UninstallSucceeded' | 'UninstallFailed' | 'ArtifactFailed' | 'DependencyNotReady' | 'Progressing' | 'SourceNotReady';
|
|
140
|
+
/**
|
|
141
|
+
* Current version of the chart deployment.
|
|
8
142
|
*/
|
|
9
|
-
|
|
143
|
+
version_current: string;
|
|
144
|
+
/**
|
|
145
|
+
* Creation date and time of the chart deployment.
|
|
146
|
+
*/
|
|
147
|
+
created_at: string;
|
|
148
|
+
/**
|
|
149
|
+
* Last update date and time of the chart deployment.
|
|
150
|
+
*/
|
|
151
|
+
updated_at: string;
|
|
152
|
+
/**
|
|
153
|
+
* Indicates if the chart deployment is ready to be used.
|
|
154
|
+
*/
|
|
155
|
+
ready: boolean;
|
|
156
|
+
};
|
|
157
|
+
export type ChartUpdateInput = {
|
|
158
|
+
/**
|
|
159
|
+
* Values to be used in the chart encoded as a JSON string.
|
|
160
|
+
*/
|
|
161
|
+
values: string;
|
|
162
|
+
/**
|
|
163
|
+
* Desired version range or channel for the chart.
|
|
164
|
+
*/
|
|
165
|
+
version_channel: string;
|
|
166
|
+
};
|
|
167
|
+
export type ClusterCreateInput = {
|
|
168
|
+
/**
|
|
169
|
+
* Name of the cluster.
|
|
170
|
+
*/
|
|
171
|
+
name: string;
|
|
10
172
|
/**
|
|
11
173
|
* Tier of the cluster.
|
|
12
174
|
*/
|
|
13
175
|
tier: 'basic' | 'pro';
|
|
176
|
+
/**
|
|
177
|
+
* Cloudfleet control plane region. One of "staging", "northamerica-central-1", "europe-central-1a". This field can not be updated after creation.
|
|
178
|
+
*/
|
|
179
|
+
region?: 'staging' | 'northamerica-central-1' | 'europe-central-1a';
|
|
14
180
|
/**
|
|
15
181
|
* Version of the kubernetes cluster.
|
|
16
182
|
*/
|
|
@@ -73,14 +239,14 @@ export type Cluster = {
|
|
|
73
239
|
* Name of the cluster.
|
|
74
240
|
*/
|
|
75
241
|
name: string;
|
|
76
|
-
/**
|
|
77
|
-
* Cloudfleet control plane region. One of "staging", "northamerica-central-1". This field can not be updated after creation.
|
|
78
|
-
*/
|
|
79
|
-
region?: 'staging' | 'northamerica-central-1';
|
|
80
242
|
/**
|
|
81
243
|
* Tier of the cluster.
|
|
82
244
|
*/
|
|
83
245
|
tier: 'basic' | 'pro';
|
|
246
|
+
/**
|
|
247
|
+
* Cloudfleet control plane region. One of "staging", "northamerica-central-1", "europe-central-1a". This field can not be updated after creation.
|
|
248
|
+
*/
|
|
249
|
+
region?: 'staging' | 'northamerica-central-1' | 'europe-central-1a';
|
|
84
250
|
/**
|
|
85
251
|
* Version of the kubernetes cluster.
|
|
86
252
|
*/
|
|
@@ -120,6 +286,10 @@ export type ClusterUpdateInput = {
|
|
|
120
286
|
* Name of the cluster.
|
|
121
287
|
*/
|
|
122
288
|
name?: string;
|
|
289
|
+
/**
|
|
290
|
+
* Tier of the cluster.
|
|
291
|
+
*/
|
|
292
|
+
tier: 'basic' | 'pro';
|
|
123
293
|
/**
|
|
124
294
|
* Version of the kubernetes cluster.
|
|
125
295
|
*/
|
|
@@ -144,10 +314,10 @@ export type FleetCreateInput = {
|
|
|
144
314
|
};
|
|
145
315
|
hetzner?: {
|
|
146
316
|
enabled?: boolean;
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
317
|
+
/**
|
|
318
|
+
* Hetzner Cloud API key with read / write access
|
|
319
|
+
*/
|
|
320
|
+
apiKey: string;
|
|
151
321
|
};
|
|
152
322
|
aws?: {
|
|
153
323
|
enabled?: boolean;
|
|
@@ -160,10 +330,6 @@ export type FleetCreateInput = {
|
|
|
160
330
|
* Unique identifier of the kubernetes fleet.
|
|
161
331
|
*/
|
|
162
332
|
id: string;
|
|
163
|
-
/**
|
|
164
|
-
* Specifies the fleet type: infrastructure managed by Cloudfleet or Connected Fleets.
|
|
165
|
-
*/
|
|
166
|
-
type: 'managed' | 'connected';
|
|
167
333
|
};
|
|
168
334
|
export type Fleet = {
|
|
169
335
|
/**
|
|
@@ -184,10 +350,10 @@ export type Fleet = {
|
|
|
184
350
|
};
|
|
185
351
|
hetzner?: {
|
|
186
352
|
enabled?: boolean;
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
353
|
+
/**
|
|
354
|
+
* Hetzner Cloud API key with read / write access
|
|
355
|
+
*/
|
|
356
|
+
apiKey: string;
|
|
191
357
|
};
|
|
192
358
|
aws?: {
|
|
193
359
|
enabled?: boolean;
|
|
@@ -200,10 +366,6 @@ export type Fleet = {
|
|
|
200
366
|
* Unique identifier of the kubernetes fleet.
|
|
201
367
|
*/
|
|
202
368
|
id: string;
|
|
203
|
-
/**
|
|
204
|
-
* Specifies the fleet type: infrastructure managed by Cloudfleet or Connected Fleets.
|
|
205
|
-
*/
|
|
206
|
-
type: 'managed' | 'connected';
|
|
207
369
|
};
|
|
208
370
|
export type FleetUpdateInput = {
|
|
209
371
|
/**
|
|
@@ -224,10 +386,10 @@ export type FleetUpdateInput = {
|
|
|
224
386
|
};
|
|
225
387
|
hetzner?: {
|
|
226
388
|
enabled?: boolean;
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
389
|
+
/**
|
|
390
|
+
* Hetzner Cloud API key with read / write access
|
|
391
|
+
*/
|
|
392
|
+
apiKey: string;
|
|
231
393
|
};
|
|
232
394
|
aws?: {
|
|
233
395
|
enabled?: boolean;
|
|
@@ -237,178 +399,6 @@ export type FleetUpdateInput = {
|
|
|
237
399
|
controllerRoleArn: string;
|
|
238
400
|
};
|
|
239
401
|
};
|
|
240
|
-
export type InfrastructureFilter = {
|
|
241
|
-
/**
|
|
242
|
-
* Version of the infrastructure filter definition. Currently only version 1 is supported.
|
|
243
|
-
*/
|
|
244
|
-
version?: 1;
|
|
245
|
-
/**
|
|
246
|
-
* Limit selection of cloud providers to this list. For the full list of supported providers, see [Providers](https://cloudfleet.ai/docs/cloud-infrastructure/providers/)
|
|
247
|
-
*/
|
|
248
|
-
provider?: Array<string>;
|
|
249
|
-
/**
|
|
250
|
-
* 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/)
|
|
251
|
-
*/
|
|
252
|
-
region?: Array<string>;
|
|
253
|
-
/**
|
|
254
|
-
* 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/)
|
|
255
|
-
*/
|
|
256
|
-
sub_region?: Array<string>;
|
|
257
|
-
/**
|
|
258
|
-
* Limits selection of cloud regions to this list of canonical provider regions
|
|
259
|
-
*/
|
|
260
|
-
csp_region?: Array<string>;
|
|
261
|
-
/**
|
|
262
|
-
* Limits selection of instance types to this list. Instance / VM type as defined by the cloud service provider
|
|
263
|
-
*/
|
|
264
|
-
instance_type?: Array<string>;
|
|
265
|
-
/**
|
|
266
|
-
* 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
|
|
267
|
-
*/
|
|
268
|
-
accelerator_name?: Array<string>;
|
|
269
|
-
/**
|
|
270
|
-
* List of normalized accelerator manufacturer names. For example, all Nvidia GPUs will have 'NVIDIA' as accelerator manufacturer
|
|
271
|
-
*/
|
|
272
|
-
accelerator_manufacturer?: Array<string>;
|
|
273
|
-
/**
|
|
274
|
-
* 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.
|
|
275
|
-
*/
|
|
276
|
-
accelerator_count_min?: number;
|
|
277
|
-
/**
|
|
278
|
-
* 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.
|
|
279
|
-
*/
|
|
280
|
-
accelerator_count_max?: number;
|
|
281
|
-
/**
|
|
282
|
-
* 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
|
|
283
|
-
*/
|
|
284
|
-
accelerator_memory_min?: number;
|
|
285
|
-
/**
|
|
286
|
-
* 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
|
|
287
|
-
*/
|
|
288
|
-
accelerator_memory_max?: number;
|
|
289
|
-
/**
|
|
290
|
-
* Minimum amount of RAM in gibibytes (GiB)
|
|
291
|
-
*/
|
|
292
|
-
memory_min?: number;
|
|
293
|
-
/**
|
|
294
|
-
* Maximum amount of RAM in gibibytes (GiB)
|
|
295
|
-
*/
|
|
296
|
-
memory_max?: number;
|
|
297
|
-
/**
|
|
298
|
-
* 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.
|
|
299
|
-
*/
|
|
300
|
-
vcpu_min?: number;
|
|
301
|
-
/**
|
|
302
|
-
* 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.
|
|
303
|
-
*/
|
|
304
|
-
vcpu_max?: number;
|
|
305
|
-
/**
|
|
306
|
-
* Minimum total storage in GiB (attached and local)
|
|
307
|
-
*/
|
|
308
|
-
storage_total_min?: number;
|
|
309
|
-
/**
|
|
310
|
-
* Maximum total storage in GiB (attached and local)
|
|
311
|
-
*/
|
|
312
|
-
storage_total_max?: number;
|
|
313
|
-
/**
|
|
314
|
-
* Minimum volume of directly attached, block-device local storage in gibibytes (GiB)
|
|
315
|
-
*/
|
|
316
|
-
storage_local_min?: number;
|
|
317
|
-
/**
|
|
318
|
-
* Maximum volume of directly attached, block-device local storage in gibibytes (GiB)
|
|
319
|
-
*/
|
|
320
|
-
storage_local_max?: number;
|
|
321
|
-
/**
|
|
322
|
-
* Minimum price of running the inctance per hour in USD as defined by the cloud service provider. The cheapest instance will be selected.
|
|
323
|
-
*/
|
|
324
|
-
price_min?: number;
|
|
325
|
-
/**
|
|
326
|
-
* Maximum price of running the inctance per hour in USD as defined by the cloud service provider. The cheapest instance will be selected.
|
|
327
|
-
*/
|
|
328
|
-
price_max?: number;
|
|
329
|
-
};
|
|
330
|
-
export type InfrastructureInstance = {
|
|
331
|
-
/**
|
|
332
|
-
* Cloudfleet instance SKU. Has a format of <provider>-<csp_region>-<instance_type>.
|
|
333
|
-
*/
|
|
334
|
-
sku: string;
|
|
335
|
-
/**
|
|
336
|
-
* Normalized cloud service provider name. For the full list of supported providers, see [Providers](https://cloudfleet.ai/docs/cloud-infrastructure/providers/)
|
|
337
|
-
*/
|
|
338
|
-
provider: string;
|
|
339
|
-
/**
|
|
340
|
-
* 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/)
|
|
341
|
-
*/
|
|
342
|
-
region: string;
|
|
343
|
-
/**
|
|
344
|
-
* 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/)
|
|
345
|
-
*/
|
|
346
|
-
sub_region: string;
|
|
347
|
-
/**
|
|
348
|
-
* Region as defined by the cloud service provider
|
|
349
|
-
*/
|
|
350
|
-
csp_region: string;
|
|
351
|
-
/**
|
|
352
|
-
* Availability zone as defined by the cloud service provider
|
|
353
|
-
*/
|
|
354
|
-
csp_zone: string;
|
|
355
|
-
/**
|
|
356
|
-
* Instance / VM type as defined by the cloud service provider
|
|
357
|
-
*/
|
|
358
|
-
instance_type: string;
|
|
359
|
-
/**
|
|
360
|
-
* Instance CPU architecture
|
|
361
|
-
*/
|
|
362
|
-
architecture: string;
|
|
363
|
-
/**
|
|
364
|
-
* Instance operating system
|
|
365
|
-
*/
|
|
366
|
-
os: string;
|
|
367
|
-
/**
|
|
368
|
-
* 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.
|
|
369
|
-
*/
|
|
370
|
-
vcpu: number;
|
|
371
|
-
/**
|
|
372
|
-
* Total amount of RAM in gibibytes (GiB)
|
|
373
|
-
*/
|
|
374
|
-
memory: number;
|
|
375
|
-
/**
|
|
376
|
-
* Volume of directly attached, block-device local storage in gibibytes (GiB)
|
|
377
|
-
*/
|
|
378
|
-
local_storage: number;
|
|
379
|
-
/**
|
|
380
|
-
* 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
|
|
381
|
-
*/
|
|
382
|
-
accelerator_name?: string;
|
|
383
|
-
/**
|
|
384
|
-
* Normalized manufacturer name of accelerator. For example, all Nvidia GPUs will have 'NVIDIA' as accelerator manufacturer
|
|
385
|
-
*/
|
|
386
|
-
accelerator_manufacturer?: string;
|
|
387
|
-
/**
|
|
388
|
-
* 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.
|
|
389
|
-
*/
|
|
390
|
-
accelerator_count?: number;
|
|
391
|
-
/**
|
|
392
|
-
* 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
|
|
393
|
-
*/
|
|
394
|
-
accelerator_memory?: number;
|
|
395
|
-
/**
|
|
396
|
-
* Maximum number of pods that can be run on this instance type.
|
|
397
|
-
*/
|
|
398
|
-
pods_capacity?: number;
|
|
399
|
-
/**
|
|
400
|
-
* Capacity type of the instance. E.g. `on-demand`, `spot`.
|
|
401
|
-
*/
|
|
402
|
-
capacity_type?: string;
|
|
403
|
-
/**
|
|
404
|
-
* Price of running the inctance per hour in USD as defined by the cloud service provider
|
|
405
|
-
*/
|
|
406
|
-
price: number;
|
|
407
|
-
/**
|
|
408
|
-
* Whether this instance type is available.
|
|
409
|
-
*/
|
|
410
|
-
available?: boolean;
|
|
411
|
-
};
|
|
412
402
|
export type Invite = {
|
|
413
403
|
/**
|
|
414
404
|
* Unique identifier of the invitation.
|
|
@@ -663,35 +653,52 @@ export type Invoice = {
|
|
|
663
653
|
} | string>;
|
|
664
654
|
}>;
|
|
665
655
|
};
|
|
666
|
-
export type
|
|
656
|
+
export type MarketplaceListing = {
|
|
667
657
|
/**
|
|
668
|
-
*
|
|
658
|
+
* Id of the chart listing
|
|
669
659
|
*/
|
|
670
|
-
|
|
660
|
+
id: string;
|
|
671
661
|
/**
|
|
672
|
-
*
|
|
662
|
+
* Name of the chart listing
|
|
673
663
|
*/
|
|
674
|
-
|
|
664
|
+
name: string;
|
|
675
665
|
/**
|
|
676
|
-
*
|
|
666
|
+
* Author of the chart listing
|
|
677
667
|
*/
|
|
678
|
-
|
|
668
|
+
developer: string;
|
|
679
669
|
/**
|
|
680
|
-
*
|
|
670
|
+
* Short description of the chart listing
|
|
681
671
|
*/
|
|
682
|
-
|
|
672
|
+
description: string;
|
|
683
673
|
/**
|
|
684
|
-
*
|
|
674
|
+
* Logo of the chart listing
|
|
685
675
|
*/
|
|
686
|
-
|
|
676
|
+
logoUrl: string;
|
|
687
677
|
/**
|
|
688
|
-
*
|
|
678
|
+
* Long description of the chart listing
|
|
689
679
|
*/
|
|
690
|
-
|
|
680
|
+
longDescription: string;
|
|
691
681
|
/**
|
|
692
|
-
*
|
|
682
|
+
* Tags of the chart
|
|
693
683
|
*/
|
|
694
|
-
|
|
684
|
+
categories: Array<string>;
|
|
685
|
+
version_channels: Array<string>;
|
|
686
|
+
value_schemas: Array<{
|
|
687
|
+
/**
|
|
688
|
+
* Version of the chart.
|
|
689
|
+
*/
|
|
690
|
+
version: string;
|
|
691
|
+
/**
|
|
692
|
+
* Schema of the chart values. JSON Schema as string
|
|
693
|
+
*/
|
|
694
|
+
schema: string;
|
|
695
|
+
/**
|
|
696
|
+
* Schema of the chart values
|
|
697
|
+
*/
|
|
698
|
+
placeholder: string;
|
|
699
|
+
}>;
|
|
700
|
+
};
|
|
701
|
+
export type OrganizationCreateInput = {
|
|
695
702
|
/**
|
|
696
703
|
* Email address used for billing as a string.
|
|
697
704
|
*/
|
|
@@ -704,116 +711,24 @@ export type OrganizationContactInfo = {
|
|
|
704
711
|
* Last name of the billing contact person.
|
|
705
712
|
*/
|
|
706
713
|
last_name: string;
|
|
707
|
-
};
|
|
708
|
-
export type OrganizationCreateInput = {
|
|
709
714
|
/**
|
|
710
715
|
* Name of the legal entity. This name will be used in invoices. Use your first and last name for individual accounts.
|
|
711
716
|
*/
|
|
712
|
-
|
|
713
|
-
/**
|
|
714
|
-
* Organization contact information and billing address.
|
|
715
|
-
*/
|
|
716
|
-
contactInfo: {
|
|
717
|
-
/**
|
|
718
|
-
* Street address, P.O. box, c/o
|
|
719
|
-
*/
|
|
720
|
-
address1?: string;
|
|
721
|
-
/**
|
|
722
|
-
* Apartment, suite, unit, building, floor, etc.
|
|
723
|
-
*/
|
|
724
|
-
address2?: string;
|
|
725
|
-
/**
|
|
726
|
-
* Postal code as a string.
|
|
727
|
-
*/
|
|
728
|
-
postalCode?: string;
|
|
729
|
-
/**
|
|
730
|
-
* City or town name.
|
|
731
|
-
*/
|
|
732
|
-
city?: string;
|
|
733
|
-
/**
|
|
734
|
-
* State, province, or region name.
|
|
735
|
-
*/
|
|
736
|
-
state?: string;
|
|
737
|
-
/**
|
|
738
|
-
* Country as a ISO 3166-1 alpha-2 country code.
|
|
739
|
-
*/
|
|
740
|
-
country?: string;
|
|
741
|
-
/**
|
|
742
|
-
* Phone number as a string.
|
|
743
|
-
*/
|
|
744
|
-
phone?: string;
|
|
745
|
-
/**
|
|
746
|
-
* Email address used for billing as a string.
|
|
747
|
-
*/
|
|
748
|
-
email: string;
|
|
749
|
-
/**
|
|
750
|
-
* First name of the billing contact person.
|
|
751
|
-
*/
|
|
752
|
-
first_name: string;
|
|
753
|
-
/**
|
|
754
|
-
* Last name of the billing contact person.
|
|
755
|
-
*/
|
|
756
|
-
last_name: string;
|
|
757
|
-
};
|
|
717
|
+
company_name: string;
|
|
758
718
|
/**
|
|
759
719
|
* 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.
|
|
760
720
|
*/
|
|
761
721
|
password: string;
|
|
762
722
|
};
|
|
763
723
|
export type Organization = {
|
|
764
|
-
/**
|
|
765
|
-
* Name of the legal entity. This name will be used in invoices. Use your first and last name for individual accounts.
|
|
766
|
-
*/
|
|
767
|
-
name: string;
|
|
768
|
-
/**
|
|
769
|
-
* Organization contact information and billing address.
|
|
770
|
-
*/
|
|
771
|
-
contactInfo: {
|
|
772
|
-
/**
|
|
773
|
-
* Street address, P.O. box, c/o
|
|
774
|
-
*/
|
|
775
|
-
address1?: string;
|
|
776
|
-
/**
|
|
777
|
-
* Apartment, suite, unit, building, floor, etc.
|
|
778
|
-
*/
|
|
779
|
-
address2?: string;
|
|
780
|
-
/**
|
|
781
|
-
* Postal code as a string.
|
|
782
|
-
*/
|
|
783
|
-
postalCode?: string;
|
|
784
|
-
/**
|
|
785
|
-
* City or town name.
|
|
786
|
-
*/
|
|
787
|
-
city?: string;
|
|
788
|
-
/**
|
|
789
|
-
* State, province, or region name.
|
|
790
|
-
*/
|
|
791
|
-
state?: string;
|
|
792
|
-
/**
|
|
793
|
-
* Country as a ISO 3166-1 alpha-2 country code.
|
|
794
|
-
*/
|
|
795
|
-
country?: string;
|
|
796
|
-
/**
|
|
797
|
-
* Phone number as a string.
|
|
798
|
-
*/
|
|
799
|
-
phone?: string;
|
|
800
|
-
/**
|
|
801
|
-
* Email address used for billing as a string.
|
|
802
|
-
*/
|
|
803
|
-
email: string;
|
|
804
|
-
/**
|
|
805
|
-
* First name of the billing contact person.
|
|
806
|
-
*/
|
|
807
|
-
first_name: string;
|
|
808
|
-
/**
|
|
809
|
-
* Last name of the billing contact person.
|
|
810
|
-
*/
|
|
811
|
-
last_name: string;
|
|
812
|
-
};
|
|
813
724
|
/**
|
|
814
725
|
* Unique identifier of the organization. UUID v4 string in canonical form
|
|
815
726
|
*/
|
|
816
727
|
id: string;
|
|
728
|
+
/**
|
|
729
|
+
* Name of the legal entity. This name will be used in invoices. Use your first and last name for individual accounts.
|
|
730
|
+
*/
|
|
731
|
+
name?: string;
|
|
817
732
|
/**
|
|
818
733
|
* Creation date of the organization. ISO 8601 date string in UTC timezone
|
|
819
734
|
*/
|
|
@@ -842,10 +757,6 @@ export type Organization = {
|
|
|
842
757
|
* Maximum number of fleets that can be created per cluster.
|
|
843
758
|
*/
|
|
844
759
|
fleets_max: number;
|
|
845
|
-
/**
|
|
846
|
-
* Maximum number of CPU cores per managed fleet.
|
|
847
|
-
*/
|
|
848
|
-
managed_fleets_cpu_max: number;
|
|
849
760
|
/**
|
|
850
761
|
* List of Cloudfleet cluster tiers available for the organization.
|
|
851
762
|
*/
|
|
@@ -868,66 +779,11 @@ export type Organization = {
|
|
|
868
779
|
label: string;
|
|
869
780
|
}>;
|
|
870
781
|
};
|
|
871
|
-
/**
|
|
872
|
-
* List of pending actions that the user needs to complete. Used in Cloudfleet console to guide the user through the onboarding process.
|
|
873
|
-
*/
|
|
874
|
-
pending_actions: Array<'signup-billing-address' | 'signup-payment-method' | 'signup-invite-team' | 'signup-create-cluster'>;
|
|
875
782
|
/**
|
|
876
783
|
* Status of the organization. Can be `active` or `closed`, or `suspended`.
|
|
877
784
|
*/
|
|
878
785
|
status: 'active' | 'closed' | 'suspended';
|
|
879
786
|
};
|
|
880
|
-
export type OrganizationUpdateInput = {
|
|
881
|
-
/**
|
|
882
|
-
* Name of the legal entity. This name will be used in invoices. Use your first and last name for individual accounts.
|
|
883
|
-
*/
|
|
884
|
-
name?: string;
|
|
885
|
-
/**
|
|
886
|
-
* Organization contact information and billing address.
|
|
887
|
-
*/
|
|
888
|
-
contactInfo: {
|
|
889
|
-
/**
|
|
890
|
-
* Street address, P.O. box, c/o
|
|
891
|
-
*/
|
|
892
|
-
address1?: string;
|
|
893
|
-
/**
|
|
894
|
-
* Apartment, suite, unit, building, floor, etc.
|
|
895
|
-
*/
|
|
896
|
-
address2?: string;
|
|
897
|
-
/**
|
|
898
|
-
* Postal code as a string.
|
|
899
|
-
*/
|
|
900
|
-
postalCode?: string;
|
|
901
|
-
/**
|
|
902
|
-
* City or town name.
|
|
903
|
-
*/
|
|
904
|
-
city?: string;
|
|
905
|
-
/**
|
|
906
|
-
* State, province, or region name.
|
|
907
|
-
*/
|
|
908
|
-
state?: string;
|
|
909
|
-
/**
|
|
910
|
-
* Country as a ISO 3166-1 alpha-2 country code.
|
|
911
|
-
*/
|
|
912
|
-
country?: string;
|
|
913
|
-
/**
|
|
914
|
-
* Phone number as a string.
|
|
915
|
-
*/
|
|
916
|
-
phone?: string;
|
|
917
|
-
/**
|
|
918
|
-
* Email address used for billing as a string.
|
|
919
|
-
*/
|
|
920
|
-
email: string;
|
|
921
|
-
/**
|
|
922
|
-
* First name of the billing contact person.
|
|
923
|
-
*/
|
|
924
|
-
first_name: string;
|
|
925
|
-
/**
|
|
926
|
-
* Last name of the billing contact person.
|
|
927
|
-
*/
|
|
928
|
-
last_name: string;
|
|
929
|
-
};
|
|
930
|
-
};
|
|
931
787
|
export type PaymentMethod = {
|
|
932
788
|
/**
|
|
933
789
|
* Unique identifier of the organization. UUID v4 string in canonical form.
|
|
@@ -1012,11 +868,11 @@ export type Usage = {
|
|
|
1012
868
|
/**
|
|
1013
869
|
* Tier of the cluster.
|
|
1014
870
|
*/
|
|
1015
|
-
cluster_tier: '';
|
|
871
|
+
cluster_tier: 'basic' | 'pro' | '';
|
|
1016
872
|
/**
|
|
1017
873
|
* The product the usage is associated with
|
|
1018
874
|
*/
|
|
1019
|
-
product: '
|
|
875
|
+
product: 'cfke_controlplane' | 'cfke_connected_nodes' | 'infra_compute' | 'infra_storage' | 'infra_loadbalancing' | 'infra_traffic' | 'cfcr_storage';
|
|
1020
876
|
/**
|
|
1021
877
|
* Name of the Kubernetes node
|
|
1022
878
|
*/
|
|
@@ -1048,7 +904,7 @@ export type UserCreateInput = {
|
|
|
1048
904
|
*/
|
|
1049
905
|
code: string;
|
|
1050
906
|
/**
|
|
1051
|
-
* User password. Must be at least 8 characters long
|
|
907
|
+
* User password. Must be at least 8 characters long.
|
|
1052
908
|
*/
|
|
1053
909
|
password: string;
|
|
1054
910
|
/**
|
|
@@ -1089,16 +945,6 @@ export type User = {
|
|
|
1089
945
|
* Creation date of the user. ISO 8601 date string in UTC timezone
|
|
1090
946
|
*/
|
|
1091
947
|
date_created: string;
|
|
1092
|
-
cluster_permissions?: Array<{
|
|
1093
|
-
/**
|
|
1094
|
-
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
1095
|
-
*/
|
|
1096
|
-
cluster_id: string;
|
|
1097
|
-
/**
|
|
1098
|
-
* User permissions to access the cluster. Can be `readwrite` or `readonly`.
|
|
1099
|
-
*/
|
|
1100
|
-
permissions: 'readwrite' | 'readonly';
|
|
1101
|
-
}>;
|
|
1102
948
|
};
|
|
1103
949
|
export type UserUpdateInput = {
|
|
1104
950
|
/**
|
|
@@ -1181,65 +1027,241 @@ export type GetPaymentMethodSecretData = {
|
|
|
1181
1027
|
};
|
|
1182
1028
|
export type GetPaymentMethodSecretResponses = {
|
|
1183
1029
|
/**
|
|
1184
|
-
* The client secret. Used for client-side retrieval using a publishable key. The client secret can be used to complete a payment from your frontend. It should not be stored, logged, or exposed to anyone other than the customer. Make sure that you have TLS enabled on any page that includes the client secret.
|
|
1185
|
-
*
|
|
1030
|
+
* The client secret. Used for client-side retrieval using a publishable key. The client secret can be used to complete a payment from your frontend. It should not be stored, logged, or exposed to anyone other than the customer. Make sure that you have TLS enabled on any page that includes the client secret.
|
|
1031
|
+
*
|
|
1032
|
+
*/
|
|
1033
|
+
200: {
|
|
1034
|
+
/**
|
|
1035
|
+
* The client secret.
|
|
1036
|
+
*/
|
|
1037
|
+
id?: string;
|
|
1038
|
+
};
|
|
1039
|
+
};
|
|
1040
|
+
export type GetPaymentMethodSecretResponse = GetPaymentMethodSecretResponses[keyof GetPaymentMethodSecretResponses];
|
|
1041
|
+
export type ListInvoicesData = {
|
|
1042
|
+
body?: never;
|
|
1043
|
+
path?: never;
|
|
1044
|
+
query: {
|
|
1045
|
+
/**
|
|
1046
|
+
* Start date for the usage. Date of oldest data point to retrieve.
|
|
1047
|
+
*/
|
|
1048
|
+
start_date: string;
|
|
1049
|
+
/**
|
|
1050
|
+
* End date for the usage. Date of newest data point to retrieve.
|
|
1051
|
+
*/
|
|
1052
|
+
end_date: string;
|
|
1053
|
+
};
|
|
1054
|
+
url: '/billing/invoices';
|
|
1055
|
+
};
|
|
1056
|
+
export type ListInvoicesErrors = {
|
|
1057
|
+
/**
|
|
1058
|
+
* Not authenticated
|
|
1059
|
+
*/
|
|
1060
|
+
401: unknown;
|
|
1061
|
+
};
|
|
1062
|
+
export type ListInvoicesResponses = {
|
|
1063
|
+
/**
|
|
1064
|
+
* An array of usage records.
|
|
1065
|
+
*/
|
|
1066
|
+
200: Array<Invoice>;
|
|
1067
|
+
};
|
|
1068
|
+
export type ListInvoicesResponse = ListInvoicesResponses[keyof ListInvoicesResponses];
|
|
1069
|
+
export type GetInvoiceData = {
|
|
1070
|
+
body?: never;
|
|
1071
|
+
path: {
|
|
1072
|
+
/**
|
|
1073
|
+
* Unique invoice identifier. UUID v4 string in canonical form
|
|
1074
|
+
*/
|
|
1075
|
+
id: string;
|
|
1076
|
+
};
|
|
1077
|
+
query?: never;
|
|
1078
|
+
url: '/billing/invoices/{id}';
|
|
1079
|
+
};
|
|
1080
|
+
export type GetInvoiceResponses = {
|
|
1081
|
+
/**
|
|
1082
|
+
* Returns a single Invoice HTML representation under `html` property.
|
|
1083
|
+
*/
|
|
1084
|
+
200: {
|
|
1085
|
+
html?: string;
|
|
1086
|
+
};
|
|
1087
|
+
};
|
|
1088
|
+
export type GetInvoiceResponse = GetInvoiceResponses[keyof GetInvoiceResponses];
|
|
1089
|
+
export type GetContactData = {
|
|
1090
|
+
body?: never;
|
|
1091
|
+
path?: never;
|
|
1092
|
+
query?: never;
|
|
1093
|
+
url: '/billing/contact';
|
|
1094
|
+
};
|
|
1095
|
+
export type GetContactResponses = {
|
|
1096
|
+
/**
|
|
1097
|
+
* Returns a single object containing organization contact and billing address details.
|
|
1098
|
+
*/
|
|
1099
|
+
200: BillingContact;
|
|
1100
|
+
};
|
|
1101
|
+
export type GetContactResponse = GetContactResponses[keyof GetContactResponses];
|
|
1102
|
+
export type UpdateContactData = {
|
|
1103
|
+
body: BillingContact;
|
|
1104
|
+
path?: never;
|
|
1105
|
+
query?: never;
|
|
1106
|
+
url: '/billing/contact';
|
|
1107
|
+
};
|
|
1108
|
+
export type UpdateContactResponses = {
|
|
1109
|
+
/**
|
|
1110
|
+
* Successfully updated. Returns updated organization details.
|
|
1111
|
+
*/
|
|
1112
|
+
200: BillingContact;
|
|
1113
|
+
};
|
|
1114
|
+
export type UpdateContactResponse = UpdateContactResponses[keyof UpdateContactResponses];
|
|
1115
|
+
export type GetCreditsData = {
|
|
1116
|
+
body?: never;
|
|
1117
|
+
path?: never;
|
|
1118
|
+
query?: never;
|
|
1119
|
+
url: '/billing/credits';
|
|
1120
|
+
};
|
|
1121
|
+
export type GetCreditsErrors = {
|
|
1122
|
+
/**
|
|
1123
|
+
* Not authenticated
|
|
1124
|
+
*/
|
|
1125
|
+
401: unknown;
|
|
1126
|
+
};
|
|
1127
|
+
export type GetCreditsResponses = {
|
|
1128
|
+
/**
|
|
1129
|
+
* An array of the applied promotional credits records.
|
|
1130
|
+
*/
|
|
1131
|
+
200: Array<BillingCredits>;
|
|
1132
|
+
};
|
|
1133
|
+
export type GetCreditsResponse = GetCreditsResponses[keyof GetCreditsResponses];
|
|
1134
|
+
export type RedeemCreditsData = {
|
|
1135
|
+
body: {
|
|
1136
|
+
/**
|
|
1137
|
+
* Promotional code to redeem
|
|
1138
|
+
*/
|
|
1139
|
+
code?: string;
|
|
1140
|
+
};
|
|
1141
|
+
path?: never;
|
|
1142
|
+
query?: never;
|
|
1143
|
+
url: '/billing/credits';
|
|
1144
|
+
};
|
|
1145
|
+
export type RedeemCreditsErrors = {
|
|
1146
|
+
/**
|
|
1147
|
+
* Not authenticated
|
|
1148
|
+
*/
|
|
1149
|
+
401: unknown;
|
|
1150
|
+
};
|
|
1151
|
+
export type RedeemCreditsResponses = {
|
|
1152
|
+
/**
|
|
1153
|
+
* Successfully created a new organization.
|
|
1154
|
+
*/
|
|
1155
|
+
200: unknown;
|
|
1156
|
+
};
|
|
1157
|
+
export type ListChartsData = {
|
|
1158
|
+
body?: never;
|
|
1159
|
+
path: {
|
|
1160
|
+
/**
|
|
1161
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
1162
|
+
*/
|
|
1163
|
+
cluster_id: string;
|
|
1164
|
+
};
|
|
1165
|
+
query?: never;
|
|
1166
|
+
url: '/clusters/{cluster_id}/charts';
|
|
1167
|
+
};
|
|
1168
|
+
export type ListChartsErrors = {
|
|
1169
|
+
/**
|
|
1170
|
+
* Not authenticated
|
|
1171
|
+
*/
|
|
1172
|
+
401: unknown;
|
|
1173
|
+
};
|
|
1174
|
+
export type ListChartsResponses = {
|
|
1175
|
+
/**
|
|
1176
|
+
* An array of charts
|
|
1186
1177
|
*/
|
|
1187
|
-
200:
|
|
1178
|
+
200: Array<Chart>;
|
|
1179
|
+
};
|
|
1180
|
+
export type ListChartsResponse = ListChartsResponses[keyof ListChartsResponses];
|
|
1181
|
+
export type CreateChartData = {
|
|
1182
|
+
body: ChartCreateInput;
|
|
1183
|
+
path: {
|
|
1188
1184
|
/**
|
|
1189
|
-
*
|
|
1185
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
1190
1186
|
*/
|
|
1191
|
-
|
|
1187
|
+
cluster_id: string;
|
|
1192
1188
|
};
|
|
1189
|
+
query?: never;
|
|
1190
|
+
url: '/clusters/{cluster_id}/charts';
|
|
1193
1191
|
};
|
|
1194
|
-
export type
|
|
1195
|
-
|
|
1192
|
+
export type CreateChartResponses = {
|
|
1193
|
+
/**
|
|
1194
|
+
* Successfully created. Returns created Chart ID.
|
|
1195
|
+
*/
|
|
1196
|
+
200: string;
|
|
1197
|
+
};
|
|
1198
|
+
export type CreateChartResponse = CreateChartResponses[keyof CreateChartResponses];
|
|
1199
|
+
export type DeleteChartData = {
|
|
1196
1200
|
body?: never;
|
|
1197
|
-
path
|
|
1198
|
-
query: {
|
|
1201
|
+
path: {
|
|
1199
1202
|
/**
|
|
1200
|
-
*
|
|
1203
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
1201
1204
|
*/
|
|
1202
|
-
|
|
1205
|
+
cluster_id: string;
|
|
1203
1206
|
/**
|
|
1204
|
-
*
|
|
1207
|
+
* Chart deployment name as the unique identifier of the chart.
|
|
1205
1208
|
*/
|
|
1206
|
-
|
|
1209
|
+
chart_name: string;
|
|
1207
1210
|
};
|
|
1208
|
-
|
|
1211
|
+
query?: never;
|
|
1212
|
+
url: '/clusters/{cluster_id}/charts/{chart_name}';
|
|
1209
1213
|
};
|
|
1210
|
-
export type
|
|
1214
|
+
export type DeleteChartResponses = {
|
|
1211
1215
|
/**
|
|
1212
|
-
*
|
|
1216
|
+
* Successfully deleted.
|
|
1213
1217
|
*/
|
|
1214
|
-
|
|
1218
|
+
200: string;
|
|
1215
1219
|
};
|
|
1216
|
-
export type
|
|
1220
|
+
export type DeleteChartResponse = DeleteChartResponses[keyof DeleteChartResponses];
|
|
1221
|
+
export type GetChartData = {
|
|
1222
|
+
body?: never;
|
|
1223
|
+
path: {
|
|
1224
|
+
/**
|
|
1225
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
1226
|
+
*/
|
|
1227
|
+
cluster_id: string;
|
|
1228
|
+
/**
|
|
1229
|
+
* Chart deployment name as the unique identifier of the chart.
|
|
1230
|
+
*/
|
|
1231
|
+
chart_name: string;
|
|
1232
|
+
};
|
|
1233
|
+
query?: never;
|
|
1234
|
+
url: '/clusters/{cluster_id}/charts/{chart_name}';
|
|
1235
|
+
};
|
|
1236
|
+
export type GetChartResponses = {
|
|
1217
1237
|
/**
|
|
1218
|
-
*
|
|
1238
|
+
* Returns a single object containing chart details.
|
|
1219
1239
|
*/
|
|
1220
|
-
200:
|
|
1240
|
+
200: Chart;
|
|
1221
1241
|
};
|
|
1222
|
-
export type
|
|
1223
|
-
export type
|
|
1224
|
-
body
|
|
1242
|
+
export type GetChartResponse = GetChartResponses[keyof GetChartResponses];
|
|
1243
|
+
export type UpdateChartData = {
|
|
1244
|
+
body: ChartUpdateInput;
|
|
1225
1245
|
path: {
|
|
1226
1246
|
/**
|
|
1227
|
-
* Unique
|
|
1247
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
1228
1248
|
*/
|
|
1229
|
-
|
|
1249
|
+
cluster_id: string;
|
|
1250
|
+
/**
|
|
1251
|
+
* Chart deployment name as the unique identifier of the chart.
|
|
1252
|
+
*/
|
|
1253
|
+
chart_name: string;
|
|
1230
1254
|
};
|
|
1231
1255
|
query?: never;
|
|
1232
|
-
url: '/
|
|
1256
|
+
url: '/clusters/{cluster_id}/charts/{chart_name}';
|
|
1233
1257
|
};
|
|
1234
|
-
export type
|
|
1258
|
+
export type UpdateChartResponses = {
|
|
1235
1259
|
/**
|
|
1236
|
-
*
|
|
1260
|
+
* Successfully updated.
|
|
1237
1261
|
*/
|
|
1238
|
-
200:
|
|
1239
|
-
html?: string;
|
|
1240
|
-
};
|
|
1262
|
+
200: string;
|
|
1241
1263
|
};
|
|
1242
|
-
export type
|
|
1264
|
+
export type UpdateChartResponse = UpdateChartResponses[keyof UpdateChartResponses];
|
|
1243
1265
|
export type ListFleetsData = {
|
|
1244
1266
|
body?: never;
|
|
1245
1267
|
path: {
|
|
@@ -1502,252 +1524,6 @@ export type GetJoinInformationResponses = {
|
|
|
1502
1524
|
200: Cluster;
|
|
1503
1525
|
};
|
|
1504
1526
|
export type GetJoinInformationResponse = GetJoinInformationResponses[keyof GetJoinInformationResponses];
|
|
1505
|
-
export type GetInfrastructureData = {
|
|
1506
|
-
body?: never;
|
|
1507
|
-
path?: never;
|
|
1508
|
-
query?: {
|
|
1509
|
-
/**
|
|
1510
|
-
* Version of the task definition. Currently only version 1 is supported.
|
|
1511
|
-
*/
|
|
1512
|
-
version?: 1;
|
|
1513
|
-
/**
|
|
1514
|
-
* Limit selection of cloud providers to this list. For the full list of supported providers, see [Providers](https://cloudfleet.ai/docs/cloud-infrastructure/providers/)
|
|
1515
|
-
*/
|
|
1516
|
-
provider?: Array<string>;
|
|
1517
|
-
/**
|
|
1518
|
-
* 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/)
|
|
1519
|
-
*/
|
|
1520
|
-
region?: Array<string>;
|
|
1521
|
-
/**
|
|
1522
|
-
* 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/)
|
|
1523
|
-
*/
|
|
1524
|
-
sub_region?: Array<string>;
|
|
1525
|
-
/**
|
|
1526
|
-
* Limits selection of cloud regions to this list of canonical provider regions
|
|
1527
|
-
*/
|
|
1528
|
-
csp_region?: Array<string>;
|
|
1529
|
-
/**
|
|
1530
|
-
* Limits selection of instance types to this list. Instance / VM type as defined by the cloud service provider
|
|
1531
|
-
*/
|
|
1532
|
-
instance_type?: Array<string>;
|
|
1533
|
-
/**
|
|
1534
|
-
* 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
|
|
1535
|
-
*/
|
|
1536
|
-
accelerator_name?: Array<string>;
|
|
1537
|
-
/**
|
|
1538
|
-
* List of normalized accelerator manufacturer names. For example, all Nvidia GPUs will have 'NVIDIA' as accelerator manufacturer
|
|
1539
|
-
*/
|
|
1540
|
-
accelerator_manufacturer?: Array<string>;
|
|
1541
|
-
/**
|
|
1542
|
-
* 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.
|
|
1543
|
-
*/
|
|
1544
|
-
accelerator_count_min?: number;
|
|
1545
|
-
/**
|
|
1546
|
-
* 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.
|
|
1547
|
-
*/
|
|
1548
|
-
accelerator_count_max?: number;
|
|
1549
|
-
/**
|
|
1550
|
-
* 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
|
|
1551
|
-
*/
|
|
1552
|
-
accelerator_memory_min?: number;
|
|
1553
|
-
/**
|
|
1554
|
-
* 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
|
|
1555
|
-
*/
|
|
1556
|
-
accelerator_memory_max?: number;
|
|
1557
|
-
/**
|
|
1558
|
-
* Minimum amount of RAM in gibibytes (GiB)
|
|
1559
|
-
*/
|
|
1560
|
-
memory_min?: number;
|
|
1561
|
-
/**
|
|
1562
|
-
* Maximum amount of RAM in gibibytes (GiB)
|
|
1563
|
-
*/
|
|
1564
|
-
memory_max?: number;
|
|
1565
|
-
/**
|
|
1566
|
-
* 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.
|
|
1567
|
-
*/
|
|
1568
|
-
vcpu_min?: number;
|
|
1569
|
-
/**
|
|
1570
|
-
* 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.
|
|
1571
|
-
*/
|
|
1572
|
-
vcpu_max?: number;
|
|
1573
|
-
/**
|
|
1574
|
-
* Minimum total storage in GiB (attached and local)
|
|
1575
|
-
*/
|
|
1576
|
-
storage_total_min?: number;
|
|
1577
|
-
/**
|
|
1578
|
-
* Maximum total storage in GiB (attached and local)
|
|
1579
|
-
*/
|
|
1580
|
-
storage_total_max?: number;
|
|
1581
|
-
/**
|
|
1582
|
-
* Minimum volume of directly attached, block-device local storage in gibibytes (GiB)
|
|
1583
|
-
*/
|
|
1584
|
-
storage_local_min?: number;
|
|
1585
|
-
/**
|
|
1586
|
-
* Maximum volume of directly attached, block-device local storage in gibibytes (GiB)
|
|
1587
|
-
*/
|
|
1588
|
-
storage_local_max?: number;
|
|
1589
|
-
/**
|
|
1590
|
-
* Minimum price of running the inctance per hour in USD as defined by the cloud service provider. The cheapest instance will be selected.
|
|
1591
|
-
*/
|
|
1592
|
-
price_min?: number;
|
|
1593
|
-
/**
|
|
1594
|
-
* Maximum price of running the inctance per hour in USD as defined by the cloud service provider. The cheapest instance will be selected.
|
|
1595
|
-
*/
|
|
1596
|
-
price_max?: number;
|
|
1597
|
-
};
|
|
1598
|
-
url: '/infrastructure';
|
|
1599
|
-
};
|
|
1600
|
-
export type GetInfrastructureErrors = {
|
|
1601
|
-
/**
|
|
1602
|
-
* Returns a validation error if any of the search parameters in the request are invalid
|
|
1603
|
-
*/
|
|
1604
|
-
400: Blob | File;
|
|
1605
|
-
};
|
|
1606
|
-
export type GetInfrastructureError = GetInfrastructureErrors[keyof GetInfrastructureErrors];
|
|
1607
|
-
export type GetInfrastructureResponses = {
|
|
1608
|
-
/**
|
|
1609
|
-
* An array of instances returned by the search
|
|
1610
|
-
*/
|
|
1611
|
-
200: Array<InfrastructureInstance>;
|
|
1612
|
-
};
|
|
1613
|
-
export type GetInfrastructureResponse = GetInfrastructureResponses[keyof GetInfrastructureResponses];
|
|
1614
|
-
export type GetFacetsData = {
|
|
1615
|
-
body?: never;
|
|
1616
|
-
path?: never;
|
|
1617
|
-
query?: never;
|
|
1618
|
-
url: '/infrastructure/facets';
|
|
1619
|
-
};
|
|
1620
|
-
export type GetFacetsResponses = {
|
|
1621
|
-
/**
|
|
1622
|
-
* Calculates search facets of the infrastructure catalog
|
|
1623
|
-
*/
|
|
1624
|
-
200: Array<{
|
|
1625
|
-
/**
|
|
1626
|
-
* Limit selection of cloud providers to this list. For the full list of supported providers, see [Providers](https://cloudfleet.ai/docs/cloud-infrastructure/providers/)
|
|
1627
|
-
*/
|
|
1628
|
-
provider?: Array<string>;
|
|
1629
|
-
/**
|
|
1630
|
-
* 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/)
|
|
1631
|
-
*/
|
|
1632
|
-
region?: Array<string>;
|
|
1633
|
-
/**
|
|
1634
|
-
* Limits selection of cloud sub-regions to this list of Cloudfleet sub-regions. For the full list of normalized regions and their mapping to CSP regions, see [Regions](https://cloudfleet.ai/docs/cloud-infrastructure/node-regions/)
|
|
1635
|
-
*/
|
|
1636
|
-
sub_region?: Array<string>;
|
|
1637
|
-
/**
|
|
1638
|
-
* Limits selection of cloud regions to this list of canonical provider regions
|
|
1639
|
-
*/
|
|
1640
|
-
csp_region?: Array<string>;
|
|
1641
|
-
/**
|
|
1642
|
-
* 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.
|
|
1643
|
-
*/
|
|
1644
|
-
vcpu_min?: number;
|
|
1645
|
-
/**
|
|
1646
|
-
* 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.
|
|
1647
|
-
*/
|
|
1648
|
-
vcpu_max?: number;
|
|
1649
|
-
/**
|
|
1650
|
-
* Minimum amount of RAM in gibibytes (GiB)
|
|
1651
|
-
*/
|
|
1652
|
-
memory_min?: number;
|
|
1653
|
-
/**
|
|
1654
|
-
* Maximum amount of RAM in gibibytes (GiB)
|
|
1655
|
-
*/
|
|
1656
|
-
memory_max?: number;
|
|
1657
|
-
/**
|
|
1658
|
-
* Minimum volume of directly attached, block-device local storage in gibibytes (GiB)
|
|
1659
|
-
*/
|
|
1660
|
-
storage_local_min?: number;
|
|
1661
|
-
/**
|
|
1662
|
-
* Maximum volume of directly attached, block-device local storage in gibibytes (GiB)
|
|
1663
|
-
*/
|
|
1664
|
-
storage_local_max?: number;
|
|
1665
|
-
/**
|
|
1666
|
-
* 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
|
|
1667
|
-
*/
|
|
1668
|
-
accelerator_name?: Array<string>;
|
|
1669
|
-
/**
|
|
1670
|
-
* List of normalized accelerator manufacturer names. For example, all Nvidia GPUs will have 'NVIDIA' as accelerator manufacturer
|
|
1671
|
-
*/
|
|
1672
|
-
accelerator_manufacturer?: Array<string>;
|
|
1673
|
-
/**
|
|
1674
|
-
* 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.
|
|
1675
|
-
*/
|
|
1676
|
-
accelerator_count_min?: number;
|
|
1677
|
-
/**
|
|
1678
|
-
* 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.
|
|
1679
|
-
*/
|
|
1680
|
-
accelerator_count_max?: number;
|
|
1681
|
-
/**
|
|
1682
|
-
* 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
|
|
1683
|
-
*/
|
|
1684
|
-
accelerator_memory_min?: number;
|
|
1685
|
-
/**
|
|
1686
|
-
* 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
|
|
1687
|
-
*/
|
|
1688
|
-
accelerator_memory_max?: number;
|
|
1689
|
-
/**
|
|
1690
|
-
* Minimum price of running the inctance per hour in USD as defined by the cloud service provider. The cheapest instance will be selected.
|
|
1691
|
-
*/
|
|
1692
|
-
price_min?: number;
|
|
1693
|
-
/**
|
|
1694
|
-
* Maximum price of running the inctance per hour in USD as defined by the cloud service provider. The cheapest instance will be selected.
|
|
1695
|
-
*/
|
|
1696
|
-
price_max?: number;
|
|
1697
|
-
/**
|
|
1698
|
-
* Structured array of regions and sub-regions
|
|
1699
|
-
*/
|
|
1700
|
-
regions_struct?: Array<{
|
|
1701
|
-
/**
|
|
1702
|
-
* 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/)
|
|
1703
|
-
*/
|
|
1704
|
-
region?: string;
|
|
1705
|
-
sub_region?: Array<string>;
|
|
1706
|
-
}>;
|
|
1707
|
-
/**
|
|
1708
|
-
* Structured array of regions and sub-regions
|
|
1709
|
-
*/
|
|
1710
|
-
accelerators_struct?: Array<{
|
|
1711
|
-
/**
|
|
1712
|
-
* List of normalized accelerator manufacturer names. For example, all Nvidia GPUs will have 'NVIDIA' as accelerator manufacturer
|
|
1713
|
-
*/
|
|
1714
|
-
accelerator_manufacturer?: string;
|
|
1715
|
-
accelerator_name?: Array<string>;
|
|
1716
|
-
}>;
|
|
1717
|
-
/**
|
|
1718
|
-
* Total number of instances in the catalog
|
|
1719
|
-
*/
|
|
1720
|
-
count_total?: number;
|
|
1721
|
-
/**
|
|
1722
|
-
* Total number of instances in the catalog with at least 1 accelerator
|
|
1723
|
-
*/
|
|
1724
|
-
count_accelerators?: number;
|
|
1725
|
-
/**
|
|
1726
|
-
* Total number of unique instances types in the catalog
|
|
1727
|
-
*/
|
|
1728
|
-
count_instance_types?: number;
|
|
1729
|
-
/**
|
|
1730
|
-
* Total number of unique instances types in the catalog with at least 1 accelerator
|
|
1731
|
-
*/
|
|
1732
|
-
count_accelerators_instance_types?: number;
|
|
1733
|
-
}>;
|
|
1734
|
-
};
|
|
1735
|
-
export type GetFacetsResponse = GetFacetsResponses[keyof GetFacetsResponses];
|
|
1736
|
-
export type GetRegionsData = {
|
|
1737
|
-
body?: never;
|
|
1738
|
-
path?: never;
|
|
1739
|
-
query?: never;
|
|
1740
|
-
url: '/infrastructure/regions';
|
|
1741
|
-
};
|
|
1742
|
-
export type GetRegionsResponses = {
|
|
1743
|
-
/**
|
|
1744
|
-
* Available Cloudfleet regions and Kubernetes versions.
|
|
1745
|
-
*/
|
|
1746
|
-
200: {
|
|
1747
|
-
[key: string]: unknown;
|
|
1748
|
-
};
|
|
1749
|
-
};
|
|
1750
|
-
export type GetRegionsResponse = GetRegionsResponses[keyof GetRegionsResponses];
|
|
1751
1527
|
export type ListInvitesData = {
|
|
1752
1528
|
body?: never;
|
|
1753
1529
|
path?: never;
|
|
@@ -1820,6 +1596,43 @@ export type DeleteInviteResponses = {
|
|
|
1820
1596
|
*/
|
|
1821
1597
|
200: unknown;
|
|
1822
1598
|
};
|
|
1599
|
+
export type ListMarketplaceChartsData = {
|
|
1600
|
+
body?: never;
|
|
1601
|
+
path?: never;
|
|
1602
|
+
query?: never;
|
|
1603
|
+
url: '/marketplace';
|
|
1604
|
+
};
|
|
1605
|
+
export type ListMarketplaceChartsErrors = {
|
|
1606
|
+
/**
|
|
1607
|
+
* Not authenticated
|
|
1608
|
+
*/
|
|
1609
|
+
401: unknown;
|
|
1610
|
+
};
|
|
1611
|
+
export type ListMarketplaceChartsResponses = {
|
|
1612
|
+
/**
|
|
1613
|
+
* An array of chart listings in the marketplace.
|
|
1614
|
+
*/
|
|
1615
|
+
200: Array<MarketplaceListing>;
|
|
1616
|
+
};
|
|
1617
|
+
export type ListMarketplaceChartsResponse = ListMarketplaceChartsResponses[keyof ListMarketplaceChartsResponses];
|
|
1618
|
+
export type GetMarketplaceChartData = {
|
|
1619
|
+
body?: never;
|
|
1620
|
+
path: {
|
|
1621
|
+
/**
|
|
1622
|
+
* Unique identifier of the chart listing in the marketplace.
|
|
1623
|
+
*/
|
|
1624
|
+
listing_id: string;
|
|
1625
|
+
};
|
|
1626
|
+
query?: never;
|
|
1627
|
+
url: '/marketplace/{listing_id}';
|
|
1628
|
+
};
|
|
1629
|
+
export type GetMarketplaceChartResponses = {
|
|
1630
|
+
/**
|
|
1631
|
+
* Returns an object containing the chart listing details.
|
|
1632
|
+
*/
|
|
1633
|
+
200: MarketplaceListing;
|
|
1634
|
+
};
|
|
1635
|
+
export type GetMarketplaceChartResponse = GetMarketplaceChartResponses[keyof GetMarketplaceChartResponses];
|
|
1823
1636
|
export type GetOrganizationData = {
|
|
1824
1637
|
body?: never;
|
|
1825
1638
|
path?: never;
|
|
@@ -1845,19 +1658,6 @@ export type CreateOrganizationResponses = {
|
|
|
1845
1658
|
*/
|
|
1846
1659
|
200: unknown;
|
|
1847
1660
|
};
|
|
1848
|
-
export type UpdateOrganizationData = {
|
|
1849
|
-
body: OrganizationUpdateInput;
|
|
1850
|
-
path?: never;
|
|
1851
|
-
query?: never;
|
|
1852
|
-
url: '/organization';
|
|
1853
|
-
};
|
|
1854
|
-
export type UpdateOrganizationResponses = {
|
|
1855
|
-
/**
|
|
1856
|
-
* Successfully updated. Returns updated organization details.
|
|
1857
|
-
*/
|
|
1858
|
-
200: Organization;
|
|
1859
|
-
};
|
|
1860
|
-
export type UpdateOrganizationResponse = UpdateOrganizationResponses[keyof UpdateOrganizationResponses];
|
|
1861
1661
|
export type ListTokensData = {
|
|
1862
1662
|
body?: never;
|
|
1863
1663
|
path?: never;
|
|
@@ -2114,53 +1914,7 @@ export type UpdateUserResponses = {
|
|
|
2114
1914
|
200: User;
|
|
2115
1915
|
};
|
|
2116
1916
|
export type UpdateUserResponse = UpdateUserResponses[keyof UpdateUserResponses];
|
|
2117
|
-
export type
|
|
2118
|
-
|
|
2119
|
-
path: {
|
|
2120
|
-
/**
|
|
2121
|
-
* Unique user identifier. UUID v4 string in canonical form
|
|
2122
|
-
*/
|
|
2123
|
-
user_id: string;
|
|
2124
|
-
/**
|
|
2125
|
-
* Unique cluster identifier. UUID v4 string in canonical form
|
|
2126
|
-
*/
|
|
2127
|
-
cluster_id: string;
|
|
2128
|
-
};
|
|
2129
|
-
query?: never;
|
|
2130
|
-
url: '/users/{user_id}/clusters/{cluster_id}';
|
|
2131
|
-
};
|
|
2132
|
-
export type DeleteClusterPermissionsResponses = {
|
|
2133
|
-
/**
|
|
2134
|
-
* Successfully removed user from the cluster. Returns updated user details.
|
|
2135
|
-
*/
|
|
2136
|
-
200: User;
|
|
2137
|
-
};
|
|
2138
|
-
export type DeleteClusterPermissionsResponse = DeleteClusterPermissionsResponses[keyof DeleteClusterPermissionsResponses];
|
|
2139
|
-
export type SetClusterPermissionsData = {
|
|
2140
|
-
body: {
|
|
2141
|
-
/**
|
|
2142
|
-
* Level of permissions for the user to access the cluster
|
|
2143
|
-
*/
|
|
2144
|
-
permissions?: 'readwrite' | 'readonly';
|
|
2145
|
-
};
|
|
2146
|
-
path: {
|
|
2147
|
-
/**
|
|
2148
|
-
* Unique user identifier. UUID v4 string in canonical form
|
|
2149
|
-
*/
|
|
2150
|
-
user_id: string;
|
|
2151
|
-
/**
|
|
2152
|
-
* Unique cluster identifier. UUID v4 string in canonical form
|
|
2153
|
-
*/
|
|
2154
|
-
cluster_id: string;
|
|
2155
|
-
};
|
|
2156
|
-
query?: never;
|
|
2157
|
-
url: '/users/{user_id}/clusters/{cluster_id}';
|
|
2158
|
-
};
|
|
2159
|
-
export type SetClusterPermissionsResponses = {
|
|
2160
|
-
/**
|
|
2161
|
-
* Successfully created. Returns created user details.
|
|
2162
|
-
*/
|
|
2163
|
-
200: User;
|
|
1917
|
+
export type ClientOptions = {
|
|
1918
|
+
baseUrl: 'https://api.cloudfleet.ai/v1' | (string & {});
|
|
2164
1919
|
};
|
|
2165
|
-
export type SetClusterPermissionsResponse = SetClusterPermissionsResponses[keyof SetClusterPermissionsResponses];
|
|
2166
1920
|
//# sourceMappingURL=types.gen.d.ts.map
|