@cloudfleet/sdk 0.0.1-e0d026d → 0.0.1-e10650f
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/client.gen.d.ts +3 -0
- package/dist/client/client.gen.d.ts.map +1 -0
- package/dist/client/client.gen.js +205 -0
- package/dist/client/client.gen.js.map +1 -0
- package/dist/client/index.d.ts +9 -0
- package/dist/client/index.d.ts.map +1 -0
- package/dist/client/index.js +7 -0
- package/dist/client/index.js.map +1 -0
- package/dist/client/types.gen.d.ts +125 -0
- package/dist/client/types.gen.d.ts.map +1 -0
- package/dist/client/types.gen.js +3 -0
- package/dist/client/types.gen.js.map +1 -0
- package/dist/client/utils.gen.d.ts +34 -0
- package/dist/client/utils.gen.d.ts.map +1 -0
- package/dist/client/utils.gen.js +231 -0
- package/dist/client/utils.gen.js.map +1 -0
- 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/core/auth.gen.d.ts +19 -0
- package/dist/core/auth.gen.d.ts.map +1 -0
- package/dist/core/auth.gen.js +15 -0
- package/dist/core/auth.gen.js.map +1 -0
- package/dist/core/bodySerializer.gen.d.ts +18 -0
- package/dist/core/bodySerializer.gen.d.ts.map +1 -0
- package/dist/core/bodySerializer.gen.js +58 -0
- package/dist/core/bodySerializer.gen.js.map +1 -0
- package/dist/core/params.gen.d.ts +34 -0
- package/dist/core/params.gen.d.ts.map +1 -0
- package/dist/core/params.gen.js +89 -0
- package/dist/core/params.gen.js.map +1 -0
- package/dist/core/pathSerializer.gen.d.ts +34 -0
- package/dist/core/pathSerializer.gen.d.ts.map +1 -0
- package/dist/core/pathSerializer.gen.js +115 -0
- package/dist/core/pathSerializer.gen.js.map +1 -0
- package/dist/core/queryKeySerializer.gen.d.ts +19 -0
- package/dist/core/queryKeySerializer.gen.d.ts.map +1 -0
- package/dist/core/queryKeySerializer.gen.js +100 -0
- package/dist/core/queryKeySerializer.gen.js.map +1 -0
- package/dist/core/serverSentEvents.gen.d.ts +72 -0
- package/dist/core/serverSentEvents.gen.d.ts.map +1 -0
- package/dist/core/serverSentEvents.gen.js +136 -0
- package/dist/core/serverSentEvents.gen.js.map +1 -0
- package/dist/core/types.gen.d.ts +79 -0
- package/dist/core/types.gen.d.ts.map +1 -0
- package/dist/core/types.gen.js +3 -0
- package/dist/core/types.gen.js.map +1 -0
- package/dist/core/utils.gen.d.ts +20 -0
- package/dist/core/utils.gen.d.ts.map +1 -0
- package/dist/core/utils.gen.js +88 -0
- package/dist/core/utils.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 +495 -669
- package/dist/schemas.gen.d.ts.map +1 -1
- package/dist/schemas.gen.js +499 -669
- package/dist/schemas.gen.js.map +1 -1
- package/dist/sdk.gen.d.ts +146 -140
- package/dist/sdk.gen.d.ts.map +1 -1
- package/dist/sdk.gen.js +204 -138
- 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 +504 -741
- package/dist/types.gen.d.ts.map +1 -1
- package/dist/zod.gen.d.ts +2816 -2762
- package/dist/zod.gen.d.ts.map +1 -1
- package/dist/zod.gen.js +885 -347
- package/dist/zod.gen.js.map +1 -1
- package/package.json +8 -5
package/dist/types.gen.d.ts
CHANGED
|
@@ -1,16 +1,185 @@
|
|
|
1
|
-
export type
|
|
1
|
+
export type ClientOptions = {
|
|
2
|
+
baseUrl: 'https://api.cloudfleet.ai/v1' | (string & {});
|
|
3
|
+
};
|
|
4
|
+
export type BillingContact = {
|
|
2
5
|
/**
|
|
3
|
-
* Name of the
|
|
6
|
+
* Name of the legal entity. This name will be used in invoices. Use your first and last name for individual accounts.
|
|
7
|
+
*/
|
|
8
|
+
company?: string;
|
|
9
|
+
/**
|
|
10
|
+
* Street address, P.O. box, c/o
|
|
11
|
+
*/
|
|
12
|
+
address1?: string;
|
|
13
|
+
/**
|
|
14
|
+
* Apartment, suite, unit, building, floor, etc.
|
|
15
|
+
*/
|
|
16
|
+
address2?: string;
|
|
17
|
+
/**
|
|
18
|
+
* Postal code as a string.
|
|
19
|
+
*/
|
|
20
|
+
postalCode?: string;
|
|
21
|
+
/**
|
|
22
|
+
* City or town name.
|
|
23
|
+
*/
|
|
24
|
+
city?: string;
|
|
25
|
+
/**
|
|
26
|
+
* State, province, or region name.
|
|
27
|
+
*/
|
|
28
|
+
state?: string;
|
|
29
|
+
/**
|
|
30
|
+
* Country as a ISO 3166-1 alpha-2 country code.
|
|
31
|
+
*/
|
|
32
|
+
country?: string;
|
|
33
|
+
/**
|
|
34
|
+
* Phone number as a string.
|
|
35
|
+
*/
|
|
36
|
+
phone?: string;
|
|
37
|
+
/**
|
|
38
|
+
* Email address used for billing as a string.
|
|
39
|
+
*/
|
|
40
|
+
email: string;
|
|
41
|
+
/**
|
|
42
|
+
* First name of the billing contact person.
|
|
43
|
+
*/
|
|
44
|
+
first_name: string;
|
|
45
|
+
/**
|
|
46
|
+
* Last name of the billing contact person.
|
|
47
|
+
*/
|
|
48
|
+
last_name: string;
|
|
49
|
+
/**
|
|
50
|
+
* Tax ID of the organization.
|
|
51
|
+
*/
|
|
52
|
+
tax_id?: string;
|
|
53
|
+
/**
|
|
54
|
+
* Type of the tax ID.
|
|
55
|
+
*/
|
|
56
|
+
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' | '';
|
|
57
|
+
};
|
|
58
|
+
export type BillingCredits = {
|
|
59
|
+
/**
|
|
60
|
+
* Generated unique identifier of the promotional code.
|
|
61
|
+
*/
|
|
62
|
+
id?: string;
|
|
63
|
+
/**
|
|
64
|
+
* Date of the credit application. ISO 8601 date string in the UTC timezone.
|
|
65
|
+
*/
|
|
66
|
+
date_created: string;
|
|
67
|
+
/**
|
|
68
|
+
* Promotional code used by the customer.
|
|
69
|
+
*/
|
|
70
|
+
code: string;
|
|
71
|
+
/**
|
|
72
|
+
* Description of the promotional code.
|
|
73
|
+
*/
|
|
74
|
+
description?: string;
|
|
75
|
+
/**
|
|
76
|
+
* List of product SKUs that the promotional code can be used on.
|
|
77
|
+
*/
|
|
78
|
+
products?: Array<string>;
|
|
79
|
+
/**
|
|
80
|
+
* Type of the promotional code.
|
|
81
|
+
*/
|
|
82
|
+
type: 'credit' | 'discount';
|
|
83
|
+
/**
|
|
84
|
+
* Value of the promotional code.
|
|
85
|
+
*/
|
|
86
|
+
value: number;
|
|
87
|
+
/**
|
|
88
|
+
* Date of the billing cycle. An ISO 8601 date string in the UTC timezone.
|
|
89
|
+
*/
|
|
90
|
+
billing_period: string;
|
|
91
|
+
/**
|
|
92
|
+
* Value of the promotional code.
|
|
93
|
+
*/
|
|
94
|
+
value_remaining?: number;
|
|
95
|
+
};
|
|
96
|
+
export type ChartCreateInput = {
|
|
97
|
+
/**
|
|
98
|
+
* Values to be used in the chart encoded as a JSON string.
|
|
99
|
+
*/
|
|
100
|
+
values: string;
|
|
101
|
+
/**
|
|
102
|
+
* Desired version range or channel for the chart.
|
|
103
|
+
*/
|
|
104
|
+
version_channel: string;
|
|
105
|
+
/**
|
|
106
|
+
* Unique identifier of the chart deployment aka name of the helm release.
|
|
4
107
|
*/
|
|
5
108
|
name: string;
|
|
6
109
|
/**
|
|
7
|
-
*
|
|
110
|
+
* Namespace of the chart deployment
|
|
111
|
+
*/
|
|
112
|
+
namespace: string;
|
|
113
|
+
/**
|
|
114
|
+
* Name of the chart listing
|
|
115
|
+
*/
|
|
116
|
+
chart: string;
|
|
117
|
+
};
|
|
118
|
+
export type Chart = {
|
|
119
|
+
/**
|
|
120
|
+
* Values to be used in the chart encoded as a JSON string.
|
|
121
|
+
*/
|
|
122
|
+
values: string;
|
|
123
|
+
/**
|
|
124
|
+
* Desired version range or channel for the chart.
|
|
125
|
+
*/
|
|
126
|
+
version_channel: string;
|
|
127
|
+
/**
|
|
128
|
+
* Unique identifier of the chart deployment aka name of the helm release.
|
|
129
|
+
*/
|
|
130
|
+
name: string;
|
|
131
|
+
/**
|
|
132
|
+
* Namespace of the chart deployment
|
|
133
|
+
*/
|
|
134
|
+
namespace: string;
|
|
135
|
+
/**
|
|
136
|
+
* Name of the chart listing
|
|
8
137
|
*/
|
|
9
|
-
|
|
138
|
+
chart: string;
|
|
139
|
+
/**
|
|
140
|
+
* Status of the chart deployment.
|
|
141
|
+
*/
|
|
142
|
+
status: 'InstallSucceeded' | 'InstallFailed' | 'UpgradeSucceeded' | 'UpgradeFailed' | 'TestSucceeded' | 'TestFailed' | 'RollbackSucceeded' | 'RollbackFailed' | 'UninstallSucceeded' | 'UninstallFailed' | 'ArtifactFailed' | 'DependencyNotReady' | 'Progressing' | 'SourceNotReady';
|
|
143
|
+
/**
|
|
144
|
+
* Current version of the chart deployment.
|
|
145
|
+
*/
|
|
146
|
+
version_current: string;
|
|
147
|
+
/**
|
|
148
|
+
* Creation date and time of the chart deployment.
|
|
149
|
+
*/
|
|
150
|
+
created_at: string;
|
|
151
|
+
/**
|
|
152
|
+
* Last update date and time of the chart deployment.
|
|
153
|
+
*/
|
|
154
|
+
updated_at: string;
|
|
155
|
+
/**
|
|
156
|
+
* Indicates if the chart deployment is ready to be used.
|
|
157
|
+
*/
|
|
158
|
+
ready: boolean;
|
|
159
|
+
};
|
|
160
|
+
export type ChartUpdateInput = {
|
|
161
|
+
/**
|
|
162
|
+
* Values to be used in the chart encoded as a JSON string.
|
|
163
|
+
*/
|
|
164
|
+
values: string;
|
|
165
|
+
/**
|
|
166
|
+
* Desired version range or channel for the chart.
|
|
167
|
+
*/
|
|
168
|
+
version_channel: string;
|
|
169
|
+
};
|
|
170
|
+
export type ClusterCreateInput = {
|
|
171
|
+
/**
|
|
172
|
+
* Name of the cluster.
|
|
173
|
+
*/
|
|
174
|
+
name: string;
|
|
10
175
|
/**
|
|
11
176
|
* Tier of the cluster.
|
|
12
177
|
*/
|
|
13
178
|
tier: 'basic' | 'pro';
|
|
179
|
+
/**
|
|
180
|
+
* Cloudfleet control plane region. One of "staging", "northamerica-central-1", "europe-central-1a", "northamerica-central-1a". This field can not be updated after creation.
|
|
181
|
+
*/
|
|
182
|
+
region?: 'staging' | 'northamerica-central-1' | 'europe-central-1a' | 'northamerica-central-1a';
|
|
14
183
|
/**
|
|
15
184
|
* Version of the kubernetes cluster.
|
|
16
185
|
*/
|
|
@@ -49,6 +218,10 @@ export type ClusterJoinInformation = {
|
|
|
49
218
|
* Containerd version of the cluster.
|
|
50
219
|
*/
|
|
51
220
|
containerd: string;
|
|
221
|
+
/**
|
|
222
|
+
* NVIDIA driver version of the cluster.
|
|
223
|
+
*/
|
|
224
|
+
nvidia_driver: string;
|
|
52
225
|
};
|
|
53
226
|
/**
|
|
54
227
|
* OIDC Information for hosts to access to third party API's.
|
|
@@ -73,14 +246,14 @@ export type Cluster = {
|
|
|
73
246
|
* Name of the cluster.
|
|
74
247
|
*/
|
|
75
248
|
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
249
|
/**
|
|
81
250
|
* Tier of the cluster.
|
|
82
251
|
*/
|
|
83
252
|
tier: 'basic' | 'pro';
|
|
253
|
+
/**
|
|
254
|
+
* Cloudfleet control plane region. One of "staging", "northamerica-central-1", "europe-central-1a", "northamerica-central-1a". This field can not be updated after creation.
|
|
255
|
+
*/
|
|
256
|
+
region?: 'staging' | 'northamerica-central-1' | 'europe-central-1a' | 'northamerica-central-1a';
|
|
84
257
|
/**
|
|
85
258
|
* Version of the kubernetes cluster.
|
|
86
259
|
*/
|
|
@@ -92,7 +265,7 @@ export type Cluster = {
|
|
|
92
265
|
/**
|
|
93
266
|
* Status of the cluster. When creating a new cluster, set to `active`. When deleting a clusters, set to `deleted`.
|
|
94
267
|
*/
|
|
95
|
-
status: 'active' | 'deleted' | 'creating' | 'deployed' | 'failed' | 'updating';
|
|
268
|
+
status: 'active' | 'disabled' | 'deleted' | 'creating' | 'deployed' | 'failed' | 'updating';
|
|
96
269
|
endpoint?: string | '';
|
|
97
270
|
/**
|
|
98
271
|
* Certificate authority data for the kubernetes cluster. This is the root certificate authority for the cluster.
|
|
@@ -120,6 +293,10 @@ export type ClusterUpdateInput = {
|
|
|
120
293
|
* Name of the cluster.
|
|
121
294
|
*/
|
|
122
295
|
name?: string;
|
|
296
|
+
/**
|
|
297
|
+
* Tier of the cluster.
|
|
298
|
+
*/
|
|
299
|
+
tier: 'basic' | 'pro';
|
|
123
300
|
/**
|
|
124
301
|
* Version of the kubernetes cluster.
|
|
125
302
|
*/
|
|
@@ -144,10 +321,10 @@ export type FleetCreateInput = {
|
|
|
144
321
|
};
|
|
145
322
|
hetzner?: {
|
|
146
323
|
enabled?: boolean;
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
324
|
+
/**
|
|
325
|
+
* Hetzner Cloud API key with read / write access
|
|
326
|
+
*/
|
|
327
|
+
apiKey: string;
|
|
151
328
|
};
|
|
152
329
|
aws?: {
|
|
153
330
|
enabled?: boolean;
|
|
@@ -160,10 +337,6 @@ export type FleetCreateInput = {
|
|
|
160
337
|
* Unique identifier of the kubernetes fleet.
|
|
161
338
|
*/
|
|
162
339
|
id: string;
|
|
163
|
-
/**
|
|
164
|
-
* Specifies the fleet type: infrastructure managed by Cloudfleet or Connected Fleets.
|
|
165
|
-
*/
|
|
166
|
-
type: 'managed' | 'connected';
|
|
167
340
|
};
|
|
168
341
|
export type Fleet = {
|
|
169
342
|
/**
|
|
@@ -184,10 +357,10 @@ export type Fleet = {
|
|
|
184
357
|
};
|
|
185
358
|
hetzner?: {
|
|
186
359
|
enabled?: boolean;
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
360
|
+
/**
|
|
361
|
+
* Hetzner Cloud API key with read / write access
|
|
362
|
+
*/
|
|
363
|
+
apiKey: string;
|
|
191
364
|
};
|
|
192
365
|
aws?: {
|
|
193
366
|
enabled?: boolean;
|
|
@@ -200,10 +373,6 @@ export type Fleet = {
|
|
|
200
373
|
* Unique identifier of the kubernetes fleet.
|
|
201
374
|
*/
|
|
202
375
|
id: string;
|
|
203
|
-
/**
|
|
204
|
-
* Specifies the fleet type: infrastructure managed by Cloudfleet or Connected Fleets.
|
|
205
|
-
*/
|
|
206
|
-
type: 'managed' | 'connected';
|
|
207
376
|
};
|
|
208
377
|
export type FleetUpdateInput = {
|
|
209
378
|
/**
|
|
@@ -224,10 +393,10 @@ export type FleetUpdateInput = {
|
|
|
224
393
|
};
|
|
225
394
|
hetzner?: {
|
|
226
395
|
enabled?: boolean;
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
396
|
+
/**
|
|
397
|
+
* Hetzner Cloud API key with read / write access
|
|
398
|
+
*/
|
|
399
|
+
apiKey: string;
|
|
231
400
|
};
|
|
232
401
|
aws?: {
|
|
233
402
|
enabled?: boolean;
|
|
@@ -237,178 +406,6 @@ export type FleetUpdateInput = {
|
|
|
237
406
|
controllerRoleArn: string;
|
|
238
407
|
};
|
|
239
408
|
};
|
|
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
409
|
export type Invite = {
|
|
413
410
|
/**
|
|
414
411
|
* Unique identifier of the invitation.
|
|
@@ -663,35 +660,52 @@ export type Invoice = {
|
|
|
663
660
|
} | string>;
|
|
664
661
|
}>;
|
|
665
662
|
};
|
|
666
|
-
export type
|
|
663
|
+
export type MarketplaceListing = {
|
|
667
664
|
/**
|
|
668
|
-
*
|
|
665
|
+
* Id of the chart listing
|
|
669
666
|
*/
|
|
670
|
-
|
|
667
|
+
id: string;
|
|
671
668
|
/**
|
|
672
|
-
*
|
|
669
|
+
* Name of the chart listing
|
|
673
670
|
*/
|
|
674
|
-
|
|
671
|
+
name: string;
|
|
675
672
|
/**
|
|
676
|
-
*
|
|
673
|
+
* Author of the chart listing
|
|
677
674
|
*/
|
|
678
|
-
|
|
675
|
+
developer: string;
|
|
679
676
|
/**
|
|
680
|
-
*
|
|
677
|
+
* Short description of the chart listing
|
|
681
678
|
*/
|
|
682
|
-
|
|
679
|
+
description: string;
|
|
683
680
|
/**
|
|
684
|
-
*
|
|
681
|
+
* Logo of the chart listing
|
|
685
682
|
*/
|
|
686
|
-
|
|
683
|
+
logoUrl: string;
|
|
687
684
|
/**
|
|
688
|
-
*
|
|
685
|
+
* Long description of the chart listing
|
|
689
686
|
*/
|
|
690
|
-
|
|
687
|
+
longDescription: string;
|
|
691
688
|
/**
|
|
692
|
-
*
|
|
689
|
+
* Tags of the chart
|
|
693
690
|
*/
|
|
694
|
-
|
|
691
|
+
categories: Array<string>;
|
|
692
|
+
version_channels: Array<string>;
|
|
693
|
+
value_schemas: Array<{
|
|
694
|
+
/**
|
|
695
|
+
* Version of the chart.
|
|
696
|
+
*/
|
|
697
|
+
version: string;
|
|
698
|
+
/**
|
|
699
|
+
* Schema of the chart values. JSON Schema as string
|
|
700
|
+
*/
|
|
701
|
+
schema: string;
|
|
702
|
+
/**
|
|
703
|
+
* Schema of the chart values
|
|
704
|
+
*/
|
|
705
|
+
placeholder: string;
|
|
706
|
+
}>;
|
|
707
|
+
};
|
|
708
|
+
export type OrganizationCreateInput = {
|
|
695
709
|
/**
|
|
696
710
|
* Email address used for billing as a string.
|
|
697
711
|
*/
|
|
@@ -704,116 +718,24 @@ export type OrganizationContactInfo = {
|
|
|
704
718
|
* Last name of the billing contact person.
|
|
705
719
|
*/
|
|
706
720
|
last_name: string;
|
|
707
|
-
};
|
|
708
|
-
export type OrganizationCreateInput = {
|
|
709
721
|
/**
|
|
710
722
|
* Name of the legal entity. This name will be used in invoices. Use your first and last name for individual accounts.
|
|
711
723
|
*/
|
|
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
|
-
};
|
|
724
|
+
company_name: string;
|
|
758
725
|
/**
|
|
759
726
|
* 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
727
|
*/
|
|
761
728
|
password: string;
|
|
762
729
|
};
|
|
763
730
|
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
731
|
/**
|
|
814
732
|
* Unique identifier of the organization. UUID v4 string in canonical form
|
|
815
733
|
*/
|
|
816
734
|
id: string;
|
|
735
|
+
/**
|
|
736
|
+
* Name of the legal entity. This name will be used in invoices. Use your first and last name for individual accounts.
|
|
737
|
+
*/
|
|
738
|
+
name?: string;
|
|
817
739
|
/**
|
|
818
740
|
* Creation date of the organization. ISO 8601 date string in UTC timezone
|
|
819
741
|
*/
|
|
@@ -842,10 +764,6 @@ export type Organization = {
|
|
|
842
764
|
* Maximum number of fleets that can be created per cluster.
|
|
843
765
|
*/
|
|
844
766
|
fleets_max: number;
|
|
845
|
-
/**
|
|
846
|
-
* Maximum number of CPU cores per managed fleet.
|
|
847
|
-
*/
|
|
848
|
-
managed_fleets_cpu_max: number;
|
|
849
767
|
/**
|
|
850
768
|
* List of Cloudfleet cluster tiers available for the organization.
|
|
851
769
|
*/
|
|
@@ -868,66 +786,11 @@ export type Organization = {
|
|
|
868
786
|
label: string;
|
|
869
787
|
}>;
|
|
870
788
|
};
|
|
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
789
|
/**
|
|
876
790
|
* Status of the organization. Can be `active` or `closed`, or `suspended`.
|
|
877
791
|
*/
|
|
878
792
|
status: 'active' | 'closed' | 'suspended';
|
|
879
793
|
};
|
|
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
794
|
export type PaymentMethod = {
|
|
932
795
|
/**
|
|
933
796
|
* Unique identifier of the organization. UUID v4 string in canonical form.
|
|
@@ -1002,18 +865,33 @@ export type TokenUpdateInput = {
|
|
|
1002
865
|
};
|
|
1003
866
|
export type Usage = {
|
|
1004
867
|
/**
|
|
1005
|
-
*
|
|
868
|
+
* Hour of the usage
|
|
1006
869
|
*/
|
|
1007
|
-
|
|
870
|
+
hour?: string;
|
|
871
|
+
/**
|
|
872
|
+
* Unique identifier of the kubernetes cluster. UUID v4 string in canonical form
|
|
873
|
+
*/
|
|
874
|
+
cluster_id: string;
|
|
875
|
+
/**
|
|
876
|
+
* Tier of the cluster.
|
|
877
|
+
*/
|
|
878
|
+
cluster_tier: 'basic' | 'pro' | '';
|
|
1008
879
|
/**
|
|
1009
|
-
*
|
|
880
|
+
* The product the usage is associated with
|
|
1010
881
|
*/
|
|
1011
|
-
|
|
882
|
+
product: 'cfke_controlplane' | 'cfke_connected_nodes' | 'infra_compute' | 'infra_storage' | 'infra_loadbalancing' | 'infra_traffic' | 'cfcr_storage';
|
|
1012
883
|
/**
|
|
1013
|
-
*
|
|
884
|
+
* Name of the Kubernetes node
|
|
1014
885
|
*/
|
|
1015
|
-
|
|
1016
|
-
|
|
886
|
+
node_name: string;
|
|
887
|
+
/**
|
|
888
|
+
* SKU of the Kubernetes node
|
|
889
|
+
*/
|
|
890
|
+
sku: string;
|
|
891
|
+
cpu: number | '';
|
|
892
|
+
price: number | '';
|
|
893
|
+
value: number | '';
|
|
894
|
+
total: number | '';
|
|
1017
895
|
};
|
|
1018
896
|
export type UserCreateInput = {
|
|
1019
897
|
/**
|
|
@@ -1033,7 +911,7 @@ export type UserCreateInput = {
|
|
|
1033
911
|
*/
|
|
1034
912
|
code: string;
|
|
1035
913
|
/**
|
|
1036
|
-
* User password. Must be at least 8 characters long
|
|
914
|
+
* User password. Must be at least 8 characters long.
|
|
1037
915
|
*/
|
|
1038
916
|
password: string;
|
|
1039
917
|
/**
|
|
@@ -1074,16 +952,6 @@ export type User = {
|
|
|
1074
952
|
* Creation date of the user. ISO 8601 date string in UTC timezone
|
|
1075
953
|
*/
|
|
1076
954
|
date_created: string;
|
|
1077
|
-
cluster_permissions?: Array<{
|
|
1078
|
-
/**
|
|
1079
|
-
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
1080
|
-
*/
|
|
1081
|
-
cluster_id: string;
|
|
1082
|
-
/**
|
|
1083
|
-
* User permissions to access the cluster. Can be `readwrite` or `readonly`.
|
|
1084
|
-
*/
|
|
1085
|
-
permissions: 'readwrite' | 'readonly';
|
|
1086
|
-
}>;
|
|
1087
955
|
};
|
|
1088
956
|
export type UserUpdateInput = {
|
|
1089
957
|
/**
|
|
@@ -1110,16 +978,7 @@ export type UserUpdateInput = {
|
|
|
1110
978
|
export type GetUsageData = {
|
|
1111
979
|
body?: never;
|
|
1112
980
|
path?: never;
|
|
1113
|
-
query
|
|
1114
|
-
/**
|
|
1115
|
-
* Start date for the usage. Date of oldest data point to retrieve.
|
|
1116
|
-
*/
|
|
1117
|
-
start_date: string;
|
|
1118
|
-
/**
|
|
1119
|
-
* End date for the usage. Date of newest data point to retrieve.
|
|
1120
|
-
*/
|
|
1121
|
-
end_date: string;
|
|
1122
|
-
};
|
|
981
|
+
query?: never;
|
|
1123
982
|
url: '/billing/usage';
|
|
1124
983
|
};
|
|
1125
984
|
export type GetUsageErrors = {
|
|
@@ -1180,60 +1039,236 @@ export type GetPaymentMethodSecretResponses = {
|
|
|
1180
1039
|
*/
|
|
1181
1040
|
200: {
|
|
1182
1041
|
/**
|
|
1183
|
-
* The client secret.
|
|
1042
|
+
* The client secret.
|
|
1043
|
+
*/
|
|
1044
|
+
id?: string;
|
|
1045
|
+
};
|
|
1046
|
+
};
|
|
1047
|
+
export type GetPaymentMethodSecretResponse = GetPaymentMethodSecretResponses[keyof GetPaymentMethodSecretResponses];
|
|
1048
|
+
export type ListInvoicesData = {
|
|
1049
|
+
body?: never;
|
|
1050
|
+
path?: never;
|
|
1051
|
+
query: {
|
|
1052
|
+
/**
|
|
1053
|
+
* Start date for the usage. Date of oldest data point to retrieve.
|
|
1054
|
+
*/
|
|
1055
|
+
start_date: string;
|
|
1056
|
+
/**
|
|
1057
|
+
* End date for the usage. Date of newest data point to retrieve.
|
|
1058
|
+
*/
|
|
1059
|
+
end_date: string;
|
|
1060
|
+
};
|
|
1061
|
+
url: '/billing/invoices';
|
|
1062
|
+
};
|
|
1063
|
+
export type ListInvoicesErrors = {
|
|
1064
|
+
/**
|
|
1065
|
+
* Not authenticated
|
|
1066
|
+
*/
|
|
1067
|
+
401: unknown;
|
|
1068
|
+
};
|
|
1069
|
+
export type ListInvoicesResponses = {
|
|
1070
|
+
/**
|
|
1071
|
+
* An array of usage records.
|
|
1072
|
+
*/
|
|
1073
|
+
200: Array<Invoice>;
|
|
1074
|
+
};
|
|
1075
|
+
export type ListInvoicesResponse = ListInvoicesResponses[keyof ListInvoicesResponses];
|
|
1076
|
+
export type GetInvoiceData = {
|
|
1077
|
+
body?: never;
|
|
1078
|
+
path: {
|
|
1079
|
+
/**
|
|
1080
|
+
* Unique invoice identifier. UUID v4 string in canonical form
|
|
1081
|
+
*/
|
|
1082
|
+
id: string;
|
|
1083
|
+
};
|
|
1084
|
+
query?: never;
|
|
1085
|
+
url: '/billing/invoices/{id}';
|
|
1086
|
+
};
|
|
1087
|
+
export type GetInvoiceResponses = {
|
|
1088
|
+
/**
|
|
1089
|
+
* Returns a single Invoice HTML representation under `html` property.
|
|
1090
|
+
*/
|
|
1091
|
+
200: {
|
|
1092
|
+
html?: string;
|
|
1093
|
+
};
|
|
1094
|
+
};
|
|
1095
|
+
export type GetInvoiceResponse = GetInvoiceResponses[keyof GetInvoiceResponses];
|
|
1096
|
+
export type GetContactData = {
|
|
1097
|
+
body?: never;
|
|
1098
|
+
path?: never;
|
|
1099
|
+
query?: never;
|
|
1100
|
+
url: '/billing/contact';
|
|
1101
|
+
};
|
|
1102
|
+
export type GetContactResponses = {
|
|
1103
|
+
/**
|
|
1104
|
+
* Returns a single object containing organization contact and billing address details.
|
|
1105
|
+
*/
|
|
1106
|
+
200: BillingContact;
|
|
1107
|
+
};
|
|
1108
|
+
export type GetContactResponse = GetContactResponses[keyof GetContactResponses];
|
|
1109
|
+
export type UpdateContactData = {
|
|
1110
|
+
body: BillingContact;
|
|
1111
|
+
path?: never;
|
|
1112
|
+
query?: never;
|
|
1113
|
+
url: '/billing/contact';
|
|
1114
|
+
};
|
|
1115
|
+
export type UpdateContactResponses = {
|
|
1116
|
+
/**
|
|
1117
|
+
* Successfully updated. Returns updated organization details.
|
|
1118
|
+
*/
|
|
1119
|
+
200: BillingContact;
|
|
1120
|
+
};
|
|
1121
|
+
export type UpdateContactResponse = UpdateContactResponses[keyof UpdateContactResponses];
|
|
1122
|
+
export type GetCreditsData = {
|
|
1123
|
+
body?: never;
|
|
1124
|
+
path?: never;
|
|
1125
|
+
query?: never;
|
|
1126
|
+
url: '/billing/credits';
|
|
1127
|
+
};
|
|
1128
|
+
export type GetCreditsErrors = {
|
|
1129
|
+
/**
|
|
1130
|
+
* Not authenticated
|
|
1131
|
+
*/
|
|
1132
|
+
401: unknown;
|
|
1133
|
+
};
|
|
1134
|
+
export type GetCreditsResponses = {
|
|
1135
|
+
/**
|
|
1136
|
+
* An array of the applied promotional credits records.
|
|
1137
|
+
*/
|
|
1138
|
+
200: Array<BillingCredits>;
|
|
1139
|
+
};
|
|
1140
|
+
export type GetCreditsResponse = GetCreditsResponses[keyof GetCreditsResponses];
|
|
1141
|
+
export type RedeemCreditsData = {
|
|
1142
|
+
body: {
|
|
1143
|
+
/**
|
|
1144
|
+
* Promotional code to redeem
|
|
1145
|
+
*/
|
|
1146
|
+
code?: string;
|
|
1147
|
+
};
|
|
1148
|
+
path?: never;
|
|
1149
|
+
query?: never;
|
|
1150
|
+
url: '/billing/credits';
|
|
1151
|
+
};
|
|
1152
|
+
export type RedeemCreditsErrors = {
|
|
1153
|
+
/**
|
|
1154
|
+
* Not authenticated
|
|
1155
|
+
*/
|
|
1156
|
+
401: unknown;
|
|
1157
|
+
};
|
|
1158
|
+
export type RedeemCreditsResponses = {
|
|
1159
|
+
/**
|
|
1160
|
+
* Successfully created a new organization.
|
|
1161
|
+
*/
|
|
1162
|
+
200: unknown;
|
|
1163
|
+
};
|
|
1164
|
+
export type ListChartsData = {
|
|
1165
|
+
body?: never;
|
|
1166
|
+
path: {
|
|
1167
|
+
/**
|
|
1168
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
1169
|
+
*/
|
|
1170
|
+
cluster_id: string;
|
|
1171
|
+
};
|
|
1172
|
+
query?: never;
|
|
1173
|
+
url: '/clusters/{cluster_id}/charts';
|
|
1174
|
+
};
|
|
1175
|
+
export type ListChartsErrors = {
|
|
1176
|
+
/**
|
|
1177
|
+
* Not authenticated
|
|
1178
|
+
*/
|
|
1179
|
+
401: unknown;
|
|
1180
|
+
};
|
|
1181
|
+
export type ListChartsResponses = {
|
|
1182
|
+
/**
|
|
1183
|
+
* An array of charts
|
|
1184
|
+
*/
|
|
1185
|
+
200: Array<Chart>;
|
|
1186
|
+
};
|
|
1187
|
+
export type ListChartsResponse = ListChartsResponses[keyof ListChartsResponses];
|
|
1188
|
+
export type CreateChartData = {
|
|
1189
|
+
body: ChartCreateInput;
|
|
1190
|
+
path: {
|
|
1191
|
+
/**
|
|
1192
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
1184
1193
|
*/
|
|
1185
|
-
|
|
1194
|
+
cluster_id: string;
|
|
1186
1195
|
};
|
|
1196
|
+
query?: never;
|
|
1197
|
+
url: '/clusters/{cluster_id}/charts';
|
|
1187
1198
|
};
|
|
1188
|
-
export type
|
|
1189
|
-
|
|
1199
|
+
export type CreateChartResponses = {
|
|
1200
|
+
/**
|
|
1201
|
+
* Successfully created. Returns created Chart ID.
|
|
1202
|
+
*/
|
|
1203
|
+
200: string;
|
|
1204
|
+
};
|
|
1205
|
+
export type CreateChartResponse = CreateChartResponses[keyof CreateChartResponses];
|
|
1206
|
+
export type DeleteChartData = {
|
|
1190
1207
|
body?: never;
|
|
1191
|
-
path
|
|
1192
|
-
query: {
|
|
1208
|
+
path: {
|
|
1193
1209
|
/**
|
|
1194
|
-
*
|
|
1210
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
1195
1211
|
*/
|
|
1196
|
-
|
|
1212
|
+
cluster_id: string;
|
|
1197
1213
|
/**
|
|
1198
|
-
*
|
|
1214
|
+
* Chart deployment name as the unique identifier of the chart.
|
|
1199
1215
|
*/
|
|
1200
|
-
|
|
1216
|
+
chart_name: string;
|
|
1201
1217
|
};
|
|
1202
|
-
|
|
1218
|
+
query?: never;
|
|
1219
|
+
url: '/clusters/{cluster_id}/charts/{chart_name}';
|
|
1203
1220
|
};
|
|
1204
|
-
export type
|
|
1221
|
+
export type DeleteChartResponses = {
|
|
1205
1222
|
/**
|
|
1206
|
-
*
|
|
1223
|
+
* Successfully deleted.
|
|
1207
1224
|
*/
|
|
1208
|
-
|
|
1225
|
+
200: string;
|
|
1209
1226
|
};
|
|
1210
|
-
export type
|
|
1227
|
+
export type DeleteChartResponse = DeleteChartResponses[keyof DeleteChartResponses];
|
|
1228
|
+
export type GetChartData = {
|
|
1229
|
+
body?: never;
|
|
1230
|
+
path: {
|
|
1231
|
+
/**
|
|
1232
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
1233
|
+
*/
|
|
1234
|
+
cluster_id: string;
|
|
1235
|
+
/**
|
|
1236
|
+
* Chart deployment name as the unique identifier of the chart.
|
|
1237
|
+
*/
|
|
1238
|
+
chart_name: string;
|
|
1239
|
+
};
|
|
1240
|
+
query?: never;
|
|
1241
|
+
url: '/clusters/{cluster_id}/charts/{chart_name}';
|
|
1242
|
+
};
|
|
1243
|
+
export type GetChartResponses = {
|
|
1211
1244
|
/**
|
|
1212
|
-
*
|
|
1245
|
+
* Returns a single object containing chart details.
|
|
1213
1246
|
*/
|
|
1214
|
-
200:
|
|
1247
|
+
200: Chart;
|
|
1215
1248
|
};
|
|
1216
|
-
export type
|
|
1217
|
-
export type
|
|
1218
|
-
body
|
|
1249
|
+
export type GetChartResponse = GetChartResponses[keyof GetChartResponses];
|
|
1250
|
+
export type UpdateChartData = {
|
|
1251
|
+
body: ChartUpdateInput;
|
|
1219
1252
|
path: {
|
|
1220
1253
|
/**
|
|
1221
|
-
* Unique
|
|
1254
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
1222
1255
|
*/
|
|
1223
|
-
|
|
1256
|
+
cluster_id: string;
|
|
1257
|
+
/**
|
|
1258
|
+
* Chart deployment name as the unique identifier of the chart.
|
|
1259
|
+
*/
|
|
1260
|
+
chart_name: string;
|
|
1224
1261
|
};
|
|
1225
1262
|
query?: never;
|
|
1226
|
-
url: '/
|
|
1263
|
+
url: '/clusters/{cluster_id}/charts/{chart_name}';
|
|
1227
1264
|
};
|
|
1228
|
-
export type
|
|
1265
|
+
export type UpdateChartResponses = {
|
|
1229
1266
|
/**
|
|
1230
|
-
*
|
|
1267
|
+
* Successfully updated.
|
|
1231
1268
|
*/
|
|
1232
|
-
200:
|
|
1233
|
-
html?: string;
|
|
1234
|
-
};
|
|
1269
|
+
200: string;
|
|
1235
1270
|
};
|
|
1236
|
-
export type
|
|
1271
|
+
export type UpdateChartResponse = UpdateChartResponses[keyof UpdateChartResponses];
|
|
1237
1272
|
export type ListFleetsData = {
|
|
1238
1273
|
body?: never;
|
|
1239
1274
|
path: {
|
|
@@ -1493,255 +1528,9 @@ export type GetJoinInformationResponses = {
|
|
|
1493
1528
|
/**
|
|
1494
1529
|
* An object of cluster join information
|
|
1495
1530
|
*/
|
|
1496
|
-
200:
|
|
1531
|
+
200: ClusterJoinInformation;
|
|
1497
1532
|
};
|
|
1498
1533
|
export type GetJoinInformationResponse = GetJoinInformationResponses[keyof GetJoinInformationResponses];
|
|
1499
|
-
export type GetInfrastructureData = {
|
|
1500
|
-
body?: never;
|
|
1501
|
-
path?: never;
|
|
1502
|
-
query?: {
|
|
1503
|
-
/**
|
|
1504
|
-
* Version of the task definition. Currently only version 1 is supported.
|
|
1505
|
-
*/
|
|
1506
|
-
version?: 1;
|
|
1507
|
-
/**
|
|
1508
|
-
* Limit selection of cloud providers to this list. For the full list of supported providers, see [Providers](https://cloudfleet.ai/docs/cloud-infrastructure/providers/)
|
|
1509
|
-
*/
|
|
1510
|
-
provider?: Array<string>;
|
|
1511
|
-
/**
|
|
1512
|
-
* 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/)
|
|
1513
|
-
*/
|
|
1514
|
-
region?: Array<string>;
|
|
1515
|
-
/**
|
|
1516
|
-
* 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/)
|
|
1517
|
-
*/
|
|
1518
|
-
sub_region?: Array<string>;
|
|
1519
|
-
/**
|
|
1520
|
-
* Limits selection of cloud regions to this list of canonical provider regions
|
|
1521
|
-
*/
|
|
1522
|
-
csp_region?: Array<string>;
|
|
1523
|
-
/**
|
|
1524
|
-
* Limits selection of instance types to this list. Instance / VM type as defined by the cloud service provider
|
|
1525
|
-
*/
|
|
1526
|
-
instance_type?: Array<string>;
|
|
1527
|
-
/**
|
|
1528
|
-
* 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
|
|
1529
|
-
*/
|
|
1530
|
-
accelerator_name?: Array<string>;
|
|
1531
|
-
/**
|
|
1532
|
-
* List of normalized accelerator manufacturer names. For example, all Nvidia GPUs will have 'NVIDIA' as accelerator manufacturer
|
|
1533
|
-
*/
|
|
1534
|
-
accelerator_manufacturer?: Array<string>;
|
|
1535
|
-
/**
|
|
1536
|
-
* 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.
|
|
1537
|
-
*/
|
|
1538
|
-
accelerator_count_min?: number;
|
|
1539
|
-
/**
|
|
1540
|
-
* 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.
|
|
1541
|
-
*/
|
|
1542
|
-
accelerator_count_max?: number;
|
|
1543
|
-
/**
|
|
1544
|
-
* 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
|
|
1545
|
-
*/
|
|
1546
|
-
accelerator_memory_min?: number;
|
|
1547
|
-
/**
|
|
1548
|
-
* 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
|
|
1549
|
-
*/
|
|
1550
|
-
accelerator_memory_max?: number;
|
|
1551
|
-
/**
|
|
1552
|
-
* Minimum amount of RAM in gibibytes (GiB)
|
|
1553
|
-
*/
|
|
1554
|
-
memory_min?: number;
|
|
1555
|
-
/**
|
|
1556
|
-
* Maximum amount of RAM in gibibytes (GiB)
|
|
1557
|
-
*/
|
|
1558
|
-
memory_max?: number;
|
|
1559
|
-
/**
|
|
1560
|
-
* 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.
|
|
1561
|
-
*/
|
|
1562
|
-
vcpu_min?: number;
|
|
1563
|
-
/**
|
|
1564
|
-
* 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.
|
|
1565
|
-
*/
|
|
1566
|
-
vcpu_max?: number;
|
|
1567
|
-
/**
|
|
1568
|
-
* Minimum total storage in GiB (attached and local)
|
|
1569
|
-
*/
|
|
1570
|
-
storage_total_min?: number;
|
|
1571
|
-
/**
|
|
1572
|
-
* Maximum total storage in GiB (attached and local)
|
|
1573
|
-
*/
|
|
1574
|
-
storage_total_max?: number;
|
|
1575
|
-
/**
|
|
1576
|
-
* Minimum volume of directly attached, block-device local storage in gibibytes (GiB)
|
|
1577
|
-
*/
|
|
1578
|
-
storage_local_min?: number;
|
|
1579
|
-
/**
|
|
1580
|
-
* Maximum volume of directly attached, block-device local storage in gibibytes (GiB)
|
|
1581
|
-
*/
|
|
1582
|
-
storage_local_max?: number;
|
|
1583
|
-
/**
|
|
1584
|
-
* Minimum price of running the inctance per hour in USD as defined by the cloud service provider. The cheapest instance will be selected.
|
|
1585
|
-
*/
|
|
1586
|
-
price_min?: number;
|
|
1587
|
-
/**
|
|
1588
|
-
* Maximum price of running the inctance per hour in USD as defined by the cloud service provider. The cheapest instance will be selected.
|
|
1589
|
-
*/
|
|
1590
|
-
price_max?: number;
|
|
1591
|
-
};
|
|
1592
|
-
url: '/infrastructure';
|
|
1593
|
-
};
|
|
1594
|
-
export type GetInfrastructureErrors = {
|
|
1595
|
-
/**
|
|
1596
|
-
* Returns a validation error if any of the search parameters in the request are invalid
|
|
1597
|
-
*/
|
|
1598
|
-
400: Blob | File;
|
|
1599
|
-
};
|
|
1600
|
-
export type GetInfrastructureError = GetInfrastructureErrors[keyof GetInfrastructureErrors];
|
|
1601
|
-
export type GetInfrastructureResponses = {
|
|
1602
|
-
/**
|
|
1603
|
-
* An array of instances returned by the search
|
|
1604
|
-
*/
|
|
1605
|
-
200: Array<InfrastructureInstance>;
|
|
1606
|
-
};
|
|
1607
|
-
export type GetInfrastructureResponse = GetInfrastructureResponses[keyof GetInfrastructureResponses];
|
|
1608
|
-
export type GetFacetsData = {
|
|
1609
|
-
body?: never;
|
|
1610
|
-
path?: never;
|
|
1611
|
-
query?: never;
|
|
1612
|
-
url: '/infrastructure/facets';
|
|
1613
|
-
};
|
|
1614
|
-
export type GetFacetsResponses = {
|
|
1615
|
-
/**
|
|
1616
|
-
* Calculates search facets of the infrastructure catalog
|
|
1617
|
-
*/
|
|
1618
|
-
200: Array<{
|
|
1619
|
-
/**
|
|
1620
|
-
* Limit selection of cloud providers to this list. For the full list of supported providers, see [Providers](https://cloudfleet.ai/docs/cloud-infrastructure/providers/)
|
|
1621
|
-
*/
|
|
1622
|
-
provider?: Array<string>;
|
|
1623
|
-
/**
|
|
1624
|
-
* 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/)
|
|
1625
|
-
*/
|
|
1626
|
-
region?: Array<string>;
|
|
1627
|
-
/**
|
|
1628
|
-
* 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/)
|
|
1629
|
-
*/
|
|
1630
|
-
sub_region?: Array<string>;
|
|
1631
|
-
/**
|
|
1632
|
-
* Limits selection of cloud regions to this list of canonical provider regions
|
|
1633
|
-
*/
|
|
1634
|
-
csp_region?: Array<string>;
|
|
1635
|
-
/**
|
|
1636
|
-
* 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.
|
|
1637
|
-
*/
|
|
1638
|
-
vcpu_min?: number;
|
|
1639
|
-
/**
|
|
1640
|
-
* 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.
|
|
1641
|
-
*/
|
|
1642
|
-
vcpu_max?: number;
|
|
1643
|
-
/**
|
|
1644
|
-
* Minimum amount of RAM in gibibytes (GiB)
|
|
1645
|
-
*/
|
|
1646
|
-
memory_min?: number;
|
|
1647
|
-
/**
|
|
1648
|
-
* Maximum amount of RAM in gibibytes (GiB)
|
|
1649
|
-
*/
|
|
1650
|
-
memory_max?: number;
|
|
1651
|
-
/**
|
|
1652
|
-
* Minimum volume of directly attached, block-device local storage in gibibytes (GiB)
|
|
1653
|
-
*/
|
|
1654
|
-
storage_local_min?: number;
|
|
1655
|
-
/**
|
|
1656
|
-
* Maximum volume of directly attached, block-device local storage in gibibytes (GiB)
|
|
1657
|
-
*/
|
|
1658
|
-
storage_local_max?: number;
|
|
1659
|
-
/**
|
|
1660
|
-
* 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
|
|
1661
|
-
*/
|
|
1662
|
-
accelerator_name?: Array<string>;
|
|
1663
|
-
/**
|
|
1664
|
-
* List of normalized accelerator manufacturer names. For example, all Nvidia GPUs will have 'NVIDIA' as accelerator manufacturer
|
|
1665
|
-
*/
|
|
1666
|
-
accelerator_manufacturer?: Array<string>;
|
|
1667
|
-
/**
|
|
1668
|
-
* 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.
|
|
1669
|
-
*/
|
|
1670
|
-
accelerator_count_min?: number;
|
|
1671
|
-
/**
|
|
1672
|
-
* 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.
|
|
1673
|
-
*/
|
|
1674
|
-
accelerator_count_max?: number;
|
|
1675
|
-
/**
|
|
1676
|
-
* 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
|
|
1677
|
-
*/
|
|
1678
|
-
accelerator_memory_min?: number;
|
|
1679
|
-
/**
|
|
1680
|
-
* 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
|
|
1681
|
-
*/
|
|
1682
|
-
accelerator_memory_max?: number;
|
|
1683
|
-
/**
|
|
1684
|
-
* Minimum price of running the inctance per hour in USD as defined by the cloud service provider. The cheapest instance will be selected.
|
|
1685
|
-
*/
|
|
1686
|
-
price_min?: number;
|
|
1687
|
-
/**
|
|
1688
|
-
* Maximum price of running the inctance per hour in USD as defined by the cloud service provider. The cheapest instance will be selected.
|
|
1689
|
-
*/
|
|
1690
|
-
price_max?: number;
|
|
1691
|
-
/**
|
|
1692
|
-
* Structured array of regions and sub-regions
|
|
1693
|
-
*/
|
|
1694
|
-
regions_struct?: Array<{
|
|
1695
|
-
/**
|
|
1696
|
-
* 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/)
|
|
1697
|
-
*/
|
|
1698
|
-
region?: string;
|
|
1699
|
-
sub_region?: Array<string>;
|
|
1700
|
-
}>;
|
|
1701
|
-
/**
|
|
1702
|
-
* Structured array of regions and sub-regions
|
|
1703
|
-
*/
|
|
1704
|
-
accelerators_struct?: Array<{
|
|
1705
|
-
/**
|
|
1706
|
-
* List of normalized accelerator manufacturer names. For example, all Nvidia GPUs will have 'NVIDIA' as accelerator manufacturer
|
|
1707
|
-
*/
|
|
1708
|
-
accelerator_manufacturer?: string;
|
|
1709
|
-
accelerator_name?: Array<string>;
|
|
1710
|
-
}>;
|
|
1711
|
-
/**
|
|
1712
|
-
* Total number of instances in the catalog
|
|
1713
|
-
*/
|
|
1714
|
-
count_total?: number;
|
|
1715
|
-
/**
|
|
1716
|
-
* Total number of instances in the catalog with at least 1 accelerator
|
|
1717
|
-
*/
|
|
1718
|
-
count_accelerators?: number;
|
|
1719
|
-
/**
|
|
1720
|
-
* Total number of unique instances types in the catalog
|
|
1721
|
-
*/
|
|
1722
|
-
count_instance_types?: number;
|
|
1723
|
-
/**
|
|
1724
|
-
* Total number of unique instances types in the catalog with at least 1 accelerator
|
|
1725
|
-
*/
|
|
1726
|
-
count_accelerators_instance_types?: number;
|
|
1727
|
-
}>;
|
|
1728
|
-
};
|
|
1729
|
-
export type GetFacetsResponse = GetFacetsResponses[keyof GetFacetsResponses];
|
|
1730
|
-
export type GetRegionsData = {
|
|
1731
|
-
body?: never;
|
|
1732
|
-
path?: never;
|
|
1733
|
-
query?: never;
|
|
1734
|
-
url: '/infrastructure/regions';
|
|
1735
|
-
};
|
|
1736
|
-
export type GetRegionsResponses = {
|
|
1737
|
-
/**
|
|
1738
|
-
* Available Cloudfleet regions and Kubernetes versions.
|
|
1739
|
-
*/
|
|
1740
|
-
200: {
|
|
1741
|
-
[key: string]: unknown;
|
|
1742
|
-
};
|
|
1743
|
-
};
|
|
1744
|
-
export type GetRegionsResponse = GetRegionsResponses[keyof GetRegionsResponses];
|
|
1745
1534
|
export type ListInvitesData = {
|
|
1746
1535
|
body?: never;
|
|
1747
1536
|
path?: never;
|
|
@@ -1814,6 +1603,43 @@ export type DeleteInviteResponses = {
|
|
|
1814
1603
|
*/
|
|
1815
1604
|
200: unknown;
|
|
1816
1605
|
};
|
|
1606
|
+
export type ListMarketplaceChartsData = {
|
|
1607
|
+
body?: never;
|
|
1608
|
+
path?: never;
|
|
1609
|
+
query?: never;
|
|
1610
|
+
url: '/marketplace';
|
|
1611
|
+
};
|
|
1612
|
+
export type ListMarketplaceChartsErrors = {
|
|
1613
|
+
/**
|
|
1614
|
+
* Not authenticated
|
|
1615
|
+
*/
|
|
1616
|
+
401: unknown;
|
|
1617
|
+
};
|
|
1618
|
+
export type ListMarketplaceChartsResponses = {
|
|
1619
|
+
/**
|
|
1620
|
+
* An array of chart listings in the marketplace.
|
|
1621
|
+
*/
|
|
1622
|
+
200: Array<MarketplaceListing>;
|
|
1623
|
+
};
|
|
1624
|
+
export type ListMarketplaceChartsResponse = ListMarketplaceChartsResponses[keyof ListMarketplaceChartsResponses];
|
|
1625
|
+
export type GetMarketplaceChartData = {
|
|
1626
|
+
body?: never;
|
|
1627
|
+
path: {
|
|
1628
|
+
/**
|
|
1629
|
+
* Unique identifier of the chart listing in the marketplace.
|
|
1630
|
+
*/
|
|
1631
|
+
listing_id: string;
|
|
1632
|
+
};
|
|
1633
|
+
query?: never;
|
|
1634
|
+
url: '/marketplace/{listing_id}';
|
|
1635
|
+
};
|
|
1636
|
+
export type GetMarketplaceChartResponses = {
|
|
1637
|
+
/**
|
|
1638
|
+
* Returns an object containing the chart listing details.
|
|
1639
|
+
*/
|
|
1640
|
+
200: MarketplaceListing;
|
|
1641
|
+
};
|
|
1642
|
+
export type GetMarketplaceChartResponse = GetMarketplaceChartResponses[keyof GetMarketplaceChartResponses];
|
|
1817
1643
|
export type GetOrganizationData = {
|
|
1818
1644
|
body?: never;
|
|
1819
1645
|
path?: never;
|
|
@@ -1835,24 +1661,10 @@ export type CreateOrganizationData = {
|
|
|
1835
1661
|
};
|
|
1836
1662
|
export type CreateOrganizationResponses = {
|
|
1837
1663
|
/**
|
|
1838
|
-
* Successfully created a new organization.
|
|
1839
|
-
*/
|
|
1840
|
-
200: Organization;
|
|
1841
|
-
};
|
|
1842
|
-
export type CreateOrganizationResponse = CreateOrganizationResponses[keyof CreateOrganizationResponses];
|
|
1843
|
-
export type UpdateOrganizationData = {
|
|
1844
|
-
body: OrganizationUpdateInput;
|
|
1845
|
-
path?: never;
|
|
1846
|
-
query?: never;
|
|
1847
|
-
url: '/organization';
|
|
1848
|
-
};
|
|
1849
|
-
export type UpdateOrganizationResponses = {
|
|
1850
|
-
/**
|
|
1851
|
-
* Successfully updated. Returns updated organization details.
|
|
1664
|
+
* Successfully created a new organization.
|
|
1852
1665
|
*/
|
|
1853
|
-
200:
|
|
1666
|
+
200: unknown;
|
|
1854
1667
|
};
|
|
1855
|
-
export type UpdateOrganizationResponse = UpdateOrganizationResponses[keyof UpdateOrganizationResponses];
|
|
1856
1668
|
export type ListTokensData = {
|
|
1857
1669
|
body?: never;
|
|
1858
1670
|
path?: never;
|
|
@@ -2109,53 +1921,4 @@ export type UpdateUserResponses = {
|
|
|
2109
1921
|
200: User;
|
|
2110
1922
|
};
|
|
2111
1923
|
export type UpdateUserResponse = UpdateUserResponses[keyof UpdateUserResponses];
|
|
2112
|
-
export type DeleteClusterPermissionsData = {
|
|
2113
|
-
body?: never;
|
|
2114
|
-
path: {
|
|
2115
|
-
/**
|
|
2116
|
-
* Unique user identifier. UUID v4 string in canonical form
|
|
2117
|
-
*/
|
|
2118
|
-
user_id: string;
|
|
2119
|
-
/**
|
|
2120
|
-
* Unique cluster identifier. UUID v4 string in canonical form
|
|
2121
|
-
*/
|
|
2122
|
-
cluster_id: string;
|
|
2123
|
-
};
|
|
2124
|
-
query?: never;
|
|
2125
|
-
url: '/users/{user_id}/clusters/{cluster_id}';
|
|
2126
|
-
};
|
|
2127
|
-
export type DeleteClusterPermissionsResponses = {
|
|
2128
|
-
/**
|
|
2129
|
-
* Successfully removed user from the cluster. Returns updated user details.
|
|
2130
|
-
*/
|
|
2131
|
-
200: User;
|
|
2132
|
-
};
|
|
2133
|
-
export type DeleteClusterPermissionsResponse = DeleteClusterPermissionsResponses[keyof DeleteClusterPermissionsResponses];
|
|
2134
|
-
export type SetClusterPermissionsData = {
|
|
2135
|
-
body: {
|
|
2136
|
-
/**
|
|
2137
|
-
* Level of permissions for the user to access the cluster
|
|
2138
|
-
*/
|
|
2139
|
-
permissions?: 'readwrite' | 'readonly';
|
|
2140
|
-
};
|
|
2141
|
-
path: {
|
|
2142
|
-
/**
|
|
2143
|
-
* Unique user identifier. UUID v4 string in canonical form
|
|
2144
|
-
*/
|
|
2145
|
-
user_id: string;
|
|
2146
|
-
/**
|
|
2147
|
-
* Unique cluster identifier. UUID v4 string in canonical form
|
|
2148
|
-
*/
|
|
2149
|
-
cluster_id: string;
|
|
2150
|
-
};
|
|
2151
|
-
query?: never;
|
|
2152
|
-
url: '/users/{user_id}/clusters/{cluster_id}';
|
|
2153
|
-
};
|
|
2154
|
-
export type SetClusterPermissionsResponses = {
|
|
2155
|
-
/**
|
|
2156
|
-
* Successfully created. Returns created user details.
|
|
2157
|
-
*/
|
|
2158
|
-
200: User;
|
|
2159
|
-
};
|
|
2160
|
-
export type SetClusterPermissionsResponse = SetClusterPermissionsResponses[keyof SetClusterPermissionsResponses];
|
|
2161
1924
|
//# sourceMappingURL=types.gen.d.ts.map
|