@cloudfleet/sdk 0.0.1-76e2a56 → 0.0.1-7a6b7de
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 +236 -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 +4 -4
- package/dist/client.gen.d.ts.map +1 -1
- package/dist/client.gen.js +2 -4
- package/dist/client.gen.js.map +1 -1
- 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 +959 -887
- package/dist/schemas.gen.d.ts.map +1 -1
- package/dist/schemas.gen.js +1436 -943
- package/dist/schemas.gen.js.map +1 -1
- package/dist/sdk.gen.d.ts +211 -142
- package/dist/sdk.gen.d.ts.map +1 -1
- package/dist/sdk.gen.js +274 -221
- 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 +904 -770
- package/dist/types.gen.d.ts.map +1 -1
- package/dist/zod.gen.d.ts +1679 -2400
- package/dist/zod.gen.d.ts.map +1 -1
- package/dist/zod.gen.js +673 -838
- package/dist/zod.gen.js.map +1 -1
- package/package.json +12 -5
package/dist/types.gen.d.ts
CHANGED
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
export type ClientOptions = {
|
|
2
|
+
baseUrl: 'https://api.cloudfleet.ai/v1' | (string & {});
|
|
3
|
+
};
|
|
1
4
|
export type BillingContact = {
|
|
2
5
|
/**
|
|
3
6
|
* Name of the legal entity. This name will be used in invoices. Use your first and last name for individual accounts.
|
|
@@ -36,31 +39,143 @@ export type BillingContact = {
|
|
|
36
39
|
*/
|
|
37
40
|
email: string;
|
|
38
41
|
/**
|
|
39
|
-
*
|
|
42
|
+
* Name of the billing contact person.
|
|
40
43
|
*/
|
|
41
|
-
|
|
44
|
+
individual_name: string;
|
|
42
45
|
/**
|
|
43
|
-
*
|
|
46
|
+
* Tax ID of the organization.
|
|
44
47
|
*/
|
|
45
|
-
|
|
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' | '';
|
|
46
53
|
};
|
|
47
|
-
export type
|
|
54
|
+
export type BillingCredits = {
|
|
48
55
|
/**
|
|
49
|
-
*
|
|
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.
|
|
50
121
|
*/
|
|
51
122
|
name: string;
|
|
52
123
|
/**
|
|
53
|
-
*
|
|
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.
|
|
54
145
|
*/
|
|
55
|
-
|
|
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.
|
|
165
|
+
*/
|
|
166
|
+
name: string;
|
|
56
167
|
/**
|
|
57
168
|
* Tier of the cluster.
|
|
58
169
|
*/
|
|
59
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';
|
|
60
175
|
/**
|
|
61
176
|
* Version of the kubernetes cluster.
|
|
62
177
|
*/
|
|
63
|
-
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';
|
|
64
179
|
};
|
|
65
180
|
export type ClusterJoinInformation = {
|
|
66
181
|
/**
|
|
@@ -71,6 +186,10 @@ export type ClusterJoinInformation = {
|
|
|
71
186
|
* Internal URL of the Kubernetes cluster control plane. This is the endpoint that kubelet uses to connect to the cluster.
|
|
72
187
|
*/
|
|
73
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;
|
|
74
193
|
/**
|
|
75
194
|
* Authentication key for the cluster.
|
|
76
195
|
*/
|
|
@@ -95,6 +214,10 @@ export type ClusterJoinInformation = {
|
|
|
95
214
|
* Containerd version of the cluster.
|
|
96
215
|
*/
|
|
97
216
|
containerd: string;
|
|
217
|
+
/**
|
|
218
|
+
* NVIDIA driver version of the cluster.
|
|
219
|
+
*/
|
|
220
|
+
nvidia_driver: string;
|
|
98
221
|
};
|
|
99
222
|
/**
|
|
100
223
|
* OIDC Information for hosts to access to third party API's.
|
|
@@ -119,18 +242,14 @@ export type Cluster = {
|
|
|
119
242
|
* Name of the cluster.
|
|
120
243
|
*/
|
|
121
244
|
name: string;
|
|
122
|
-
/**
|
|
123
|
-
* Cloudfleet control plane region. One of "staging", "northamerica-central-1". This field can not be updated after creation.
|
|
124
|
-
*/
|
|
125
|
-
region?: 'staging' | 'northamerica-central-1';
|
|
126
245
|
/**
|
|
127
246
|
* Tier of the cluster.
|
|
128
247
|
*/
|
|
129
248
|
tier: 'basic' | 'pro';
|
|
130
249
|
/**
|
|
131
|
-
*
|
|
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.
|
|
132
251
|
*/
|
|
133
|
-
|
|
252
|
+
region?: 'staging-1a' | 'northamerica-central-1' | 'europe-central-1a' | 'northamerica-central-1a';
|
|
134
253
|
/**
|
|
135
254
|
* Unique identifier of the kubernetes cluster. UUID v4 string in canonical form
|
|
136
255
|
*/
|
|
@@ -138,7 +257,7 @@ export type Cluster = {
|
|
|
138
257
|
/**
|
|
139
258
|
* Status of the cluster. When creating a new cluster, set to `active`. When deleting a clusters, set to `deleted`.
|
|
140
259
|
*/
|
|
141
|
-
status: 'active' | 'deleted' | 'creating' | 'deployed' | 'failed' | 'updating';
|
|
260
|
+
status: 'active' | 'disabled' | 'deleted' | 'creating' | 'deployed' | 'failed' | 'updating';
|
|
142
261
|
endpoint?: string | '';
|
|
143
262
|
/**
|
|
144
263
|
* Certificate authority data for the kubernetes cluster. This is the root certificate authority for the cluster.
|
|
@@ -160,12 +279,20 @@ export type Cluster = {
|
|
|
160
279
|
* Indicates if the cluster is ready to be used.
|
|
161
280
|
*/
|
|
162
281
|
ready?: boolean;
|
|
282
|
+
/**
|
|
283
|
+
* Version of the kubernetes cluster.
|
|
284
|
+
*/
|
|
285
|
+
version_channel?: string;
|
|
163
286
|
};
|
|
164
287
|
export type ClusterUpdateInput = {
|
|
165
288
|
/**
|
|
166
289
|
* Name of the cluster.
|
|
167
290
|
*/
|
|
168
291
|
name?: string;
|
|
292
|
+
/**
|
|
293
|
+
* Tier of the cluster.
|
|
294
|
+
*/
|
|
295
|
+
tier: 'basic' | 'pro';
|
|
169
296
|
/**
|
|
170
297
|
* Version of the kubernetes cluster.
|
|
171
298
|
*/
|
|
@@ -190,10 +317,10 @@ export type FleetCreateInput = {
|
|
|
190
317
|
};
|
|
191
318
|
hetzner?: {
|
|
192
319
|
enabled?: boolean;
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
320
|
+
/**
|
|
321
|
+
* Hetzner Cloud API key with read / write access
|
|
322
|
+
*/
|
|
323
|
+
apiKey: string;
|
|
197
324
|
};
|
|
198
325
|
aws?: {
|
|
199
326
|
enabled?: boolean;
|
|
@@ -206,10 +333,6 @@ export type FleetCreateInput = {
|
|
|
206
333
|
* Unique identifier of the kubernetes fleet.
|
|
207
334
|
*/
|
|
208
335
|
id: string;
|
|
209
|
-
/**
|
|
210
|
-
* Specifies the fleet type: infrastructure managed by Cloudfleet or Connected Fleets.
|
|
211
|
-
*/
|
|
212
|
-
type: 'managed' | 'connected';
|
|
213
336
|
};
|
|
214
337
|
export type Fleet = {
|
|
215
338
|
/**
|
|
@@ -230,10 +353,10 @@ export type Fleet = {
|
|
|
230
353
|
};
|
|
231
354
|
hetzner?: {
|
|
232
355
|
enabled?: boolean;
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
356
|
+
/**
|
|
357
|
+
* Hetzner Cloud API key with read / write access
|
|
358
|
+
*/
|
|
359
|
+
apiKey: string;
|
|
237
360
|
};
|
|
238
361
|
aws?: {
|
|
239
362
|
enabled?: boolean;
|
|
@@ -246,10 +369,6 @@ export type Fleet = {
|
|
|
246
369
|
* Unique identifier of the kubernetes fleet.
|
|
247
370
|
*/
|
|
248
371
|
id: string;
|
|
249
|
-
/**
|
|
250
|
-
* Specifies the fleet type: infrastructure managed by Cloudfleet or Connected Fleets.
|
|
251
|
-
*/
|
|
252
|
-
type: 'managed' | 'connected';
|
|
253
372
|
};
|
|
254
373
|
export type FleetUpdateInput = {
|
|
255
374
|
/**
|
|
@@ -270,10 +389,10 @@ export type FleetUpdateInput = {
|
|
|
270
389
|
};
|
|
271
390
|
hetzner?: {
|
|
272
391
|
enabled?: boolean;
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
392
|
+
/**
|
|
393
|
+
* Hetzner Cloud API key with read / write access
|
|
394
|
+
*/
|
|
395
|
+
apiKey: string;
|
|
277
396
|
};
|
|
278
397
|
aws?: {
|
|
279
398
|
enabled?: boolean;
|
|
@@ -283,178 +402,6 @@ export type FleetUpdateInput = {
|
|
|
283
402
|
controllerRoleArn: string;
|
|
284
403
|
};
|
|
285
404
|
};
|
|
286
|
-
export type InfrastructureFilter = {
|
|
287
|
-
/**
|
|
288
|
-
* Version of the infrastructure filter definition. Currently only version 1 is supported.
|
|
289
|
-
*/
|
|
290
|
-
version?: 1;
|
|
291
|
-
/**
|
|
292
|
-
* Limit selection of cloud providers to this list. For the full list of supported providers, see [Providers](https://cloudfleet.ai/docs/cloud-infrastructure/providers/)
|
|
293
|
-
*/
|
|
294
|
-
provider?: Array<string>;
|
|
295
|
-
/**
|
|
296
|
-
* 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/)
|
|
297
|
-
*/
|
|
298
|
-
region?: Array<string>;
|
|
299
|
-
/**
|
|
300
|
-
* 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/)
|
|
301
|
-
*/
|
|
302
|
-
sub_region?: Array<string>;
|
|
303
|
-
/**
|
|
304
|
-
* Limits selection of cloud regions to this list of canonical provider regions
|
|
305
|
-
*/
|
|
306
|
-
csp_region?: Array<string>;
|
|
307
|
-
/**
|
|
308
|
-
* Limits selection of instance types to this list. Instance / VM type as defined by the cloud service provider
|
|
309
|
-
*/
|
|
310
|
-
instance_type?: Array<string>;
|
|
311
|
-
/**
|
|
312
|
-
* 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
|
|
313
|
-
*/
|
|
314
|
-
accelerator_name?: Array<string>;
|
|
315
|
-
/**
|
|
316
|
-
* List of normalized accelerator manufacturer names. For example, all Nvidia GPUs will have 'NVIDIA' as accelerator manufacturer
|
|
317
|
-
*/
|
|
318
|
-
accelerator_manufacturer?: Array<string>;
|
|
319
|
-
/**
|
|
320
|
-
* 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.
|
|
321
|
-
*/
|
|
322
|
-
accelerator_count_min?: number;
|
|
323
|
-
/**
|
|
324
|
-
* 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.
|
|
325
|
-
*/
|
|
326
|
-
accelerator_count_max?: number;
|
|
327
|
-
/**
|
|
328
|
-
* 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
|
|
329
|
-
*/
|
|
330
|
-
accelerator_memory_min?: number;
|
|
331
|
-
/**
|
|
332
|
-
* 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
|
|
333
|
-
*/
|
|
334
|
-
accelerator_memory_max?: number;
|
|
335
|
-
/**
|
|
336
|
-
* Minimum amount of RAM in gibibytes (GiB)
|
|
337
|
-
*/
|
|
338
|
-
memory_min?: number;
|
|
339
|
-
/**
|
|
340
|
-
* Maximum amount of RAM in gibibytes (GiB)
|
|
341
|
-
*/
|
|
342
|
-
memory_max?: number;
|
|
343
|
-
/**
|
|
344
|
-
* 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.
|
|
345
|
-
*/
|
|
346
|
-
vcpu_min?: number;
|
|
347
|
-
/**
|
|
348
|
-
* 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.
|
|
349
|
-
*/
|
|
350
|
-
vcpu_max?: number;
|
|
351
|
-
/**
|
|
352
|
-
* Minimum total storage in GiB (attached and local)
|
|
353
|
-
*/
|
|
354
|
-
storage_total_min?: number;
|
|
355
|
-
/**
|
|
356
|
-
* Maximum total storage in GiB (attached and local)
|
|
357
|
-
*/
|
|
358
|
-
storage_total_max?: number;
|
|
359
|
-
/**
|
|
360
|
-
* Minimum volume of directly attached, block-device local storage in gibibytes (GiB)
|
|
361
|
-
*/
|
|
362
|
-
storage_local_min?: number;
|
|
363
|
-
/**
|
|
364
|
-
* Maximum volume of directly attached, block-device local storage in gibibytes (GiB)
|
|
365
|
-
*/
|
|
366
|
-
storage_local_max?: number;
|
|
367
|
-
/**
|
|
368
|
-
* Minimum price of running the inctance per hour in USD as defined by the cloud service provider. The cheapest instance will be selected.
|
|
369
|
-
*/
|
|
370
|
-
price_min?: number;
|
|
371
|
-
/**
|
|
372
|
-
* Maximum price of running the inctance per hour in USD as defined by the cloud service provider. The cheapest instance will be selected.
|
|
373
|
-
*/
|
|
374
|
-
price_max?: number;
|
|
375
|
-
};
|
|
376
|
-
export type InfrastructureInstance = {
|
|
377
|
-
/**
|
|
378
|
-
* Cloudfleet instance SKU. Has a format of <provider>-<csp_region>-<instance_type>.
|
|
379
|
-
*/
|
|
380
|
-
sku: string;
|
|
381
|
-
/**
|
|
382
|
-
* Normalized cloud service provider name. For the full list of supported providers, see [Providers](https://cloudfleet.ai/docs/cloud-infrastructure/providers/)
|
|
383
|
-
*/
|
|
384
|
-
provider: string;
|
|
385
|
-
/**
|
|
386
|
-
* 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/)
|
|
387
|
-
*/
|
|
388
|
-
region: string;
|
|
389
|
-
/**
|
|
390
|
-
* 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/)
|
|
391
|
-
*/
|
|
392
|
-
sub_region: string;
|
|
393
|
-
/**
|
|
394
|
-
* Region as defined by the cloud service provider
|
|
395
|
-
*/
|
|
396
|
-
csp_region: string;
|
|
397
|
-
/**
|
|
398
|
-
* Availability zone as defined by the cloud service provider
|
|
399
|
-
*/
|
|
400
|
-
csp_zone: string;
|
|
401
|
-
/**
|
|
402
|
-
* Instance / VM type as defined by the cloud service provider
|
|
403
|
-
*/
|
|
404
|
-
instance_type: string;
|
|
405
|
-
/**
|
|
406
|
-
* Instance CPU architecture
|
|
407
|
-
*/
|
|
408
|
-
architecture: string;
|
|
409
|
-
/**
|
|
410
|
-
* Instance operating system
|
|
411
|
-
*/
|
|
412
|
-
os: string;
|
|
413
|
-
/**
|
|
414
|
-
* 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.
|
|
415
|
-
*/
|
|
416
|
-
vcpu: number;
|
|
417
|
-
/**
|
|
418
|
-
* Total amount of RAM in gibibytes (GiB)
|
|
419
|
-
*/
|
|
420
|
-
memory: number;
|
|
421
|
-
/**
|
|
422
|
-
* Volume of directly attached, block-device local storage in gibibytes (GiB)
|
|
423
|
-
*/
|
|
424
|
-
local_storage: number;
|
|
425
|
-
/**
|
|
426
|
-
* 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
|
|
427
|
-
*/
|
|
428
|
-
accelerator_name?: string;
|
|
429
|
-
/**
|
|
430
|
-
* Normalized manufacturer name of accelerator. For example, all Nvidia GPUs will have 'NVIDIA' as accelerator manufacturer
|
|
431
|
-
*/
|
|
432
|
-
accelerator_manufacturer?: string;
|
|
433
|
-
/**
|
|
434
|
-
* 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.
|
|
435
|
-
*/
|
|
436
|
-
accelerator_count?: number;
|
|
437
|
-
/**
|
|
438
|
-
* 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
|
|
439
|
-
*/
|
|
440
|
-
accelerator_memory?: number;
|
|
441
|
-
/**
|
|
442
|
-
* Maximum number of pods that can be run on this instance type.
|
|
443
|
-
*/
|
|
444
|
-
pods_capacity?: number;
|
|
445
|
-
/**
|
|
446
|
-
* Capacity type of the instance. E.g. `on-demand`, `spot`.
|
|
447
|
-
*/
|
|
448
|
-
capacity_type?: string;
|
|
449
|
-
/**
|
|
450
|
-
* Price of running the inctance per hour in USD as defined by the cloud service provider
|
|
451
|
-
*/
|
|
452
|
-
price: number;
|
|
453
|
-
/**
|
|
454
|
-
* Whether this instance type is available.
|
|
455
|
-
*/
|
|
456
|
-
available?: boolean;
|
|
457
|
-
};
|
|
458
405
|
export type Invite = {
|
|
459
406
|
/**
|
|
460
407
|
* Unique identifier of the invitation.
|
|
@@ -479,235 +426,121 @@ export type Invite = {
|
|
|
479
426
|
};
|
|
480
427
|
export type Invoice = {
|
|
481
428
|
/**
|
|
482
|
-
* Unique identifier of the invoice.
|
|
429
|
+
* Unique identifier of the invoice.
|
|
483
430
|
*/
|
|
484
431
|
id?: string;
|
|
485
|
-
|
|
486
|
-
* Unique identifier of the organization. UUID v4 string in canonical form
|
|
487
|
-
*/
|
|
488
|
-
organizationId?: string;
|
|
432
|
+
number?: string;
|
|
489
433
|
/**
|
|
490
434
|
* Status of the invoice
|
|
491
435
|
*/
|
|
492
|
-
status?:
|
|
436
|
+
status?: string;
|
|
493
437
|
/**
|
|
494
438
|
* Total amount of the invoice
|
|
495
439
|
*/
|
|
496
|
-
|
|
440
|
+
total?: number;
|
|
497
441
|
/**
|
|
498
442
|
* Currency of the invoice
|
|
499
443
|
*/
|
|
500
|
-
currency?:
|
|
444
|
+
currency?: string;
|
|
445
|
+
/**
|
|
446
|
+
* Timestamp when the invoice was issued. ISO 8601 date string in the UTC timezone.
|
|
447
|
+
*/
|
|
448
|
+
created: string;
|
|
449
|
+
/**
|
|
450
|
+
* Billing period start timestamp. ISO 8601 date string in the UTC timezone.
|
|
451
|
+
*/
|
|
452
|
+
period_start: string;
|
|
501
453
|
/**
|
|
502
|
-
*
|
|
454
|
+
* Billing period end timestamp. ISO 8601 date string in the UTC timezone.
|
|
503
455
|
*/
|
|
504
|
-
|
|
456
|
+
period_end: string;
|
|
457
|
+
invoice_pdf?: string;
|
|
458
|
+
};
|
|
459
|
+
export type MarketplaceListingFiles = {
|
|
505
460
|
/**
|
|
506
|
-
*
|
|
461
|
+
* Raw Chart.yaml content from the Helm chart
|
|
507
462
|
*/
|
|
508
|
-
|
|
463
|
+
chartYaml?: string;
|
|
509
464
|
/**
|
|
510
|
-
*
|
|
465
|
+
* Raw values.yaml content from the Helm chart
|
|
511
466
|
*/
|
|
512
|
-
|
|
467
|
+
valuesYaml?: string;
|
|
513
468
|
/**
|
|
514
|
-
*
|
|
469
|
+
* JSON schema for values.yaml as a string
|
|
515
470
|
*/
|
|
516
|
-
|
|
471
|
+
valuesSchemaJson?: string;
|
|
472
|
+
};
|
|
473
|
+
export type MarketplaceListing = {
|
|
517
474
|
/**
|
|
518
|
-
*
|
|
475
|
+
* Name of the chart
|
|
519
476
|
*/
|
|
520
|
-
|
|
477
|
+
name: string;
|
|
521
478
|
/**
|
|
522
|
-
*
|
|
479
|
+
* Available versions of the chart
|
|
523
480
|
*/
|
|
524
|
-
|
|
481
|
+
versions: Array<string>;
|
|
525
482
|
/**
|
|
526
|
-
*
|
|
483
|
+
* Version channels for the chart
|
|
527
484
|
*/
|
|
528
|
-
|
|
485
|
+
version_channels: Array<string>;
|
|
529
486
|
/**
|
|
530
|
-
*
|
|
487
|
+
* Latest version of the chart
|
|
531
488
|
*/
|
|
532
|
-
|
|
533
|
-
/**
|
|
534
|
-
* Unique identifier of the invoice item. UUID v4 string in canonical form
|
|
535
|
-
*/
|
|
536
|
-
id?: string;
|
|
537
|
-
/**
|
|
538
|
-
* Unique identifier of the linked invoice item. UUID v4 string in canonical form
|
|
539
|
-
*/
|
|
540
|
-
linkedInvoiceItemId?: string;
|
|
541
|
-
/**
|
|
542
|
-
* Name of the product
|
|
543
|
-
*/
|
|
544
|
-
productName?: string;
|
|
545
|
-
/**
|
|
546
|
-
* Name of the plan
|
|
547
|
-
*/
|
|
548
|
-
planName?: string;
|
|
549
|
-
/**
|
|
550
|
-
* Name of the phase
|
|
551
|
-
*/
|
|
552
|
-
phaseName?: string;
|
|
553
|
-
/**
|
|
554
|
-
* Name of the usage
|
|
555
|
-
*/
|
|
556
|
-
usageName?: string;
|
|
557
|
-
/**
|
|
558
|
-
* Pretty name of the product
|
|
559
|
-
*/
|
|
560
|
-
prettyProductName?: string;
|
|
561
|
-
/**
|
|
562
|
-
* Pretty name of the plan
|
|
563
|
-
*/
|
|
564
|
-
prettyPlanName?: string;
|
|
565
|
-
/**
|
|
566
|
-
* Pretty name of the phase
|
|
567
|
-
*/
|
|
568
|
-
prettyPhaseName?: string;
|
|
569
|
-
/**
|
|
570
|
-
* Pretty name of the usage
|
|
571
|
-
*/
|
|
572
|
-
prettyUsageName?: string;
|
|
573
|
-
/**
|
|
574
|
-
* Type of the invoice item
|
|
575
|
-
*/
|
|
576
|
-
itemType?: 'EXTERNAL_CHARGE' | 'FIXED' | 'RECURRING' | 'REPAIR_ADJ' | 'CBA_ADJ' | 'CREDIT_ADJ' | 'ITEM_ADJ' | 'USAGE' | 'TAX' | 'PARENT_SUMMARY';
|
|
577
|
-
/**
|
|
578
|
-
* Description of the invoice item
|
|
579
|
-
*/
|
|
580
|
-
description?: string;
|
|
581
|
-
/**
|
|
582
|
-
* Start date of the invoice item
|
|
583
|
-
*/
|
|
584
|
-
startDate?: string;
|
|
585
|
-
/**
|
|
586
|
-
* End date of the invoice item
|
|
587
|
-
*/
|
|
588
|
-
endDate?: string;
|
|
589
|
-
/**
|
|
590
|
-
* Amount of the invoice item
|
|
591
|
-
*/
|
|
592
|
-
amount?: number;
|
|
593
|
-
/**
|
|
594
|
-
* Rate of the invoice item
|
|
595
|
-
*/
|
|
596
|
-
rate?: number;
|
|
597
|
-
/**
|
|
598
|
-
* Currency of the invoice item
|
|
599
|
-
*/
|
|
600
|
-
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';
|
|
601
|
-
/**
|
|
602
|
-
* Quantity of the invoice item
|
|
603
|
-
*/
|
|
604
|
-
quantity?: number;
|
|
605
|
-
/**
|
|
606
|
-
* Details of the invoice item
|
|
607
|
-
*/
|
|
608
|
-
itemDetails?: string;
|
|
609
|
-
/**
|
|
610
|
-
* Effective date of the catalog
|
|
611
|
-
*/
|
|
612
|
-
catalogEffectiveDate?: string;
|
|
613
|
-
/**
|
|
614
|
-
* Child items of the invoice item
|
|
615
|
-
*/
|
|
616
|
-
childItems?: Array<Array<unknown> | boolean | number | {
|
|
617
|
-
[key: string]: unknown;
|
|
618
|
-
} | string>;
|
|
619
|
-
}>;
|
|
489
|
+
latestVersion: string;
|
|
620
490
|
/**
|
|
621
|
-
*
|
|
491
|
+
* Chart metadata
|
|
622
492
|
*/
|
|
623
|
-
|
|
624
|
-
/**
|
|
625
|
-
* Unique identifier of the invoice item. UUID v4 string in canonical form
|
|
626
|
-
*/
|
|
627
|
-
id?: string;
|
|
493
|
+
metadata?: {
|
|
628
494
|
/**
|
|
629
|
-
*
|
|
495
|
+
* Chart name from metadata
|
|
630
496
|
*/
|
|
631
|
-
|
|
497
|
+
name: string;
|
|
632
498
|
/**
|
|
633
|
-
*
|
|
499
|
+
* Chart version from metadata
|
|
634
500
|
*/
|
|
635
|
-
|
|
501
|
+
version: string;
|
|
636
502
|
/**
|
|
637
|
-
*
|
|
638
|
-
*/
|
|
639
|
-
planName?: string;
|
|
640
|
-
/**
|
|
641
|
-
* Name of the phase
|
|
642
|
-
*/
|
|
643
|
-
phaseName?: string;
|
|
644
|
-
/**
|
|
645
|
-
* Name of the usage
|
|
646
|
-
*/
|
|
647
|
-
usageName?: string;
|
|
648
|
-
/**
|
|
649
|
-
* Pretty name of the product
|
|
650
|
-
*/
|
|
651
|
-
prettyProductName?: string;
|
|
652
|
-
/**
|
|
653
|
-
* Pretty name of the plan
|
|
654
|
-
*/
|
|
655
|
-
prettyPlanName?: string;
|
|
656
|
-
/**
|
|
657
|
-
* Pretty name of the phase
|
|
658
|
-
*/
|
|
659
|
-
prettyPhaseName?: string;
|
|
660
|
-
/**
|
|
661
|
-
* Pretty name of the usage
|
|
662
|
-
*/
|
|
663
|
-
prettyUsageName?: string;
|
|
664
|
-
/**
|
|
665
|
-
* Type of the invoice item
|
|
666
|
-
*/
|
|
667
|
-
itemType?: 'EXTERNAL_CHARGE' | 'FIXED' | 'RECURRING' | 'REPAIR_ADJ' | 'CBA_ADJ' | 'CREDIT_ADJ' | 'ITEM_ADJ' | 'USAGE' | 'TAX' | 'PARENT_SUMMARY';
|
|
668
|
-
/**
|
|
669
|
-
* Description of the invoice item
|
|
503
|
+
* Chart description
|
|
670
504
|
*/
|
|
671
505
|
description?: string;
|
|
672
506
|
/**
|
|
673
|
-
*
|
|
674
|
-
*/
|
|
675
|
-
startDate?: string;
|
|
676
|
-
/**
|
|
677
|
-
* End date of the invoice item
|
|
507
|
+
* Application version
|
|
678
508
|
*/
|
|
679
|
-
|
|
509
|
+
appVersion?: string;
|
|
680
510
|
/**
|
|
681
|
-
*
|
|
511
|
+
* Helm API version
|
|
682
512
|
*/
|
|
683
|
-
|
|
513
|
+
apiVersion?: string;
|
|
684
514
|
/**
|
|
685
|
-
*
|
|
515
|
+
* Chart keywords
|
|
686
516
|
*/
|
|
687
|
-
|
|
517
|
+
keywords?: Array<string>;
|
|
688
518
|
/**
|
|
689
|
-
*
|
|
519
|
+
* Chart home URL
|
|
690
520
|
*/
|
|
691
|
-
|
|
521
|
+
home?: string;
|
|
692
522
|
/**
|
|
693
|
-
*
|
|
523
|
+
* A URL to an SVG or PNG image to be used as an icon
|
|
694
524
|
*/
|
|
695
|
-
|
|
525
|
+
icon?: string;
|
|
696
526
|
/**
|
|
697
|
-
*
|
|
527
|
+
* Chart source URLs
|
|
698
528
|
*/
|
|
699
|
-
|
|
529
|
+
sources?: Array<string>;
|
|
700
530
|
/**
|
|
701
|
-
*
|
|
531
|
+
* Chart maintainers
|
|
702
532
|
*/
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
|
|
533
|
+
maintainers?: Array<{
|
|
534
|
+
/**
|
|
535
|
+
* Maintainer name
|
|
536
|
+
*/
|
|
537
|
+
name: string;
|
|
538
|
+
/**
|
|
539
|
+
* Maintainer email
|
|
540
|
+
*/
|
|
541
|
+
email?: string;
|
|
542
|
+
}>;
|
|
543
|
+
};
|
|
711
544
|
};
|
|
712
545
|
export type OrganizationCreateInput = {
|
|
713
546
|
/**
|
|
@@ -768,10 +601,6 @@ export type Organization = {
|
|
|
768
601
|
* Maximum number of fleets that can be created per cluster.
|
|
769
602
|
*/
|
|
770
603
|
fleets_max: number;
|
|
771
|
-
/**
|
|
772
|
-
* Maximum number of CPU cores per managed fleet.
|
|
773
|
-
*/
|
|
774
|
-
managed_fleets_cpu_max: number;
|
|
775
604
|
/**
|
|
776
605
|
* List of Cloudfleet cluster tiers available for the organization.
|
|
777
606
|
*/
|
|
@@ -793,6 +622,10 @@ export type Organization = {
|
|
|
793
622
|
*/
|
|
794
623
|
label: string;
|
|
795
624
|
}>;
|
|
625
|
+
/**
|
|
626
|
+
* Organization-level maximum CFCR storage volume in GB. -1 means no limit.
|
|
627
|
+
*/
|
|
628
|
+
cfcr_storage_gb: number;
|
|
796
629
|
};
|
|
797
630
|
/**
|
|
798
631
|
* Status of the organization. Can be `active` or `closed`, or `suspended`.
|
|
@@ -813,21 +646,216 @@ export type PaymentMethod = {
|
|
|
813
646
|
*/
|
|
814
647
|
type: 'card';
|
|
815
648
|
/**
|
|
816
|
-
* Last 4 digits of the payment card number.
|
|
649
|
+
* Last 4 digits of the payment card number.
|
|
650
|
+
*/
|
|
651
|
+
last4: string;
|
|
652
|
+
/**
|
|
653
|
+
* Two-digit number representing the card's expiration month.
|
|
654
|
+
*/
|
|
655
|
+
exp_month: number;
|
|
656
|
+
/**
|
|
657
|
+
* Four-digit number representing the card's expiration year.
|
|
658
|
+
*/
|
|
659
|
+
exp_year: number;
|
|
660
|
+
/**
|
|
661
|
+
* Payment card brand. Can be `amex`, `diners`, `discover`, `eftpos_au`, `jcb`, `mastercard`, `unionpay`, `visa`, or `unknown`.
|
|
662
|
+
*/
|
|
663
|
+
brand: 'amex' | 'diners' | 'discover' | 'eftpos_au' | 'jcb' | 'mastercard' | 'unionpay' | 'visa' | 'unknown';
|
|
664
|
+
};
|
|
665
|
+
export type PlatformQuota = {
|
|
666
|
+
/**
|
|
667
|
+
* Maximum number of Basic clusters that can be created.
|
|
668
|
+
*/
|
|
669
|
+
basic_clusters_max: number;
|
|
670
|
+
/**
|
|
671
|
+
* Available number of Basic clusters that can be created.
|
|
672
|
+
*/
|
|
673
|
+
basic_clusters_available: number;
|
|
674
|
+
/**
|
|
675
|
+
* Maximum number of Pro clusters that can be created.
|
|
676
|
+
*/
|
|
677
|
+
pro_clusters_max: number;
|
|
678
|
+
/**
|
|
679
|
+
* Available number of Pro clusters that can be created.
|
|
680
|
+
*/
|
|
681
|
+
pro_clusters_available: number;
|
|
682
|
+
/**
|
|
683
|
+
* Maximum number of fleets that can be created per cluster.
|
|
684
|
+
*/
|
|
685
|
+
fleets_max: number;
|
|
686
|
+
/**
|
|
687
|
+
* List of Cloudfleet cluster tiers available for the organization.
|
|
688
|
+
*/
|
|
689
|
+
cluster_tiers: Array<string>;
|
|
690
|
+
/**
|
|
691
|
+
* List of Cloudfleet control plane regions available for the organization.
|
|
692
|
+
*/
|
|
693
|
+
regions: Array<string>;
|
|
694
|
+
/**
|
|
695
|
+
* List of CFKE control plane versions available for the organization.
|
|
696
|
+
*/
|
|
697
|
+
versions: Array<{
|
|
698
|
+
/**
|
|
699
|
+
* Id of the control plane version. Used in API calls.
|
|
700
|
+
*/
|
|
701
|
+
id: string;
|
|
702
|
+
/**
|
|
703
|
+
* Label of the control plane version. Used in frontent UI.
|
|
704
|
+
*/
|
|
705
|
+
label: string;
|
|
706
|
+
}>;
|
|
707
|
+
/**
|
|
708
|
+
* Organization-level maximum CFCR storage volume in GB. -1 means no limit.
|
|
709
|
+
*/
|
|
710
|
+
cfcr_storage_gb: number;
|
|
711
|
+
};
|
|
712
|
+
export type RegistryRepository = {
|
|
713
|
+
/**
|
|
714
|
+
* Repository name.
|
|
715
|
+
*/
|
|
716
|
+
name: string;
|
|
717
|
+
/**
|
|
718
|
+
* Registry region.
|
|
719
|
+
*/
|
|
720
|
+
region: string;
|
|
721
|
+
/**
|
|
722
|
+
* Full URI of the repository.
|
|
723
|
+
*/
|
|
724
|
+
uri: string;
|
|
725
|
+
};
|
|
726
|
+
export type RegistryRepositoryWithTags = {
|
|
727
|
+
/**
|
|
728
|
+
* Repository name.
|
|
729
|
+
*/
|
|
730
|
+
name: string;
|
|
731
|
+
/**
|
|
732
|
+
* Registry region.
|
|
733
|
+
*/
|
|
734
|
+
region: string;
|
|
735
|
+
/**
|
|
736
|
+
* Full URI of the repository.
|
|
737
|
+
*/
|
|
738
|
+
uri: string;
|
|
739
|
+
/**
|
|
740
|
+
* Array of tags in the repository.
|
|
741
|
+
*/
|
|
742
|
+
tags: Array<{
|
|
743
|
+
/**
|
|
744
|
+
* Tag name.
|
|
745
|
+
*/
|
|
746
|
+
name: string;
|
|
747
|
+
/**
|
|
748
|
+
* Size of the tag in bytes.
|
|
749
|
+
*/
|
|
750
|
+
size: number;
|
|
751
|
+
/**
|
|
752
|
+
* Media type of the manifest.
|
|
753
|
+
*/
|
|
754
|
+
mediaType?: string;
|
|
755
|
+
/**
|
|
756
|
+
* Array of platform strings for multi-arch images (e.g., linux/amd64, linux/arm64).
|
|
757
|
+
*/
|
|
758
|
+
platforms?: Array<string>;
|
|
759
|
+
}>;
|
|
760
|
+
/**
|
|
761
|
+
* Total size of all tags in the repository in bytes.
|
|
762
|
+
*/
|
|
763
|
+
totalSize: number;
|
|
764
|
+
};
|
|
765
|
+
export type RegistryTag = {
|
|
766
|
+
/**
|
|
767
|
+
* Tag name.
|
|
768
|
+
*/
|
|
769
|
+
name: string;
|
|
770
|
+
/**
|
|
771
|
+
* Manifest digest for pulling by digest.
|
|
772
|
+
*/
|
|
773
|
+
digest: string;
|
|
774
|
+
/**
|
|
775
|
+
* Media type of the manifest.
|
|
776
|
+
*/
|
|
777
|
+
mediaType?: string;
|
|
778
|
+
/**
|
|
779
|
+
* Manifest config metadata.
|
|
780
|
+
*/
|
|
781
|
+
config?: {
|
|
782
|
+
/**
|
|
783
|
+
* Size of the config in bytes.
|
|
784
|
+
*/
|
|
785
|
+
size: number;
|
|
786
|
+
};
|
|
787
|
+
/**
|
|
788
|
+
* Array of layer metadata.
|
|
789
|
+
*/
|
|
790
|
+
layers?: Array<{
|
|
791
|
+
/**
|
|
792
|
+
* Digest of the layer.
|
|
793
|
+
*/
|
|
794
|
+
digest?: string;
|
|
795
|
+
/**
|
|
796
|
+
* Size of the layer in bytes.
|
|
797
|
+
*/
|
|
798
|
+
size: number;
|
|
799
|
+
}>;
|
|
800
|
+
/**
|
|
801
|
+
* Array of manifests for multi-arch images.
|
|
802
|
+
*/
|
|
803
|
+
manifests?: Array<{
|
|
804
|
+
/**
|
|
805
|
+
* Digest of the manifest.
|
|
806
|
+
*/
|
|
807
|
+
digest: string;
|
|
808
|
+
/**
|
|
809
|
+
* Platform information for the manifest.
|
|
810
|
+
*/
|
|
811
|
+
platform?: {
|
|
812
|
+
/**
|
|
813
|
+
* Architecture of the platform.
|
|
814
|
+
*/
|
|
815
|
+
architecture: string;
|
|
816
|
+
/**
|
|
817
|
+
* Operating system of the platform.
|
|
818
|
+
*/
|
|
819
|
+
os: string;
|
|
820
|
+
/**
|
|
821
|
+
* Variant of the platform (e.g., v7, v8 for ARM).
|
|
822
|
+
*/
|
|
823
|
+
variant?: string;
|
|
824
|
+
};
|
|
825
|
+
/**
|
|
826
|
+
* Layers for this platform.
|
|
827
|
+
*/
|
|
828
|
+
layers?: Array<{
|
|
829
|
+
/**
|
|
830
|
+
* Digest of the layer.
|
|
831
|
+
*/
|
|
832
|
+
digest?: string;
|
|
833
|
+
/**
|
|
834
|
+
* Size of the layer in bytes.
|
|
835
|
+
*/
|
|
836
|
+
size: number;
|
|
837
|
+
}>;
|
|
838
|
+
/**
|
|
839
|
+
* Total size of this platform manifest in bytes.
|
|
840
|
+
*/
|
|
841
|
+
size?: number;
|
|
842
|
+
}>;
|
|
843
|
+
/**
|
|
844
|
+
* Total size of the tag in bytes.
|
|
817
845
|
*/
|
|
818
|
-
|
|
846
|
+
size: number;
|
|
819
847
|
/**
|
|
820
|
-
*
|
|
848
|
+
* Registry region.
|
|
821
849
|
*/
|
|
822
|
-
|
|
850
|
+
region: string;
|
|
823
851
|
/**
|
|
824
|
-
*
|
|
852
|
+
* Repository name.
|
|
825
853
|
*/
|
|
826
|
-
|
|
854
|
+
repository: string;
|
|
827
855
|
/**
|
|
828
|
-
*
|
|
856
|
+
* Full URI of the tag.
|
|
829
857
|
*/
|
|
830
|
-
|
|
858
|
+
uri: string;
|
|
831
859
|
};
|
|
832
860
|
export type TokenCreateInput = {
|
|
833
861
|
/**
|
|
@@ -871,35 +899,85 @@ export type TokenUpdateInput = {
|
|
|
871
899
|
*/
|
|
872
900
|
role?: 'Administrator' | 'User';
|
|
873
901
|
};
|
|
902
|
+
export type UsageFacets = {
|
|
903
|
+
/**
|
|
904
|
+
* List of unique cluster IDs
|
|
905
|
+
*/
|
|
906
|
+
cluster_id?: Array<string>;
|
|
907
|
+
/**
|
|
908
|
+
* List of unique products
|
|
909
|
+
*/
|
|
910
|
+
product?: Array<string>;
|
|
911
|
+
};
|
|
912
|
+
export type UsageResponse = {
|
|
913
|
+
/**
|
|
914
|
+
* Usage data
|
|
915
|
+
*/
|
|
916
|
+
data: Array<{
|
|
917
|
+
/**
|
|
918
|
+
* Hour of the usage
|
|
919
|
+
*/
|
|
920
|
+
hour: string;
|
|
921
|
+
/**
|
|
922
|
+
* Unique identifier of the kubernetes cluster. UUID v4 string in canonical form
|
|
923
|
+
*/
|
|
924
|
+
cluster_id: string;
|
|
925
|
+
/**
|
|
926
|
+
* The product the usage is associated with
|
|
927
|
+
*/
|
|
928
|
+
product: string;
|
|
929
|
+
/**
|
|
930
|
+
* Consumption
|
|
931
|
+
*/
|
|
932
|
+
value: number;
|
|
933
|
+
/**
|
|
934
|
+
* Price per unit
|
|
935
|
+
*/
|
|
936
|
+
price: number;
|
|
937
|
+
/**
|
|
938
|
+
* Total cost
|
|
939
|
+
*/
|
|
940
|
+
total: number;
|
|
941
|
+
}>;
|
|
942
|
+
/**
|
|
943
|
+
* Facets for filtering
|
|
944
|
+
*/
|
|
945
|
+
facets: {
|
|
946
|
+
/**
|
|
947
|
+
* List of unique cluster IDs
|
|
948
|
+
*/
|
|
949
|
+
cluster_id?: Array<string>;
|
|
950
|
+
/**
|
|
951
|
+
* List of unique products
|
|
952
|
+
*/
|
|
953
|
+
product?: Array<string>;
|
|
954
|
+
};
|
|
955
|
+
};
|
|
874
956
|
export type Usage = {
|
|
875
957
|
/**
|
|
876
958
|
* Hour of the usage
|
|
877
959
|
*/
|
|
878
|
-
hour
|
|
960
|
+
hour: string;
|
|
879
961
|
/**
|
|
880
962
|
* Unique identifier of the kubernetes cluster. UUID v4 string in canonical form
|
|
881
963
|
*/
|
|
882
964
|
cluster_id: string;
|
|
883
965
|
/**
|
|
884
|
-
*
|
|
966
|
+
* The product the usage is associated with
|
|
885
967
|
*/
|
|
886
|
-
|
|
968
|
+
product: string;
|
|
887
969
|
/**
|
|
888
|
-
*
|
|
970
|
+
* Consumption
|
|
889
971
|
*/
|
|
890
|
-
|
|
972
|
+
value: number;
|
|
891
973
|
/**
|
|
892
|
-
*
|
|
974
|
+
* Price per unit
|
|
893
975
|
*/
|
|
894
|
-
|
|
976
|
+
price: number;
|
|
895
977
|
/**
|
|
896
|
-
*
|
|
978
|
+
* Total cost
|
|
897
979
|
*/
|
|
898
|
-
|
|
899
|
-
cpu: number | '';
|
|
900
|
-
price: number | '';
|
|
901
|
-
value: number | '';
|
|
902
|
-
total: number | '';
|
|
980
|
+
total: number;
|
|
903
981
|
};
|
|
904
982
|
export type UserCreateInput = {
|
|
905
983
|
/**
|
|
@@ -960,16 +1038,6 @@ export type User = {
|
|
|
960
1038
|
* Creation date of the user. ISO 8601 date string in UTC timezone
|
|
961
1039
|
*/
|
|
962
1040
|
date_created: string;
|
|
963
|
-
cluster_permissions?: Array<{
|
|
964
|
-
/**
|
|
965
|
-
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
966
|
-
*/
|
|
967
|
-
cluster_id: string;
|
|
968
|
-
/**
|
|
969
|
-
* User permissions to access the cluster. Can be `readwrite` or `readonly`.
|
|
970
|
-
*/
|
|
971
|
-
permissions: 'readwrite' | 'readonly';
|
|
972
|
-
}>;
|
|
973
1041
|
};
|
|
974
1042
|
export type UserUpdateInput = {
|
|
975
1043
|
/**
|
|
@@ -996,7 +1064,12 @@ export type UserUpdateInput = {
|
|
|
996
1064
|
export type GetUsageData = {
|
|
997
1065
|
body?: never;
|
|
998
1066
|
path?: never;
|
|
999
|
-
query?:
|
|
1067
|
+
query?: {
|
|
1068
|
+
/**
|
|
1069
|
+
* 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)
|
|
1070
|
+
*/
|
|
1071
|
+
granularity?: 'hourly' | 'daily' | 'monthly';
|
|
1072
|
+
};
|
|
1000
1073
|
url: '/billing/usage';
|
|
1001
1074
|
};
|
|
1002
1075
|
export type GetUsageErrors = {
|
|
@@ -1007,24 +1080,11 @@ export type GetUsageErrors = {
|
|
|
1007
1080
|
};
|
|
1008
1081
|
export type GetUsageResponses = {
|
|
1009
1082
|
/**
|
|
1010
|
-
*
|
|
1083
|
+
* Usage data with facets for filtering
|
|
1011
1084
|
*/
|
|
1012
|
-
200:
|
|
1085
|
+
200: UsageResponse;
|
|
1013
1086
|
};
|
|
1014
1087
|
export type GetUsageResponse = GetUsageResponses[keyof GetUsageResponses];
|
|
1015
|
-
export type GetBalanceData = {
|
|
1016
|
-
body?: never;
|
|
1017
|
-
path?: never;
|
|
1018
|
-
query?: never;
|
|
1019
|
-
url: '/billing/balance';
|
|
1020
|
-
};
|
|
1021
|
-
export type GetBalanceResponses = {
|
|
1022
|
-
/**
|
|
1023
|
-
* Current balance of the organization in USD as a floating-point number.
|
|
1024
|
-
*/
|
|
1025
|
-
200: number;
|
|
1026
|
-
};
|
|
1027
|
-
export type GetBalanceResponse = GetBalanceResponses[keyof GetBalanceResponses];
|
|
1028
1088
|
export type GetPaymentMethodData = {
|
|
1029
1089
|
body?: never;
|
|
1030
1090
|
path?: never;
|
|
@@ -1066,16 +1126,7 @@ export type GetPaymentMethodSecretResponse = GetPaymentMethodSecretResponses[key
|
|
|
1066
1126
|
export type ListInvoicesData = {
|
|
1067
1127
|
body?: never;
|
|
1068
1128
|
path?: never;
|
|
1069
|
-
query
|
|
1070
|
-
/**
|
|
1071
|
-
* Start date for the usage. Date of oldest data point to retrieve.
|
|
1072
|
-
*/
|
|
1073
|
-
start_date: string;
|
|
1074
|
-
/**
|
|
1075
|
-
* End date for the usage. Date of newest data point to retrieve.
|
|
1076
|
-
*/
|
|
1077
|
-
end_date: string;
|
|
1078
|
-
};
|
|
1129
|
+
query?: never;
|
|
1079
1130
|
url: '/billing/invoices';
|
|
1080
1131
|
};
|
|
1081
1132
|
export type ListInvoicesErrors = {
|
|
@@ -1091,26 +1142,6 @@ export type ListInvoicesResponses = {
|
|
|
1091
1142
|
200: Array<Invoice>;
|
|
1092
1143
|
};
|
|
1093
1144
|
export type ListInvoicesResponse = ListInvoicesResponses[keyof ListInvoicesResponses];
|
|
1094
|
-
export type GetInvoiceData = {
|
|
1095
|
-
body?: never;
|
|
1096
|
-
path: {
|
|
1097
|
-
/**
|
|
1098
|
-
* Unique invoice identifier. UUID v4 string in canonical form
|
|
1099
|
-
*/
|
|
1100
|
-
id: string;
|
|
1101
|
-
};
|
|
1102
|
-
query?: never;
|
|
1103
|
-
url: '/billing/invoices/{id}';
|
|
1104
|
-
};
|
|
1105
|
-
export type GetInvoiceResponses = {
|
|
1106
|
-
/**
|
|
1107
|
-
* Returns a single Invoice HTML representation under `html` property.
|
|
1108
|
-
*/
|
|
1109
|
-
200: {
|
|
1110
|
-
html?: string;
|
|
1111
|
-
};
|
|
1112
|
-
};
|
|
1113
|
-
export type GetInvoiceResponse = GetInvoiceResponses[keyof GetInvoiceResponses];
|
|
1114
1145
|
export type GetContactData = {
|
|
1115
1146
|
body?: never;
|
|
1116
1147
|
path?: never;
|
|
@@ -1137,6 +1168,156 @@ export type UpdateContactResponses = {
|
|
|
1137
1168
|
200: BillingContact;
|
|
1138
1169
|
};
|
|
1139
1170
|
export type UpdateContactResponse = UpdateContactResponses[keyof UpdateContactResponses];
|
|
1171
|
+
export type GetCreditsData = {
|
|
1172
|
+
body?: never;
|
|
1173
|
+
path?: never;
|
|
1174
|
+
query?: never;
|
|
1175
|
+
url: '/billing/credits';
|
|
1176
|
+
};
|
|
1177
|
+
export type GetCreditsErrors = {
|
|
1178
|
+
/**
|
|
1179
|
+
* Not authenticated
|
|
1180
|
+
*/
|
|
1181
|
+
401: unknown;
|
|
1182
|
+
};
|
|
1183
|
+
export type GetCreditsResponses = {
|
|
1184
|
+
/**
|
|
1185
|
+
* An array of the applied promotional credits records.
|
|
1186
|
+
*/
|
|
1187
|
+
200: Array<BillingCredits>;
|
|
1188
|
+
};
|
|
1189
|
+
export type GetCreditsResponse = GetCreditsResponses[keyof GetCreditsResponses];
|
|
1190
|
+
export type RedeemCreditsData = {
|
|
1191
|
+
body: {
|
|
1192
|
+
/**
|
|
1193
|
+
* Promotional code to redeem
|
|
1194
|
+
*/
|
|
1195
|
+
code?: string;
|
|
1196
|
+
};
|
|
1197
|
+
path?: never;
|
|
1198
|
+
query?: never;
|
|
1199
|
+
url: '/billing/credits';
|
|
1200
|
+
};
|
|
1201
|
+
export type RedeemCreditsErrors = {
|
|
1202
|
+
/**
|
|
1203
|
+
* Not authenticated
|
|
1204
|
+
*/
|
|
1205
|
+
401: unknown;
|
|
1206
|
+
};
|
|
1207
|
+
export type RedeemCreditsResponses = {
|
|
1208
|
+
/**
|
|
1209
|
+
* Successfully created a new organization.
|
|
1210
|
+
*/
|
|
1211
|
+
200: unknown;
|
|
1212
|
+
};
|
|
1213
|
+
export type ListChartsData = {
|
|
1214
|
+
body?: never;
|
|
1215
|
+
path: {
|
|
1216
|
+
/**
|
|
1217
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
1218
|
+
*/
|
|
1219
|
+
cluster_id: string;
|
|
1220
|
+
};
|
|
1221
|
+
query?: never;
|
|
1222
|
+
url: '/clusters/{cluster_id}/charts';
|
|
1223
|
+
};
|
|
1224
|
+
export type ListChartsErrors = {
|
|
1225
|
+
/**
|
|
1226
|
+
* Not authenticated
|
|
1227
|
+
*/
|
|
1228
|
+
401: unknown;
|
|
1229
|
+
};
|
|
1230
|
+
export type ListChartsResponses = {
|
|
1231
|
+
/**
|
|
1232
|
+
* An array of charts
|
|
1233
|
+
*/
|
|
1234
|
+
200: Array<Chart>;
|
|
1235
|
+
};
|
|
1236
|
+
export type ListChartsResponse = ListChartsResponses[keyof ListChartsResponses];
|
|
1237
|
+
export type CreateChartData = {
|
|
1238
|
+
body: ChartCreateInput;
|
|
1239
|
+
path: {
|
|
1240
|
+
/**
|
|
1241
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
1242
|
+
*/
|
|
1243
|
+
cluster_id: string;
|
|
1244
|
+
};
|
|
1245
|
+
query?: never;
|
|
1246
|
+
url: '/clusters/{cluster_id}/charts';
|
|
1247
|
+
};
|
|
1248
|
+
export type CreateChartResponses = {
|
|
1249
|
+
/**
|
|
1250
|
+
* Successfully created. Returns created Chart ID.
|
|
1251
|
+
*/
|
|
1252
|
+
200: string;
|
|
1253
|
+
};
|
|
1254
|
+
export type CreateChartResponse = CreateChartResponses[keyof CreateChartResponses];
|
|
1255
|
+
export type DeleteChartData = {
|
|
1256
|
+
body?: never;
|
|
1257
|
+
path: {
|
|
1258
|
+
/**
|
|
1259
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
1260
|
+
*/
|
|
1261
|
+
cluster_id: string;
|
|
1262
|
+
/**
|
|
1263
|
+
* Chart deployment name as the unique identifier of the chart.
|
|
1264
|
+
*/
|
|
1265
|
+
chart_name: string;
|
|
1266
|
+
};
|
|
1267
|
+
query?: never;
|
|
1268
|
+
url: '/clusters/{cluster_id}/charts/{chart_name}';
|
|
1269
|
+
};
|
|
1270
|
+
export type DeleteChartResponses = {
|
|
1271
|
+
/**
|
|
1272
|
+
* Successfully deleted.
|
|
1273
|
+
*/
|
|
1274
|
+
200: string;
|
|
1275
|
+
};
|
|
1276
|
+
export type DeleteChartResponse = DeleteChartResponses[keyof DeleteChartResponses];
|
|
1277
|
+
export type GetChartData = {
|
|
1278
|
+
body?: never;
|
|
1279
|
+
path: {
|
|
1280
|
+
/**
|
|
1281
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
1282
|
+
*/
|
|
1283
|
+
cluster_id: string;
|
|
1284
|
+
/**
|
|
1285
|
+
* Chart deployment name as the unique identifier of the chart.
|
|
1286
|
+
*/
|
|
1287
|
+
chart_name: string;
|
|
1288
|
+
};
|
|
1289
|
+
query?: never;
|
|
1290
|
+
url: '/clusters/{cluster_id}/charts/{chart_name}';
|
|
1291
|
+
};
|
|
1292
|
+
export type GetChartResponses = {
|
|
1293
|
+
/**
|
|
1294
|
+
* Returns a single object containing chart details.
|
|
1295
|
+
*/
|
|
1296
|
+
200: Chart;
|
|
1297
|
+
};
|
|
1298
|
+
export type GetChartResponse = GetChartResponses[keyof GetChartResponses];
|
|
1299
|
+
export type UpdateChartData = {
|
|
1300
|
+
body: ChartUpdateInput;
|
|
1301
|
+
path: {
|
|
1302
|
+
/**
|
|
1303
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
1304
|
+
*/
|
|
1305
|
+
cluster_id: string;
|
|
1306
|
+
/**
|
|
1307
|
+
* Chart deployment name as the unique identifier of the chart.
|
|
1308
|
+
*/
|
|
1309
|
+
chart_name: string;
|
|
1310
|
+
};
|
|
1311
|
+
query?: never;
|
|
1312
|
+
url: '/clusters/{cluster_id}/charts/{chart_name}';
|
|
1313
|
+
};
|
|
1314
|
+
export type UpdateChartResponses = {
|
|
1315
|
+
/**
|
|
1316
|
+
* Successfully updated.
|
|
1317
|
+
*/
|
|
1318
|
+
200: string;
|
|
1319
|
+
};
|
|
1320
|
+
export type UpdateChartResponse = UpdateChartResponses[keyof UpdateChartResponses];
|
|
1140
1321
|
export type ListFleetsData = {
|
|
1141
1322
|
body?: never;
|
|
1142
1323
|
path: {
|
|
@@ -1375,276 +1556,54 @@ export type UpdateClusterResponses = {
|
|
|
1375
1556
|
200: Cluster;
|
|
1376
1557
|
};
|
|
1377
1558
|
export type UpdateClusterResponse = UpdateClusterResponses[keyof UpdateClusterResponses];
|
|
1378
|
-
export type
|
|
1379
|
-
body?: never;
|
|
1380
|
-
path: {
|
|
1381
|
-
/**
|
|
1382
|
-
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
1383
|
-
*/
|
|
1384
|
-
cluster_id: string;
|
|
1385
|
-
};
|
|
1386
|
-
query?: never;
|
|
1387
|
-
url: '/clusters/{cluster_id}/join_information';
|
|
1388
|
-
};
|
|
1389
|
-
export type GetJoinInformationErrors = {
|
|
1390
|
-
/**
|
|
1391
|
-
* Not authenticated
|
|
1392
|
-
*/
|
|
1393
|
-
401: unknown;
|
|
1394
|
-
};
|
|
1395
|
-
export type GetJoinInformationResponses = {
|
|
1396
|
-
/**
|
|
1397
|
-
* An object of cluster join information
|
|
1398
|
-
*/
|
|
1399
|
-
200: Cluster;
|
|
1400
|
-
};
|
|
1401
|
-
export type GetJoinInformationResponse = GetJoinInformationResponses[keyof GetJoinInformationResponses];
|
|
1402
|
-
export type GetInfrastructureData = {
|
|
1559
|
+
export type GetClusterCaData = {
|
|
1403
1560
|
body?: never;
|
|
1404
|
-
path
|
|
1405
|
-
query?: {
|
|
1406
|
-
/**
|
|
1407
|
-
* Version of the task definition. Currently only version 1 is supported.
|
|
1408
|
-
*/
|
|
1409
|
-
version?: 1;
|
|
1410
|
-
/**
|
|
1411
|
-
* Limit selection of cloud providers to this list. For the full list of supported providers, see [Providers](https://cloudfleet.ai/docs/cloud-infrastructure/providers/)
|
|
1412
|
-
*/
|
|
1413
|
-
provider?: Array<string>;
|
|
1414
|
-
/**
|
|
1415
|
-
* 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/)
|
|
1416
|
-
*/
|
|
1417
|
-
region?: Array<string>;
|
|
1418
|
-
/**
|
|
1419
|
-
* 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/)
|
|
1420
|
-
*/
|
|
1421
|
-
sub_region?: Array<string>;
|
|
1422
|
-
/**
|
|
1423
|
-
* Limits selection of cloud regions to this list of canonical provider regions
|
|
1424
|
-
*/
|
|
1425
|
-
csp_region?: Array<string>;
|
|
1426
|
-
/**
|
|
1427
|
-
* Limits selection of instance types to this list. Instance / VM type as defined by the cloud service provider
|
|
1428
|
-
*/
|
|
1429
|
-
instance_type?: Array<string>;
|
|
1430
|
-
/**
|
|
1431
|
-
* 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
|
|
1432
|
-
*/
|
|
1433
|
-
accelerator_name?: Array<string>;
|
|
1434
|
-
/**
|
|
1435
|
-
* List of normalized accelerator manufacturer names. For example, all Nvidia GPUs will have 'NVIDIA' as accelerator manufacturer
|
|
1436
|
-
*/
|
|
1437
|
-
accelerator_manufacturer?: Array<string>;
|
|
1438
|
-
/**
|
|
1439
|
-
* 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.
|
|
1440
|
-
*/
|
|
1441
|
-
accelerator_count_min?: number;
|
|
1442
|
-
/**
|
|
1443
|
-
* 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.
|
|
1444
|
-
*/
|
|
1445
|
-
accelerator_count_max?: number;
|
|
1446
|
-
/**
|
|
1447
|
-
* 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
|
|
1448
|
-
*/
|
|
1449
|
-
accelerator_memory_min?: number;
|
|
1450
|
-
/**
|
|
1451
|
-
* 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
|
|
1452
|
-
*/
|
|
1453
|
-
accelerator_memory_max?: number;
|
|
1454
|
-
/**
|
|
1455
|
-
* Minimum amount of RAM in gibibytes (GiB)
|
|
1456
|
-
*/
|
|
1457
|
-
memory_min?: number;
|
|
1458
|
-
/**
|
|
1459
|
-
* Maximum amount of RAM in gibibytes (GiB)
|
|
1460
|
-
*/
|
|
1461
|
-
memory_max?: number;
|
|
1462
|
-
/**
|
|
1463
|
-
* 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.
|
|
1464
|
-
*/
|
|
1465
|
-
vcpu_min?: number;
|
|
1466
|
-
/**
|
|
1467
|
-
* 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.
|
|
1468
|
-
*/
|
|
1469
|
-
vcpu_max?: number;
|
|
1470
|
-
/**
|
|
1471
|
-
* Minimum total storage in GiB (attached and local)
|
|
1472
|
-
*/
|
|
1473
|
-
storage_total_min?: number;
|
|
1474
|
-
/**
|
|
1475
|
-
* Maximum total storage in GiB (attached and local)
|
|
1476
|
-
*/
|
|
1477
|
-
storage_total_max?: number;
|
|
1478
|
-
/**
|
|
1479
|
-
* Minimum volume of directly attached, block-device local storage in gibibytes (GiB)
|
|
1480
|
-
*/
|
|
1481
|
-
storage_local_min?: number;
|
|
1482
|
-
/**
|
|
1483
|
-
* Maximum volume of directly attached, block-device local storage in gibibytes (GiB)
|
|
1484
|
-
*/
|
|
1485
|
-
storage_local_max?: number;
|
|
1486
|
-
/**
|
|
1487
|
-
* Minimum price of running the inctance per hour in USD as defined by the cloud service provider. The cheapest instance will be selected.
|
|
1488
|
-
*/
|
|
1489
|
-
price_min?: number;
|
|
1561
|
+
path: {
|
|
1490
1562
|
/**
|
|
1491
|
-
*
|
|
1563
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
1492
1564
|
*/
|
|
1493
|
-
|
|
1565
|
+
cluster_id: string;
|
|
1494
1566
|
};
|
|
1495
|
-
|
|
1567
|
+
query?: never;
|
|
1568
|
+
url: '/clusters/{cluster_id}/ca';
|
|
1496
1569
|
};
|
|
1497
|
-
export type
|
|
1570
|
+
export type GetClusterCaErrors = {
|
|
1498
1571
|
/**
|
|
1499
|
-
*
|
|
1572
|
+
* Cluster not found, or its certificate authority is not available yet.
|
|
1500
1573
|
*/
|
|
1501
|
-
|
|
1574
|
+
404: unknown;
|
|
1502
1575
|
};
|
|
1503
|
-
export type
|
|
1504
|
-
export type GetInfrastructureResponses = {
|
|
1576
|
+
export type GetClusterCaResponses = {
|
|
1505
1577
|
/**
|
|
1506
|
-
*
|
|
1578
|
+
* PEM-encoded certificate authority of the cluster.
|
|
1507
1579
|
*/
|
|
1508
|
-
200:
|
|
1580
|
+
200: string;
|
|
1509
1581
|
};
|
|
1510
|
-
export type
|
|
1511
|
-
export type
|
|
1582
|
+
export type GetClusterCaResponse = GetClusterCaResponses[keyof GetClusterCaResponses];
|
|
1583
|
+
export type GetJoinInformationData = {
|
|
1512
1584
|
body?: never;
|
|
1513
|
-
path
|
|
1585
|
+
path: {
|
|
1586
|
+
/**
|
|
1587
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
1588
|
+
*/
|
|
1589
|
+
cluster_id: string;
|
|
1590
|
+
};
|
|
1514
1591
|
query?: never;
|
|
1515
|
-
url: '/
|
|
1592
|
+
url: '/clusters/{cluster_id}/join_information';
|
|
1516
1593
|
};
|
|
1517
|
-
export type
|
|
1594
|
+
export type GetJoinInformationErrors = {
|
|
1518
1595
|
/**
|
|
1519
|
-
*
|
|
1596
|
+
* Not authenticated
|
|
1520
1597
|
*/
|
|
1521
|
-
|
|
1522
|
-
/**
|
|
1523
|
-
* Limit selection of cloud providers to this list. For the full list of supported providers, see [Providers](https://cloudfleet.ai/docs/cloud-infrastructure/providers/)
|
|
1524
|
-
*/
|
|
1525
|
-
provider?: Array<string>;
|
|
1526
|
-
/**
|
|
1527
|
-
* 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/)
|
|
1528
|
-
*/
|
|
1529
|
-
region?: Array<string>;
|
|
1530
|
-
/**
|
|
1531
|
-
* 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/)
|
|
1532
|
-
*/
|
|
1533
|
-
sub_region?: Array<string>;
|
|
1534
|
-
/**
|
|
1535
|
-
* Limits selection of cloud regions to this list of canonical provider regions
|
|
1536
|
-
*/
|
|
1537
|
-
csp_region?: Array<string>;
|
|
1538
|
-
/**
|
|
1539
|
-
* 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.
|
|
1540
|
-
*/
|
|
1541
|
-
vcpu_min?: number;
|
|
1542
|
-
/**
|
|
1543
|
-
* 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.
|
|
1544
|
-
*/
|
|
1545
|
-
vcpu_max?: number;
|
|
1546
|
-
/**
|
|
1547
|
-
* Minimum amount of RAM in gibibytes (GiB)
|
|
1548
|
-
*/
|
|
1549
|
-
memory_min?: number;
|
|
1550
|
-
/**
|
|
1551
|
-
* Maximum amount of RAM in gibibytes (GiB)
|
|
1552
|
-
*/
|
|
1553
|
-
memory_max?: number;
|
|
1554
|
-
/**
|
|
1555
|
-
* Minimum volume of directly attached, block-device local storage in gibibytes (GiB)
|
|
1556
|
-
*/
|
|
1557
|
-
storage_local_min?: number;
|
|
1558
|
-
/**
|
|
1559
|
-
* Maximum volume of directly attached, block-device local storage in gibibytes (GiB)
|
|
1560
|
-
*/
|
|
1561
|
-
storage_local_max?: number;
|
|
1562
|
-
/**
|
|
1563
|
-
* 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
|
|
1564
|
-
*/
|
|
1565
|
-
accelerator_name?: Array<string>;
|
|
1566
|
-
/**
|
|
1567
|
-
* List of normalized accelerator manufacturer names. For example, all Nvidia GPUs will have 'NVIDIA' as accelerator manufacturer
|
|
1568
|
-
*/
|
|
1569
|
-
accelerator_manufacturer?: Array<string>;
|
|
1570
|
-
/**
|
|
1571
|
-
* 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.
|
|
1572
|
-
*/
|
|
1573
|
-
accelerator_count_min?: number;
|
|
1574
|
-
/**
|
|
1575
|
-
* 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.
|
|
1576
|
-
*/
|
|
1577
|
-
accelerator_count_max?: number;
|
|
1578
|
-
/**
|
|
1579
|
-
* 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
|
|
1580
|
-
*/
|
|
1581
|
-
accelerator_memory_min?: number;
|
|
1582
|
-
/**
|
|
1583
|
-
* 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
|
|
1584
|
-
*/
|
|
1585
|
-
accelerator_memory_max?: number;
|
|
1586
|
-
/**
|
|
1587
|
-
* Minimum price of running the inctance per hour in USD as defined by the cloud service provider. The cheapest instance will be selected.
|
|
1588
|
-
*/
|
|
1589
|
-
price_min?: number;
|
|
1590
|
-
/**
|
|
1591
|
-
* Maximum price of running the inctance per hour in USD as defined by the cloud service provider. The cheapest instance will be selected.
|
|
1592
|
-
*/
|
|
1593
|
-
price_max?: number;
|
|
1594
|
-
/**
|
|
1595
|
-
* Structured array of regions and sub-regions
|
|
1596
|
-
*/
|
|
1597
|
-
regions_struct?: Array<{
|
|
1598
|
-
/**
|
|
1599
|
-
* 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/)
|
|
1600
|
-
*/
|
|
1601
|
-
region?: string;
|
|
1602
|
-
sub_region?: Array<string>;
|
|
1603
|
-
}>;
|
|
1604
|
-
/**
|
|
1605
|
-
* Structured array of regions and sub-regions
|
|
1606
|
-
*/
|
|
1607
|
-
accelerators_struct?: Array<{
|
|
1608
|
-
/**
|
|
1609
|
-
* List of normalized accelerator manufacturer names. For example, all Nvidia GPUs will have 'NVIDIA' as accelerator manufacturer
|
|
1610
|
-
*/
|
|
1611
|
-
accelerator_manufacturer?: string;
|
|
1612
|
-
accelerator_name?: Array<string>;
|
|
1613
|
-
}>;
|
|
1614
|
-
/**
|
|
1615
|
-
* Total number of instances in the catalog
|
|
1616
|
-
*/
|
|
1617
|
-
count_total?: number;
|
|
1618
|
-
/**
|
|
1619
|
-
* Total number of instances in the catalog with at least 1 accelerator
|
|
1620
|
-
*/
|
|
1621
|
-
count_accelerators?: number;
|
|
1622
|
-
/**
|
|
1623
|
-
* Total number of unique instances types in the catalog
|
|
1624
|
-
*/
|
|
1625
|
-
count_instance_types?: number;
|
|
1626
|
-
/**
|
|
1627
|
-
* Total number of unique instances types in the catalog with at least 1 accelerator
|
|
1628
|
-
*/
|
|
1629
|
-
count_accelerators_instance_types?: number;
|
|
1630
|
-
}>;
|
|
1631
|
-
};
|
|
1632
|
-
export type GetFacetsResponse = GetFacetsResponses[keyof GetFacetsResponses];
|
|
1633
|
-
export type GetRegionsData = {
|
|
1634
|
-
body?: never;
|
|
1635
|
-
path?: never;
|
|
1636
|
-
query?: never;
|
|
1637
|
-
url: '/infrastructure/regions';
|
|
1598
|
+
401: unknown;
|
|
1638
1599
|
};
|
|
1639
|
-
export type
|
|
1600
|
+
export type GetJoinInformationResponses = {
|
|
1640
1601
|
/**
|
|
1641
|
-
*
|
|
1602
|
+
* An object of cluster join information
|
|
1642
1603
|
*/
|
|
1643
|
-
200:
|
|
1644
|
-
[key: string]: unknown;
|
|
1645
|
-
};
|
|
1604
|
+
200: ClusterJoinInformation;
|
|
1646
1605
|
};
|
|
1647
|
-
export type
|
|
1606
|
+
export type GetJoinInformationResponse = GetJoinInformationResponses[keyof GetJoinInformationResponses];
|
|
1648
1607
|
export type ListInvitesData = {
|
|
1649
1608
|
body?: never;
|
|
1650
1609
|
path?: never;
|
|
@@ -1717,6 +1676,95 @@ export type DeleteInviteResponses = {
|
|
|
1717
1676
|
*/
|
|
1718
1677
|
200: unknown;
|
|
1719
1678
|
};
|
|
1679
|
+
export type ListMarketplaceChartsData = {
|
|
1680
|
+
body?: never;
|
|
1681
|
+
path?: never;
|
|
1682
|
+
query?: never;
|
|
1683
|
+
url: '/marketplace';
|
|
1684
|
+
};
|
|
1685
|
+
export type ListMarketplaceChartsErrors = {
|
|
1686
|
+
/**
|
|
1687
|
+
* Not authenticated
|
|
1688
|
+
*/
|
|
1689
|
+
401: unknown;
|
|
1690
|
+
};
|
|
1691
|
+
export type ListMarketplaceChartsResponses = {
|
|
1692
|
+
/**
|
|
1693
|
+
* An array of chart listings in the marketplace.
|
|
1694
|
+
*/
|
|
1695
|
+
200: Array<MarketplaceListing>;
|
|
1696
|
+
};
|
|
1697
|
+
export type ListMarketplaceChartsResponse = ListMarketplaceChartsResponses[keyof ListMarketplaceChartsResponses];
|
|
1698
|
+
export type GetMarketplaceChartFilesData = {
|
|
1699
|
+
body?: never;
|
|
1700
|
+
path: {
|
|
1701
|
+
/**
|
|
1702
|
+
* Name of the chart in the marketplace.
|
|
1703
|
+
*/
|
|
1704
|
+
chart_name: string;
|
|
1705
|
+
/**
|
|
1706
|
+
* 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).
|
|
1707
|
+
*/
|
|
1708
|
+
version_channel: string;
|
|
1709
|
+
};
|
|
1710
|
+
query?: never;
|
|
1711
|
+
url: '/marketplace/{chart_name}/files/{version_channel}';
|
|
1712
|
+
};
|
|
1713
|
+
export type GetMarketplaceChartFilesErrors = {
|
|
1714
|
+
/**
|
|
1715
|
+
* Chart not found or no version matches the channel
|
|
1716
|
+
*/
|
|
1717
|
+
404: unknown;
|
|
1718
|
+
};
|
|
1719
|
+
export type GetMarketplaceChartFilesResponses = {
|
|
1720
|
+
/**
|
|
1721
|
+
* Returns an object containing the chart files for the latest matching version.
|
|
1722
|
+
*/
|
|
1723
|
+
200: MarketplaceListingFiles;
|
|
1724
|
+
};
|
|
1725
|
+
export type GetMarketplaceChartFilesResponse = GetMarketplaceChartFilesResponses[keyof GetMarketplaceChartFilesResponses];
|
|
1726
|
+
export type PostMcpData = {
|
|
1727
|
+
/**
|
|
1728
|
+
* JSON-RPC 2.0 request payload
|
|
1729
|
+
*/
|
|
1730
|
+
body: {
|
|
1731
|
+
jsonrpc?: string;
|
|
1732
|
+
method?: string;
|
|
1733
|
+
id?: string | number;
|
|
1734
|
+
/**
|
|
1735
|
+
* Method-specific parameters
|
|
1736
|
+
*/
|
|
1737
|
+
params?: {
|
|
1738
|
+
[key: string]: unknown;
|
|
1739
|
+
};
|
|
1740
|
+
};
|
|
1741
|
+
path?: never;
|
|
1742
|
+
query?: never;
|
|
1743
|
+
url: '/mcp';
|
|
1744
|
+
};
|
|
1745
|
+
export type PostMcpErrors = {
|
|
1746
|
+
/**
|
|
1747
|
+
* Not authenticated
|
|
1748
|
+
*/
|
|
1749
|
+
401: unknown;
|
|
1750
|
+
};
|
|
1751
|
+
export type PostMcpResponses = {
|
|
1752
|
+
/**
|
|
1753
|
+
* JSON-RPC 2.0 success or error response
|
|
1754
|
+
*/
|
|
1755
|
+
200: {
|
|
1756
|
+
jsonrpc?: string;
|
|
1757
|
+
id?: string | number;
|
|
1758
|
+
result?: {
|
|
1759
|
+
[key: string]: unknown;
|
|
1760
|
+
};
|
|
1761
|
+
error?: {
|
|
1762
|
+
code?: number;
|
|
1763
|
+
message?: string;
|
|
1764
|
+
};
|
|
1765
|
+
};
|
|
1766
|
+
};
|
|
1767
|
+
export type PostMcpResponse = PostMcpResponses[keyof PostMcpResponses];
|
|
1720
1768
|
export type GetOrganizationData = {
|
|
1721
1769
|
body?: never;
|
|
1722
1770
|
path?: never;
|
|
@@ -1742,6 +1790,144 @@ export type CreateOrganizationResponses = {
|
|
|
1742
1790
|
*/
|
|
1743
1791
|
200: unknown;
|
|
1744
1792
|
};
|
|
1793
|
+
export type ListRepositoriesData = {
|
|
1794
|
+
body?: never;
|
|
1795
|
+
path?: never;
|
|
1796
|
+
query?: never;
|
|
1797
|
+
url: '/registry';
|
|
1798
|
+
};
|
|
1799
|
+
export type ListRepositoriesErrors = {
|
|
1800
|
+
/**
|
|
1801
|
+
* Not authenticated
|
|
1802
|
+
*/
|
|
1803
|
+
401: unknown;
|
|
1804
|
+
/**
|
|
1805
|
+
* Internal server error
|
|
1806
|
+
*/
|
|
1807
|
+
500: unknown;
|
|
1808
|
+
};
|
|
1809
|
+
export type ListRepositoriesResponses = {
|
|
1810
|
+
/**
|
|
1811
|
+
* List of repositories
|
|
1812
|
+
*/
|
|
1813
|
+
200: Array<RegistryRepository>;
|
|
1814
|
+
};
|
|
1815
|
+
export type ListRepositoriesResponse = ListRepositoriesResponses[keyof ListRepositoriesResponses];
|
|
1816
|
+
export type ListTagsData = {
|
|
1817
|
+
body?: never;
|
|
1818
|
+
path: {
|
|
1819
|
+
/**
|
|
1820
|
+
* Region where the repository is located
|
|
1821
|
+
*/
|
|
1822
|
+
region: string;
|
|
1823
|
+
/**
|
|
1824
|
+
* Name of the repository
|
|
1825
|
+
*/
|
|
1826
|
+
repository: string;
|
|
1827
|
+
};
|
|
1828
|
+
query?: never;
|
|
1829
|
+
url: '/registry/{region}/{repository}';
|
|
1830
|
+
};
|
|
1831
|
+
export type ListTagsErrors = {
|
|
1832
|
+
/**
|
|
1833
|
+
* Not authenticated
|
|
1834
|
+
*/
|
|
1835
|
+
401: unknown;
|
|
1836
|
+
/**
|
|
1837
|
+
* Repository not found
|
|
1838
|
+
*/
|
|
1839
|
+
404: unknown;
|
|
1840
|
+
/**
|
|
1841
|
+
* Internal server error
|
|
1842
|
+
*/
|
|
1843
|
+
500: unknown;
|
|
1844
|
+
};
|
|
1845
|
+
export type ListTagsResponses = {
|
|
1846
|
+
/**
|
|
1847
|
+
* Repository with tags
|
|
1848
|
+
*/
|
|
1849
|
+
200: RegistryRepositoryWithTags;
|
|
1850
|
+
};
|
|
1851
|
+
export type ListTagsResponse = ListTagsResponses[keyof ListTagsResponses];
|
|
1852
|
+
export type DeleteTagData = {
|
|
1853
|
+
body?: never;
|
|
1854
|
+
path: {
|
|
1855
|
+
/**
|
|
1856
|
+
* Region where the repository is located
|
|
1857
|
+
*/
|
|
1858
|
+
region: string;
|
|
1859
|
+
/**
|
|
1860
|
+
* Name of the repository
|
|
1861
|
+
*/
|
|
1862
|
+
repository: string;
|
|
1863
|
+
/**
|
|
1864
|
+
* Name of the tag
|
|
1865
|
+
*/
|
|
1866
|
+
tag: string;
|
|
1867
|
+
};
|
|
1868
|
+
query?: never;
|
|
1869
|
+
url: '/registry/{region}/{repository}/{tag}';
|
|
1870
|
+
};
|
|
1871
|
+
export type DeleteTagErrors = {
|
|
1872
|
+
/**
|
|
1873
|
+
* Not authenticated
|
|
1874
|
+
*/
|
|
1875
|
+
401: unknown;
|
|
1876
|
+
/**
|
|
1877
|
+
* Tag not found
|
|
1878
|
+
*/
|
|
1879
|
+
404: unknown;
|
|
1880
|
+
/**
|
|
1881
|
+
* Internal server error
|
|
1882
|
+
*/
|
|
1883
|
+
500: unknown;
|
|
1884
|
+
};
|
|
1885
|
+
export type DeleteTagResponses = {
|
|
1886
|
+
/**
|
|
1887
|
+
* Tag successfully deleted
|
|
1888
|
+
*/
|
|
1889
|
+
200: unknown;
|
|
1890
|
+
};
|
|
1891
|
+
export type GetTagData = {
|
|
1892
|
+
body?: never;
|
|
1893
|
+
path: {
|
|
1894
|
+
/**
|
|
1895
|
+
* Region where the repository is located
|
|
1896
|
+
*/
|
|
1897
|
+
region: string;
|
|
1898
|
+
/**
|
|
1899
|
+
* Name of the repository
|
|
1900
|
+
*/
|
|
1901
|
+
repository: string;
|
|
1902
|
+
/**
|
|
1903
|
+
* Name of the tag
|
|
1904
|
+
*/
|
|
1905
|
+
tag: string;
|
|
1906
|
+
};
|
|
1907
|
+
query?: never;
|
|
1908
|
+
url: '/registry/{region}/{repository}/{tag}';
|
|
1909
|
+
};
|
|
1910
|
+
export type GetTagErrors = {
|
|
1911
|
+
/**
|
|
1912
|
+
* Not authenticated
|
|
1913
|
+
*/
|
|
1914
|
+
401: unknown;
|
|
1915
|
+
/**
|
|
1916
|
+
* Tag not found
|
|
1917
|
+
*/
|
|
1918
|
+
404: unknown;
|
|
1919
|
+
/**
|
|
1920
|
+
* Internal server error
|
|
1921
|
+
*/
|
|
1922
|
+
500: unknown;
|
|
1923
|
+
};
|
|
1924
|
+
export type GetTagResponses = {
|
|
1925
|
+
/**
|
|
1926
|
+
* Tag details
|
|
1927
|
+
*/
|
|
1928
|
+
200: RegistryTag;
|
|
1929
|
+
};
|
|
1930
|
+
export type GetTagResponse = GetTagResponses[keyof GetTagResponses];
|
|
1745
1931
|
export type ListTokensData = {
|
|
1746
1932
|
body?: never;
|
|
1747
1933
|
path?: never;
|
|
@@ -1998,56 +2184,4 @@ export type UpdateUserResponses = {
|
|
|
1998
2184
|
200: User;
|
|
1999
2185
|
};
|
|
2000
2186
|
export type UpdateUserResponse = UpdateUserResponses[keyof UpdateUserResponses];
|
|
2001
|
-
export type DeleteClusterPermissionsData = {
|
|
2002
|
-
body?: never;
|
|
2003
|
-
path: {
|
|
2004
|
-
/**
|
|
2005
|
-
* Unique user identifier. UUID v4 string in canonical form
|
|
2006
|
-
*/
|
|
2007
|
-
user_id: string;
|
|
2008
|
-
/**
|
|
2009
|
-
* Unique cluster identifier. UUID v4 string in canonical form
|
|
2010
|
-
*/
|
|
2011
|
-
cluster_id: string;
|
|
2012
|
-
};
|
|
2013
|
-
query?: never;
|
|
2014
|
-
url: '/users/{user_id}/clusters/{cluster_id}';
|
|
2015
|
-
};
|
|
2016
|
-
export type DeleteClusterPermissionsResponses = {
|
|
2017
|
-
/**
|
|
2018
|
-
* Successfully removed user from the cluster. Returns updated user details.
|
|
2019
|
-
*/
|
|
2020
|
-
200: User;
|
|
2021
|
-
};
|
|
2022
|
-
export type DeleteClusterPermissionsResponse = DeleteClusterPermissionsResponses[keyof DeleteClusterPermissionsResponses];
|
|
2023
|
-
export type SetClusterPermissionsData = {
|
|
2024
|
-
body: {
|
|
2025
|
-
/**
|
|
2026
|
-
* Level of permissions for the user to access the cluster
|
|
2027
|
-
*/
|
|
2028
|
-
permissions?: 'readwrite' | 'readonly';
|
|
2029
|
-
};
|
|
2030
|
-
path: {
|
|
2031
|
-
/**
|
|
2032
|
-
* Unique user identifier. UUID v4 string in canonical form
|
|
2033
|
-
*/
|
|
2034
|
-
user_id: string;
|
|
2035
|
-
/**
|
|
2036
|
-
* Unique cluster identifier. UUID v4 string in canonical form
|
|
2037
|
-
*/
|
|
2038
|
-
cluster_id: string;
|
|
2039
|
-
};
|
|
2040
|
-
query?: never;
|
|
2041
|
-
url: '/users/{user_id}/clusters/{cluster_id}';
|
|
2042
|
-
};
|
|
2043
|
-
export type SetClusterPermissionsResponses = {
|
|
2044
|
-
/**
|
|
2045
|
-
* Successfully created. Returns created user details.
|
|
2046
|
-
*/
|
|
2047
|
-
200: User;
|
|
2048
|
-
};
|
|
2049
|
-
export type SetClusterPermissionsResponse = SetClusterPermissionsResponses[keyof SetClusterPermissionsResponses];
|
|
2050
|
-
export type ClientOptions = {
|
|
2051
|
-
baseUrl: 'https://api.cloudfleet.ai/v1' | (string & {});
|
|
2052
|
-
};
|
|
2053
2187
|
//# sourceMappingURL=types.gen.d.ts.map
|