@cloudfleet/sdk 0.0.1-96d5fec → 0.0.1-a030ac8
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 +235 -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 +118 -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 +229 -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 +4 -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 +26 -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 +44 -0
- package/dist/core/params.gen.d.ts.map +1 -0
- package/dist/core/params.gen.js +101 -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 +107 -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 +93 -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 +134 -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 +1042 -1045
- package/dist/schemas.gen.d.ts.map +1 -1
- package/dist/schemas.gen.js +1508 -1074
- package/dist/schemas.gen.js.map +1 -1
- package/dist/sdk.gen.d.ts +220 -142
- package/dist/sdk.gen.d.ts.map +1 -1
- package/dist/sdk.gen.js +279 -227
- 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 +989 -954
- package/dist/types.gen.d.ts.map +1 -1
- package/dist/zod.gen.d.ts +1914 -2836
- package/dist/zod.gen.d.ts.map +1 -1
- package/dist/zod.gen.js +894 -864
- package/dist/zod.gen.js.map +1 -1
- package/package.json +12 -5
package/dist/types.gen.d.ts
CHANGED
|
@@ -1,20 +1,181 @@
|
|
|
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
|
+
* Name of the billing contact person.
|
|
43
|
+
*/
|
|
44
|
+
individual_name: string;
|
|
45
|
+
/**
|
|
46
|
+
* Tax ID of the organization.
|
|
47
|
+
*/
|
|
48
|
+
tax_id?: string;
|
|
49
|
+
/**
|
|
50
|
+
* Type of the tax ID.
|
|
51
|
+
*/
|
|
52
|
+
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' | '';
|
|
53
|
+
};
|
|
54
|
+
export type BillingCredits = {
|
|
55
|
+
/**
|
|
56
|
+
* Generated unique identifier of the promotional code.
|
|
57
|
+
*/
|
|
58
|
+
id?: string;
|
|
59
|
+
/**
|
|
60
|
+
* Type of the promotional code.
|
|
61
|
+
*/
|
|
62
|
+
type: 'credit' | 'discount';
|
|
63
|
+
/**
|
|
64
|
+
* Timestamp when the credit becomes active. ISO 8601 date string in the UTC timezone.
|
|
65
|
+
*/
|
|
66
|
+
date_start: string;
|
|
67
|
+
/**
|
|
68
|
+
* Timestamp when the credit expires or becomes inactive. ISO 8601 date string in the UTC timezone.
|
|
69
|
+
*/
|
|
70
|
+
date_end?: string;
|
|
71
|
+
/**
|
|
72
|
+
* Promotional code used by the customer.
|
|
73
|
+
*/
|
|
74
|
+
code: string;
|
|
75
|
+
/**
|
|
76
|
+
* Description of the promotional code.
|
|
77
|
+
*/
|
|
78
|
+
description?: string;
|
|
79
|
+
/**
|
|
80
|
+
* Total value of the promotional code.
|
|
81
|
+
*/
|
|
82
|
+
value_total: number;
|
|
83
|
+
/**
|
|
84
|
+
* Remaining value of the promotional code.
|
|
85
|
+
*/
|
|
86
|
+
value_remaining?: number;
|
|
87
|
+
};
|
|
88
|
+
export type ChartCreateInput = {
|
|
89
|
+
/**
|
|
90
|
+
* Values to be used in the chart encoded as a JSON string.
|
|
91
|
+
*/
|
|
92
|
+
values: string;
|
|
93
|
+
/**
|
|
94
|
+
* Desired version range or channel for the chart.
|
|
95
|
+
*/
|
|
96
|
+
version_channel: string;
|
|
97
|
+
/**
|
|
98
|
+
* Unique identifier of the chart deployment aka name of the helm release.
|
|
99
|
+
*/
|
|
100
|
+
name: string;
|
|
101
|
+
/**
|
|
102
|
+
* Namespace of the chart deployment
|
|
103
|
+
*/
|
|
104
|
+
namespace: string;
|
|
105
|
+
/**
|
|
106
|
+
* Name of the chart listing
|
|
107
|
+
*/
|
|
108
|
+
chart: string;
|
|
109
|
+
};
|
|
110
|
+
export type Chart = {
|
|
111
|
+
/**
|
|
112
|
+
* Values to be used in the chart encoded as a JSON string.
|
|
113
|
+
*/
|
|
114
|
+
values: string;
|
|
115
|
+
/**
|
|
116
|
+
* Desired version range or channel for the chart.
|
|
117
|
+
*/
|
|
118
|
+
version_channel: string;
|
|
119
|
+
/**
|
|
120
|
+
* Unique identifier of the chart deployment aka name of the helm release.
|
|
4
121
|
*/
|
|
5
122
|
name: string;
|
|
6
123
|
/**
|
|
7
|
-
*
|
|
124
|
+
* Namespace of the chart deployment
|
|
125
|
+
*/
|
|
126
|
+
namespace: string;
|
|
127
|
+
/**
|
|
128
|
+
* Name of the chart listing
|
|
129
|
+
*/
|
|
130
|
+
chart: string;
|
|
131
|
+
/**
|
|
132
|
+
* Status of the chart deployment.
|
|
133
|
+
*/
|
|
134
|
+
status: 'InstallSucceeded' | 'InstallFailed' | 'UpgradeSucceeded' | 'UpgradeFailed' | 'TestSucceeded' | 'TestFailed' | 'RollbackSucceeded' | 'RollbackFailed' | 'UninstallSucceeded' | 'UninstallFailed' | 'ArtifactFailed' | 'DependencyNotReady' | 'Progressing' | 'SourceNotReady';
|
|
135
|
+
/**
|
|
136
|
+
* Current version of the chart deployment.
|
|
137
|
+
*/
|
|
138
|
+
version_current: string;
|
|
139
|
+
/**
|
|
140
|
+
* Creation date and time of the chart deployment.
|
|
141
|
+
*/
|
|
142
|
+
created_at: string;
|
|
143
|
+
/**
|
|
144
|
+
* Last update date and time of the chart deployment.
|
|
145
|
+
*/
|
|
146
|
+
updated_at: string;
|
|
147
|
+
/**
|
|
148
|
+
* Indicates if the chart deployment is ready to be used.
|
|
149
|
+
*/
|
|
150
|
+
ready: boolean;
|
|
151
|
+
};
|
|
152
|
+
export type ChartUpdateInput = {
|
|
153
|
+
/**
|
|
154
|
+
* Values to be used in the chart encoded as a JSON string.
|
|
155
|
+
*/
|
|
156
|
+
values: string;
|
|
157
|
+
/**
|
|
158
|
+
* Desired version range or channel for the chart.
|
|
159
|
+
*/
|
|
160
|
+
version_channel: string;
|
|
161
|
+
};
|
|
162
|
+
export type ClusterCreateInput = {
|
|
163
|
+
/**
|
|
164
|
+
* Name of the cluster.
|
|
8
165
|
*/
|
|
9
|
-
|
|
166
|
+
name: string;
|
|
10
167
|
/**
|
|
11
168
|
* Tier of the cluster.
|
|
12
169
|
*/
|
|
13
170
|
tier: 'basic' | 'pro';
|
|
171
|
+
/**
|
|
172
|
+
* Cloudfleet control plane region. One of "staging-1a", "northamerica-central-1", "europe-central-1a", "northamerica-central-1a". This field can not be updated after creation.
|
|
173
|
+
*/
|
|
174
|
+
region?: 'staging-1a' | 'northamerica-central-1' | 'europe-central-1a' | 'northamerica-central-1a';
|
|
14
175
|
/**
|
|
15
176
|
* Version of the kubernetes cluster.
|
|
16
177
|
*/
|
|
17
|
-
version_channel?:
|
|
178
|
+
version_channel?: '1.x.x-cfke.x' | '1.31.x-cfke.x' | '1.32.x-cfke.x' | '1.33.x-cfke.x';
|
|
18
179
|
};
|
|
19
180
|
export type ClusterJoinInformation = {
|
|
20
181
|
/**
|
|
@@ -25,6 +186,10 @@ export type ClusterJoinInformation = {
|
|
|
25
186
|
* Internal URL of the Kubernetes cluster control plane. This is the endpoint that kubelet uses to connect to the cluster.
|
|
26
187
|
*/
|
|
27
188
|
endpoint: string;
|
|
189
|
+
/**
|
|
190
|
+
* Cluster DNS IP address. This is the IP address of the kube-dns service in the cluster.
|
|
191
|
+
*/
|
|
192
|
+
cluster_dns: string;
|
|
28
193
|
/**
|
|
29
194
|
* Authentication key for the cluster.
|
|
30
195
|
*/
|
|
@@ -49,6 +214,27 @@ export type ClusterJoinInformation = {
|
|
|
49
214
|
* Containerd version of the cluster.
|
|
50
215
|
*/
|
|
51
216
|
containerd: string;
|
|
217
|
+
/**
|
|
218
|
+
* NVIDIA driver version of the cluster.
|
|
219
|
+
*/
|
|
220
|
+
nvidia_driver: string;
|
|
221
|
+
};
|
|
222
|
+
/**
|
|
223
|
+
* OIDC Information for hosts to access to third party API's.
|
|
224
|
+
*/
|
|
225
|
+
third_party_api_access_config: {
|
|
226
|
+
/**
|
|
227
|
+
* Kubernetes metadata server.
|
|
228
|
+
*/
|
|
229
|
+
metadata_url: string;
|
|
230
|
+
/**
|
|
231
|
+
* AWS Role ARN.
|
|
232
|
+
*/
|
|
233
|
+
aws_role_arn: string;
|
|
234
|
+
/**
|
|
235
|
+
* GCP Workload Identity provider.
|
|
236
|
+
*/
|
|
237
|
+
gcp_workload_identity_provider: string;
|
|
52
238
|
};
|
|
53
239
|
};
|
|
54
240
|
export type Cluster = {
|
|
@@ -56,18 +242,14 @@ export type Cluster = {
|
|
|
56
242
|
* Name of the cluster.
|
|
57
243
|
*/
|
|
58
244
|
name: string;
|
|
59
|
-
/**
|
|
60
|
-
* Cloudfleet control plane region. One of "staging", "northamerica-central-1". This field can not be updated after creation.
|
|
61
|
-
*/
|
|
62
|
-
region?: 'staging' | 'northamerica-central-1';
|
|
63
245
|
/**
|
|
64
246
|
* Tier of the cluster.
|
|
65
247
|
*/
|
|
66
248
|
tier: 'basic' | 'pro';
|
|
67
249
|
/**
|
|
68
|
-
*
|
|
250
|
+
* Cloudfleet control plane region. One of "staging-1a", "northamerica-central-1", "europe-central-1a", "northamerica-central-1a". This field can not be updated after creation.
|
|
69
251
|
*/
|
|
70
|
-
|
|
252
|
+
region?: 'staging-1a' | 'northamerica-central-1' | 'europe-central-1a' | 'northamerica-central-1a';
|
|
71
253
|
/**
|
|
72
254
|
* Unique identifier of the kubernetes cluster. UUID v4 string in canonical form
|
|
73
255
|
*/
|
|
@@ -75,7 +257,7 @@ export type Cluster = {
|
|
|
75
257
|
/**
|
|
76
258
|
* Status of the cluster. When creating a new cluster, set to `active`. When deleting a clusters, set to `deleted`.
|
|
77
259
|
*/
|
|
78
|
-
status: 'active' | 'deleted' | 'creating' | 'deployed' | 'failed' | 'updating';
|
|
260
|
+
status: 'active' | 'disabled' | 'deleted' | 'creating' | 'deployed' | 'failed' | 'updating';
|
|
79
261
|
endpoint?: string | '';
|
|
80
262
|
/**
|
|
81
263
|
* Certificate authority data for the kubernetes cluster. This is the root certificate authority for the cluster.
|
|
@@ -97,12 +279,20 @@ export type Cluster = {
|
|
|
97
279
|
* Indicates if the cluster is ready to be used.
|
|
98
280
|
*/
|
|
99
281
|
ready?: boolean;
|
|
282
|
+
/**
|
|
283
|
+
* Version of the kubernetes cluster.
|
|
284
|
+
*/
|
|
285
|
+
version_channel?: string;
|
|
100
286
|
};
|
|
101
287
|
export type ClusterUpdateInput = {
|
|
102
288
|
/**
|
|
103
289
|
* Name of the cluster.
|
|
104
290
|
*/
|
|
105
291
|
name?: string;
|
|
292
|
+
/**
|
|
293
|
+
* Tier of the cluster.
|
|
294
|
+
*/
|
|
295
|
+
tier: 'basic' | 'pro';
|
|
106
296
|
/**
|
|
107
297
|
* Version of the kubernetes cluster.
|
|
108
298
|
*/
|
|
@@ -127,10 +317,10 @@ export type FleetCreateInput = {
|
|
|
127
317
|
};
|
|
128
318
|
hetzner?: {
|
|
129
319
|
enabled?: boolean;
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
320
|
+
/**
|
|
321
|
+
* Hetzner Cloud API key with read / write access
|
|
322
|
+
*/
|
|
323
|
+
apiKey: string;
|
|
134
324
|
};
|
|
135
325
|
aws?: {
|
|
136
326
|
enabled?: boolean;
|
|
@@ -143,10 +333,6 @@ export type FleetCreateInput = {
|
|
|
143
333
|
* Unique identifier of the kubernetes fleet.
|
|
144
334
|
*/
|
|
145
335
|
id: string;
|
|
146
|
-
/**
|
|
147
|
-
* Specifies the fleet type: infrastructure managed by Cloudfleet or Connected Fleets.
|
|
148
|
-
*/
|
|
149
|
-
type: 'managed' | 'connected';
|
|
150
336
|
};
|
|
151
337
|
export type Fleet = {
|
|
152
338
|
/**
|
|
@@ -167,10 +353,10 @@ export type Fleet = {
|
|
|
167
353
|
};
|
|
168
354
|
hetzner?: {
|
|
169
355
|
enabled?: boolean;
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
356
|
+
/**
|
|
357
|
+
* Hetzner Cloud API key with read / write access
|
|
358
|
+
*/
|
|
359
|
+
apiKey: string;
|
|
174
360
|
};
|
|
175
361
|
aws?: {
|
|
176
362
|
enabled?: boolean;
|
|
@@ -183,10 +369,6 @@ export type Fleet = {
|
|
|
183
369
|
* Unique identifier of the kubernetes fleet.
|
|
184
370
|
*/
|
|
185
371
|
id: string;
|
|
186
|
-
/**
|
|
187
|
-
* Specifies the fleet type: infrastructure managed by Cloudfleet or Connected Fleets.
|
|
188
|
-
*/
|
|
189
|
-
type: 'managed' | 'connected';
|
|
190
372
|
};
|
|
191
373
|
export type FleetUpdateInput = {
|
|
192
374
|
/**
|
|
@@ -207,10 +389,10 @@ export type FleetUpdateInput = {
|
|
|
207
389
|
};
|
|
208
390
|
hetzner?: {
|
|
209
391
|
enabled?: boolean;
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
392
|
+
/**
|
|
393
|
+
* Hetzner Cloud API key with read / write access
|
|
394
|
+
*/
|
|
395
|
+
apiKey: string;
|
|
214
396
|
};
|
|
215
397
|
aws?: {
|
|
216
398
|
enabled?: boolean;
|
|
@@ -220,178 +402,6 @@ export type FleetUpdateInput = {
|
|
|
220
402
|
controllerRoleArn: string;
|
|
221
403
|
};
|
|
222
404
|
};
|
|
223
|
-
export type InfrastructureFilter = {
|
|
224
|
-
/**
|
|
225
|
-
* Version of the infrastructure filter definition. Currently only version 1 is supported.
|
|
226
|
-
*/
|
|
227
|
-
version?: 1;
|
|
228
|
-
/**
|
|
229
|
-
* Limit selection of cloud providers to this list. For the full list of supported providers, see [Providers](https://cloudfleet.ai/docs/cloud-infrastructure/providers/)
|
|
230
|
-
*/
|
|
231
|
-
provider?: Array<string>;
|
|
232
|
-
/**
|
|
233
|
-
* 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/)
|
|
234
|
-
*/
|
|
235
|
-
region?: Array<string>;
|
|
236
|
-
/**
|
|
237
|
-
* 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/)
|
|
238
|
-
*/
|
|
239
|
-
sub_region?: Array<string>;
|
|
240
|
-
/**
|
|
241
|
-
* Limits selection of cloud regions to this list of canonical provider regions
|
|
242
|
-
*/
|
|
243
|
-
csp_region?: Array<string>;
|
|
244
|
-
/**
|
|
245
|
-
* Limits selection of instance types to this list. Instance / VM type as defined by the cloud service provider
|
|
246
|
-
*/
|
|
247
|
-
instance_type?: Array<string>;
|
|
248
|
-
/**
|
|
249
|
-
* 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
|
|
250
|
-
*/
|
|
251
|
-
accelerator_name?: Array<string>;
|
|
252
|
-
/**
|
|
253
|
-
* List of normalized accelerator manufacturer names. For example, all Nvidia GPUs will have 'NVIDIA' as accelerator manufacturer
|
|
254
|
-
*/
|
|
255
|
-
accelerator_manufacturer?: Array<string>;
|
|
256
|
-
/**
|
|
257
|
-
* 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.
|
|
258
|
-
*/
|
|
259
|
-
accelerator_count_min?: number;
|
|
260
|
-
/**
|
|
261
|
-
* 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.
|
|
262
|
-
*/
|
|
263
|
-
accelerator_count_max?: number;
|
|
264
|
-
/**
|
|
265
|
-
* 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
|
|
266
|
-
*/
|
|
267
|
-
accelerator_memory_min?: number;
|
|
268
|
-
/**
|
|
269
|
-
* 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
|
|
270
|
-
*/
|
|
271
|
-
accelerator_memory_max?: number;
|
|
272
|
-
/**
|
|
273
|
-
* Minimum amount of RAM in gibibytes (GiB)
|
|
274
|
-
*/
|
|
275
|
-
memory_min?: number;
|
|
276
|
-
/**
|
|
277
|
-
* Maximum amount of RAM in gibibytes (GiB)
|
|
278
|
-
*/
|
|
279
|
-
memory_max?: number;
|
|
280
|
-
/**
|
|
281
|
-
* 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.
|
|
282
|
-
*/
|
|
283
|
-
vcpu_min?: number;
|
|
284
|
-
/**
|
|
285
|
-
* 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.
|
|
286
|
-
*/
|
|
287
|
-
vcpu_max?: number;
|
|
288
|
-
/**
|
|
289
|
-
* Minimum total storage in GiB (attached and local)
|
|
290
|
-
*/
|
|
291
|
-
storage_total_min?: number;
|
|
292
|
-
/**
|
|
293
|
-
* Maximum total storage in GiB (attached and local)
|
|
294
|
-
*/
|
|
295
|
-
storage_total_max?: number;
|
|
296
|
-
/**
|
|
297
|
-
* Minimum volume of directly attached, block-device local storage in gibibytes (GiB)
|
|
298
|
-
*/
|
|
299
|
-
storage_local_min?: number;
|
|
300
|
-
/**
|
|
301
|
-
* Maximum volume of directly attached, block-device local storage in gibibytes (GiB)
|
|
302
|
-
*/
|
|
303
|
-
storage_local_max?: number;
|
|
304
|
-
/**
|
|
305
|
-
* Minimum price of running the inctance per hour in USD as defined by the cloud service provider. The cheapest instance will be selected.
|
|
306
|
-
*/
|
|
307
|
-
price_min?: number;
|
|
308
|
-
/**
|
|
309
|
-
* Maximum price of running the inctance per hour in USD as defined by the cloud service provider. The cheapest instance will be selected.
|
|
310
|
-
*/
|
|
311
|
-
price_max?: number;
|
|
312
|
-
};
|
|
313
|
-
export type InfrastructureInstance = {
|
|
314
|
-
/**
|
|
315
|
-
* Cloudfleet instance SKU. Has a format of <provider>-<csp_region>-<instance_type>.
|
|
316
|
-
*/
|
|
317
|
-
sku: string;
|
|
318
|
-
/**
|
|
319
|
-
* Normalized cloud service provider name. For the full list of supported providers, see [Providers](https://cloudfleet.ai/docs/cloud-infrastructure/providers/)
|
|
320
|
-
*/
|
|
321
|
-
provider: string;
|
|
322
|
-
/**
|
|
323
|
-
* 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/)
|
|
324
|
-
*/
|
|
325
|
-
region: string;
|
|
326
|
-
/**
|
|
327
|
-
* 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/)
|
|
328
|
-
*/
|
|
329
|
-
sub_region: string;
|
|
330
|
-
/**
|
|
331
|
-
* Region as defined by the cloud service provider
|
|
332
|
-
*/
|
|
333
|
-
csp_region: string;
|
|
334
|
-
/**
|
|
335
|
-
* Availability zone as defined by the cloud service provider
|
|
336
|
-
*/
|
|
337
|
-
csp_zone: string;
|
|
338
|
-
/**
|
|
339
|
-
* Instance / VM type as defined by the cloud service provider
|
|
340
|
-
*/
|
|
341
|
-
instance_type: string;
|
|
342
|
-
/**
|
|
343
|
-
* Instance CPU architecture
|
|
344
|
-
*/
|
|
345
|
-
architecture: string;
|
|
346
|
-
/**
|
|
347
|
-
* Instance operating system
|
|
348
|
-
*/
|
|
349
|
-
os: string;
|
|
350
|
-
/**
|
|
351
|
-
* 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.
|
|
352
|
-
*/
|
|
353
|
-
vcpu: number;
|
|
354
|
-
/**
|
|
355
|
-
* Total amount of RAM in gibibytes (GiB)
|
|
356
|
-
*/
|
|
357
|
-
memory: number;
|
|
358
|
-
/**
|
|
359
|
-
* Volume of directly attached, block-device local storage in gibibytes (GiB)
|
|
360
|
-
*/
|
|
361
|
-
local_storage: number;
|
|
362
|
-
/**
|
|
363
|
-
* 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
|
|
364
|
-
*/
|
|
365
|
-
accelerator_name?: string;
|
|
366
|
-
/**
|
|
367
|
-
* Normalized manufacturer name of accelerator. For example, all Nvidia GPUs will have 'NVIDIA' as accelerator manufacturer
|
|
368
|
-
*/
|
|
369
|
-
accelerator_manufacturer?: string;
|
|
370
|
-
/**
|
|
371
|
-
* 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.
|
|
372
|
-
*/
|
|
373
|
-
accelerator_count?: number;
|
|
374
|
-
/**
|
|
375
|
-
* 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
|
|
376
|
-
*/
|
|
377
|
-
accelerator_memory?: number;
|
|
378
|
-
/**
|
|
379
|
-
* Maximum number of pods that can be run on this instance type.
|
|
380
|
-
*/
|
|
381
|
-
pods_capacity?: number;
|
|
382
|
-
/**
|
|
383
|
-
* Capacity type of the instance. E.g. `on-demand`, `spot`.
|
|
384
|
-
*/
|
|
385
|
-
capacity_type?: string;
|
|
386
|
-
/**
|
|
387
|
-
* Price of running the inctance per hour in USD as defined by the cloud service provider
|
|
388
|
-
*/
|
|
389
|
-
price: number;
|
|
390
|
-
/**
|
|
391
|
-
* Whether this instance type is available.
|
|
392
|
-
*/
|
|
393
|
-
available?: boolean;
|
|
394
|
-
};
|
|
395
405
|
export type Invite = {
|
|
396
406
|
/**
|
|
397
407
|
* Unique identifier of the invitation.
|
|
@@ -416,265 +426,123 @@ export type Invite = {
|
|
|
416
426
|
};
|
|
417
427
|
export type Invoice = {
|
|
418
428
|
/**
|
|
419
|
-
* Unique identifier of the invoice.
|
|
429
|
+
* Unique identifier of the invoice.
|
|
420
430
|
*/
|
|
421
431
|
id?: string;
|
|
422
|
-
|
|
423
|
-
* Unique identifier of the organization. UUID v4 string in canonical form
|
|
424
|
-
*/
|
|
425
|
-
organizationId?: string;
|
|
432
|
+
number?: string;
|
|
426
433
|
/**
|
|
427
434
|
* Status of the invoice
|
|
428
435
|
*/
|
|
429
|
-
status?:
|
|
436
|
+
status?: string;
|
|
430
437
|
/**
|
|
431
438
|
* Total amount of the invoice
|
|
432
439
|
*/
|
|
433
|
-
|
|
440
|
+
total?: number;
|
|
434
441
|
/**
|
|
435
442
|
* Currency of the invoice
|
|
436
443
|
*/
|
|
437
|
-
currency?:
|
|
444
|
+
currency?: string;
|
|
438
445
|
/**
|
|
439
|
-
*
|
|
446
|
+
* Timestamp when the invoice was issued. ISO 8601 date string in the UTC timezone.
|
|
440
447
|
*/
|
|
441
|
-
|
|
448
|
+
created: string;
|
|
442
449
|
/**
|
|
443
|
-
*
|
|
450
|
+
* Billing period start timestamp. ISO 8601 date string in the UTC timezone.
|
|
444
451
|
*/
|
|
445
|
-
|
|
452
|
+
period_start: string;
|
|
446
453
|
/**
|
|
447
|
-
*
|
|
454
|
+
* Billing period end timestamp. ISO 8601 date string in the UTC timezone.
|
|
448
455
|
*/
|
|
449
|
-
|
|
456
|
+
period_end: string;
|
|
457
|
+
invoice_pdf?: string;
|
|
458
|
+
};
|
|
459
|
+
export type MarketplaceListingFiles = {
|
|
450
460
|
/**
|
|
451
|
-
*
|
|
461
|
+
* Raw Chart.yaml content from the Helm chart
|
|
452
462
|
*/
|
|
453
|
-
|
|
463
|
+
chartYaml?: string;
|
|
454
464
|
/**
|
|
455
|
-
*
|
|
465
|
+
* Raw values.yaml content from the Helm chart
|
|
456
466
|
*/
|
|
457
|
-
|
|
467
|
+
valuesYaml?: string;
|
|
458
468
|
/**
|
|
459
|
-
*
|
|
469
|
+
* JSON schema for values.yaml as a string
|
|
460
470
|
*/
|
|
461
|
-
|
|
471
|
+
valuesSchemaJson?: string;
|
|
472
|
+
};
|
|
473
|
+
export type MarketplaceListing = {
|
|
462
474
|
/**
|
|
463
|
-
*
|
|
475
|
+
* Name of the chart
|
|
464
476
|
*/
|
|
465
|
-
|
|
477
|
+
name: string;
|
|
466
478
|
/**
|
|
467
|
-
*
|
|
479
|
+
* Available versions of the chart
|
|
468
480
|
*/
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
/**
|
|
483
|
-
* Name of the plan
|
|
484
|
-
*/
|
|
485
|
-
planName?: string;
|
|
481
|
+
versions: Array<string>;
|
|
482
|
+
/**
|
|
483
|
+
* Version channels for the chart
|
|
484
|
+
*/
|
|
485
|
+
version_channels: Array<string>;
|
|
486
|
+
/**
|
|
487
|
+
* Latest version of the chart
|
|
488
|
+
*/
|
|
489
|
+
latestVersion: string;
|
|
490
|
+
/**
|
|
491
|
+
* Chart metadata
|
|
492
|
+
*/
|
|
493
|
+
metadata?: {
|
|
486
494
|
/**
|
|
487
|
-
*
|
|
495
|
+
* Chart name from metadata
|
|
488
496
|
*/
|
|
489
|
-
|
|
497
|
+
name: string;
|
|
490
498
|
/**
|
|
491
|
-
*
|
|
499
|
+
* Chart version from metadata
|
|
492
500
|
*/
|
|
493
|
-
|
|
501
|
+
version: string;
|
|
494
502
|
/**
|
|
495
|
-
*
|
|
503
|
+
* Chart description
|
|
496
504
|
*/
|
|
497
|
-
|
|
505
|
+
description?: string;
|
|
498
506
|
/**
|
|
499
|
-
*
|
|
507
|
+
* Application version
|
|
500
508
|
*/
|
|
501
|
-
|
|
509
|
+
appVersion?: string;
|
|
502
510
|
/**
|
|
503
|
-
*
|
|
511
|
+
* Helm API version
|
|
504
512
|
*/
|
|
505
|
-
|
|
513
|
+
apiVersion?: string;
|
|
506
514
|
/**
|
|
507
|
-
*
|
|
515
|
+
* Chart keywords
|
|
508
516
|
*/
|
|
509
|
-
|
|
517
|
+
keywords?: Array<string>;
|
|
510
518
|
/**
|
|
511
|
-
*
|
|
519
|
+
* Chart home URL
|
|
512
520
|
*/
|
|
513
|
-
|
|
521
|
+
home?: string;
|
|
514
522
|
/**
|
|
515
|
-
*
|
|
523
|
+
* A URL to an SVG or PNG image to be used as an icon
|
|
516
524
|
*/
|
|
517
|
-
|
|
525
|
+
icon?: string;
|
|
518
526
|
/**
|
|
519
|
-
*
|
|
527
|
+
* Chart source URLs
|
|
520
528
|
*/
|
|
521
|
-
|
|
529
|
+
sources?: Array<string>;
|
|
522
530
|
/**
|
|
523
|
-
*
|
|
531
|
+
* Chart maintainers
|
|
524
532
|
*/
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
*/
|
|
537
|
-
currency?: 'AED' | 'AFN' | 'ALL' | 'AMD' | 'ANG' | 'AOA' | 'ARS' | 'AUD' | 'AWG' | 'AZN' | 'BAM' | 'BBD' | 'BDT' | 'BGN' | 'BHD' | 'BIF' | 'BMD' | 'BND' | 'BOB' | 'BRL' | 'BSD' | 'BTN' | 'BWP' | 'BYR' | 'BZD' | 'CAD' | 'CDF' | 'CHF' | 'CLP' | 'CNY' | 'COP' | 'CRC' | 'CUC' | 'CUP' | 'CVE' | 'CZK' | 'DJF' | 'DKK' | 'DOP' | 'DZD' | 'EGP' | 'ERN' | 'ETB' | 'EUR' | 'FJD' | 'FKP' | 'GBP' | 'GEL' | 'GGP' | 'GHS' | 'GIP' | 'GMD' | 'GNF' | 'GTQ' | 'GYD' | 'HKD' | 'HNL' | 'HRK' | 'HTG' | 'HUF' | 'IDR' | 'ILS' | 'IMP' | 'INR' | 'IQD' | 'IRR' | 'ISK' | 'JEP' | 'JMD' | 'JOD' | 'JPY' | 'KES' | 'KGS' | 'KHR' | 'KMF' | 'KPW' | 'KRW' | 'KWD' | 'KYD' | 'KZT' | 'LAK' | 'LBP' | 'LKR' | 'LRD' | 'LSL' | 'LTL' | 'LVL' | 'LYD' | 'MAD' | 'MDL' | 'MGA' | 'MKD' | 'MMK' | 'MNT' | 'MOP' | 'MRO' | 'MUR' | 'MVR' | 'MWK' | 'MXN' | 'MYR' | 'MZN' | 'NAD' | 'NGN' | 'NIO' | 'NOK' | 'NPR' | 'NZD' | 'OMR' | 'PAB' | 'PEN' | 'PGK' | 'PHP' | 'PKR' | 'PLN' | 'PYG' | 'QAR' | 'RON' | 'RSD' | 'RUB' | 'RWF' | 'SAR' | 'SBD' | 'SCR' | 'SDG' | 'SEK' | 'SGD' | 'SHP' | 'SLL' | 'SOS' | 'SPL' | 'SRD' | 'STD' | 'SVC' | 'SYP' | 'SZL' | 'THB' | 'TJS' | 'TMT' | 'TND' | 'TOP' | 'TRY' | 'TTD' | 'TVD' | 'TWD' | 'TZS' | 'UAH' | 'UGX' | 'USD' | 'UYU' | 'UZS' | 'VEF' | 'VND' | 'VUV' | 'WST' | 'XAF' | 'XCD' | 'XDR' | 'XOF' | 'XPF' | 'YER' | 'ZAR' | 'ZMW' | 'ZWD' | 'BTC';
|
|
538
|
-
/**
|
|
539
|
-
* Quantity of the invoice item
|
|
540
|
-
*/
|
|
541
|
-
quantity?: number;
|
|
542
|
-
/**
|
|
543
|
-
* Details of the invoice item
|
|
544
|
-
*/
|
|
545
|
-
itemDetails?: string;
|
|
546
|
-
/**
|
|
547
|
-
* Effective date of the catalog
|
|
548
|
-
*/
|
|
549
|
-
catalogEffectiveDate?: string;
|
|
550
|
-
/**
|
|
551
|
-
* Child items of the invoice item
|
|
552
|
-
*/
|
|
553
|
-
childItems?: Array<Array<unknown> | boolean | number | {
|
|
554
|
-
[key: string]: unknown;
|
|
555
|
-
} | string>;
|
|
556
|
-
}>;
|
|
557
|
-
/**
|
|
558
|
-
* Items of the invoice
|
|
559
|
-
*/
|
|
560
|
-
items?: Array<{
|
|
561
|
-
/**
|
|
562
|
-
* Unique identifier of the invoice item. UUID v4 string in canonical form
|
|
563
|
-
*/
|
|
564
|
-
id?: string;
|
|
565
|
-
/**
|
|
566
|
-
* Unique identifier of the linked invoice item. UUID v4 string in canonical form
|
|
567
|
-
*/
|
|
568
|
-
linkedInvoiceItemId?: string;
|
|
569
|
-
/**
|
|
570
|
-
* Name of the product
|
|
571
|
-
*/
|
|
572
|
-
productName?: string;
|
|
573
|
-
/**
|
|
574
|
-
* Name of the plan
|
|
575
|
-
*/
|
|
576
|
-
planName?: string;
|
|
577
|
-
/**
|
|
578
|
-
* Name of the phase
|
|
579
|
-
*/
|
|
580
|
-
phaseName?: string;
|
|
581
|
-
/**
|
|
582
|
-
* Name of the usage
|
|
583
|
-
*/
|
|
584
|
-
usageName?: string;
|
|
585
|
-
/**
|
|
586
|
-
* Pretty name of the product
|
|
587
|
-
*/
|
|
588
|
-
prettyProductName?: string;
|
|
589
|
-
/**
|
|
590
|
-
* Pretty name of the plan
|
|
591
|
-
*/
|
|
592
|
-
prettyPlanName?: string;
|
|
593
|
-
/**
|
|
594
|
-
* Pretty name of the phase
|
|
595
|
-
*/
|
|
596
|
-
prettyPhaseName?: string;
|
|
597
|
-
/**
|
|
598
|
-
* Pretty name of the usage
|
|
599
|
-
*/
|
|
600
|
-
prettyUsageName?: string;
|
|
601
|
-
/**
|
|
602
|
-
* Type of the invoice item
|
|
603
|
-
*/
|
|
604
|
-
itemType?: 'EXTERNAL_CHARGE' | 'FIXED' | 'RECURRING' | 'REPAIR_ADJ' | 'CBA_ADJ' | 'CREDIT_ADJ' | 'ITEM_ADJ' | 'USAGE' | 'TAX' | 'PARENT_SUMMARY';
|
|
605
|
-
/**
|
|
606
|
-
* Description of the invoice item
|
|
607
|
-
*/
|
|
608
|
-
description?: string;
|
|
609
|
-
/**
|
|
610
|
-
* Start date of the invoice item
|
|
611
|
-
*/
|
|
612
|
-
startDate?: string;
|
|
613
|
-
/**
|
|
614
|
-
* End date of the invoice item
|
|
615
|
-
*/
|
|
616
|
-
endDate?: string;
|
|
617
|
-
/**
|
|
618
|
-
* Amount of the invoice item
|
|
619
|
-
*/
|
|
620
|
-
amount?: number;
|
|
621
|
-
/**
|
|
622
|
-
* Rate of the invoice item
|
|
623
|
-
*/
|
|
624
|
-
rate?: number;
|
|
625
|
-
/**
|
|
626
|
-
* Currency of the invoice item
|
|
627
|
-
*/
|
|
628
|
-
currency?: 'AED' | 'AFN' | 'ALL' | 'AMD' | 'ANG' | 'AOA' | 'ARS' | 'AUD' | 'AWG' | 'AZN' | 'BAM' | 'BBD' | 'BDT' | 'BGN' | 'BHD' | 'BIF' | 'BMD' | 'BND' | 'BOB' | 'BRL' | 'BSD' | 'BTN' | 'BWP' | 'BYR' | 'BZD' | 'CAD' | 'CDF' | 'CHF' | 'CLP' | 'CNY' | 'COP' | 'CRC' | 'CUC' | 'CUP' | 'CVE' | 'CZK' | 'DJF' | 'DKK' | 'DOP' | 'DZD' | 'EGP' | 'ERN' | 'ETB' | 'EUR' | 'FJD' | 'FKP' | 'GBP' | 'GEL' | 'GGP' | 'GHS' | 'GIP' | 'GMD' | 'GNF' | 'GTQ' | 'GYD' | 'HKD' | 'HNL' | 'HRK' | 'HTG' | 'HUF' | 'IDR' | 'ILS' | 'IMP' | 'INR' | 'IQD' | 'IRR' | 'ISK' | 'JEP' | 'JMD' | 'JOD' | 'JPY' | 'KES' | 'KGS' | 'KHR' | 'KMF' | 'KPW' | 'KRW' | 'KWD' | 'KYD' | 'KZT' | 'LAK' | 'LBP' | 'LKR' | 'LRD' | 'LSL' | 'LTL' | 'LVL' | 'LYD' | 'MAD' | 'MDL' | 'MGA' | 'MKD' | 'MMK' | 'MNT' | 'MOP' | 'MRO' | 'MUR' | 'MVR' | 'MWK' | 'MXN' | 'MYR' | 'MZN' | 'NAD' | 'NGN' | 'NIO' | 'NOK' | 'NPR' | 'NZD' | 'OMR' | 'PAB' | 'PEN' | 'PGK' | 'PHP' | 'PKR' | 'PLN' | 'PYG' | 'QAR' | 'RON' | 'RSD' | 'RUB' | 'RWF' | 'SAR' | 'SBD' | 'SCR' | 'SDG' | 'SEK' | 'SGD' | 'SHP' | 'SLL' | 'SOS' | 'SPL' | 'SRD' | 'STD' | 'SVC' | 'SYP' | 'SZL' | 'THB' | 'TJS' | 'TMT' | 'TND' | 'TOP' | 'TRY' | 'TTD' | 'TVD' | 'TWD' | 'TZS' | 'UAH' | 'UGX' | 'USD' | 'UYU' | 'UZS' | 'VEF' | 'VND' | 'VUV' | 'WST' | 'XAF' | 'XCD' | 'XDR' | 'XOF' | 'XPF' | 'YER' | 'ZAR' | 'ZMW' | 'ZWD' | 'BTC';
|
|
629
|
-
/**
|
|
630
|
-
* Quantity of the invoice item
|
|
631
|
-
*/
|
|
632
|
-
quantity?: number;
|
|
633
|
-
/**
|
|
634
|
-
* Details of the invoice item
|
|
635
|
-
*/
|
|
636
|
-
itemDetails?: string;
|
|
637
|
-
/**
|
|
638
|
-
* Effective date of the catalog
|
|
639
|
-
*/
|
|
640
|
-
catalogEffectiveDate?: string;
|
|
641
|
-
/**
|
|
642
|
-
* Child items of the invoice item
|
|
643
|
-
*/
|
|
644
|
-
childItems?: Array<Array<unknown> | boolean | number | {
|
|
645
|
-
[key: string]: unknown;
|
|
646
|
-
} | string>;
|
|
647
|
-
}>;
|
|
533
|
+
maintainers?: Array<{
|
|
534
|
+
/**
|
|
535
|
+
* Maintainer name
|
|
536
|
+
*/
|
|
537
|
+
name: string;
|
|
538
|
+
/**
|
|
539
|
+
* Maintainer email
|
|
540
|
+
*/
|
|
541
|
+
email?: string;
|
|
542
|
+
}>;
|
|
543
|
+
};
|
|
648
544
|
};
|
|
649
|
-
export type
|
|
650
|
-
/**
|
|
651
|
-
* Street address, P.O. box, c/o
|
|
652
|
-
*/
|
|
653
|
-
address1?: string;
|
|
654
|
-
/**
|
|
655
|
-
* Apartment, suite, unit, building, floor, etc.
|
|
656
|
-
*/
|
|
657
|
-
address2?: string;
|
|
658
|
-
/**
|
|
659
|
-
* Postal code as a string.
|
|
660
|
-
*/
|
|
661
|
-
postalCode?: string;
|
|
662
|
-
/**
|
|
663
|
-
* City or town name.
|
|
664
|
-
*/
|
|
665
|
-
city?: string;
|
|
666
|
-
/**
|
|
667
|
-
* State, province, or region name.
|
|
668
|
-
*/
|
|
669
|
-
state?: string;
|
|
670
|
-
/**
|
|
671
|
-
* Country as a ISO 3166-1 alpha-2 country code.
|
|
672
|
-
*/
|
|
673
|
-
country?: string;
|
|
674
|
-
/**
|
|
675
|
-
* Phone number as a string.
|
|
676
|
-
*/
|
|
677
|
-
phone?: string;
|
|
545
|
+
export type OrganizationCreateInput = {
|
|
678
546
|
/**
|
|
679
547
|
* Email address used for billing as a string.
|
|
680
548
|
*/
|
|
@@ -687,116 +555,24 @@ export type OrganizationContactInfo = {
|
|
|
687
555
|
* Last name of the billing contact person.
|
|
688
556
|
*/
|
|
689
557
|
last_name: string;
|
|
690
|
-
};
|
|
691
|
-
export type OrganizationCreateInput = {
|
|
692
558
|
/**
|
|
693
559
|
* Name of the legal entity. This name will be used in invoices. Use your first and last name for individual accounts.
|
|
694
560
|
*/
|
|
695
|
-
|
|
696
|
-
/**
|
|
697
|
-
* Organization contact information and billing address.
|
|
698
|
-
*/
|
|
699
|
-
contactInfo: {
|
|
700
|
-
/**
|
|
701
|
-
* Street address, P.O. box, c/o
|
|
702
|
-
*/
|
|
703
|
-
address1?: string;
|
|
704
|
-
/**
|
|
705
|
-
* Apartment, suite, unit, building, floor, etc.
|
|
706
|
-
*/
|
|
707
|
-
address2?: string;
|
|
708
|
-
/**
|
|
709
|
-
* Postal code as a string.
|
|
710
|
-
*/
|
|
711
|
-
postalCode?: string;
|
|
712
|
-
/**
|
|
713
|
-
* City or town name.
|
|
714
|
-
*/
|
|
715
|
-
city?: string;
|
|
716
|
-
/**
|
|
717
|
-
* State, province, or region name.
|
|
718
|
-
*/
|
|
719
|
-
state?: string;
|
|
720
|
-
/**
|
|
721
|
-
* Country as a ISO 3166-1 alpha-2 country code.
|
|
722
|
-
*/
|
|
723
|
-
country?: string;
|
|
724
|
-
/**
|
|
725
|
-
* Phone number as a string.
|
|
726
|
-
*/
|
|
727
|
-
phone?: string;
|
|
728
|
-
/**
|
|
729
|
-
* Email address used for billing as a string.
|
|
730
|
-
*/
|
|
731
|
-
email: string;
|
|
732
|
-
/**
|
|
733
|
-
* First name of the billing contact person.
|
|
734
|
-
*/
|
|
735
|
-
first_name: string;
|
|
736
|
-
/**
|
|
737
|
-
* Last name of the billing contact person.
|
|
738
|
-
*/
|
|
739
|
-
last_name: string;
|
|
740
|
-
};
|
|
561
|
+
company_name: string;
|
|
741
562
|
/**
|
|
742
563
|
* 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.
|
|
743
564
|
*/
|
|
744
565
|
password: string;
|
|
745
566
|
};
|
|
746
567
|
export type Organization = {
|
|
747
|
-
/**
|
|
748
|
-
* Name of the legal entity. This name will be used in invoices. Use your first and last name for individual accounts.
|
|
749
|
-
*/
|
|
750
|
-
name: string;
|
|
751
|
-
/**
|
|
752
|
-
* Organization contact information and billing address.
|
|
753
|
-
*/
|
|
754
|
-
contactInfo: {
|
|
755
|
-
/**
|
|
756
|
-
* Street address, P.O. box, c/o
|
|
757
|
-
*/
|
|
758
|
-
address1?: string;
|
|
759
|
-
/**
|
|
760
|
-
* Apartment, suite, unit, building, floor, etc.
|
|
761
|
-
*/
|
|
762
|
-
address2?: string;
|
|
763
|
-
/**
|
|
764
|
-
* Postal code as a string.
|
|
765
|
-
*/
|
|
766
|
-
postalCode?: string;
|
|
767
|
-
/**
|
|
768
|
-
* City or town name.
|
|
769
|
-
*/
|
|
770
|
-
city?: string;
|
|
771
|
-
/**
|
|
772
|
-
* State, province, or region name.
|
|
773
|
-
*/
|
|
774
|
-
state?: string;
|
|
775
|
-
/**
|
|
776
|
-
* Country as a ISO 3166-1 alpha-2 country code.
|
|
777
|
-
*/
|
|
778
|
-
country?: string;
|
|
779
|
-
/**
|
|
780
|
-
* Phone number as a string.
|
|
781
|
-
*/
|
|
782
|
-
phone?: string;
|
|
783
|
-
/**
|
|
784
|
-
* Email address used for billing as a string.
|
|
785
|
-
*/
|
|
786
|
-
email: string;
|
|
787
|
-
/**
|
|
788
|
-
* First name of the billing contact person.
|
|
789
|
-
*/
|
|
790
|
-
first_name: string;
|
|
791
|
-
/**
|
|
792
|
-
* Last name of the billing contact person.
|
|
793
|
-
*/
|
|
794
|
-
last_name: string;
|
|
795
|
-
};
|
|
796
568
|
/**
|
|
797
569
|
* Unique identifier of the organization. UUID v4 string in canonical form
|
|
798
570
|
*/
|
|
799
571
|
id: string;
|
|
572
|
+
/**
|
|
573
|
+
* Name of the legal entity. This name will be used in invoices. Use your first and last name for individual accounts.
|
|
574
|
+
*/
|
|
575
|
+
name?: string;
|
|
800
576
|
/**
|
|
801
577
|
* Creation date of the organization. ISO 8601 date string in UTC timezone
|
|
802
578
|
*/
|
|
@@ -825,10 +601,6 @@ export type Organization = {
|
|
|
825
601
|
* Maximum number of fleets that can be created per cluster.
|
|
826
602
|
*/
|
|
827
603
|
fleets_max: number;
|
|
828
|
-
/**
|
|
829
|
-
* Maximum number of CPU cores per managed fleet.
|
|
830
|
-
*/
|
|
831
|
-
managed_fleets_cpu_max: number;
|
|
832
604
|
/**
|
|
833
605
|
* List of Cloudfleet cluster tiers available for the organization.
|
|
834
606
|
*/
|
|
@@ -850,96 +622,256 @@ export type Organization = {
|
|
|
850
622
|
*/
|
|
851
623
|
label: string;
|
|
852
624
|
}>;
|
|
625
|
+
/**
|
|
626
|
+
* User-level maximum number of tokens Cloudfleet Copilot can process per hour.
|
|
627
|
+
*/
|
|
628
|
+
copilot_user_hourly_tokens: number;
|
|
629
|
+
/**
|
|
630
|
+
* Organization-level maximum number of tokens Cloudfleet Copilot can process per hour.
|
|
631
|
+
*/
|
|
632
|
+
copilot_organization_hourly_tokens: number;
|
|
633
|
+
/**
|
|
634
|
+
* Organization-level maximum CFCR storage volume in GB. -1 means no limit.
|
|
635
|
+
*/
|
|
636
|
+
cfcr_storage_gb: number;
|
|
853
637
|
};
|
|
854
|
-
/**
|
|
855
|
-
* List of pending actions that the user needs to complete. Used in Cloudfleet console to guide the user through the onboarding process.
|
|
856
|
-
*/
|
|
857
|
-
pending_actions: Array<'signup-billing-address' | 'signup-payment-method' | 'signup-invite-team' | 'signup-create-cluster'>;
|
|
858
638
|
/**
|
|
859
639
|
* Status of the organization. Can be `active` or `closed`, or `suspended`.
|
|
860
640
|
*/
|
|
861
641
|
status: 'active' | 'closed' | 'suspended';
|
|
862
642
|
};
|
|
863
|
-
export type
|
|
643
|
+
export type PaymentMethod = {
|
|
864
644
|
/**
|
|
865
|
-
*
|
|
645
|
+
* Unique identifier of the organization. UUID v4 string in canonical form.
|
|
866
646
|
*/
|
|
867
|
-
|
|
647
|
+
id: string;
|
|
868
648
|
/**
|
|
869
|
-
*
|
|
649
|
+
* Whether organization payment method was set up and ready to use for payments.
|
|
870
650
|
*/
|
|
871
|
-
|
|
872
|
-
|
|
873
|
-
|
|
874
|
-
|
|
875
|
-
|
|
651
|
+
setup: boolean;
|
|
652
|
+
/**
|
|
653
|
+
* Payment method type type. Only `card` payments supported at the moment.
|
|
654
|
+
*/
|
|
655
|
+
type: 'card';
|
|
656
|
+
/**
|
|
657
|
+
* Last 4 digits of the payment card number.
|
|
658
|
+
*/
|
|
659
|
+
last4: string;
|
|
660
|
+
/**
|
|
661
|
+
* Two-digit number representing the card's expiration month.
|
|
662
|
+
*/
|
|
663
|
+
exp_month: number;
|
|
664
|
+
/**
|
|
665
|
+
* Four-digit number representing the card's expiration year.
|
|
666
|
+
*/
|
|
667
|
+
exp_year: number;
|
|
668
|
+
/**
|
|
669
|
+
* Payment card brand. Can be `amex`, `diners`, `discover`, `eftpos_au`, `jcb`, `mastercard`, `unionpay`, `visa`, or `unknown`.
|
|
670
|
+
*/
|
|
671
|
+
brand: 'amex' | 'diners' | 'discover' | 'eftpos_au' | 'jcb' | 'mastercard' | 'unionpay' | 'visa' | 'unknown';
|
|
672
|
+
};
|
|
673
|
+
export type PlatformQuota = {
|
|
674
|
+
/**
|
|
675
|
+
* Maximum number of Basic clusters that can be created.
|
|
676
|
+
*/
|
|
677
|
+
basic_clusters_max: number;
|
|
678
|
+
/**
|
|
679
|
+
* Available number of Basic clusters that can be created.
|
|
680
|
+
*/
|
|
681
|
+
basic_clusters_available: number;
|
|
682
|
+
/**
|
|
683
|
+
* Maximum number of Pro clusters that can be created.
|
|
684
|
+
*/
|
|
685
|
+
pro_clusters_max: number;
|
|
686
|
+
/**
|
|
687
|
+
* Available number of Pro clusters that can be created.
|
|
688
|
+
*/
|
|
689
|
+
pro_clusters_available: number;
|
|
690
|
+
/**
|
|
691
|
+
* Maximum number of fleets that can be created per cluster.
|
|
692
|
+
*/
|
|
693
|
+
fleets_max: number;
|
|
694
|
+
/**
|
|
695
|
+
* List of Cloudfleet cluster tiers available for the organization.
|
|
696
|
+
*/
|
|
697
|
+
cluster_tiers: Array<string>;
|
|
698
|
+
/**
|
|
699
|
+
* List of Cloudfleet control plane regions available for the organization.
|
|
700
|
+
*/
|
|
701
|
+
regions: Array<string>;
|
|
702
|
+
/**
|
|
703
|
+
* List of CFKE control plane versions available for the organization.
|
|
704
|
+
*/
|
|
705
|
+
versions: Array<{
|
|
876
706
|
/**
|
|
877
|
-
*
|
|
707
|
+
* Id of the control plane version. Used in API calls.
|
|
878
708
|
*/
|
|
879
|
-
|
|
709
|
+
id: string;
|
|
880
710
|
/**
|
|
881
|
-
*
|
|
711
|
+
* Label of the control plane version. Used in frontent UI.
|
|
882
712
|
*/
|
|
883
|
-
|
|
713
|
+
label: string;
|
|
714
|
+
}>;
|
|
715
|
+
/**
|
|
716
|
+
* User-level maximum number of tokens Cloudfleet Copilot can process per hour.
|
|
717
|
+
*/
|
|
718
|
+
copilot_user_hourly_tokens: number;
|
|
719
|
+
/**
|
|
720
|
+
* Organization-level maximum number of tokens Cloudfleet Copilot can process per hour.
|
|
721
|
+
*/
|
|
722
|
+
copilot_organization_hourly_tokens: number;
|
|
723
|
+
/**
|
|
724
|
+
* Organization-level maximum CFCR storage volume in GB. -1 means no limit.
|
|
725
|
+
*/
|
|
726
|
+
cfcr_storage_gb: number;
|
|
727
|
+
};
|
|
728
|
+
export type RegistryRepository = {
|
|
729
|
+
/**
|
|
730
|
+
* Repository name.
|
|
731
|
+
*/
|
|
732
|
+
name: string;
|
|
733
|
+
/**
|
|
734
|
+
* Registry region.
|
|
735
|
+
*/
|
|
736
|
+
region: string;
|
|
737
|
+
/**
|
|
738
|
+
* Full URI of the repository.
|
|
739
|
+
*/
|
|
740
|
+
uri: string;
|
|
741
|
+
};
|
|
742
|
+
export type RegistryRepositoryWithTags = {
|
|
743
|
+
/**
|
|
744
|
+
* Repository name.
|
|
745
|
+
*/
|
|
746
|
+
name: string;
|
|
747
|
+
/**
|
|
748
|
+
* Registry region.
|
|
749
|
+
*/
|
|
750
|
+
region: string;
|
|
751
|
+
/**
|
|
752
|
+
* Full URI of the repository.
|
|
753
|
+
*/
|
|
754
|
+
uri: string;
|
|
755
|
+
/**
|
|
756
|
+
* Array of tags in the repository.
|
|
757
|
+
*/
|
|
758
|
+
tags: Array<{
|
|
884
759
|
/**
|
|
885
|
-
*
|
|
760
|
+
* Tag name.
|
|
886
761
|
*/
|
|
887
|
-
|
|
762
|
+
name: string;
|
|
888
763
|
/**
|
|
889
|
-
*
|
|
764
|
+
* Size of the tag in bytes.
|
|
890
765
|
*/
|
|
891
|
-
|
|
766
|
+
size: number;
|
|
892
767
|
/**
|
|
893
|
-
*
|
|
768
|
+
* Media type of the manifest.
|
|
894
769
|
*/
|
|
895
|
-
|
|
770
|
+
mediaType?: string;
|
|
896
771
|
/**
|
|
897
|
-
*
|
|
772
|
+
* Array of platform strings for multi-arch images (e.g., linux/amd64, linux/arm64).
|
|
898
773
|
*/
|
|
899
|
-
|
|
774
|
+
platforms?: Array<string>;
|
|
775
|
+
}>;
|
|
776
|
+
/**
|
|
777
|
+
* Total size of all tags in the repository in bytes.
|
|
778
|
+
*/
|
|
779
|
+
totalSize: number;
|
|
780
|
+
};
|
|
781
|
+
export type RegistryTag = {
|
|
782
|
+
/**
|
|
783
|
+
* Tag name.
|
|
784
|
+
*/
|
|
785
|
+
name: string;
|
|
786
|
+
/**
|
|
787
|
+
* Manifest digest for pulling by digest.
|
|
788
|
+
*/
|
|
789
|
+
digest: string;
|
|
790
|
+
/**
|
|
791
|
+
* Media type of the manifest.
|
|
792
|
+
*/
|
|
793
|
+
mediaType?: string;
|
|
794
|
+
/**
|
|
795
|
+
* Manifest config metadata.
|
|
796
|
+
*/
|
|
797
|
+
config?: {
|
|
900
798
|
/**
|
|
901
|
-
*
|
|
799
|
+
* Size of the config in bytes.
|
|
902
800
|
*/
|
|
903
|
-
|
|
801
|
+
size: number;
|
|
802
|
+
};
|
|
803
|
+
/**
|
|
804
|
+
* Array of layer metadata.
|
|
805
|
+
*/
|
|
806
|
+
layers?: Array<{
|
|
904
807
|
/**
|
|
905
|
-
*
|
|
808
|
+
* Digest of the layer.
|
|
906
809
|
*/
|
|
907
|
-
|
|
810
|
+
digest?: string;
|
|
908
811
|
/**
|
|
909
|
-
*
|
|
812
|
+
* Size of the layer in bytes.
|
|
910
813
|
*/
|
|
911
|
-
|
|
912
|
-
}
|
|
913
|
-
};
|
|
914
|
-
export type PaymentMethod = {
|
|
915
|
-
/**
|
|
916
|
-
* Unique identifier of the organization. UUID v4 string in canonical form.
|
|
917
|
-
*/
|
|
918
|
-
id: string;
|
|
814
|
+
size: number;
|
|
815
|
+
}>;
|
|
919
816
|
/**
|
|
920
|
-
*
|
|
817
|
+
* Array of manifests for multi-arch images.
|
|
921
818
|
*/
|
|
922
|
-
|
|
923
|
-
|
|
924
|
-
|
|
925
|
-
|
|
926
|
-
|
|
819
|
+
manifests?: Array<{
|
|
820
|
+
/**
|
|
821
|
+
* Digest of the manifest.
|
|
822
|
+
*/
|
|
823
|
+
digest: string;
|
|
824
|
+
/**
|
|
825
|
+
* Platform information for the manifest.
|
|
826
|
+
*/
|
|
827
|
+
platform?: {
|
|
828
|
+
/**
|
|
829
|
+
* Architecture of the platform.
|
|
830
|
+
*/
|
|
831
|
+
architecture: string;
|
|
832
|
+
/**
|
|
833
|
+
* Operating system of the platform.
|
|
834
|
+
*/
|
|
835
|
+
os: string;
|
|
836
|
+
/**
|
|
837
|
+
* Variant of the platform (e.g., v7, v8 for ARM).
|
|
838
|
+
*/
|
|
839
|
+
variant?: string;
|
|
840
|
+
};
|
|
841
|
+
/**
|
|
842
|
+
* Layers for this platform.
|
|
843
|
+
*/
|
|
844
|
+
layers?: Array<{
|
|
845
|
+
/**
|
|
846
|
+
* Digest of the layer.
|
|
847
|
+
*/
|
|
848
|
+
digest?: string;
|
|
849
|
+
/**
|
|
850
|
+
* Size of the layer in bytes.
|
|
851
|
+
*/
|
|
852
|
+
size: number;
|
|
853
|
+
}>;
|
|
854
|
+
/**
|
|
855
|
+
* Total size of this platform manifest in bytes.
|
|
856
|
+
*/
|
|
857
|
+
size?: number;
|
|
858
|
+
}>;
|
|
927
859
|
/**
|
|
928
|
-
*
|
|
860
|
+
* Total size of the tag in bytes.
|
|
929
861
|
*/
|
|
930
|
-
|
|
862
|
+
size: number;
|
|
931
863
|
/**
|
|
932
|
-
*
|
|
864
|
+
* Registry region.
|
|
933
865
|
*/
|
|
934
|
-
|
|
866
|
+
region: string;
|
|
935
867
|
/**
|
|
936
|
-
*
|
|
868
|
+
* Repository name.
|
|
937
869
|
*/
|
|
938
|
-
|
|
870
|
+
repository: string;
|
|
939
871
|
/**
|
|
940
|
-
*
|
|
872
|
+
* Full URI of the tag.
|
|
941
873
|
*/
|
|
942
|
-
|
|
874
|
+
uri: string;
|
|
943
875
|
};
|
|
944
876
|
export type TokenCreateInput = {
|
|
945
877
|
/**
|
|
@@ -983,20 +915,85 @@ export type TokenUpdateInput = {
|
|
|
983
915
|
*/
|
|
984
916
|
role?: 'Administrator' | 'User';
|
|
985
917
|
};
|
|
918
|
+
export type UsageFacets = {
|
|
919
|
+
/**
|
|
920
|
+
* List of unique cluster IDs
|
|
921
|
+
*/
|
|
922
|
+
cluster_id?: Array<string>;
|
|
923
|
+
/**
|
|
924
|
+
* List of unique products
|
|
925
|
+
*/
|
|
926
|
+
product?: Array<string>;
|
|
927
|
+
};
|
|
928
|
+
export type UsageResponse = {
|
|
929
|
+
/**
|
|
930
|
+
* Usage data
|
|
931
|
+
*/
|
|
932
|
+
data: Array<{
|
|
933
|
+
/**
|
|
934
|
+
* Hour of the usage
|
|
935
|
+
*/
|
|
936
|
+
hour: string;
|
|
937
|
+
/**
|
|
938
|
+
* Unique identifier of the kubernetes cluster. UUID v4 string in canonical form
|
|
939
|
+
*/
|
|
940
|
+
cluster_id: string;
|
|
941
|
+
/**
|
|
942
|
+
* The product the usage is associated with
|
|
943
|
+
*/
|
|
944
|
+
product: string;
|
|
945
|
+
/**
|
|
946
|
+
* Consumption
|
|
947
|
+
*/
|
|
948
|
+
value: number;
|
|
949
|
+
/**
|
|
950
|
+
* Price per unit
|
|
951
|
+
*/
|
|
952
|
+
price: number;
|
|
953
|
+
/**
|
|
954
|
+
* Total cost
|
|
955
|
+
*/
|
|
956
|
+
total: number;
|
|
957
|
+
}>;
|
|
958
|
+
/**
|
|
959
|
+
* Facets for filtering
|
|
960
|
+
*/
|
|
961
|
+
facets: {
|
|
962
|
+
/**
|
|
963
|
+
* List of unique cluster IDs
|
|
964
|
+
*/
|
|
965
|
+
cluster_id?: Array<string>;
|
|
966
|
+
/**
|
|
967
|
+
* List of unique products
|
|
968
|
+
*/
|
|
969
|
+
product?: Array<string>;
|
|
970
|
+
};
|
|
971
|
+
};
|
|
986
972
|
export type Usage = {
|
|
987
973
|
/**
|
|
988
|
-
*
|
|
974
|
+
* Hour of the usage
|
|
989
975
|
*/
|
|
990
|
-
|
|
976
|
+
hour: string;
|
|
977
|
+
/**
|
|
978
|
+
* Unique identifier of the kubernetes cluster. UUID v4 string in canonical form
|
|
979
|
+
*/
|
|
980
|
+
cluster_id: string;
|
|
981
|
+
/**
|
|
982
|
+
* The product the usage is associated with
|
|
983
|
+
*/
|
|
984
|
+
product: string;
|
|
985
|
+
/**
|
|
986
|
+
* Consumption
|
|
987
|
+
*/
|
|
988
|
+
value: number;
|
|
991
989
|
/**
|
|
992
|
-
*
|
|
990
|
+
* Price per unit
|
|
993
991
|
*/
|
|
994
|
-
|
|
992
|
+
price: number;
|
|
995
993
|
/**
|
|
996
|
-
*
|
|
994
|
+
* Total cost
|
|
997
995
|
*/
|
|
998
|
-
|
|
999
|
-
amount: number;
|
|
996
|
+
total: number;
|
|
1000
997
|
};
|
|
1001
998
|
export type UserCreateInput = {
|
|
1002
999
|
/**
|
|
@@ -1016,7 +1013,7 @@ export type UserCreateInput = {
|
|
|
1016
1013
|
*/
|
|
1017
1014
|
code: string;
|
|
1018
1015
|
/**
|
|
1019
|
-
* User password. Must be at least 8 characters long
|
|
1016
|
+
* User password. Must be at least 8 characters long.
|
|
1020
1017
|
*/
|
|
1021
1018
|
password: string;
|
|
1022
1019
|
/**
|
|
@@ -1057,16 +1054,6 @@ export type User = {
|
|
|
1057
1054
|
* Creation date of the user. ISO 8601 date string in UTC timezone
|
|
1058
1055
|
*/
|
|
1059
1056
|
date_created: string;
|
|
1060
|
-
cluster_permissions?: Array<{
|
|
1061
|
-
/**
|
|
1062
|
-
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
1063
|
-
*/
|
|
1064
|
-
cluster_id: string;
|
|
1065
|
-
/**
|
|
1066
|
-
* User permissions to access the cluster. Can be `readwrite` or `readonly`.
|
|
1067
|
-
*/
|
|
1068
|
-
permissions: 'readwrite' | 'readonly';
|
|
1069
|
-
}>;
|
|
1070
1057
|
};
|
|
1071
1058
|
export type UserUpdateInput = {
|
|
1072
1059
|
/**
|
|
@@ -1093,15 +1080,11 @@ export type UserUpdateInput = {
|
|
|
1093
1080
|
export type GetUsageData = {
|
|
1094
1081
|
body?: never;
|
|
1095
1082
|
path?: never;
|
|
1096
|
-
query
|
|
1097
|
-
/**
|
|
1098
|
-
* Start date for the usage. Date of oldest data point to retrieve.
|
|
1099
|
-
*/
|
|
1100
|
-
start_date: string;
|
|
1083
|
+
query?: {
|
|
1101
1084
|
/**
|
|
1102
|
-
*
|
|
1085
|
+
* Time granularity for usage aggregation - hourly (Past 48 hours aggregated by hour), daily (Past 30 days aggregated by day), monthly (Past 12 months aggregated by month)
|
|
1103
1086
|
*/
|
|
1104
|
-
|
|
1087
|
+
granularity?: 'hourly' | 'daily' | 'monthly';
|
|
1105
1088
|
};
|
|
1106
1089
|
url: '/billing/usage';
|
|
1107
1090
|
};
|
|
@@ -1113,24 +1096,11 @@ export type GetUsageErrors = {
|
|
|
1113
1096
|
};
|
|
1114
1097
|
export type GetUsageResponses = {
|
|
1115
1098
|
/**
|
|
1116
|
-
*
|
|
1099
|
+
* Usage data with facets for filtering
|
|
1117
1100
|
*/
|
|
1118
|
-
200:
|
|
1101
|
+
200: UsageResponse;
|
|
1119
1102
|
};
|
|
1120
1103
|
export type GetUsageResponse = GetUsageResponses[keyof GetUsageResponses];
|
|
1121
|
-
export type GetBalanceData = {
|
|
1122
|
-
body?: never;
|
|
1123
|
-
path?: never;
|
|
1124
|
-
query?: never;
|
|
1125
|
-
url: '/billing/balance';
|
|
1126
|
-
};
|
|
1127
|
-
export type GetBalanceResponses = {
|
|
1128
|
-
/**
|
|
1129
|
-
* Current balance of the organization in USD as a floating-point number.
|
|
1130
|
-
*/
|
|
1131
|
-
200: number;
|
|
1132
|
-
};
|
|
1133
|
-
export type GetBalanceResponse = GetBalanceResponses[keyof GetBalanceResponses];
|
|
1134
1104
|
export type GetPaymentMethodData = {
|
|
1135
1105
|
body?: never;
|
|
1136
1106
|
path?: never;
|
|
@@ -1172,16 +1142,7 @@ export type GetPaymentMethodSecretResponse = GetPaymentMethodSecretResponses[key
|
|
|
1172
1142
|
export type ListInvoicesData = {
|
|
1173
1143
|
body?: never;
|
|
1174
1144
|
path?: never;
|
|
1175
|
-
query
|
|
1176
|
-
/**
|
|
1177
|
-
* Start date for the usage. Date of oldest data point to retrieve.
|
|
1178
|
-
*/
|
|
1179
|
-
start_date: string;
|
|
1180
|
-
/**
|
|
1181
|
-
* End date for the usage. Date of newest data point to retrieve.
|
|
1182
|
-
*/
|
|
1183
|
-
end_date: string;
|
|
1184
|
-
};
|
|
1145
|
+
query?: never;
|
|
1185
1146
|
url: '/billing/invoices';
|
|
1186
1147
|
};
|
|
1187
1148
|
export type ListInvoicesErrors = {
|
|
@@ -1197,26 +1158,182 @@ export type ListInvoicesResponses = {
|
|
|
1197
1158
|
200: Array<Invoice>;
|
|
1198
1159
|
};
|
|
1199
1160
|
export type ListInvoicesResponse = ListInvoicesResponses[keyof ListInvoicesResponses];
|
|
1200
|
-
export type
|
|
1161
|
+
export type GetContactData = {
|
|
1162
|
+
body?: never;
|
|
1163
|
+
path?: never;
|
|
1164
|
+
query?: never;
|
|
1165
|
+
url: '/billing/contact';
|
|
1166
|
+
};
|
|
1167
|
+
export type GetContactResponses = {
|
|
1168
|
+
/**
|
|
1169
|
+
* Returns a single object containing organization contact and billing address details.
|
|
1170
|
+
*/
|
|
1171
|
+
200: BillingContact;
|
|
1172
|
+
};
|
|
1173
|
+
export type GetContactResponse = GetContactResponses[keyof GetContactResponses];
|
|
1174
|
+
export type UpdateContactData = {
|
|
1175
|
+
body: BillingContact;
|
|
1176
|
+
path?: never;
|
|
1177
|
+
query?: never;
|
|
1178
|
+
url: '/billing/contact';
|
|
1179
|
+
};
|
|
1180
|
+
export type UpdateContactResponses = {
|
|
1181
|
+
/**
|
|
1182
|
+
* Successfully updated. Returns updated organization details.
|
|
1183
|
+
*/
|
|
1184
|
+
200: BillingContact;
|
|
1185
|
+
};
|
|
1186
|
+
export type UpdateContactResponse = UpdateContactResponses[keyof UpdateContactResponses];
|
|
1187
|
+
export type GetCreditsData = {
|
|
1188
|
+
body?: never;
|
|
1189
|
+
path?: never;
|
|
1190
|
+
query?: never;
|
|
1191
|
+
url: '/billing/credits';
|
|
1192
|
+
};
|
|
1193
|
+
export type GetCreditsErrors = {
|
|
1194
|
+
/**
|
|
1195
|
+
* Not authenticated
|
|
1196
|
+
*/
|
|
1197
|
+
401: unknown;
|
|
1198
|
+
};
|
|
1199
|
+
export type GetCreditsResponses = {
|
|
1200
|
+
/**
|
|
1201
|
+
* An array of the applied promotional credits records.
|
|
1202
|
+
*/
|
|
1203
|
+
200: Array<BillingCredits>;
|
|
1204
|
+
};
|
|
1205
|
+
export type GetCreditsResponse = GetCreditsResponses[keyof GetCreditsResponses];
|
|
1206
|
+
export type RedeemCreditsData = {
|
|
1207
|
+
body: {
|
|
1208
|
+
/**
|
|
1209
|
+
* Promotional code to redeem
|
|
1210
|
+
*/
|
|
1211
|
+
code?: string;
|
|
1212
|
+
};
|
|
1213
|
+
path?: never;
|
|
1214
|
+
query?: never;
|
|
1215
|
+
url: '/billing/credits';
|
|
1216
|
+
};
|
|
1217
|
+
export type RedeemCreditsErrors = {
|
|
1218
|
+
/**
|
|
1219
|
+
* Not authenticated
|
|
1220
|
+
*/
|
|
1221
|
+
401: unknown;
|
|
1222
|
+
};
|
|
1223
|
+
export type RedeemCreditsResponses = {
|
|
1224
|
+
/**
|
|
1225
|
+
* Successfully created a new organization.
|
|
1226
|
+
*/
|
|
1227
|
+
200: unknown;
|
|
1228
|
+
};
|
|
1229
|
+
export type ListChartsData = {
|
|
1201
1230
|
body?: never;
|
|
1202
1231
|
path: {
|
|
1203
1232
|
/**
|
|
1204
|
-
* Unique
|
|
1233
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
1205
1234
|
*/
|
|
1206
|
-
|
|
1235
|
+
cluster_id: string;
|
|
1236
|
+
};
|
|
1237
|
+
query?: never;
|
|
1238
|
+
url: '/clusters/{cluster_id}/charts';
|
|
1239
|
+
};
|
|
1240
|
+
export type ListChartsErrors = {
|
|
1241
|
+
/**
|
|
1242
|
+
* Not authenticated
|
|
1243
|
+
*/
|
|
1244
|
+
401: unknown;
|
|
1245
|
+
};
|
|
1246
|
+
export type ListChartsResponses = {
|
|
1247
|
+
/**
|
|
1248
|
+
* An array of charts
|
|
1249
|
+
*/
|
|
1250
|
+
200: Array<Chart>;
|
|
1251
|
+
};
|
|
1252
|
+
export type ListChartsResponse = ListChartsResponses[keyof ListChartsResponses];
|
|
1253
|
+
export type CreateChartData = {
|
|
1254
|
+
body: ChartCreateInput;
|
|
1255
|
+
path: {
|
|
1256
|
+
/**
|
|
1257
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
1258
|
+
*/
|
|
1259
|
+
cluster_id: string;
|
|
1207
1260
|
};
|
|
1208
1261
|
query?: never;
|
|
1209
|
-
url: '/
|
|
1262
|
+
url: '/clusters/{cluster_id}/charts';
|
|
1210
1263
|
};
|
|
1211
|
-
export type
|
|
1264
|
+
export type CreateChartResponses = {
|
|
1212
1265
|
/**
|
|
1213
|
-
*
|
|
1266
|
+
* Successfully created. Returns created Chart ID.
|
|
1214
1267
|
*/
|
|
1215
|
-
200:
|
|
1216
|
-
|
|
1268
|
+
200: string;
|
|
1269
|
+
};
|
|
1270
|
+
export type CreateChartResponse = CreateChartResponses[keyof CreateChartResponses];
|
|
1271
|
+
export type DeleteChartData = {
|
|
1272
|
+
body?: never;
|
|
1273
|
+
path: {
|
|
1274
|
+
/**
|
|
1275
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
1276
|
+
*/
|
|
1277
|
+
cluster_id: string;
|
|
1278
|
+
/**
|
|
1279
|
+
* Chart deployment name as the unique identifier of the chart.
|
|
1280
|
+
*/
|
|
1281
|
+
chart_name: string;
|
|
1282
|
+
};
|
|
1283
|
+
query?: never;
|
|
1284
|
+
url: '/clusters/{cluster_id}/charts/{chart_name}';
|
|
1285
|
+
};
|
|
1286
|
+
export type DeleteChartResponses = {
|
|
1287
|
+
/**
|
|
1288
|
+
* Successfully deleted.
|
|
1289
|
+
*/
|
|
1290
|
+
200: string;
|
|
1291
|
+
};
|
|
1292
|
+
export type DeleteChartResponse = DeleteChartResponses[keyof DeleteChartResponses];
|
|
1293
|
+
export type GetChartData = {
|
|
1294
|
+
body?: never;
|
|
1295
|
+
path: {
|
|
1296
|
+
/**
|
|
1297
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
1298
|
+
*/
|
|
1299
|
+
cluster_id: string;
|
|
1300
|
+
/**
|
|
1301
|
+
* Chart deployment name as the unique identifier of the chart.
|
|
1302
|
+
*/
|
|
1303
|
+
chart_name: string;
|
|
1304
|
+
};
|
|
1305
|
+
query?: never;
|
|
1306
|
+
url: '/clusters/{cluster_id}/charts/{chart_name}';
|
|
1307
|
+
};
|
|
1308
|
+
export type GetChartResponses = {
|
|
1309
|
+
/**
|
|
1310
|
+
* Returns a single object containing chart details.
|
|
1311
|
+
*/
|
|
1312
|
+
200: Chart;
|
|
1313
|
+
};
|
|
1314
|
+
export type GetChartResponse = GetChartResponses[keyof GetChartResponses];
|
|
1315
|
+
export type UpdateChartData = {
|
|
1316
|
+
body: ChartUpdateInput;
|
|
1317
|
+
path: {
|
|
1318
|
+
/**
|
|
1319
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
1320
|
+
*/
|
|
1321
|
+
cluster_id: string;
|
|
1322
|
+
/**
|
|
1323
|
+
* Chart deployment name as the unique identifier of the chart.
|
|
1324
|
+
*/
|
|
1325
|
+
chart_name: string;
|
|
1217
1326
|
};
|
|
1327
|
+
query?: never;
|
|
1328
|
+
url: '/clusters/{cluster_id}/charts/{chart_name}';
|
|
1218
1329
|
};
|
|
1219
|
-
export type
|
|
1330
|
+
export type UpdateChartResponses = {
|
|
1331
|
+
/**
|
|
1332
|
+
* Successfully updated.
|
|
1333
|
+
*/
|
|
1334
|
+
200: string;
|
|
1335
|
+
};
|
|
1336
|
+
export type UpdateChartResponse = UpdateChartResponses[keyof UpdateChartResponses];
|
|
1220
1337
|
export type ListFleetsData = {
|
|
1221
1338
|
body?: never;
|
|
1222
1339
|
path: {
|
|
@@ -1443,288 +1560,42 @@ export type UpdateClusterData = {
|
|
|
1443
1560
|
/**
|
|
1444
1561
|
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
1445
1562
|
*/
|
|
1446
|
-
cluster_id: string;
|
|
1447
|
-
};
|
|
1448
|
-
query?: never;
|
|
1449
|
-
url: '/clusters/{cluster_id}';
|
|
1450
|
-
};
|
|
1451
|
-
export type UpdateClusterResponses = {
|
|
1452
|
-
/**
|
|
1453
|
-
* Successfully updated. Returns updated cluster details.
|
|
1454
|
-
*/
|
|
1455
|
-
200: Cluster;
|
|
1456
|
-
};
|
|
1457
|
-
export type UpdateClusterResponse = UpdateClusterResponses[keyof UpdateClusterResponses];
|
|
1458
|
-
export type GetJoinInformationData = {
|
|
1459
|
-
body?: never;
|
|
1460
|
-
path: {
|
|
1461
|
-
/**
|
|
1462
|
-
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
1463
|
-
*/
|
|
1464
|
-
cluster_id: string;
|
|
1465
|
-
};
|
|
1466
|
-
query?: never;
|
|
1467
|
-
url: '/clusters/{cluster_id}/join_information';
|
|
1468
|
-
};
|
|
1469
|
-
export type GetJoinInformationErrors = {
|
|
1470
|
-
/**
|
|
1471
|
-
* Not authenticated
|
|
1472
|
-
*/
|
|
1473
|
-
401: unknown;
|
|
1474
|
-
};
|
|
1475
|
-
export type GetJoinInformationResponses = {
|
|
1476
|
-
/**
|
|
1477
|
-
* An object of cluster join information
|
|
1478
|
-
*/
|
|
1479
|
-
200: Cluster;
|
|
1480
|
-
};
|
|
1481
|
-
export type GetJoinInformationResponse = GetJoinInformationResponses[keyof GetJoinInformationResponses];
|
|
1482
|
-
export type GetInfrastructureData = {
|
|
1483
|
-
body?: never;
|
|
1484
|
-
path?: never;
|
|
1485
|
-
query?: {
|
|
1486
|
-
/**
|
|
1487
|
-
* Version of the task definition. Currently only version 1 is supported.
|
|
1488
|
-
*/
|
|
1489
|
-
version?: 1;
|
|
1490
|
-
/**
|
|
1491
|
-
* Limit selection of cloud providers to this list. For the full list of supported providers, see [Providers](https://cloudfleet.ai/docs/cloud-infrastructure/providers/)
|
|
1492
|
-
*/
|
|
1493
|
-
provider?: Array<string>;
|
|
1494
|
-
/**
|
|
1495
|
-
* 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/)
|
|
1496
|
-
*/
|
|
1497
|
-
region?: Array<string>;
|
|
1498
|
-
/**
|
|
1499
|
-
* 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/)
|
|
1500
|
-
*/
|
|
1501
|
-
sub_region?: Array<string>;
|
|
1502
|
-
/**
|
|
1503
|
-
* Limits selection of cloud regions to this list of canonical provider regions
|
|
1504
|
-
*/
|
|
1505
|
-
csp_region?: Array<string>;
|
|
1506
|
-
/**
|
|
1507
|
-
* Limits selection of instance types to this list. Instance / VM type as defined by the cloud service provider
|
|
1508
|
-
*/
|
|
1509
|
-
instance_type?: Array<string>;
|
|
1510
|
-
/**
|
|
1511
|
-
* 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
|
|
1512
|
-
*/
|
|
1513
|
-
accelerator_name?: Array<string>;
|
|
1514
|
-
/**
|
|
1515
|
-
* List of normalized accelerator manufacturer names. For example, all Nvidia GPUs will have 'NVIDIA' as accelerator manufacturer
|
|
1516
|
-
*/
|
|
1517
|
-
accelerator_manufacturer?: Array<string>;
|
|
1518
|
-
/**
|
|
1519
|
-
* 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.
|
|
1520
|
-
*/
|
|
1521
|
-
accelerator_count_min?: number;
|
|
1522
|
-
/**
|
|
1523
|
-
* 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.
|
|
1524
|
-
*/
|
|
1525
|
-
accelerator_count_max?: number;
|
|
1526
|
-
/**
|
|
1527
|
-
* 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
|
|
1528
|
-
*/
|
|
1529
|
-
accelerator_memory_min?: number;
|
|
1530
|
-
/**
|
|
1531
|
-
* 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
|
|
1532
|
-
*/
|
|
1533
|
-
accelerator_memory_max?: number;
|
|
1534
|
-
/**
|
|
1535
|
-
* Minimum amount of RAM in gibibytes (GiB)
|
|
1536
|
-
*/
|
|
1537
|
-
memory_min?: number;
|
|
1538
|
-
/**
|
|
1539
|
-
* Maximum amount of RAM in gibibytes (GiB)
|
|
1540
|
-
*/
|
|
1541
|
-
memory_max?: number;
|
|
1542
|
-
/**
|
|
1543
|
-
* 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.
|
|
1544
|
-
*/
|
|
1545
|
-
vcpu_min?: number;
|
|
1546
|
-
/**
|
|
1547
|
-
* 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.
|
|
1548
|
-
*/
|
|
1549
|
-
vcpu_max?: number;
|
|
1550
|
-
/**
|
|
1551
|
-
* Minimum total storage in GiB (attached and local)
|
|
1552
|
-
*/
|
|
1553
|
-
storage_total_min?: number;
|
|
1554
|
-
/**
|
|
1555
|
-
* Maximum total storage in GiB (attached and local)
|
|
1556
|
-
*/
|
|
1557
|
-
storage_total_max?: number;
|
|
1558
|
-
/**
|
|
1559
|
-
* Minimum volume of directly attached, block-device local storage in gibibytes (GiB)
|
|
1560
|
-
*/
|
|
1561
|
-
storage_local_min?: number;
|
|
1562
|
-
/**
|
|
1563
|
-
* Maximum volume of directly attached, block-device local storage in gibibytes (GiB)
|
|
1564
|
-
*/
|
|
1565
|
-
storage_local_max?: number;
|
|
1566
|
-
/**
|
|
1567
|
-
* Minimum price of running the inctance per hour in USD as defined by the cloud service provider. The cheapest instance will be selected.
|
|
1568
|
-
*/
|
|
1569
|
-
price_min?: number;
|
|
1570
|
-
/**
|
|
1571
|
-
* Maximum price of running the inctance per hour in USD as defined by the cloud service provider. The cheapest instance will be selected.
|
|
1572
|
-
*/
|
|
1573
|
-
price_max?: number;
|
|
1563
|
+
cluster_id: string;
|
|
1574
1564
|
};
|
|
1575
|
-
|
|
1576
|
-
};
|
|
1577
|
-
export type GetInfrastructureErrors = {
|
|
1578
|
-
/**
|
|
1579
|
-
* Returns a validation error if any of the search parameters in the request are invalid
|
|
1580
|
-
*/
|
|
1581
|
-
400: Blob | File;
|
|
1565
|
+
query?: never;
|
|
1566
|
+
url: '/clusters/{cluster_id}';
|
|
1582
1567
|
};
|
|
1583
|
-
export type
|
|
1584
|
-
export type GetInfrastructureResponses = {
|
|
1568
|
+
export type UpdateClusterResponses = {
|
|
1585
1569
|
/**
|
|
1586
|
-
*
|
|
1570
|
+
* Successfully updated. Returns updated cluster details.
|
|
1587
1571
|
*/
|
|
1588
|
-
200:
|
|
1572
|
+
200: Cluster;
|
|
1589
1573
|
};
|
|
1590
|
-
export type
|
|
1591
|
-
export type
|
|
1574
|
+
export type UpdateClusterResponse = UpdateClusterResponses[keyof UpdateClusterResponses];
|
|
1575
|
+
export type GetJoinInformationData = {
|
|
1592
1576
|
body?: never;
|
|
1593
|
-
path
|
|
1577
|
+
path: {
|
|
1578
|
+
/**
|
|
1579
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
1580
|
+
*/
|
|
1581
|
+
cluster_id: string;
|
|
1582
|
+
};
|
|
1594
1583
|
query?: never;
|
|
1595
|
-
url: '/
|
|
1584
|
+
url: '/clusters/{cluster_id}/join_information';
|
|
1596
1585
|
};
|
|
1597
|
-
export type
|
|
1586
|
+
export type GetJoinInformationErrors = {
|
|
1598
1587
|
/**
|
|
1599
|
-
*
|
|
1588
|
+
* Not authenticated
|
|
1600
1589
|
*/
|
|
1601
|
-
|
|
1602
|
-
/**
|
|
1603
|
-
* Limit selection of cloud providers to this list. For the full list of supported providers, see [Providers](https://cloudfleet.ai/docs/cloud-infrastructure/providers/)
|
|
1604
|
-
*/
|
|
1605
|
-
provider?: Array<string>;
|
|
1606
|
-
/**
|
|
1607
|
-
* 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/)
|
|
1608
|
-
*/
|
|
1609
|
-
region?: Array<string>;
|
|
1610
|
-
/**
|
|
1611
|
-
* 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/)
|
|
1612
|
-
*/
|
|
1613
|
-
sub_region?: Array<string>;
|
|
1614
|
-
/**
|
|
1615
|
-
* Limits selection of cloud regions to this list of canonical provider regions
|
|
1616
|
-
*/
|
|
1617
|
-
csp_region?: Array<string>;
|
|
1618
|
-
/**
|
|
1619
|
-
* 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.
|
|
1620
|
-
*/
|
|
1621
|
-
vcpu_min?: number;
|
|
1622
|
-
/**
|
|
1623
|
-
* 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.
|
|
1624
|
-
*/
|
|
1625
|
-
vcpu_max?: number;
|
|
1626
|
-
/**
|
|
1627
|
-
* Minimum amount of RAM in gibibytes (GiB)
|
|
1628
|
-
*/
|
|
1629
|
-
memory_min?: number;
|
|
1630
|
-
/**
|
|
1631
|
-
* Maximum amount of RAM in gibibytes (GiB)
|
|
1632
|
-
*/
|
|
1633
|
-
memory_max?: number;
|
|
1634
|
-
/**
|
|
1635
|
-
* Minimum volume of directly attached, block-device local storage in gibibytes (GiB)
|
|
1636
|
-
*/
|
|
1637
|
-
storage_local_min?: number;
|
|
1638
|
-
/**
|
|
1639
|
-
* Maximum volume of directly attached, block-device local storage in gibibytes (GiB)
|
|
1640
|
-
*/
|
|
1641
|
-
storage_local_max?: number;
|
|
1642
|
-
/**
|
|
1643
|
-
* 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
|
|
1644
|
-
*/
|
|
1645
|
-
accelerator_name?: Array<string>;
|
|
1646
|
-
/**
|
|
1647
|
-
* List of normalized accelerator manufacturer names. For example, all Nvidia GPUs will have 'NVIDIA' as accelerator manufacturer
|
|
1648
|
-
*/
|
|
1649
|
-
accelerator_manufacturer?: Array<string>;
|
|
1650
|
-
/**
|
|
1651
|
-
* 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.
|
|
1652
|
-
*/
|
|
1653
|
-
accelerator_count_min?: number;
|
|
1654
|
-
/**
|
|
1655
|
-
* 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.
|
|
1656
|
-
*/
|
|
1657
|
-
accelerator_count_max?: number;
|
|
1658
|
-
/**
|
|
1659
|
-
* 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
|
|
1660
|
-
*/
|
|
1661
|
-
accelerator_memory_min?: number;
|
|
1662
|
-
/**
|
|
1663
|
-
* 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
|
|
1664
|
-
*/
|
|
1665
|
-
accelerator_memory_max?: number;
|
|
1666
|
-
/**
|
|
1667
|
-
* Minimum price of running the inctance per hour in USD as defined by the cloud service provider. The cheapest instance will be selected.
|
|
1668
|
-
*/
|
|
1669
|
-
price_min?: number;
|
|
1670
|
-
/**
|
|
1671
|
-
* Maximum price of running the inctance per hour in USD as defined by the cloud service provider. The cheapest instance will be selected.
|
|
1672
|
-
*/
|
|
1673
|
-
price_max?: number;
|
|
1674
|
-
/**
|
|
1675
|
-
* Structured array of regions and sub-regions
|
|
1676
|
-
*/
|
|
1677
|
-
regions_struct?: Array<{
|
|
1678
|
-
/**
|
|
1679
|
-
* 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/)
|
|
1680
|
-
*/
|
|
1681
|
-
region?: string;
|
|
1682
|
-
sub_region?: Array<string>;
|
|
1683
|
-
}>;
|
|
1684
|
-
/**
|
|
1685
|
-
* Structured array of regions and sub-regions
|
|
1686
|
-
*/
|
|
1687
|
-
accelerators_struct?: Array<{
|
|
1688
|
-
/**
|
|
1689
|
-
* List of normalized accelerator manufacturer names. For example, all Nvidia GPUs will have 'NVIDIA' as accelerator manufacturer
|
|
1690
|
-
*/
|
|
1691
|
-
accelerator_manufacturer?: string;
|
|
1692
|
-
accelerator_name?: Array<string>;
|
|
1693
|
-
}>;
|
|
1694
|
-
/**
|
|
1695
|
-
* Total number of instances in the catalog
|
|
1696
|
-
*/
|
|
1697
|
-
count_total?: number;
|
|
1698
|
-
/**
|
|
1699
|
-
* Total number of instances in the catalog with at least 1 accelerator
|
|
1700
|
-
*/
|
|
1701
|
-
count_accelerators?: number;
|
|
1702
|
-
/**
|
|
1703
|
-
* Total number of unique instances types in the catalog
|
|
1704
|
-
*/
|
|
1705
|
-
count_instance_types?: number;
|
|
1706
|
-
/**
|
|
1707
|
-
* Total number of unique instances types in the catalog with at least 1 accelerator
|
|
1708
|
-
*/
|
|
1709
|
-
count_accelerators_instance_types?: number;
|
|
1710
|
-
}>;
|
|
1711
|
-
};
|
|
1712
|
-
export type GetFacetsResponse = GetFacetsResponses[keyof GetFacetsResponses];
|
|
1713
|
-
export type GetRegionsData = {
|
|
1714
|
-
body?: never;
|
|
1715
|
-
path?: never;
|
|
1716
|
-
query?: never;
|
|
1717
|
-
url: '/infrastructure/regions';
|
|
1590
|
+
401: unknown;
|
|
1718
1591
|
};
|
|
1719
|
-
export type
|
|
1592
|
+
export type GetJoinInformationResponses = {
|
|
1720
1593
|
/**
|
|
1721
|
-
*
|
|
1594
|
+
* An object of cluster join information
|
|
1722
1595
|
*/
|
|
1723
|
-
200:
|
|
1724
|
-
[key: string]: unknown;
|
|
1725
|
-
};
|
|
1596
|
+
200: ClusterJoinInformation;
|
|
1726
1597
|
};
|
|
1727
|
-
export type
|
|
1598
|
+
export type GetJoinInformationResponse = GetJoinInformationResponses[keyof GetJoinInformationResponses];
|
|
1728
1599
|
export type ListInvitesData = {
|
|
1729
1600
|
body?: never;
|
|
1730
1601
|
path?: never;
|
|
@@ -1797,6 +1668,95 @@ export type DeleteInviteResponses = {
|
|
|
1797
1668
|
*/
|
|
1798
1669
|
200: unknown;
|
|
1799
1670
|
};
|
|
1671
|
+
export type ListMarketplaceChartsData = {
|
|
1672
|
+
body?: never;
|
|
1673
|
+
path?: never;
|
|
1674
|
+
query?: never;
|
|
1675
|
+
url: '/marketplace';
|
|
1676
|
+
};
|
|
1677
|
+
export type ListMarketplaceChartsErrors = {
|
|
1678
|
+
/**
|
|
1679
|
+
* Not authenticated
|
|
1680
|
+
*/
|
|
1681
|
+
401: unknown;
|
|
1682
|
+
};
|
|
1683
|
+
export type ListMarketplaceChartsResponses = {
|
|
1684
|
+
/**
|
|
1685
|
+
* An array of chart listings in the marketplace.
|
|
1686
|
+
*/
|
|
1687
|
+
200: Array<MarketplaceListing>;
|
|
1688
|
+
};
|
|
1689
|
+
export type ListMarketplaceChartsResponse = ListMarketplaceChartsResponses[keyof ListMarketplaceChartsResponses];
|
|
1690
|
+
export type GetMarketplaceChartFilesData = {
|
|
1691
|
+
body?: never;
|
|
1692
|
+
path: {
|
|
1693
|
+
/**
|
|
1694
|
+
* Name of the chart in the marketplace.
|
|
1695
|
+
*/
|
|
1696
|
+
chart_name: string;
|
|
1697
|
+
/**
|
|
1698
|
+
* Version channel pattern to match (e.g., "1.31.x-cfke.x" for latest 1.31 patch, "1.x.x-cfke.x" for latest 1.x minor).
|
|
1699
|
+
*/
|
|
1700
|
+
version_channel: string;
|
|
1701
|
+
};
|
|
1702
|
+
query?: never;
|
|
1703
|
+
url: '/marketplace/{chart_name}/files/{version_channel}';
|
|
1704
|
+
};
|
|
1705
|
+
export type GetMarketplaceChartFilesErrors = {
|
|
1706
|
+
/**
|
|
1707
|
+
* Chart not found or no version matches the channel
|
|
1708
|
+
*/
|
|
1709
|
+
404: unknown;
|
|
1710
|
+
};
|
|
1711
|
+
export type GetMarketplaceChartFilesResponses = {
|
|
1712
|
+
/**
|
|
1713
|
+
* Returns an object containing the chart files for the latest matching version.
|
|
1714
|
+
*/
|
|
1715
|
+
200: MarketplaceListingFiles;
|
|
1716
|
+
};
|
|
1717
|
+
export type GetMarketplaceChartFilesResponse = GetMarketplaceChartFilesResponses[keyof GetMarketplaceChartFilesResponses];
|
|
1718
|
+
export type PostMcpData = {
|
|
1719
|
+
/**
|
|
1720
|
+
* JSON-RPC 2.0 request payload
|
|
1721
|
+
*/
|
|
1722
|
+
body: {
|
|
1723
|
+
jsonrpc?: string;
|
|
1724
|
+
method?: string;
|
|
1725
|
+
id?: string | number;
|
|
1726
|
+
/**
|
|
1727
|
+
* Method-specific parameters
|
|
1728
|
+
*/
|
|
1729
|
+
params?: {
|
|
1730
|
+
[key: string]: unknown;
|
|
1731
|
+
};
|
|
1732
|
+
};
|
|
1733
|
+
path?: never;
|
|
1734
|
+
query?: never;
|
|
1735
|
+
url: '/mcp';
|
|
1736
|
+
};
|
|
1737
|
+
export type PostMcpErrors = {
|
|
1738
|
+
/**
|
|
1739
|
+
* Not authenticated
|
|
1740
|
+
*/
|
|
1741
|
+
401: unknown;
|
|
1742
|
+
};
|
|
1743
|
+
export type PostMcpResponses = {
|
|
1744
|
+
/**
|
|
1745
|
+
* JSON-RPC 2.0 success or error response
|
|
1746
|
+
*/
|
|
1747
|
+
200: {
|
|
1748
|
+
jsonrpc?: string;
|
|
1749
|
+
id?: string | number;
|
|
1750
|
+
result?: {
|
|
1751
|
+
[key: string]: unknown;
|
|
1752
|
+
};
|
|
1753
|
+
error?: {
|
|
1754
|
+
code?: number;
|
|
1755
|
+
message?: string;
|
|
1756
|
+
};
|
|
1757
|
+
};
|
|
1758
|
+
};
|
|
1759
|
+
export type PostMcpResponse = PostMcpResponses[keyof PostMcpResponses];
|
|
1800
1760
|
export type GetOrganizationData = {
|
|
1801
1761
|
body?: never;
|
|
1802
1762
|
path?: never;
|
|
@@ -1818,24 +1778,148 @@ export type CreateOrganizationData = {
|
|
|
1818
1778
|
};
|
|
1819
1779
|
export type CreateOrganizationResponses = {
|
|
1820
1780
|
/**
|
|
1821
|
-
* Successfully created a new organization.
|
|
1781
|
+
* Successfully created a new organization.
|
|
1822
1782
|
*/
|
|
1823
|
-
200:
|
|
1783
|
+
200: unknown;
|
|
1824
1784
|
};
|
|
1825
|
-
export type
|
|
1826
|
-
|
|
1827
|
-
body: OrganizationUpdateInput;
|
|
1785
|
+
export type ListRepositoriesData = {
|
|
1786
|
+
body?: never;
|
|
1828
1787
|
path?: never;
|
|
1829
1788
|
query?: never;
|
|
1830
|
-
url: '/
|
|
1789
|
+
url: '/registry';
|
|
1831
1790
|
};
|
|
1832
|
-
export type
|
|
1791
|
+
export type ListRepositoriesErrors = {
|
|
1833
1792
|
/**
|
|
1834
|
-
*
|
|
1793
|
+
* Not authenticated
|
|
1835
1794
|
*/
|
|
1836
|
-
|
|
1795
|
+
401: unknown;
|
|
1796
|
+
/**
|
|
1797
|
+
* Internal server error
|
|
1798
|
+
*/
|
|
1799
|
+
500: unknown;
|
|
1800
|
+
};
|
|
1801
|
+
export type ListRepositoriesResponses = {
|
|
1802
|
+
/**
|
|
1803
|
+
* List of repositories
|
|
1804
|
+
*/
|
|
1805
|
+
200: Array<RegistryRepository>;
|
|
1806
|
+
};
|
|
1807
|
+
export type ListRepositoriesResponse = ListRepositoriesResponses[keyof ListRepositoriesResponses];
|
|
1808
|
+
export type ListTagsData = {
|
|
1809
|
+
body?: never;
|
|
1810
|
+
path: {
|
|
1811
|
+
/**
|
|
1812
|
+
* Region where the repository is located
|
|
1813
|
+
*/
|
|
1814
|
+
region: string;
|
|
1815
|
+
/**
|
|
1816
|
+
* Name of the repository
|
|
1817
|
+
*/
|
|
1818
|
+
repository: string;
|
|
1819
|
+
};
|
|
1820
|
+
query?: never;
|
|
1821
|
+
url: '/registry/{region}/{repository}';
|
|
1822
|
+
};
|
|
1823
|
+
export type ListTagsErrors = {
|
|
1824
|
+
/**
|
|
1825
|
+
* Not authenticated
|
|
1826
|
+
*/
|
|
1827
|
+
401: unknown;
|
|
1828
|
+
/**
|
|
1829
|
+
* Repository not found
|
|
1830
|
+
*/
|
|
1831
|
+
404: unknown;
|
|
1832
|
+
/**
|
|
1833
|
+
* Internal server error
|
|
1834
|
+
*/
|
|
1835
|
+
500: unknown;
|
|
1836
|
+
};
|
|
1837
|
+
export type ListTagsResponses = {
|
|
1838
|
+
/**
|
|
1839
|
+
* Repository with tags
|
|
1840
|
+
*/
|
|
1841
|
+
200: RegistryRepositoryWithTags;
|
|
1842
|
+
};
|
|
1843
|
+
export type ListTagsResponse = ListTagsResponses[keyof ListTagsResponses];
|
|
1844
|
+
export type DeleteTagData = {
|
|
1845
|
+
body?: never;
|
|
1846
|
+
path: {
|
|
1847
|
+
/**
|
|
1848
|
+
* Region where the repository is located
|
|
1849
|
+
*/
|
|
1850
|
+
region: string;
|
|
1851
|
+
/**
|
|
1852
|
+
* Name of the repository
|
|
1853
|
+
*/
|
|
1854
|
+
repository: string;
|
|
1855
|
+
/**
|
|
1856
|
+
* Name of the tag
|
|
1857
|
+
*/
|
|
1858
|
+
tag: string;
|
|
1859
|
+
};
|
|
1860
|
+
query?: never;
|
|
1861
|
+
url: '/registry/{region}/{repository}/{tag}';
|
|
1862
|
+
};
|
|
1863
|
+
export type DeleteTagErrors = {
|
|
1864
|
+
/**
|
|
1865
|
+
* Not authenticated
|
|
1866
|
+
*/
|
|
1867
|
+
401: unknown;
|
|
1868
|
+
/**
|
|
1869
|
+
* Tag not found
|
|
1870
|
+
*/
|
|
1871
|
+
404: unknown;
|
|
1872
|
+
/**
|
|
1873
|
+
* Internal server error
|
|
1874
|
+
*/
|
|
1875
|
+
500: unknown;
|
|
1837
1876
|
};
|
|
1838
|
-
export type
|
|
1877
|
+
export type DeleteTagResponses = {
|
|
1878
|
+
/**
|
|
1879
|
+
* Tag successfully deleted
|
|
1880
|
+
*/
|
|
1881
|
+
200: unknown;
|
|
1882
|
+
};
|
|
1883
|
+
export type GetTagData = {
|
|
1884
|
+
body?: never;
|
|
1885
|
+
path: {
|
|
1886
|
+
/**
|
|
1887
|
+
* Region where the repository is located
|
|
1888
|
+
*/
|
|
1889
|
+
region: string;
|
|
1890
|
+
/**
|
|
1891
|
+
* Name of the repository
|
|
1892
|
+
*/
|
|
1893
|
+
repository: string;
|
|
1894
|
+
/**
|
|
1895
|
+
* Name of the tag
|
|
1896
|
+
*/
|
|
1897
|
+
tag: string;
|
|
1898
|
+
};
|
|
1899
|
+
query?: never;
|
|
1900
|
+
url: '/registry/{region}/{repository}/{tag}';
|
|
1901
|
+
};
|
|
1902
|
+
export type GetTagErrors = {
|
|
1903
|
+
/**
|
|
1904
|
+
* Not authenticated
|
|
1905
|
+
*/
|
|
1906
|
+
401: unknown;
|
|
1907
|
+
/**
|
|
1908
|
+
* Tag not found
|
|
1909
|
+
*/
|
|
1910
|
+
404: unknown;
|
|
1911
|
+
/**
|
|
1912
|
+
* Internal server error
|
|
1913
|
+
*/
|
|
1914
|
+
500: unknown;
|
|
1915
|
+
};
|
|
1916
|
+
export type GetTagResponses = {
|
|
1917
|
+
/**
|
|
1918
|
+
* Tag details
|
|
1919
|
+
*/
|
|
1920
|
+
200: RegistryTag;
|
|
1921
|
+
};
|
|
1922
|
+
export type GetTagResponse = GetTagResponses[keyof GetTagResponses];
|
|
1839
1923
|
export type ListTokensData = {
|
|
1840
1924
|
body?: never;
|
|
1841
1925
|
path?: never;
|
|
@@ -2092,53 +2176,4 @@ export type UpdateUserResponses = {
|
|
|
2092
2176
|
200: User;
|
|
2093
2177
|
};
|
|
2094
2178
|
export type UpdateUserResponse = UpdateUserResponses[keyof UpdateUserResponses];
|
|
2095
|
-
export type DeleteClusterPermissionsData = {
|
|
2096
|
-
body?: never;
|
|
2097
|
-
path: {
|
|
2098
|
-
/**
|
|
2099
|
-
* Unique user identifier. UUID v4 string in canonical form
|
|
2100
|
-
*/
|
|
2101
|
-
user_id: string;
|
|
2102
|
-
/**
|
|
2103
|
-
* Unique cluster identifier. UUID v4 string in canonical form
|
|
2104
|
-
*/
|
|
2105
|
-
cluster_id: string;
|
|
2106
|
-
};
|
|
2107
|
-
query?: never;
|
|
2108
|
-
url: '/users/{user_id}/clusters/{cluster_id}';
|
|
2109
|
-
};
|
|
2110
|
-
export type DeleteClusterPermissionsResponses = {
|
|
2111
|
-
/**
|
|
2112
|
-
* Successfully removed user from the cluster. Returns updated user details.
|
|
2113
|
-
*/
|
|
2114
|
-
200: User;
|
|
2115
|
-
};
|
|
2116
|
-
export type DeleteClusterPermissionsResponse = DeleteClusterPermissionsResponses[keyof DeleteClusterPermissionsResponses];
|
|
2117
|
-
export type SetClusterPermissionsData = {
|
|
2118
|
-
body: {
|
|
2119
|
-
/**
|
|
2120
|
-
* Level of permissions for the user to access the cluster
|
|
2121
|
-
*/
|
|
2122
|
-
permissions?: 'readwrite' | 'readonly';
|
|
2123
|
-
};
|
|
2124
|
-
path: {
|
|
2125
|
-
/**
|
|
2126
|
-
* Unique user identifier. UUID v4 string in canonical form
|
|
2127
|
-
*/
|
|
2128
|
-
user_id: string;
|
|
2129
|
-
/**
|
|
2130
|
-
* Unique cluster identifier. UUID v4 string in canonical form
|
|
2131
|
-
*/
|
|
2132
|
-
cluster_id: string;
|
|
2133
|
-
};
|
|
2134
|
-
query?: never;
|
|
2135
|
-
url: '/users/{user_id}/clusters/{cluster_id}';
|
|
2136
|
-
};
|
|
2137
|
-
export type SetClusterPermissionsResponses = {
|
|
2138
|
-
/**
|
|
2139
|
-
* Successfully created. Returns created user details.
|
|
2140
|
-
*/
|
|
2141
|
-
200: User;
|
|
2142
|
-
};
|
|
2143
|
-
export type SetClusterPermissionsResponse = SetClusterPermissionsResponses[keyof SetClusterPermissionsResponses];
|
|
2144
2179
|
//# sourceMappingURL=types.gen.d.ts.map
|