@cloudfleet/sdk 0.0.1-a92e617 → 0.0.1-a9ac9eb
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/@tanstack/react-query.gen.d.ts +1125 -0
- package/dist/@tanstack/react-query.gen.d.ts.map +1 -0
- package/dist/@tanstack/react-query.gen.js +1129 -0
- package/dist/@tanstack/react-query.gen.js.map +1 -0
- 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 +220 -0
- package/dist/client/client.gen.js.map +1 -0
- package/dist/client/index.d.ts +8 -7
- package/dist/client/index.d.ts.map +1 -1
- package/dist/client/index.js +6 -4
- package/dist/client/index.js.map +1 -1
- package/dist/client/{types.d.ts → types.gen.d.ts} +23 -22
- 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.d.ts → utils.gen.d.ts} +15 -23
- package/dist/client/utils.gen.d.ts.map +1 -0
- package/dist/client/{utils.js → utils.gen.js} +63 -119
- package/dist/client/utils.gen.js.map +1 -0
- package/dist/client.gen.d.ts +3 -3
- package/dist/client.gen.d.ts.map +1 -1
- package/dist/client.gen.js +1 -3
- package/dist/client.gen.js.map +1 -1
- package/dist/core/{auth.d.ts → auth.gen.d.ts} +1 -1
- package/dist/core/auth.gen.d.ts.map +1 -0
- package/dist/core/{auth.js → auth.gen.js} +2 -1
- 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.js → bodySerializer.gen.js} +6 -2
- package/dist/core/bodySerializer.gen.js.map +1 -0
- package/dist/core/{params.d.ts → params.gen.d.ts} +21 -1
- package/dist/core/params.gen.d.ts.map +1 -0
- package/dist/core/{params.js → params.gen.js} +20 -7
- package/dist/core/params.gen.js.map +1 -0
- package/dist/core/{pathSerializer.d.ts → pathSerializer.gen.d.ts} +1 -1
- package/dist/core/pathSerializer.gen.d.ts.map +1 -0
- package/dist/core/{pathSerializer.js → pathSerializer.gen.js} +5 -12
- 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 +133 -0
- package/dist/core/serverSentEvents.gen.js.map +1 -0
- package/dist/core/{types.d.ts → types.gen.d.ts} +21 -16
- 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/schemas.gen.d.ts +1330 -596
- package/dist/schemas.gen.d.ts.map +1 -1
- package/dist/schemas.gen.js +2666 -688
- package/dist/schemas.gen.js.map +1 -1
- package/dist/sdk.gen.d.ts +130 -20
- package/dist/sdk.gen.d.ts.map +1 -1
- package/dist/sdk.gen.js +217 -164
- package/dist/sdk.gen.js.map +1 -1
- package/dist/services/kubernetes/api.d.ts +20 -20
- package/dist/types.gen.d.ts +1061 -361
- package/dist/types.gen.d.ts.map +1 -1
- package/dist/zod.gen.d.ts +3562 -3592
- package/dist/zod.gen.d.ts.map +1 -1
- package/dist/zod.gen.js +1195 -1056
- package/dist/zod.gen.js.map +1 -1
- package/package.json +29 -6
- package/dist/client/client.d.ts +0 -3
- package/dist/client/client.d.ts.map +0 -1
- package/dist/client/client.js +0 -144
- package/dist/client/client.js.map +0 -1
- package/dist/client/types.d.ts.map +0 -1
- package/dist/client/types.js +0 -2
- package/dist/client/types.js.map +0 -1
- package/dist/client/utils.d.ts.map +0 -1
- package/dist/client/utils.js.map +0 -1
- package/dist/core/auth.d.ts.map +0 -1
- package/dist/core/auth.js.map +0 -1
- package/dist/core/bodySerializer.d.ts +0 -18
- package/dist/core/bodySerializer.d.ts.map +0 -1
- package/dist/core/bodySerializer.js.map +0 -1
- package/dist/core/params.d.ts.map +0 -1
- package/dist/core/params.js.map +0 -1
- package/dist/core/pathSerializer.d.ts.map +0 -1
- package/dist/core/pathSerializer.js.map +0 -1
- package/dist/core/types.d.ts.map +0 -1
- package/dist/core/types.js +0 -2
- package/dist/core/types.js.map +0 -1
package/dist/schemas.gen.js
CHANGED
|
@@ -2,6 +2,15 @@
|
|
|
2
2
|
export const BillingContactSchema = {
|
|
3
3
|
type: 'object',
|
|
4
4
|
properties: {
|
|
5
|
+
type: {
|
|
6
|
+
type: 'string',
|
|
7
|
+
description: 'Type of the organization. `business` for legal entities, `personal` for individuals.',
|
|
8
|
+
example: 'business',
|
|
9
|
+
enum: [
|
|
10
|
+
'business',
|
|
11
|
+
'personal'
|
|
12
|
+
]
|
|
13
|
+
},
|
|
5
14
|
company: {
|
|
6
15
|
type: 'string',
|
|
7
16
|
maxLength: 120,
|
|
@@ -58,15 +67,10 @@ export const BillingContactSchema = {
|
|
|
58
67
|
description: 'Email address used for billing as a string.',
|
|
59
68
|
example: 'email@example.com'
|
|
60
69
|
},
|
|
61
|
-
|
|
62
|
-
type: 'string',
|
|
63
|
-
description: 'First name of the billing contact person.',
|
|
64
|
-
example: 'John'
|
|
65
|
-
},
|
|
66
|
-
last_name: {
|
|
70
|
+
individual_name: {
|
|
67
71
|
type: 'string',
|
|
68
|
-
description: '
|
|
69
|
-
example: 'Doe'
|
|
72
|
+
description: 'Name of the billing contact person.',
|
|
73
|
+
example: 'John Doe'
|
|
70
74
|
},
|
|
71
75
|
tax_id: {
|
|
72
76
|
type: 'string',
|
|
@@ -79,10 +83,143 @@ export const BillingContactSchema = {
|
|
|
79
83
|
nullable: true,
|
|
80
84
|
description: 'Type of the tax ID.',
|
|
81
85
|
example: 'de_vat',
|
|
82
|
-
enum: [
|
|
86
|
+
enum: [
|
|
87
|
+
'ad_nrt',
|
|
88
|
+
'ae_trn',
|
|
89
|
+
'al_tin',
|
|
90
|
+
'am_tin',
|
|
91
|
+
'ao_tin',
|
|
92
|
+
'ar_cuit',
|
|
93
|
+
'at_vat',
|
|
94
|
+
'au_abn',
|
|
95
|
+
'au_arn',
|
|
96
|
+
'ba_tin',
|
|
97
|
+
'bb_tin',
|
|
98
|
+
'be_vat',
|
|
99
|
+
'bg_uic',
|
|
100
|
+
'bg_vat',
|
|
101
|
+
'bh_vat',
|
|
102
|
+
'bo_tin',
|
|
103
|
+
'br_cnpj',
|
|
104
|
+
'br_cpf',
|
|
105
|
+
'bs_tin',
|
|
106
|
+
'by_tin',
|
|
107
|
+
'ca_bn',
|
|
108
|
+
'ca_gst_hst',
|
|
109
|
+
'ca_pst_bc',
|
|
110
|
+
'ca_pst_mb',
|
|
111
|
+
'ca_pst_sk',
|
|
112
|
+
'ca_qst',
|
|
113
|
+
'cd_nif',
|
|
114
|
+
'ch_uid',
|
|
115
|
+
'ch_vat',
|
|
116
|
+
'cl_tin',
|
|
117
|
+
'cn_tin',
|
|
118
|
+
'co_nit',
|
|
119
|
+
'cr_tin',
|
|
120
|
+
'cy_vat',
|
|
121
|
+
'cz_vat',
|
|
122
|
+
'de_stn',
|
|
123
|
+
'de_vat',
|
|
124
|
+
'dk_vat',
|
|
125
|
+
'do_rcn',
|
|
126
|
+
'ec_ruc',
|
|
127
|
+
'ee_vat',
|
|
128
|
+
'eg_tin',
|
|
129
|
+
'es_cif',
|
|
130
|
+
'es_vat',
|
|
131
|
+
'eu_oss_vat',
|
|
132
|
+
'fi_vat',
|
|
133
|
+
'fr_vat',
|
|
134
|
+
'gb_vat',
|
|
135
|
+
'ge_vat',
|
|
136
|
+
'gn_nif',
|
|
137
|
+
'gr_vat',
|
|
138
|
+
'hk_br',
|
|
139
|
+
'hr_oib',
|
|
140
|
+
'hr_vat',
|
|
141
|
+
'hu_tin',
|
|
142
|
+
'hu_vat',
|
|
143
|
+
'id_npwp',
|
|
144
|
+
'ie_vat',
|
|
145
|
+
'il_vat',
|
|
146
|
+
'in_gst',
|
|
147
|
+
'is_vat',
|
|
148
|
+
'it_vat',
|
|
149
|
+
'jp_cn',
|
|
150
|
+
'jp_rn',
|
|
151
|
+
'jp_trn',
|
|
152
|
+
'ke_pin',
|
|
153
|
+
'kh_tin',
|
|
154
|
+
'kr_brn',
|
|
155
|
+
'kz_bin',
|
|
156
|
+
'li_uid',
|
|
157
|
+
'li_vat',
|
|
158
|
+
'lt_vat',
|
|
159
|
+
'lu_vat',
|
|
160
|
+
'lv_vat',
|
|
161
|
+
'ma_vat',
|
|
162
|
+
'md_vat',
|
|
163
|
+
'me_pib',
|
|
164
|
+
'mk_vat',
|
|
165
|
+
'mr_nif',
|
|
166
|
+
'mt_vat',
|
|
167
|
+
'mx_rfc',
|
|
168
|
+
'my_frp',
|
|
169
|
+
'my_itn',
|
|
170
|
+
'my_sst',
|
|
171
|
+
'ng_tin',
|
|
172
|
+
'nl_vat',
|
|
173
|
+
'no_vat',
|
|
174
|
+
'no_voec',
|
|
175
|
+
'np_pan',
|
|
176
|
+
'nz_gst',
|
|
177
|
+
'om_vat',
|
|
178
|
+
'pe_ruc',
|
|
179
|
+
'ph_tin',
|
|
180
|
+
'pl_vat',
|
|
181
|
+
'pt_vat',
|
|
182
|
+
'ro_tin',
|
|
183
|
+
'ro_vat',
|
|
184
|
+
'rs_pib',
|
|
185
|
+
'ru_inn',
|
|
186
|
+
'ru_kpp',
|
|
187
|
+
'sa_vat',
|
|
188
|
+
'se_vat',
|
|
189
|
+
'sg_gst',
|
|
190
|
+
'sg_uen',
|
|
191
|
+
'si_tin',
|
|
192
|
+
'si_vat',
|
|
193
|
+
'sk_vat',
|
|
194
|
+
'sn_ninea',
|
|
195
|
+
'sr_fin',
|
|
196
|
+
'sv_nit',
|
|
197
|
+
'th_vat',
|
|
198
|
+
'tj_tin',
|
|
199
|
+
'tr_tin',
|
|
200
|
+
'tw_vat',
|
|
201
|
+
'tz_vat',
|
|
202
|
+
'ua_vat',
|
|
203
|
+
'ug_tin',
|
|
204
|
+
'us_ein',
|
|
205
|
+
'uy_ruc',
|
|
206
|
+
'uz_tin',
|
|
207
|
+
'uz_vat',
|
|
208
|
+
've_rif',
|
|
209
|
+
'vn_tin',
|
|
210
|
+
'xi_vat',
|
|
211
|
+
'za_vat',
|
|
212
|
+
'zm_tin',
|
|
213
|
+
'zw_tin',
|
|
214
|
+
''
|
|
215
|
+
]
|
|
83
216
|
}
|
|
84
217
|
},
|
|
85
|
-
required: [
|
|
218
|
+
required: [
|
|
219
|
+
'type',
|
|
220
|
+
'email',
|
|
221
|
+
'individual_name'
|
|
222
|
+
],
|
|
86
223
|
additionalProperties: false
|
|
87
224
|
};
|
|
88
225
|
export const BillingCreditsSchema = {
|
|
@@ -93,10 +230,25 @@ export const BillingCreditsSchema = {
|
|
|
93
230
|
description: 'Generated unique identifier of the promotional code.',
|
|
94
231
|
example: '7kUZnH7nnKUFfvc4NK2KQF'
|
|
95
232
|
},
|
|
96
|
-
|
|
233
|
+
type: {
|
|
234
|
+
type: 'string',
|
|
235
|
+
description: 'Type of the promotional code.',
|
|
236
|
+
example: 'credit',
|
|
237
|
+
enum: [
|
|
238
|
+
'credit',
|
|
239
|
+
'discount'
|
|
240
|
+
]
|
|
241
|
+
},
|
|
242
|
+
date_start: {
|
|
243
|
+
type: 'string',
|
|
244
|
+
format: 'date-time',
|
|
245
|
+
description: 'Timestamp when the credit becomes active. ISO 8601 date string in the UTC timezone.',
|
|
246
|
+
example: '2023-12-20T13:53:32.000Z'
|
|
247
|
+
},
|
|
248
|
+
date_end: {
|
|
97
249
|
type: 'string',
|
|
98
250
|
format: 'date-time',
|
|
99
|
-
description: '
|
|
251
|
+
description: 'Timestamp when the credit expires or becomes inactive. ISO 8601 date string in the UTC timezone.',
|
|
100
252
|
example: '2023-12-20T13:53:32.000Z'
|
|
101
253
|
},
|
|
102
254
|
code: {
|
|
@@ -109,40 +261,25 @@ export const BillingCreditsSchema = {
|
|
|
109
261
|
description: 'Description of the promotional code.',
|
|
110
262
|
example: '10% off on all products'
|
|
111
263
|
},
|
|
112
|
-
|
|
113
|
-
type: 'array',
|
|
114
|
-
items: {
|
|
115
|
-
type: 'string'
|
|
116
|
-
},
|
|
117
|
-
description: 'List of product SKUs that the promotional code can be used on.',
|
|
118
|
-
example: ['cfke_controlplane', 'cfke_connected_nodes', 'infra_compute', 'infra_storage', 'infra_loadbalancing', 'infra_traffic', 'cfcr_storage']
|
|
119
|
-
},
|
|
120
|
-
type: {
|
|
121
|
-
type: 'string',
|
|
122
|
-
description: 'Type of the promotional code.',
|
|
123
|
-
example: 'credit',
|
|
124
|
-
enum: ['credit', 'discount']
|
|
125
|
-
},
|
|
126
|
-
value: {
|
|
264
|
+
value_total: {
|
|
127
265
|
type: 'number',
|
|
128
266
|
format: 'float',
|
|
129
|
-
description: '
|
|
267
|
+
description: 'Total value of the promotional code.',
|
|
130
268
|
example: 10
|
|
131
269
|
},
|
|
132
|
-
billing_period: {
|
|
133
|
-
type: 'string',
|
|
134
|
-
format: 'date-time',
|
|
135
|
-
description: 'Date of the billing cycle. An ISO 8601 date string in the UTC timezone.',
|
|
136
|
-
example: '2023-12-20T13:53:32.000Z'
|
|
137
|
-
},
|
|
138
270
|
value_remaining: {
|
|
139
271
|
type: 'number',
|
|
140
272
|
format: 'float',
|
|
141
|
-
description: '
|
|
142
|
-
example:
|
|
273
|
+
description: 'Remaining value of the promotional code.',
|
|
274
|
+
example: 8
|
|
143
275
|
}
|
|
144
276
|
},
|
|
145
|
-
required: [
|
|
277
|
+
required: [
|
|
278
|
+
'type',
|
|
279
|
+
'date_start',
|
|
280
|
+
'code',
|
|
281
|
+
'value_total'
|
|
282
|
+
],
|
|
146
283
|
additionalProperties: false
|
|
147
284
|
};
|
|
148
285
|
export const ChartCreateInputSchema = {
|
|
@@ -183,7 +320,13 @@ export const ChartCreateInputSchema = {
|
|
|
183
320
|
example: 'postgresql'
|
|
184
321
|
}
|
|
185
322
|
},
|
|
186
|
-
required: [
|
|
323
|
+
required: [
|
|
324
|
+
'values',
|
|
325
|
+
'version_channel',
|
|
326
|
+
'name',
|
|
327
|
+
'namespace',
|
|
328
|
+
'chart'
|
|
329
|
+
],
|
|
187
330
|
additionalProperties: false
|
|
188
331
|
};
|
|
189
332
|
export const ChartSchema = {
|
|
@@ -227,7 +370,22 @@ export const ChartSchema = {
|
|
|
227
370
|
type: 'string',
|
|
228
371
|
description: 'Status of the chart deployment.',
|
|
229
372
|
example: 'active',
|
|
230
|
-
enum: [
|
|
373
|
+
enum: [
|
|
374
|
+
'InstallSucceeded',
|
|
375
|
+
'InstallFailed',
|
|
376
|
+
'UpgradeSucceeded',
|
|
377
|
+
'UpgradeFailed',
|
|
378
|
+
'TestSucceeded',
|
|
379
|
+
'TestFailed',
|
|
380
|
+
'RollbackSucceeded',
|
|
381
|
+
'RollbackFailed',
|
|
382
|
+
'UninstallSucceeded',
|
|
383
|
+
'UninstallFailed',
|
|
384
|
+
'ArtifactFailed',
|
|
385
|
+
'DependencyNotReady',
|
|
386
|
+
'Progressing',
|
|
387
|
+
'SourceNotReady'
|
|
388
|
+
]
|
|
231
389
|
},
|
|
232
390
|
version_current: {
|
|
233
391
|
type: 'string',
|
|
@@ -250,7 +408,18 @@ export const ChartSchema = {
|
|
|
250
408
|
example: true
|
|
251
409
|
}
|
|
252
410
|
},
|
|
253
|
-
required: [
|
|
411
|
+
required: [
|
|
412
|
+
'values',
|
|
413
|
+
'version_channel',
|
|
414
|
+
'name',
|
|
415
|
+
'namespace',
|
|
416
|
+
'chart',
|
|
417
|
+
'status',
|
|
418
|
+
'version_current',
|
|
419
|
+
'created_at',
|
|
420
|
+
'updated_at',
|
|
421
|
+
'ready'
|
|
422
|
+
],
|
|
254
423
|
additionalProperties: false
|
|
255
424
|
};
|
|
256
425
|
export const ChartUpdateInputSchema = {
|
|
@@ -267,7 +436,10 @@ export const ChartUpdateInputSchema = {
|
|
|
267
436
|
example: '2.x.x-cfke.x'
|
|
268
437
|
}
|
|
269
438
|
},
|
|
270
|
-
required: [
|
|
439
|
+
required: [
|
|
440
|
+
'values',
|
|
441
|
+
'version_channel'
|
|
442
|
+
],
|
|
271
443
|
additionalProperties: false
|
|
272
444
|
};
|
|
273
445
|
export const ClusterCreateInputSchema = {
|
|
@@ -285,24 +457,41 @@ export const ClusterCreateInputSchema = {
|
|
|
285
457
|
type: 'string',
|
|
286
458
|
description: 'Tier of the cluster.',
|
|
287
459
|
example: 'pro',
|
|
288
|
-
enum: [
|
|
460
|
+
enum: [
|
|
461
|
+
'basic',
|
|
462
|
+
'pro'
|
|
463
|
+
]
|
|
289
464
|
},
|
|
290
465
|
region: {
|
|
291
466
|
type: 'string',
|
|
292
|
-
description: 'Cloudfleet control plane region. One of "staging", "northamerica-central-1", "europe-central-1a". This field can not be updated after creation.',
|
|
293
|
-
default: 'staging',
|
|
294
|
-
example: 'northamerica-central-
|
|
295
|
-
enum: [
|
|
467
|
+
description: '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.',
|
|
468
|
+
default: 'staging-1a',
|
|
469
|
+
example: 'northamerica-central-1a',
|
|
470
|
+
enum: [
|
|
471
|
+
'staging-1a',
|
|
472
|
+
'northamerica-central-1',
|
|
473
|
+
'europe-central-1a',
|
|
474
|
+
'northamerica-central-1a'
|
|
475
|
+
]
|
|
296
476
|
},
|
|
297
477
|
version_channel: {
|
|
298
478
|
type: 'string',
|
|
299
479
|
pattern: '^(x|X|0|[1-9]\\d*)\\.(x|X|0|[1-9]\\d*)\\.(x|X|0|[1-9]\\d*)(?:-((?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\\.(?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\\+([0-9a-zA-Z-]+(?:\\.[0-9a-zA-Z-]+)*))?$',
|
|
300
480
|
description: 'Version of the kubernetes cluster.',
|
|
301
481
|
default: '1.x.x-cfke.x',
|
|
302
|
-
example: '1.
|
|
482
|
+
example: '1.x.x-cfke.x',
|
|
483
|
+
enum: [
|
|
484
|
+
'1.x.x-cfke.x',
|
|
485
|
+
'1.31.x-cfke.x',
|
|
486
|
+
'1.32.x-cfke.x',
|
|
487
|
+
'1.33.x-cfke.x'
|
|
488
|
+
]
|
|
303
489
|
}
|
|
304
490
|
},
|
|
305
|
-
required: [
|
|
491
|
+
required: [
|
|
492
|
+
'name',
|
|
493
|
+
'tier'
|
|
494
|
+
],
|
|
306
495
|
additionalProperties: false
|
|
307
496
|
};
|
|
308
497
|
export const ClusterJoinInformationSchema = {
|
|
@@ -311,8 +500,7 @@ export const ClusterJoinInformationSchema = {
|
|
|
311
500
|
certificate_authority: {
|
|
312
501
|
type: 'string',
|
|
313
502
|
description: 'Certificate authority data for the kubernetes cluster. This is the root certificate authority for the cluster.',
|
|
314
|
-
example:
|
|
315
|
-
MIIC0DCCAbigAwIBAgI...`
|
|
503
|
+
example: '-----BEGIN CERTIFICATE-----\nMIIC0DCCAbigAwIBAgI...'
|
|
316
504
|
},
|
|
317
505
|
endpoint: {
|
|
318
506
|
type: 'string',
|
|
@@ -320,6 +508,11 @@ MIIC0DCCAbigAwIBAgI...`
|
|
|
320
508
|
description: 'Internal URL of the Kubernetes cluster control plane. This is the endpoint that kubelet uses to connect to the cluster.',
|
|
321
509
|
example: 'https://10.31.64.7:6443'
|
|
322
510
|
},
|
|
511
|
+
cluster_dns: {
|
|
512
|
+
type: 'string',
|
|
513
|
+
description: 'Cluster DNS IP address. This is the IP address of the kube-dns service in the cluster.',
|
|
514
|
+
example: '10.96.0.10'
|
|
515
|
+
},
|
|
323
516
|
auth_key: {
|
|
324
517
|
type: 'string',
|
|
325
518
|
description: 'Authentication key for the cluster.',
|
|
@@ -336,7 +529,7 @@ MIIC0DCCAbigAwIBAgI...`
|
|
|
336
529
|
kubernetes: {
|
|
337
530
|
type: 'string',
|
|
338
531
|
description: 'Kubernetes version of the cluster.',
|
|
339
|
-
example: '1.
|
|
532
|
+
example: '1.33.7'
|
|
340
533
|
},
|
|
341
534
|
tailscale: {
|
|
342
535
|
type: 'string',
|
|
@@ -347,9 +540,19 @@ MIIC0DCCAbigAwIBAgI...`
|
|
|
347
540
|
type: 'string',
|
|
348
541
|
description: 'Containerd version of the cluster.',
|
|
349
542
|
example: '1.7.19'
|
|
543
|
+
},
|
|
544
|
+
nvidia_driver: {
|
|
545
|
+
type: 'string',
|
|
546
|
+
description: 'NVIDIA driver version of the cluster.',
|
|
547
|
+
example: '565.0.0'
|
|
350
548
|
}
|
|
351
549
|
},
|
|
352
|
-
required: [
|
|
550
|
+
required: [
|
|
551
|
+
'kubernetes',
|
|
552
|
+
'tailscale',
|
|
553
|
+
'containerd',
|
|
554
|
+
'nvidia_driver'
|
|
555
|
+
],
|
|
353
556
|
additionalProperties: false,
|
|
354
557
|
description: 'Versions of the different components of the cluster.'
|
|
355
558
|
},
|
|
@@ -372,12 +575,24 @@ MIIC0DCCAbigAwIBAgI...`
|
|
|
372
575
|
example: '//iam.googleapis.com/projects/89014267864/locations/global/workloadIdentityPools/cfke/providers/oidc'
|
|
373
576
|
}
|
|
374
577
|
},
|
|
375
|
-
required: [
|
|
578
|
+
required: [
|
|
579
|
+
'metadata_url',
|
|
580
|
+
'aws_role_arn',
|
|
581
|
+
'gcp_workload_identity_provider'
|
|
582
|
+
],
|
|
376
583
|
additionalProperties: false,
|
|
377
|
-
description:
|
|
584
|
+
description: 'OIDC Information for hosts to access to third party API\'s.'
|
|
378
585
|
}
|
|
379
586
|
},
|
|
380
|
-
required: [
|
|
587
|
+
required: [
|
|
588
|
+
'certificate_authority',
|
|
589
|
+
'endpoint',
|
|
590
|
+
'cluster_dns',
|
|
591
|
+
'auth_key',
|
|
592
|
+
'bootstrap_token',
|
|
593
|
+
'versions',
|
|
594
|
+
'third_party_api_access_config'
|
|
595
|
+
],
|
|
381
596
|
additionalProperties: false
|
|
382
597
|
};
|
|
383
598
|
export const ClusterSchema = {
|
|
@@ -395,21 +610,22 @@ export const ClusterSchema = {
|
|
|
395
610
|
type: 'string',
|
|
396
611
|
description: 'Tier of the cluster.',
|
|
397
612
|
example: 'pro',
|
|
398
|
-
enum: [
|
|
613
|
+
enum: [
|
|
614
|
+
'basic',
|
|
615
|
+
'pro'
|
|
616
|
+
]
|
|
399
617
|
},
|
|
400
618
|
region: {
|
|
401
619
|
type: 'string',
|
|
402
|
-
description: 'Cloudfleet control plane region. One of "staging", "northamerica-central-1", "europe-central-1a". This field can not be updated after creation.',
|
|
403
|
-
default: 'staging',
|
|
404
|
-
example: 'northamerica-central-
|
|
405
|
-
enum: [
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
default: '1.x.x-cfke.x',
|
|
412
|
-
example: '1.29.x-cfke.x'
|
|
620
|
+
description: '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.',
|
|
621
|
+
default: 'staging-1a',
|
|
622
|
+
example: 'northamerica-central-1a',
|
|
623
|
+
enum: [
|
|
624
|
+
'staging-1a',
|
|
625
|
+
'northamerica-central-1',
|
|
626
|
+
'europe-central-1a',
|
|
627
|
+
'northamerica-central-1a'
|
|
628
|
+
]
|
|
413
629
|
},
|
|
414
630
|
id: {
|
|
415
631
|
type: 'string',
|
|
@@ -421,32 +637,57 @@ export const ClusterSchema = {
|
|
|
421
637
|
type: 'string',
|
|
422
638
|
description: 'Status of the cluster. When creating a new cluster, set to `active`. When deleting a clusters, set to `deleted`.',
|
|
423
639
|
example: 'active',
|
|
424
|
-
enum: [
|
|
640
|
+
enum: [
|
|
641
|
+
'active',
|
|
642
|
+
'disabled',
|
|
643
|
+
'deleted',
|
|
644
|
+
'creating',
|
|
645
|
+
'deployed',
|
|
646
|
+
'failed',
|
|
647
|
+
'updating'
|
|
648
|
+
]
|
|
425
649
|
},
|
|
426
650
|
endpoint: {
|
|
427
651
|
anyOf: [
|
|
428
652
|
{
|
|
429
653
|
type: 'string',
|
|
430
654
|
format: 'uri',
|
|
431
|
-
description: 'URL of the Kubernetes cluster control plane. This is the endpoint that kubectl uses to connect to the cluster.',
|
|
655
|
+
description: 'URL signed by the private CA of the Kubernetes cluster control plane. This is the endpoint that kubectl uses to connect to the cluster. (Deprecated, use endpoint_public instead)',
|
|
432
656
|
example: 'https://2ae6557c-c61f-49c6-b4c1-a65473470a03.staging.cfke.cloudfleet.dev:6443'
|
|
433
657
|
},
|
|
434
658
|
{
|
|
435
659
|
type: 'string',
|
|
436
|
-
enum: [
|
|
660
|
+
enum: [
|
|
661
|
+
''
|
|
662
|
+
]
|
|
663
|
+
}
|
|
664
|
+
]
|
|
665
|
+
},
|
|
666
|
+
endpoint_public: {
|
|
667
|
+
anyOf: [
|
|
668
|
+
{
|
|
669
|
+
type: 'string',
|
|
670
|
+
format: 'uri',
|
|
671
|
+
description: 'URL signed by a public CA of the Kubernetes cluster control plane. This is the endpoint that kubectl uses to connect to the cluster.',
|
|
672
|
+
example: 'https://2ae6557c-c61f-49c6-b4c1-a65473470a03.staging.cfke.io'
|
|
673
|
+
},
|
|
674
|
+
{
|
|
675
|
+
type: 'string',
|
|
676
|
+
enum: [
|
|
677
|
+
''
|
|
678
|
+
]
|
|
437
679
|
}
|
|
438
680
|
]
|
|
439
681
|
},
|
|
440
682
|
certificate_ca: {
|
|
441
683
|
type: 'string',
|
|
442
684
|
description: 'Certificate authority data for the kubernetes cluster. This is the root certificate authority for the cluster.',
|
|
443
|
-
example:
|
|
444
|
-
MIIC0DCCAbigAwIBAgI...`
|
|
685
|
+
example: '-----BEGIN CERTIFICATE-----\nMIIC0DCCAbigAwIBAgI...'
|
|
445
686
|
},
|
|
446
687
|
version_current: {
|
|
447
688
|
type: 'string',
|
|
448
689
|
description: 'Current version of the cluster.',
|
|
449
|
-
example: '1.
|
|
690
|
+
example: '1.33.7-cfke.264'
|
|
450
691
|
},
|
|
451
692
|
created_at: {
|
|
452
693
|
type: 'string',
|
|
@@ -462,9 +703,20 @@ MIIC0DCCAbigAwIBAgI...`
|
|
|
462
703
|
type: 'boolean',
|
|
463
704
|
description: 'Indicates if the cluster is ready to be used.',
|
|
464
705
|
example: true
|
|
706
|
+
},
|
|
707
|
+
version_channel: {
|
|
708
|
+
type: 'string',
|
|
709
|
+
pattern: '^(x|X|0|[1-9]\\d*)\\.(x|X|0|[1-9]\\d*)\\.(x|X|0|[1-9]\\d*)(?:-((?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\\.(?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\\+([0-9a-zA-Z-]+(?:\\.[0-9a-zA-Z-]+)*))?$',
|
|
710
|
+
description: 'Version of the kubernetes cluster.',
|
|
711
|
+
example: '1.x.x-cfke.x'
|
|
465
712
|
}
|
|
466
713
|
},
|
|
467
|
-
required: [
|
|
714
|
+
required: [
|
|
715
|
+
'name',
|
|
716
|
+
'tier',
|
|
717
|
+
'id',
|
|
718
|
+
'status'
|
|
719
|
+
],
|
|
468
720
|
additionalProperties: false
|
|
469
721
|
};
|
|
470
722
|
export const ClusterUpdateInputSchema = {
|
|
@@ -482,16 +734,21 @@ export const ClusterUpdateInputSchema = {
|
|
|
482
734
|
type: 'string',
|
|
483
735
|
description: 'Tier of the cluster.',
|
|
484
736
|
example: 'pro',
|
|
485
|
-
enum: [
|
|
737
|
+
enum: [
|
|
738
|
+
'basic',
|
|
739
|
+
'pro'
|
|
740
|
+
]
|
|
486
741
|
},
|
|
487
742
|
version_channel: {
|
|
488
743
|
type: 'string',
|
|
489
744
|
pattern: '^(x|X|0|[1-9]\\d*)\\.(x|X|0|[1-9]\\d*)\\.(x|X|0|[1-9]\\d*)(?:-((?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\\.(?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\\+([0-9a-zA-Z-]+(?:\\.[0-9a-zA-Z-]+)*))?$',
|
|
490
745
|
description: 'Version of the kubernetes cluster.',
|
|
491
|
-
example: '1.
|
|
746
|
+
example: '1.x.x-cfke.x'
|
|
492
747
|
}
|
|
493
748
|
},
|
|
494
|
-
required: [
|
|
749
|
+
required: [
|
|
750
|
+
'tier'
|
|
751
|
+
],
|
|
495
752
|
additionalProperties: false
|
|
496
753
|
};
|
|
497
754
|
export const FleetCreateInputSchema = {
|
|
@@ -501,13 +758,12 @@ export const FleetCreateInputSchema = {
|
|
|
501
758
|
type: 'object',
|
|
502
759
|
properties: {
|
|
503
760
|
cpu: {
|
|
504
|
-
type: '
|
|
505
|
-
format: 'float',
|
|
761
|
+
type: 'integer',
|
|
506
762
|
minimum: 0,
|
|
507
|
-
|
|
763
|
+
maximum: 100000,
|
|
764
|
+
description: 'CPU limit in cores. Maximum 100,000.'
|
|
508
765
|
}
|
|
509
766
|
},
|
|
510
|
-
required: ['cpu'],
|
|
511
767
|
additionalProperties: false,
|
|
512
768
|
description: 'Limits define a set of bounds for provisioning capacity.'
|
|
513
769
|
},
|
|
@@ -515,47 +771,345 @@ export const FleetCreateInputSchema = {
|
|
|
515
771
|
type: 'object',
|
|
516
772
|
properties: {
|
|
517
773
|
enabled: {
|
|
518
|
-
type: 'boolean'
|
|
519
|
-
default: true
|
|
774
|
+
type: 'boolean'
|
|
520
775
|
},
|
|
521
776
|
project: {
|
|
522
777
|
type: 'string',
|
|
523
|
-
|
|
778
|
+
pattern: '^[a-z][a-z0-9-]{4,28}[a-z0-9]$',
|
|
779
|
+
description: 'GCP project ID to deploy instances into. 6-30 chars, lowercase letters/digits/hyphens, must start with a letter and not end with a hyphen. Omit when GCP is disabled.',
|
|
780
|
+
example: 'my-cloudfleet-project'
|
|
524
781
|
}
|
|
525
782
|
},
|
|
526
|
-
required: [
|
|
783
|
+
required: [
|
|
784
|
+
'enabled'
|
|
785
|
+
],
|
|
527
786
|
additionalProperties: false
|
|
528
787
|
},
|
|
529
788
|
hetzner: {
|
|
530
789
|
type: 'object',
|
|
531
790
|
properties: {
|
|
532
791
|
enabled: {
|
|
533
|
-
type: 'boolean'
|
|
534
|
-
default: true
|
|
792
|
+
type: 'boolean'
|
|
535
793
|
},
|
|
536
794
|
apiKey: {
|
|
537
795
|
type: 'string',
|
|
538
|
-
|
|
796
|
+
maxLength: 64,
|
|
797
|
+
minLength: 64,
|
|
798
|
+
pattern: '^[A-Za-z0-9]+$',
|
|
799
|
+
description: 'Hetzner Cloud API token with read / write access (64 alphanumeric characters). Omit this field to keep the existing value.'
|
|
539
800
|
}
|
|
540
801
|
},
|
|
541
|
-
required: [
|
|
802
|
+
required: [
|
|
803
|
+
'enabled'
|
|
804
|
+
],
|
|
542
805
|
additionalProperties: false
|
|
543
806
|
},
|
|
544
807
|
aws: {
|
|
545
808
|
type: 'object',
|
|
546
809
|
properties: {
|
|
547
810
|
enabled: {
|
|
548
|
-
type: 'boolean'
|
|
549
|
-
default: true
|
|
811
|
+
type: 'boolean'
|
|
550
812
|
},
|
|
551
813
|
controllerRoleArn: {
|
|
552
814
|
type: 'string',
|
|
553
|
-
|
|
815
|
+
pattern: '^arn:aws(-[a-z]+)*:iam::\\d{12}:role\\/[\\w+=,.@/-]+$',
|
|
816
|
+
description: 'AWS IAM role ARN that Karpenter uses to manage resources. Omit when AWS is disabled.',
|
|
817
|
+
example: 'arn:aws:iam::123456789012:role/Cloudfleet'
|
|
554
818
|
}
|
|
555
819
|
},
|
|
556
|
-
required: [
|
|
820
|
+
required: [
|
|
821
|
+
'enabled'
|
|
822
|
+
],
|
|
557
823
|
additionalProperties: false
|
|
558
824
|
},
|
|
825
|
+
constraints: {
|
|
826
|
+
type: 'object',
|
|
827
|
+
properties: {
|
|
828
|
+
'karpenter.sh/capacity-type': {
|
|
829
|
+
type: 'array',
|
|
830
|
+
items: {
|
|
831
|
+
type: 'string',
|
|
832
|
+
enum: [
|
|
833
|
+
'on-demand',
|
|
834
|
+
'spot'
|
|
835
|
+
]
|
|
836
|
+
},
|
|
837
|
+
minItems: 1,
|
|
838
|
+
description: 'Allowed values for `karpenter.sh/capacity-type`.',
|
|
839
|
+
default: [
|
|
840
|
+
'on-demand',
|
|
841
|
+
'spot'
|
|
842
|
+
]
|
|
843
|
+
},
|
|
844
|
+
'kubernetes.io/arch': {
|
|
845
|
+
type: 'array',
|
|
846
|
+
items: {
|
|
847
|
+
type: 'string',
|
|
848
|
+
enum: [
|
|
849
|
+
'amd64',
|
|
850
|
+
'arm64'
|
|
851
|
+
]
|
|
852
|
+
},
|
|
853
|
+
minItems: 1,
|
|
854
|
+
description: 'Allowed values for `kubernetes.io/arch`.',
|
|
855
|
+
default: [
|
|
856
|
+
'amd64'
|
|
857
|
+
]
|
|
858
|
+
},
|
|
859
|
+
'cfke.io/instance-family': {
|
|
860
|
+
type: 'array',
|
|
861
|
+
items: {
|
|
862
|
+
type: 'string',
|
|
863
|
+
enum: [
|
|
864
|
+
'a1',
|
|
865
|
+
'a2',
|
|
866
|
+
'a3',
|
|
867
|
+
'a4',
|
|
868
|
+
'c1',
|
|
869
|
+
'c2',
|
|
870
|
+
'c2d',
|
|
871
|
+
'c3',
|
|
872
|
+
'c3d',
|
|
873
|
+
'c4',
|
|
874
|
+
'c4a',
|
|
875
|
+
'c4d',
|
|
876
|
+
'c5',
|
|
877
|
+
'c5a',
|
|
878
|
+
'c5ad',
|
|
879
|
+
'c5d',
|
|
880
|
+
'c5n',
|
|
881
|
+
'c6a',
|
|
882
|
+
'c6g',
|
|
883
|
+
'c6gd',
|
|
884
|
+
'c6gn',
|
|
885
|
+
'c6i',
|
|
886
|
+
'c6id',
|
|
887
|
+
'c6in',
|
|
888
|
+
'c7a',
|
|
889
|
+
'c7g',
|
|
890
|
+
'c7gd',
|
|
891
|
+
'c7gn',
|
|
892
|
+
'c7i',
|
|
893
|
+
'c7i-flex',
|
|
894
|
+
'c8g',
|
|
895
|
+
'c8gd',
|
|
896
|
+
'cax',
|
|
897
|
+
'ccx',
|
|
898
|
+
'cpx',
|
|
899
|
+
'cx',
|
|
900
|
+
'd2',
|
|
901
|
+
'd3',
|
|
902
|
+
'd3en',
|
|
903
|
+
'dl1',
|
|
904
|
+
'dl2q',
|
|
905
|
+
'e2',
|
|
906
|
+
'f1',
|
|
907
|
+
'f2',
|
|
908
|
+
'g1',
|
|
909
|
+
'g2',
|
|
910
|
+
'g4ad',
|
|
911
|
+
'g4dn',
|
|
912
|
+
'g5',
|
|
913
|
+
'g5g',
|
|
914
|
+
'g6',
|
|
915
|
+
'g6e',
|
|
916
|
+
'gr6',
|
|
917
|
+
'h1',
|
|
918
|
+
'h3',
|
|
919
|
+
'hpc6a',
|
|
920
|
+
'hpc6id',
|
|
921
|
+
'hpc7a',
|
|
922
|
+
'hpc7g',
|
|
923
|
+
'i2',
|
|
924
|
+
'i3',
|
|
925
|
+
'i3en',
|
|
926
|
+
'i4g',
|
|
927
|
+
'i4i',
|
|
928
|
+
'i7i',
|
|
929
|
+
'i7ie',
|
|
930
|
+
'i8g',
|
|
931
|
+
'im4gn',
|
|
932
|
+
'inf1',
|
|
933
|
+
'inf2',
|
|
934
|
+
'is4gen',
|
|
935
|
+
'm1',
|
|
936
|
+
'm2',
|
|
937
|
+
'm3',
|
|
938
|
+
'm4',
|
|
939
|
+
'm5',
|
|
940
|
+
'm5a',
|
|
941
|
+
'm5ad',
|
|
942
|
+
'm5d',
|
|
943
|
+
'm5dn',
|
|
944
|
+
'm5n',
|
|
945
|
+
'm5zn',
|
|
946
|
+
'm6a',
|
|
947
|
+
'm6g',
|
|
948
|
+
'm6gd',
|
|
949
|
+
'm6i',
|
|
950
|
+
'm6id',
|
|
951
|
+
'm6idn',
|
|
952
|
+
'm6in',
|
|
953
|
+
'm7a',
|
|
954
|
+
'm7g',
|
|
955
|
+
'm7gd',
|
|
956
|
+
'm7i',
|
|
957
|
+
'm7i-flex',
|
|
958
|
+
'm8g',
|
|
959
|
+
'm8gd',
|
|
960
|
+
'n1',
|
|
961
|
+
'n2',
|
|
962
|
+
'n2d',
|
|
963
|
+
'n4',
|
|
964
|
+
'p3',
|
|
965
|
+
'p3dn',
|
|
966
|
+
'p4d',
|
|
967
|
+
'p4de',
|
|
968
|
+
'p5',
|
|
969
|
+
'p5e',
|
|
970
|
+
'p5en',
|
|
971
|
+
'p6-b200',
|
|
972
|
+
'r3',
|
|
973
|
+
'r4',
|
|
974
|
+
'r5',
|
|
975
|
+
'r5a',
|
|
976
|
+
'r5ad',
|
|
977
|
+
'r5b',
|
|
978
|
+
'r5d',
|
|
979
|
+
'r5dn',
|
|
980
|
+
'r5n',
|
|
981
|
+
'r6a',
|
|
982
|
+
'r6g',
|
|
983
|
+
'r6gd',
|
|
984
|
+
'r6i',
|
|
985
|
+
'r6id',
|
|
986
|
+
'r6idn',
|
|
987
|
+
'r6in',
|
|
988
|
+
'r7a',
|
|
989
|
+
'r7g',
|
|
990
|
+
'r7gd',
|
|
991
|
+
'r7i',
|
|
992
|
+
'r7iz',
|
|
993
|
+
'r8g',
|
|
994
|
+
'r8gd',
|
|
995
|
+
't2',
|
|
996
|
+
't2a',
|
|
997
|
+
't2d',
|
|
998
|
+
't3',
|
|
999
|
+
't3a',
|
|
1000
|
+
't4g',
|
|
1001
|
+
'trn1',
|
|
1002
|
+
'trn1n',
|
|
1003
|
+
'u-3tb1',
|
|
1004
|
+
'u-6tb1',
|
|
1005
|
+
'u7i-12tb',
|
|
1006
|
+
'u7i-6tb',
|
|
1007
|
+
'u7i-8tb',
|
|
1008
|
+
'u7in-16tb',
|
|
1009
|
+
'u7in-24tb',
|
|
1010
|
+
'u7in-32tb',
|
|
1011
|
+
'vt1',
|
|
1012
|
+
'x1',
|
|
1013
|
+
'x1e',
|
|
1014
|
+
'x2gd',
|
|
1015
|
+
'x2idn',
|
|
1016
|
+
'x2iedn',
|
|
1017
|
+
'x2iezn',
|
|
1018
|
+
'x4',
|
|
1019
|
+
'x8g',
|
|
1020
|
+
'z1d',
|
|
1021
|
+
'z3'
|
|
1022
|
+
]
|
|
1023
|
+
},
|
|
1024
|
+
description: 'Allowed values for `cfke.io/instance-family`.'
|
|
1025
|
+
},
|
|
1026
|
+
'topology.kubernetes.io/region': {
|
|
1027
|
+
type: 'array',
|
|
1028
|
+
items: {
|
|
1029
|
+
type: 'string',
|
|
1030
|
+
enum: [
|
|
1031
|
+
'africa-south1',
|
|
1032
|
+
'ap-northeast-1',
|
|
1033
|
+
'ap-northeast-2',
|
|
1034
|
+
'ap-northeast-3',
|
|
1035
|
+
'ap-south-1',
|
|
1036
|
+
'ap-southeast-1',
|
|
1037
|
+
'ap-southeast-2',
|
|
1038
|
+
'ash',
|
|
1039
|
+
'asia-east1',
|
|
1040
|
+
'asia-east2',
|
|
1041
|
+
'asia-northeast1',
|
|
1042
|
+
'asia-northeast2',
|
|
1043
|
+
'asia-northeast3',
|
|
1044
|
+
'asia-south1',
|
|
1045
|
+
'asia-south2',
|
|
1046
|
+
'asia-southeast1',
|
|
1047
|
+
'asia-southeast2',
|
|
1048
|
+
'australia-southeast1',
|
|
1049
|
+
'australia-southeast2',
|
|
1050
|
+
'ca-central-1',
|
|
1051
|
+
'eu-central-1',
|
|
1052
|
+
'eu-central-2',
|
|
1053
|
+
'eu-north-1',
|
|
1054
|
+
'eu-west-1',
|
|
1055
|
+
'eu-west-2',
|
|
1056
|
+
'eu-west-3',
|
|
1057
|
+
'europe-central2',
|
|
1058
|
+
'europe-north1',
|
|
1059
|
+
'europe-southwest1',
|
|
1060
|
+
'europe-west1',
|
|
1061
|
+
'europe-west10',
|
|
1062
|
+
'europe-west12',
|
|
1063
|
+
'europe-west2',
|
|
1064
|
+
'europe-west3',
|
|
1065
|
+
'europe-west4',
|
|
1066
|
+
'europe-west6',
|
|
1067
|
+
'europe-west8',
|
|
1068
|
+
'europe-west9',
|
|
1069
|
+
'fsn1',
|
|
1070
|
+
'hel1',
|
|
1071
|
+
'hil',
|
|
1072
|
+
'me-central1',
|
|
1073
|
+
'me-central2',
|
|
1074
|
+
'me-west1',
|
|
1075
|
+
'nbg1',
|
|
1076
|
+
'northamerica-northeast1',
|
|
1077
|
+
'northamerica-northeast2',
|
|
1078
|
+
'sa-east-1',
|
|
1079
|
+
'sin',
|
|
1080
|
+
'southamerica-east1',
|
|
1081
|
+
'southamerica-west1',
|
|
1082
|
+
'us-central1',
|
|
1083
|
+
'us-east-1',
|
|
1084
|
+
'us-east-2',
|
|
1085
|
+
'us-east1',
|
|
1086
|
+
'us-east4',
|
|
1087
|
+
'us-east5',
|
|
1088
|
+
'us-south1',
|
|
1089
|
+
'us-west-1',
|
|
1090
|
+
'us-west-2',
|
|
1091
|
+
'us-west1',
|
|
1092
|
+
'us-west2',
|
|
1093
|
+
'us-west3',
|
|
1094
|
+
'us-west4'
|
|
1095
|
+
]
|
|
1096
|
+
},
|
|
1097
|
+
description: 'Allowed values for `topology.kubernetes.io/region`.'
|
|
1098
|
+
}
|
|
1099
|
+
},
|
|
1100
|
+
additionalProperties: false,
|
|
1101
|
+
description: 'Constraints define scheduling and provisioning requirements for the fleet. Each field restricts the values allowed for a given Kubernetes label key. Multiple constraints are ANDed together. Omit a field to place no restriction on that key.'
|
|
1102
|
+
},
|
|
1103
|
+
scalingProfile: {
|
|
1104
|
+
type: 'string',
|
|
1105
|
+
description: 'Controls scale-up / scale-down responsiveness. `aggressive` prioritizes cost-optimization. `conservative` prioritizes stability of the fleet.',
|
|
1106
|
+
default: 'conservative',
|
|
1107
|
+
example: 'conservative',
|
|
1108
|
+
enum: [
|
|
1109
|
+
'aggressive',
|
|
1110
|
+
'conservative'
|
|
1111
|
+
]
|
|
1112
|
+
},
|
|
559
1113
|
id: {
|
|
560
1114
|
type: 'string',
|
|
561
1115
|
maxLength: 63,
|
|
@@ -565,7 +1119,9 @@ export const FleetCreateInputSchema = {
|
|
|
565
1119
|
example: 'new-clouds-fleet'
|
|
566
1120
|
}
|
|
567
1121
|
},
|
|
568
|
-
required: [
|
|
1122
|
+
required: [
|
|
1123
|
+
'id'
|
|
1124
|
+
],
|
|
569
1125
|
additionalProperties: false
|
|
570
1126
|
};
|
|
571
1127
|
export const FleetSchema = {
|
|
@@ -575,13 +1131,12 @@ export const FleetSchema = {
|
|
|
575
1131
|
type: 'object',
|
|
576
1132
|
properties: {
|
|
577
1133
|
cpu: {
|
|
578
|
-
type: '
|
|
579
|
-
format: 'float',
|
|
1134
|
+
type: 'integer',
|
|
580
1135
|
minimum: 0,
|
|
581
|
-
|
|
1136
|
+
maximum: 100000,
|
|
1137
|
+
description: 'CPU limit in cores. Maximum 100,000.'
|
|
582
1138
|
}
|
|
583
1139
|
},
|
|
584
|
-
required: ['cpu'],
|
|
585
1140
|
additionalProperties: false,
|
|
586
1141
|
description: 'Limits define a set of bounds for provisioning capacity.'
|
|
587
1142
|
},
|
|
@@ -589,47 +1144,343 @@ export const FleetSchema = {
|
|
|
589
1144
|
type: 'object',
|
|
590
1145
|
properties: {
|
|
591
1146
|
enabled: {
|
|
592
|
-
type: 'boolean'
|
|
593
|
-
default: true
|
|
1147
|
+
type: 'boolean'
|
|
594
1148
|
},
|
|
595
1149
|
project: {
|
|
596
1150
|
type: 'string',
|
|
597
|
-
|
|
1151
|
+
pattern: '^[a-z][a-z0-9-]{4,28}[a-z0-9]$',
|
|
1152
|
+
description: 'GCP project ID to deploy instances into. 6-30 chars, lowercase letters/digits/hyphens, must start with a letter and not end with a hyphen. Omit when GCP is disabled.',
|
|
1153
|
+
example: 'my-cloudfleet-project'
|
|
598
1154
|
}
|
|
599
1155
|
},
|
|
600
|
-
required: [
|
|
1156
|
+
required: [
|
|
1157
|
+
'enabled'
|
|
1158
|
+
],
|
|
601
1159
|
additionalProperties: false
|
|
602
1160
|
},
|
|
603
1161
|
hetzner: {
|
|
604
1162
|
type: 'object',
|
|
605
1163
|
properties: {
|
|
606
1164
|
enabled: {
|
|
607
|
-
type: 'boolean'
|
|
608
|
-
default: true
|
|
1165
|
+
type: 'boolean'
|
|
609
1166
|
},
|
|
610
1167
|
apiKey: {
|
|
611
1168
|
type: 'string',
|
|
612
|
-
|
|
1169
|
+
pattern: '^\\*{64}$',
|
|
1170
|
+
description: 'Redacted Hetzner API token. Returned as 64 asterisks when a token is configured; omitted otherwise. The real value is never echoed by the API.'
|
|
613
1171
|
}
|
|
614
1172
|
},
|
|
615
|
-
required: [
|
|
1173
|
+
required: [
|
|
1174
|
+
'enabled'
|
|
1175
|
+
],
|
|
616
1176
|
additionalProperties: false
|
|
617
1177
|
},
|
|
618
1178
|
aws: {
|
|
619
1179
|
type: 'object',
|
|
620
1180
|
properties: {
|
|
621
1181
|
enabled: {
|
|
622
|
-
type: 'boolean'
|
|
623
|
-
default: true
|
|
1182
|
+
type: 'boolean'
|
|
624
1183
|
},
|
|
625
1184
|
controllerRoleArn: {
|
|
626
1185
|
type: 'string',
|
|
627
|
-
|
|
1186
|
+
pattern: '^arn:aws(-[a-z]+)*:iam::\\d{12}:role\\/[\\w+=,.@/-]+$',
|
|
1187
|
+
description: 'AWS IAM role ARN that Karpenter uses to manage resources. Omit when AWS is disabled.',
|
|
1188
|
+
example: 'arn:aws:iam::123456789012:role/Cloudfleet'
|
|
628
1189
|
}
|
|
629
1190
|
},
|
|
630
|
-
required: [
|
|
1191
|
+
required: [
|
|
1192
|
+
'enabled'
|
|
1193
|
+
],
|
|
631
1194
|
additionalProperties: false
|
|
632
1195
|
},
|
|
1196
|
+
constraints: {
|
|
1197
|
+
type: 'object',
|
|
1198
|
+
properties: {
|
|
1199
|
+
'karpenter.sh/capacity-type': {
|
|
1200
|
+
type: 'array',
|
|
1201
|
+
items: {
|
|
1202
|
+
type: 'string',
|
|
1203
|
+
enum: [
|
|
1204
|
+
'on-demand',
|
|
1205
|
+
'spot'
|
|
1206
|
+
]
|
|
1207
|
+
},
|
|
1208
|
+
minItems: 1,
|
|
1209
|
+
description: 'Allowed values for `karpenter.sh/capacity-type`.',
|
|
1210
|
+
default: [
|
|
1211
|
+
'on-demand',
|
|
1212
|
+
'spot'
|
|
1213
|
+
]
|
|
1214
|
+
},
|
|
1215
|
+
'kubernetes.io/arch': {
|
|
1216
|
+
type: 'array',
|
|
1217
|
+
items: {
|
|
1218
|
+
type: 'string',
|
|
1219
|
+
enum: [
|
|
1220
|
+
'amd64',
|
|
1221
|
+
'arm64'
|
|
1222
|
+
]
|
|
1223
|
+
},
|
|
1224
|
+
minItems: 1,
|
|
1225
|
+
description: 'Allowed values for `kubernetes.io/arch`.',
|
|
1226
|
+
default: [
|
|
1227
|
+
'amd64'
|
|
1228
|
+
]
|
|
1229
|
+
},
|
|
1230
|
+
'cfke.io/instance-family': {
|
|
1231
|
+
type: 'array',
|
|
1232
|
+
items: {
|
|
1233
|
+
type: 'string',
|
|
1234
|
+
enum: [
|
|
1235
|
+
'a1',
|
|
1236
|
+
'a2',
|
|
1237
|
+
'a3',
|
|
1238
|
+
'a4',
|
|
1239
|
+
'c1',
|
|
1240
|
+
'c2',
|
|
1241
|
+
'c2d',
|
|
1242
|
+
'c3',
|
|
1243
|
+
'c3d',
|
|
1244
|
+
'c4',
|
|
1245
|
+
'c4a',
|
|
1246
|
+
'c4d',
|
|
1247
|
+
'c5',
|
|
1248
|
+
'c5a',
|
|
1249
|
+
'c5ad',
|
|
1250
|
+
'c5d',
|
|
1251
|
+
'c5n',
|
|
1252
|
+
'c6a',
|
|
1253
|
+
'c6g',
|
|
1254
|
+
'c6gd',
|
|
1255
|
+
'c6gn',
|
|
1256
|
+
'c6i',
|
|
1257
|
+
'c6id',
|
|
1258
|
+
'c6in',
|
|
1259
|
+
'c7a',
|
|
1260
|
+
'c7g',
|
|
1261
|
+
'c7gd',
|
|
1262
|
+
'c7gn',
|
|
1263
|
+
'c7i',
|
|
1264
|
+
'c7i-flex',
|
|
1265
|
+
'c8g',
|
|
1266
|
+
'c8gd',
|
|
1267
|
+
'cax',
|
|
1268
|
+
'ccx',
|
|
1269
|
+
'cpx',
|
|
1270
|
+
'cx',
|
|
1271
|
+
'd2',
|
|
1272
|
+
'd3',
|
|
1273
|
+
'd3en',
|
|
1274
|
+
'dl1',
|
|
1275
|
+
'dl2q',
|
|
1276
|
+
'e2',
|
|
1277
|
+
'f1',
|
|
1278
|
+
'f2',
|
|
1279
|
+
'g1',
|
|
1280
|
+
'g2',
|
|
1281
|
+
'g4ad',
|
|
1282
|
+
'g4dn',
|
|
1283
|
+
'g5',
|
|
1284
|
+
'g5g',
|
|
1285
|
+
'g6',
|
|
1286
|
+
'g6e',
|
|
1287
|
+
'gr6',
|
|
1288
|
+
'h1',
|
|
1289
|
+
'h3',
|
|
1290
|
+
'hpc6a',
|
|
1291
|
+
'hpc6id',
|
|
1292
|
+
'hpc7a',
|
|
1293
|
+
'hpc7g',
|
|
1294
|
+
'i2',
|
|
1295
|
+
'i3',
|
|
1296
|
+
'i3en',
|
|
1297
|
+
'i4g',
|
|
1298
|
+
'i4i',
|
|
1299
|
+
'i7i',
|
|
1300
|
+
'i7ie',
|
|
1301
|
+
'i8g',
|
|
1302
|
+
'im4gn',
|
|
1303
|
+
'inf1',
|
|
1304
|
+
'inf2',
|
|
1305
|
+
'is4gen',
|
|
1306
|
+
'm1',
|
|
1307
|
+
'm2',
|
|
1308
|
+
'm3',
|
|
1309
|
+
'm4',
|
|
1310
|
+
'm5',
|
|
1311
|
+
'm5a',
|
|
1312
|
+
'm5ad',
|
|
1313
|
+
'm5d',
|
|
1314
|
+
'm5dn',
|
|
1315
|
+
'm5n',
|
|
1316
|
+
'm5zn',
|
|
1317
|
+
'm6a',
|
|
1318
|
+
'm6g',
|
|
1319
|
+
'm6gd',
|
|
1320
|
+
'm6i',
|
|
1321
|
+
'm6id',
|
|
1322
|
+
'm6idn',
|
|
1323
|
+
'm6in',
|
|
1324
|
+
'm7a',
|
|
1325
|
+
'm7g',
|
|
1326
|
+
'm7gd',
|
|
1327
|
+
'm7i',
|
|
1328
|
+
'm7i-flex',
|
|
1329
|
+
'm8g',
|
|
1330
|
+
'm8gd',
|
|
1331
|
+
'n1',
|
|
1332
|
+
'n2',
|
|
1333
|
+
'n2d',
|
|
1334
|
+
'n4',
|
|
1335
|
+
'p3',
|
|
1336
|
+
'p3dn',
|
|
1337
|
+
'p4d',
|
|
1338
|
+
'p4de',
|
|
1339
|
+
'p5',
|
|
1340
|
+
'p5e',
|
|
1341
|
+
'p5en',
|
|
1342
|
+
'p6-b200',
|
|
1343
|
+
'r3',
|
|
1344
|
+
'r4',
|
|
1345
|
+
'r5',
|
|
1346
|
+
'r5a',
|
|
1347
|
+
'r5ad',
|
|
1348
|
+
'r5b',
|
|
1349
|
+
'r5d',
|
|
1350
|
+
'r5dn',
|
|
1351
|
+
'r5n',
|
|
1352
|
+
'r6a',
|
|
1353
|
+
'r6g',
|
|
1354
|
+
'r6gd',
|
|
1355
|
+
'r6i',
|
|
1356
|
+
'r6id',
|
|
1357
|
+
'r6idn',
|
|
1358
|
+
'r6in',
|
|
1359
|
+
'r7a',
|
|
1360
|
+
'r7g',
|
|
1361
|
+
'r7gd',
|
|
1362
|
+
'r7i',
|
|
1363
|
+
'r7iz',
|
|
1364
|
+
'r8g',
|
|
1365
|
+
'r8gd',
|
|
1366
|
+
't2',
|
|
1367
|
+
't2a',
|
|
1368
|
+
't2d',
|
|
1369
|
+
't3',
|
|
1370
|
+
't3a',
|
|
1371
|
+
't4g',
|
|
1372
|
+
'trn1',
|
|
1373
|
+
'trn1n',
|
|
1374
|
+
'u-3tb1',
|
|
1375
|
+
'u-6tb1',
|
|
1376
|
+
'u7i-12tb',
|
|
1377
|
+
'u7i-6tb',
|
|
1378
|
+
'u7i-8tb',
|
|
1379
|
+
'u7in-16tb',
|
|
1380
|
+
'u7in-24tb',
|
|
1381
|
+
'u7in-32tb',
|
|
1382
|
+
'vt1',
|
|
1383
|
+
'x1',
|
|
1384
|
+
'x1e',
|
|
1385
|
+
'x2gd',
|
|
1386
|
+
'x2idn',
|
|
1387
|
+
'x2iedn',
|
|
1388
|
+
'x2iezn',
|
|
1389
|
+
'x4',
|
|
1390
|
+
'x8g',
|
|
1391
|
+
'z1d',
|
|
1392
|
+
'z3'
|
|
1393
|
+
]
|
|
1394
|
+
},
|
|
1395
|
+
description: 'Allowed values for `cfke.io/instance-family`.'
|
|
1396
|
+
},
|
|
1397
|
+
'topology.kubernetes.io/region': {
|
|
1398
|
+
type: 'array',
|
|
1399
|
+
items: {
|
|
1400
|
+
type: 'string',
|
|
1401
|
+
enum: [
|
|
1402
|
+
'africa-south1',
|
|
1403
|
+
'ap-northeast-1',
|
|
1404
|
+
'ap-northeast-2',
|
|
1405
|
+
'ap-northeast-3',
|
|
1406
|
+
'ap-south-1',
|
|
1407
|
+
'ap-southeast-1',
|
|
1408
|
+
'ap-southeast-2',
|
|
1409
|
+
'ash',
|
|
1410
|
+
'asia-east1',
|
|
1411
|
+
'asia-east2',
|
|
1412
|
+
'asia-northeast1',
|
|
1413
|
+
'asia-northeast2',
|
|
1414
|
+
'asia-northeast3',
|
|
1415
|
+
'asia-south1',
|
|
1416
|
+
'asia-south2',
|
|
1417
|
+
'asia-southeast1',
|
|
1418
|
+
'asia-southeast2',
|
|
1419
|
+
'australia-southeast1',
|
|
1420
|
+
'australia-southeast2',
|
|
1421
|
+
'ca-central-1',
|
|
1422
|
+
'eu-central-1',
|
|
1423
|
+
'eu-central-2',
|
|
1424
|
+
'eu-north-1',
|
|
1425
|
+
'eu-west-1',
|
|
1426
|
+
'eu-west-2',
|
|
1427
|
+
'eu-west-3',
|
|
1428
|
+
'europe-central2',
|
|
1429
|
+
'europe-north1',
|
|
1430
|
+
'europe-southwest1',
|
|
1431
|
+
'europe-west1',
|
|
1432
|
+
'europe-west10',
|
|
1433
|
+
'europe-west12',
|
|
1434
|
+
'europe-west2',
|
|
1435
|
+
'europe-west3',
|
|
1436
|
+
'europe-west4',
|
|
1437
|
+
'europe-west6',
|
|
1438
|
+
'europe-west8',
|
|
1439
|
+
'europe-west9',
|
|
1440
|
+
'fsn1',
|
|
1441
|
+
'hel1',
|
|
1442
|
+
'hil',
|
|
1443
|
+
'me-central1',
|
|
1444
|
+
'me-central2',
|
|
1445
|
+
'me-west1',
|
|
1446
|
+
'nbg1',
|
|
1447
|
+
'northamerica-northeast1',
|
|
1448
|
+
'northamerica-northeast2',
|
|
1449
|
+
'sa-east-1',
|
|
1450
|
+
'sin',
|
|
1451
|
+
'southamerica-east1',
|
|
1452
|
+
'southamerica-west1',
|
|
1453
|
+
'us-central1',
|
|
1454
|
+
'us-east-1',
|
|
1455
|
+
'us-east-2',
|
|
1456
|
+
'us-east1',
|
|
1457
|
+
'us-east4',
|
|
1458
|
+
'us-east5',
|
|
1459
|
+
'us-south1',
|
|
1460
|
+
'us-west-1',
|
|
1461
|
+
'us-west-2',
|
|
1462
|
+
'us-west1',
|
|
1463
|
+
'us-west2',
|
|
1464
|
+
'us-west3',
|
|
1465
|
+
'us-west4'
|
|
1466
|
+
]
|
|
1467
|
+
},
|
|
1468
|
+
description: 'Allowed values for `topology.kubernetes.io/region`.'
|
|
1469
|
+
}
|
|
1470
|
+
},
|
|
1471
|
+
additionalProperties: false,
|
|
1472
|
+
description: 'Constraints define scheduling and provisioning requirements for the fleet. Each field restricts the values allowed for a given Kubernetes label key. Multiple constraints are ANDed together. Omit a field to place no restriction on that key.'
|
|
1473
|
+
},
|
|
1474
|
+
scalingProfile: {
|
|
1475
|
+
type: 'string',
|
|
1476
|
+
description: 'Controls scale-up / scale-down responsiveness. `aggressive` prioritizes cost-optimization. `conservative` prioritizes stability of the fleet.',
|
|
1477
|
+
default: 'conservative',
|
|
1478
|
+
example: 'conservative',
|
|
1479
|
+
enum: [
|
|
1480
|
+
'aggressive',
|
|
1481
|
+
'conservative'
|
|
1482
|
+
]
|
|
1483
|
+
},
|
|
633
1484
|
id: {
|
|
634
1485
|
type: 'string',
|
|
635
1486
|
maxLength: 63,
|
|
@@ -639,7 +1490,10 @@ export const FleetSchema = {
|
|
|
639
1490
|
example: 'new-clouds-fleet'
|
|
640
1491
|
}
|
|
641
1492
|
},
|
|
642
|
-
required: [
|
|
1493
|
+
required: [
|
|
1494
|
+
'scalingProfile',
|
|
1495
|
+
'id'
|
|
1496
|
+
],
|
|
643
1497
|
additionalProperties: false
|
|
644
1498
|
};
|
|
645
1499
|
export const FleetUpdateInputSchema = {
|
|
@@ -649,13 +1503,12 @@ export const FleetUpdateInputSchema = {
|
|
|
649
1503
|
type: 'object',
|
|
650
1504
|
properties: {
|
|
651
1505
|
cpu: {
|
|
652
|
-
type: '
|
|
653
|
-
format: 'float',
|
|
1506
|
+
type: 'integer',
|
|
654
1507
|
minimum: 0,
|
|
655
|
-
|
|
1508
|
+
maximum: 100000,
|
|
1509
|
+
description: 'CPU limit in cores. Maximum 100,000.'
|
|
656
1510
|
}
|
|
657
1511
|
},
|
|
658
|
-
required: ['cpu'],
|
|
659
1512
|
additionalProperties: false,
|
|
660
1513
|
description: 'Limits define a set of bounds for provisioning capacity.'
|
|
661
1514
|
},
|
|
@@ -663,48 +1516,341 @@ export const FleetUpdateInputSchema = {
|
|
|
663
1516
|
type: 'object',
|
|
664
1517
|
properties: {
|
|
665
1518
|
enabled: {
|
|
666
|
-
type: 'boolean'
|
|
667
|
-
default: true
|
|
1519
|
+
type: 'boolean'
|
|
668
1520
|
},
|
|
669
1521
|
project: {
|
|
670
1522
|
type: 'string',
|
|
671
|
-
|
|
1523
|
+
pattern: '^[a-z][a-z0-9-]{4,28}[a-z0-9]$',
|
|
1524
|
+
description: 'GCP project ID to deploy instances into. 6-30 chars, lowercase letters/digits/hyphens, must start with a letter and not end with a hyphen. Omit when GCP is disabled.',
|
|
1525
|
+
example: 'my-cloudfleet-project'
|
|
672
1526
|
}
|
|
673
1527
|
},
|
|
674
|
-
required: [
|
|
1528
|
+
required: [
|
|
1529
|
+
'enabled'
|
|
1530
|
+
],
|
|
675
1531
|
additionalProperties: false
|
|
676
1532
|
},
|
|
677
1533
|
hetzner: {
|
|
678
1534
|
type: 'object',
|
|
679
1535
|
properties: {
|
|
680
1536
|
enabled: {
|
|
681
|
-
type: 'boolean'
|
|
682
|
-
default: true
|
|
1537
|
+
type: 'boolean'
|
|
683
1538
|
},
|
|
684
1539
|
apiKey: {
|
|
685
1540
|
type: 'string',
|
|
686
|
-
|
|
1541
|
+
maxLength: 64,
|
|
1542
|
+
minLength: 64,
|
|
1543
|
+
pattern: '^[A-Za-z0-9]+$',
|
|
1544
|
+
description: 'Hetzner Cloud API token with read / write access (64 alphanumeric characters). Omit this field to keep the existing value.'
|
|
687
1545
|
}
|
|
688
1546
|
},
|
|
689
|
-
required: [
|
|
1547
|
+
required: [
|
|
1548
|
+
'enabled'
|
|
1549
|
+
],
|
|
690
1550
|
additionalProperties: false
|
|
691
1551
|
},
|
|
692
1552
|
aws: {
|
|
693
1553
|
type: 'object',
|
|
694
1554
|
properties: {
|
|
695
1555
|
enabled: {
|
|
696
|
-
type: 'boolean'
|
|
697
|
-
default: true
|
|
1556
|
+
type: 'boolean'
|
|
698
1557
|
},
|
|
699
1558
|
controllerRoleArn: {
|
|
700
1559
|
type: 'string',
|
|
701
|
-
|
|
1560
|
+
pattern: '^arn:aws(-[a-z]+)*:iam::\\d{12}:role\\/[\\w+=,.@/-]+$',
|
|
1561
|
+
description: 'AWS IAM role ARN that Karpenter uses to manage resources. Omit when AWS is disabled.',
|
|
1562
|
+
example: 'arn:aws:iam::123456789012:role/Cloudfleet'
|
|
702
1563
|
}
|
|
703
1564
|
},
|
|
704
|
-
required: [
|
|
1565
|
+
required: [
|
|
1566
|
+
'enabled'
|
|
1567
|
+
],
|
|
705
1568
|
additionalProperties: false
|
|
1569
|
+
},
|
|
1570
|
+
constraints: {
|
|
1571
|
+
type: 'object',
|
|
1572
|
+
properties: {
|
|
1573
|
+
'karpenter.sh/capacity-type': {
|
|
1574
|
+
type: 'array',
|
|
1575
|
+
items: {
|
|
1576
|
+
type: 'string',
|
|
1577
|
+
enum: [
|
|
1578
|
+
'on-demand',
|
|
1579
|
+
'spot'
|
|
1580
|
+
]
|
|
1581
|
+
},
|
|
1582
|
+
minItems: 1,
|
|
1583
|
+
description: 'Allowed values for `karpenter.sh/capacity-type`.'
|
|
1584
|
+
},
|
|
1585
|
+
'kubernetes.io/arch': {
|
|
1586
|
+
type: 'array',
|
|
1587
|
+
items: {
|
|
1588
|
+
type: 'string',
|
|
1589
|
+
enum: [
|
|
1590
|
+
'amd64',
|
|
1591
|
+
'arm64'
|
|
1592
|
+
]
|
|
1593
|
+
},
|
|
1594
|
+
minItems: 1,
|
|
1595
|
+
description: 'Allowed values for `kubernetes.io/arch`.'
|
|
1596
|
+
},
|
|
1597
|
+
'cfke.io/instance-family': {
|
|
1598
|
+
type: 'array',
|
|
1599
|
+
items: {
|
|
1600
|
+
type: 'string',
|
|
1601
|
+
enum: [
|
|
1602
|
+
'a1',
|
|
1603
|
+
'a2',
|
|
1604
|
+
'a3',
|
|
1605
|
+
'a4',
|
|
1606
|
+
'c1',
|
|
1607
|
+
'c2',
|
|
1608
|
+
'c2d',
|
|
1609
|
+
'c3',
|
|
1610
|
+
'c3d',
|
|
1611
|
+
'c4',
|
|
1612
|
+
'c4a',
|
|
1613
|
+
'c4d',
|
|
1614
|
+
'c5',
|
|
1615
|
+
'c5a',
|
|
1616
|
+
'c5ad',
|
|
1617
|
+
'c5d',
|
|
1618
|
+
'c5n',
|
|
1619
|
+
'c6a',
|
|
1620
|
+
'c6g',
|
|
1621
|
+
'c6gd',
|
|
1622
|
+
'c6gn',
|
|
1623
|
+
'c6i',
|
|
1624
|
+
'c6id',
|
|
1625
|
+
'c6in',
|
|
1626
|
+
'c7a',
|
|
1627
|
+
'c7g',
|
|
1628
|
+
'c7gd',
|
|
1629
|
+
'c7gn',
|
|
1630
|
+
'c7i',
|
|
1631
|
+
'c7i-flex',
|
|
1632
|
+
'c8g',
|
|
1633
|
+
'c8gd',
|
|
1634
|
+
'cax',
|
|
1635
|
+
'ccx',
|
|
1636
|
+
'cpx',
|
|
1637
|
+
'cx',
|
|
1638
|
+
'd2',
|
|
1639
|
+
'd3',
|
|
1640
|
+
'd3en',
|
|
1641
|
+
'dl1',
|
|
1642
|
+
'dl2q',
|
|
1643
|
+
'e2',
|
|
1644
|
+
'f1',
|
|
1645
|
+
'f2',
|
|
1646
|
+
'g1',
|
|
1647
|
+
'g2',
|
|
1648
|
+
'g4ad',
|
|
1649
|
+
'g4dn',
|
|
1650
|
+
'g5',
|
|
1651
|
+
'g5g',
|
|
1652
|
+
'g6',
|
|
1653
|
+
'g6e',
|
|
1654
|
+
'gr6',
|
|
1655
|
+
'h1',
|
|
1656
|
+
'h3',
|
|
1657
|
+
'hpc6a',
|
|
1658
|
+
'hpc6id',
|
|
1659
|
+
'hpc7a',
|
|
1660
|
+
'hpc7g',
|
|
1661
|
+
'i2',
|
|
1662
|
+
'i3',
|
|
1663
|
+
'i3en',
|
|
1664
|
+
'i4g',
|
|
1665
|
+
'i4i',
|
|
1666
|
+
'i7i',
|
|
1667
|
+
'i7ie',
|
|
1668
|
+
'i8g',
|
|
1669
|
+
'im4gn',
|
|
1670
|
+
'inf1',
|
|
1671
|
+
'inf2',
|
|
1672
|
+
'is4gen',
|
|
1673
|
+
'm1',
|
|
1674
|
+
'm2',
|
|
1675
|
+
'm3',
|
|
1676
|
+
'm4',
|
|
1677
|
+
'm5',
|
|
1678
|
+
'm5a',
|
|
1679
|
+
'm5ad',
|
|
1680
|
+
'm5d',
|
|
1681
|
+
'm5dn',
|
|
1682
|
+
'm5n',
|
|
1683
|
+
'm5zn',
|
|
1684
|
+
'm6a',
|
|
1685
|
+
'm6g',
|
|
1686
|
+
'm6gd',
|
|
1687
|
+
'm6i',
|
|
1688
|
+
'm6id',
|
|
1689
|
+
'm6idn',
|
|
1690
|
+
'm6in',
|
|
1691
|
+
'm7a',
|
|
1692
|
+
'm7g',
|
|
1693
|
+
'm7gd',
|
|
1694
|
+
'm7i',
|
|
1695
|
+
'm7i-flex',
|
|
1696
|
+
'm8g',
|
|
1697
|
+
'm8gd',
|
|
1698
|
+
'n1',
|
|
1699
|
+
'n2',
|
|
1700
|
+
'n2d',
|
|
1701
|
+
'n4',
|
|
1702
|
+
'p3',
|
|
1703
|
+
'p3dn',
|
|
1704
|
+
'p4d',
|
|
1705
|
+
'p4de',
|
|
1706
|
+
'p5',
|
|
1707
|
+
'p5e',
|
|
1708
|
+
'p5en',
|
|
1709
|
+
'p6-b200',
|
|
1710
|
+
'r3',
|
|
1711
|
+
'r4',
|
|
1712
|
+
'r5',
|
|
1713
|
+
'r5a',
|
|
1714
|
+
'r5ad',
|
|
1715
|
+
'r5b',
|
|
1716
|
+
'r5d',
|
|
1717
|
+
'r5dn',
|
|
1718
|
+
'r5n',
|
|
1719
|
+
'r6a',
|
|
1720
|
+
'r6g',
|
|
1721
|
+
'r6gd',
|
|
1722
|
+
'r6i',
|
|
1723
|
+
'r6id',
|
|
1724
|
+
'r6idn',
|
|
1725
|
+
'r6in',
|
|
1726
|
+
'r7a',
|
|
1727
|
+
'r7g',
|
|
1728
|
+
'r7gd',
|
|
1729
|
+
'r7i',
|
|
1730
|
+
'r7iz',
|
|
1731
|
+
'r8g',
|
|
1732
|
+
'r8gd',
|
|
1733
|
+
't2',
|
|
1734
|
+
't2a',
|
|
1735
|
+
't2d',
|
|
1736
|
+
't3',
|
|
1737
|
+
't3a',
|
|
1738
|
+
't4g',
|
|
1739
|
+
'trn1',
|
|
1740
|
+
'trn1n',
|
|
1741
|
+
'u-3tb1',
|
|
1742
|
+
'u-6tb1',
|
|
1743
|
+
'u7i-12tb',
|
|
1744
|
+
'u7i-6tb',
|
|
1745
|
+
'u7i-8tb',
|
|
1746
|
+
'u7in-16tb',
|
|
1747
|
+
'u7in-24tb',
|
|
1748
|
+
'u7in-32tb',
|
|
1749
|
+
'vt1',
|
|
1750
|
+
'x1',
|
|
1751
|
+
'x1e',
|
|
1752
|
+
'x2gd',
|
|
1753
|
+
'x2idn',
|
|
1754
|
+
'x2iedn',
|
|
1755
|
+
'x2iezn',
|
|
1756
|
+
'x4',
|
|
1757
|
+
'x8g',
|
|
1758
|
+
'z1d',
|
|
1759
|
+
'z3'
|
|
1760
|
+
]
|
|
1761
|
+
},
|
|
1762
|
+
description: 'Allowed values for `cfke.io/instance-family`.'
|
|
1763
|
+
},
|
|
1764
|
+
'topology.kubernetes.io/region': {
|
|
1765
|
+
type: 'array',
|
|
1766
|
+
items: {
|
|
1767
|
+
type: 'string',
|
|
1768
|
+
enum: [
|
|
1769
|
+
'africa-south1',
|
|
1770
|
+
'ap-northeast-1',
|
|
1771
|
+
'ap-northeast-2',
|
|
1772
|
+
'ap-northeast-3',
|
|
1773
|
+
'ap-south-1',
|
|
1774
|
+
'ap-southeast-1',
|
|
1775
|
+
'ap-southeast-2',
|
|
1776
|
+
'ash',
|
|
1777
|
+
'asia-east1',
|
|
1778
|
+
'asia-east2',
|
|
1779
|
+
'asia-northeast1',
|
|
1780
|
+
'asia-northeast2',
|
|
1781
|
+
'asia-northeast3',
|
|
1782
|
+
'asia-south1',
|
|
1783
|
+
'asia-south2',
|
|
1784
|
+
'asia-southeast1',
|
|
1785
|
+
'asia-southeast2',
|
|
1786
|
+
'australia-southeast1',
|
|
1787
|
+
'australia-southeast2',
|
|
1788
|
+
'ca-central-1',
|
|
1789
|
+
'eu-central-1',
|
|
1790
|
+
'eu-central-2',
|
|
1791
|
+
'eu-north-1',
|
|
1792
|
+
'eu-west-1',
|
|
1793
|
+
'eu-west-2',
|
|
1794
|
+
'eu-west-3',
|
|
1795
|
+
'europe-central2',
|
|
1796
|
+
'europe-north1',
|
|
1797
|
+
'europe-southwest1',
|
|
1798
|
+
'europe-west1',
|
|
1799
|
+
'europe-west10',
|
|
1800
|
+
'europe-west12',
|
|
1801
|
+
'europe-west2',
|
|
1802
|
+
'europe-west3',
|
|
1803
|
+
'europe-west4',
|
|
1804
|
+
'europe-west6',
|
|
1805
|
+
'europe-west8',
|
|
1806
|
+
'europe-west9',
|
|
1807
|
+
'fsn1',
|
|
1808
|
+
'hel1',
|
|
1809
|
+
'hil',
|
|
1810
|
+
'me-central1',
|
|
1811
|
+
'me-central2',
|
|
1812
|
+
'me-west1',
|
|
1813
|
+
'nbg1',
|
|
1814
|
+
'northamerica-northeast1',
|
|
1815
|
+
'northamerica-northeast2',
|
|
1816
|
+
'sa-east-1',
|
|
1817
|
+
'sin',
|
|
1818
|
+
'southamerica-east1',
|
|
1819
|
+
'southamerica-west1',
|
|
1820
|
+
'us-central1',
|
|
1821
|
+
'us-east-1',
|
|
1822
|
+
'us-east-2',
|
|
1823
|
+
'us-east1',
|
|
1824
|
+
'us-east4',
|
|
1825
|
+
'us-east5',
|
|
1826
|
+
'us-south1',
|
|
1827
|
+
'us-west-1',
|
|
1828
|
+
'us-west-2',
|
|
1829
|
+
'us-west1',
|
|
1830
|
+
'us-west2',
|
|
1831
|
+
'us-west3',
|
|
1832
|
+
'us-west4'
|
|
1833
|
+
]
|
|
1834
|
+
},
|
|
1835
|
+
description: 'Allowed values for `topology.kubernetes.io/region`.'
|
|
1836
|
+
}
|
|
1837
|
+
},
|
|
1838
|
+
additionalProperties: false,
|
|
1839
|
+
description: 'Constraints define scheduling and provisioning requirements for the fleet. Each field restricts the values allowed for a given Kubernetes label key. Multiple constraints are ANDed together. Omit a field to place no restriction on that key.'
|
|
1840
|
+
},
|
|
1841
|
+
scalingProfile: {
|
|
1842
|
+
type: 'string',
|
|
1843
|
+
description: 'Controls scale-up / scale-down responsiveness. `aggressive` prioritizes cost-optimization. `conservative` prioritizes stability of the fleet.',
|
|
1844
|
+
example: 'conservative',
|
|
1845
|
+
enum: [
|
|
1846
|
+
'aggressive',
|
|
1847
|
+
'conservative'
|
|
1848
|
+
]
|
|
706
1849
|
}
|
|
707
1850
|
},
|
|
1851
|
+
required: [
|
|
1852
|
+
'scalingProfile'
|
|
1853
|
+
],
|
|
708
1854
|
additionalProperties: false
|
|
709
1855
|
};
|
|
710
1856
|
export const InviteSchema = {
|
|
@@ -739,7 +1885,9 @@ export const InviteSchema = {
|
|
|
739
1885
|
example: '7kUZnH7nnKUFfvc4NK2KQF'
|
|
740
1886
|
}
|
|
741
1887
|
},
|
|
742
|
-
required: [
|
|
1888
|
+
required: [
|
|
1889
|
+
'date_created'
|
|
1890
|
+
],
|
|
743
1891
|
additionalProperties: false
|
|
744
1892
|
};
|
|
745
1893
|
export const InvoiceSchema = {
|
|
@@ -747,23 +1895,18 @@ export const InvoiceSchema = {
|
|
|
747
1895
|
properties: {
|
|
748
1896
|
id: {
|
|
749
1897
|
type: 'string',
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
example: '415026b6-f00f-44f8-968d-fc6ef4d0fc6d'
|
|
1898
|
+
description: 'Unique identifier of the invoice.',
|
|
1899
|
+
example: 'in_1234567890xCrwxghOTj1234'
|
|
753
1900
|
},
|
|
754
|
-
|
|
755
|
-
type: 'string'
|
|
756
|
-
format: 'uuid',
|
|
757
|
-
description: 'Unique identifier of the organization. UUID v4 string in canonical form',
|
|
758
|
-
example: '415026b6-f00f-44f8-968d-fc6ef4d0fc6d'
|
|
1901
|
+
number: {
|
|
1902
|
+
type: 'string'
|
|
759
1903
|
},
|
|
760
1904
|
status: {
|
|
761
1905
|
type: 'string',
|
|
762
1906
|
description: 'Status of the invoice',
|
|
763
|
-
example: '
|
|
764
|
-
enum: ['DRAFT', 'COMMITTED', 'VOID']
|
|
1907
|
+
example: 'paid'
|
|
765
1908
|
},
|
|
766
|
-
|
|
1909
|
+
total: {
|
|
767
1910
|
type: 'number',
|
|
768
1911
|
format: 'float',
|
|
769
1912
|
description: 'Total amount of the invoice',
|
|
@@ -772,418 +1915,203 @@ export const InvoiceSchema = {
|
|
|
772
1915
|
currency: {
|
|
773
1916
|
type: 'string',
|
|
774
1917
|
description: 'Currency of the invoice',
|
|
775
|
-
example: '
|
|
776
|
-
enum: ['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']
|
|
777
|
-
},
|
|
778
|
-
creditAdj: {
|
|
779
|
-
type: 'number',
|
|
780
|
-
format: 'float',
|
|
781
|
-
description: 'Total amount of credit adjustments',
|
|
782
|
-
example: 0
|
|
1918
|
+
example: 'usd'
|
|
783
1919
|
},
|
|
784
|
-
|
|
785
|
-
type: '
|
|
786
|
-
format: '
|
|
787
|
-
description: '
|
|
788
|
-
example:
|
|
1920
|
+
created: {
|
|
1921
|
+
type: 'string',
|
|
1922
|
+
format: 'date-time',
|
|
1923
|
+
description: 'Timestamp when the invoice was issued. ISO 8601 date string in the UTC timezone.',
|
|
1924
|
+
example: '2023-12-20T13:53:32.000Z'
|
|
789
1925
|
},
|
|
790
|
-
|
|
1926
|
+
period_start: {
|
|
791
1927
|
type: 'string',
|
|
792
|
-
|
|
793
|
-
|
|
1928
|
+
format: 'date-time',
|
|
1929
|
+
description: 'Billing period start timestamp. ISO 8601 date string in the UTC timezone.',
|
|
1930
|
+
example: '2023-12-20T13:53:32.000Z'
|
|
794
1931
|
},
|
|
795
|
-
|
|
1932
|
+
period_end: {
|
|
796
1933
|
type: 'string',
|
|
797
|
-
|
|
798
|
-
|
|
1934
|
+
format: 'date-time',
|
|
1935
|
+
description: 'Billing period end timestamp. ISO 8601 date string in the UTC timezone.',
|
|
1936
|
+
example: '2023-12-20T13:53:32.000Z'
|
|
799
1937
|
},
|
|
800
|
-
|
|
1938
|
+
invoice_pdf: {
|
|
1939
|
+
type: 'string'
|
|
1940
|
+
}
|
|
1941
|
+
},
|
|
1942
|
+
required: [
|
|
1943
|
+
'created',
|
|
1944
|
+
'period_start',
|
|
1945
|
+
'period_end'
|
|
1946
|
+
],
|
|
1947
|
+
additionalProperties: false
|
|
1948
|
+
};
|
|
1949
|
+
export const MarketplaceListingFilesSchema = {
|
|
1950
|
+
type: 'object',
|
|
1951
|
+
properties: {
|
|
1952
|
+
chartYaml: {
|
|
801
1953
|
type: 'string',
|
|
802
|
-
description: '
|
|
803
|
-
example: '
|
|
1954
|
+
description: 'Raw Chart.yaml content from the Helm chart',
|
|
1955
|
+
example: 'apiVersion: v2\nname: nginx-ingress\nversion: 1.18.2-cfke.45\nappVersion: 1.9.4'
|
|
804
1956
|
},
|
|
805
|
-
|
|
806
|
-
type: '
|
|
807
|
-
|
|
808
|
-
|
|
809
|
-
example: 100
|
|
1957
|
+
valuesYaml: {
|
|
1958
|
+
type: 'string',
|
|
1959
|
+
description: 'Raw values.yaml content from the Helm chart',
|
|
1960
|
+
example: 'replicaCount: 1\nimage:\n repository: nginx\n tag: latest'
|
|
810
1961
|
},
|
|
811
|
-
|
|
1962
|
+
valuesSchemaJson: {
|
|
1963
|
+
type: 'string',
|
|
1964
|
+
description: 'JSON schema for values.yaml as a string',
|
|
1965
|
+
example: '{"type":"object","properties":{"replicaCount":{"type":"number"}}}'
|
|
1966
|
+
}
|
|
1967
|
+
},
|
|
1968
|
+
additionalProperties: false
|
|
1969
|
+
};
|
|
1970
|
+
export const MarketplaceListingSchema = {
|
|
1971
|
+
type: 'object',
|
|
1972
|
+
properties: {
|
|
1973
|
+
name: {
|
|
812
1974
|
type: 'string',
|
|
813
|
-
description: '
|
|
814
|
-
example: '
|
|
1975
|
+
description: 'Name of the chart',
|
|
1976
|
+
example: 'nginx-ingress'
|
|
815
1977
|
},
|
|
816
|
-
|
|
1978
|
+
versions: {
|
|
817
1979
|
type: 'array',
|
|
818
1980
|
items: {
|
|
819
|
-
type: '
|
|
820
|
-
|
|
821
|
-
|
|
822
|
-
|
|
823
|
-
|
|
824
|
-
|
|
825
|
-
|
|
826
|
-
|
|
827
|
-
|
|
828
|
-
|
|
829
|
-
|
|
830
|
-
|
|
831
|
-
|
|
832
|
-
|
|
833
|
-
|
|
834
|
-
|
|
835
|
-
|
|
836
|
-
|
|
837
|
-
|
|
838
|
-
|
|
839
|
-
|
|
840
|
-
|
|
841
|
-
|
|
1981
|
+
type: 'string',
|
|
1982
|
+
pattern: '^(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)(?:-((?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\\.(?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\\+([0-9a-zA-Z-]+(?:\\.[0-9a-zA-Z-]+)*))?$',
|
|
1983
|
+
description: 'Specific version of the chart',
|
|
1984
|
+
example: '1.18.2-cfke.45'
|
|
1985
|
+
},
|
|
1986
|
+
description: 'Available versions of the chart'
|
|
1987
|
+
},
|
|
1988
|
+
version_channels: {
|
|
1989
|
+
type: 'array',
|
|
1990
|
+
items: {
|
|
1991
|
+
type: 'string',
|
|
1992
|
+
pattern: '^(x|X|0|[1-9]\\d*)\\.(x|X|0|[1-9]\\d*)\\.(x|X|0|[1-9]\\d*)(?:-((?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\\.(?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\\+([0-9a-zA-Z-]+(?:\\.[0-9a-zA-Z-]+)*))?$',
|
|
1993
|
+
description: 'Version channel pattern',
|
|
1994
|
+
example: '1.18.x-cfke.x'
|
|
1995
|
+
},
|
|
1996
|
+
description: 'Version channels for the chart'
|
|
1997
|
+
},
|
|
1998
|
+
latestVersion: {
|
|
1999
|
+
type: 'string',
|
|
2000
|
+
description: 'Latest version of the chart',
|
|
2001
|
+
example: '1.18.2-cfke.45'
|
|
2002
|
+
},
|
|
2003
|
+
metadata: {
|
|
2004
|
+
type: 'object',
|
|
2005
|
+
properties: {
|
|
2006
|
+
name: {
|
|
2007
|
+
type: 'string',
|
|
2008
|
+
description: 'Chart name from metadata',
|
|
2009
|
+
example: 'nginx-ingress'
|
|
2010
|
+
},
|
|
2011
|
+
version: {
|
|
2012
|
+
type: 'string',
|
|
2013
|
+
description: 'Chart version from metadata',
|
|
2014
|
+
example: '1.18.2-cfke.45'
|
|
2015
|
+
},
|
|
2016
|
+
description: {
|
|
2017
|
+
type: 'string',
|
|
2018
|
+
description: 'Chart description',
|
|
2019
|
+
example: 'NGINX Ingress Controller for Kubernetes'
|
|
2020
|
+
},
|
|
2021
|
+
appVersion: {
|
|
2022
|
+
type: 'string',
|
|
2023
|
+
description: 'Application version',
|
|
2024
|
+
example: '1.9.4'
|
|
2025
|
+
},
|
|
2026
|
+
apiVersion: {
|
|
2027
|
+
type: 'string',
|
|
2028
|
+
description: 'Helm API version',
|
|
2029
|
+
example: 'v2'
|
|
2030
|
+
},
|
|
2031
|
+
keywords: {
|
|
2032
|
+
type: 'array',
|
|
2033
|
+
items: {
|
|
2034
|
+
type: 'string'
|
|
842
2035
|
},
|
|
843
|
-
|
|
844
|
-
|
|
845
|
-
|
|
846
|
-
|
|
2036
|
+
description: 'Chart keywords',
|
|
2037
|
+
example: [
|
|
2038
|
+
'ingress',
|
|
2039
|
+
'nginx',
|
|
2040
|
+
'load-balancer'
|
|
2041
|
+
]
|
|
2042
|
+
},
|
|
2043
|
+
home: {
|
|
2044
|
+
type: 'string',
|
|
2045
|
+
description: 'Chart home URL',
|
|
2046
|
+
example: 'https://kubernetes.github.io/ingress-nginx/'
|
|
2047
|
+
},
|
|
2048
|
+
icon: {
|
|
2049
|
+
type: 'string',
|
|
2050
|
+
description: 'A URL to an SVG or PNG image to be used as an icon',
|
|
2051
|
+
example: 'https://cloudfleet.ai/images/marketplace/icons/ingress-nginx.png'
|
|
2052
|
+
},
|
|
2053
|
+
sources: {
|
|
2054
|
+
type: 'array',
|
|
2055
|
+
items: {
|
|
2056
|
+
type: 'string'
|
|
847
2057
|
},
|
|
848
|
-
|
|
849
|
-
|
|
850
|
-
|
|
851
|
-
|
|
852
|
-
},
|
|
853
|
-
prettyProductName: {
|
|
854
|
-
type: 'string',
|
|
855
|
-
description: 'Pretty name of the product',
|
|
856
|
-
example: 'Research team'
|
|
857
|
-
},
|
|
858
|
-
prettyPlanName: {
|
|
859
|
-
type: 'string',
|
|
860
|
-
description: 'Pretty name of the plan',
|
|
861
|
-
example: 'Plan A'
|
|
862
|
-
},
|
|
863
|
-
prettyPhaseName: {
|
|
864
|
-
type: 'string',
|
|
865
|
-
description: 'Pretty name of the phase',
|
|
866
|
-
example: 'Phase A'
|
|
867
|
-
},
|
|
868
|
-
prettyUsageName: {
|
|
869
|
-
type: 'string',
|
|
870
|
-
description: 'Pretty name of the usage',
|
|
871
|
-
example: 'Usage A'
|
|
872
|
-
},
|
|
873
|
-
itemType: {
|
|
874
|
-
type: 'string',
|
|
875
|
-
description: 'Type of the invoice item',
|
|
876
|
-
example: 'EXTERNAL_CHARGE',
|
|
877
|
-
enum: ['EXTERNAL_CHARGE', 'FIXED', 'RECURRING', 'REPAIR_ADJ', 'CBA_ADJ', 'CREDIT_ADJ', 'ITEM_ADJ', 'USAGE', 'TAX', 'PARENT_SUMMARY']
|
|
878
|
-
},
|
|
879
|
-
description: {
|
|
880
|
-
type: 'string',
|
|
881
|
-
description: 'Description of the invoice item',
|
|
882
|
-
example: 'Description of the invoice item'
|
|
883
|
-
},
|
|
884
|
-
startDate: {
|
|
885
|
-
type: 'string',
|
|
886
|
-
description: 'Start date of the invoice item',
|
|
887
|
-
example: '2019-01-01T00:00:00.000Z'
|
|
888
|
-
},
|
|
889
|
-
endDate: {
|
|
890
|
-
type: 'string',
|
|
891
|
-
description: 'End date of the invoice item',
|
|
892
|
-
example: '2019-01-01T00:00:00.000Z'
|
|
893
|
-
},
|
|
894
|
-
amount: {
|
|
895
|
-
type: 'number',
|
|
896
|
-
format: 'float',
|
|
897
|
-
description: 'Amount of the invoice item',
|
|
898
|
-
example: 100
|
|
899
|
-
},
|
|
900
|
-
rate: {
|
|
901
|
-
type: 'number',
|
|
902
|
-
format: 'float',
|
|
903
|
-
description: 'Rate of the invoice item',
|
|
904
|
-
example: 100
|
|
905
|
-
},
|
|
906
|
-
currency: {
|
|
907
|
-
type: 'string',
|
|
908
|
-
description: 'Currency of the invoice item',
|
|
909
|
-
example: 'USD',
|
|
910
|
-
enum: ['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']
|
|
911
|
-
},
|
|
912
|
-
quantity: {
|
|
913
|
-
type: 'number',
|
|
914
|
-
format: 'float',
|
|
915
|
-
description: 'Quantity of the invoice item',
|
|
916
|
-
example: 1
|
|
917
|
-
},
|
|
918
|
-
itemDetails: {
|
|
919
|
-
type: 'string',
|
|
920
|
-
description: 'Details of the invoice item',
|
|
921
|
-
example: 'Details of the invoice item'
|
|
922
|
-
},
|
|
923
|
-
catalogEffectiveDate: {
|
|
924
|
-
type: 'string',
|
|
925
|
-
description: 'Effective date of the catalog',
|
|
926
|
-
example: '2019-01-01T00:00:00.000Z'
|
|
927
|
-
},
|
|
928
|
-
childItems: {
|
|
929
|
-
type: 'array',
|
|
930
|
-
items: {
|
|
931
|
-
oneOf: [
|
|
932
|
-
{
|
|
933
|
-
type: 'array'
|
|
934
|
-
},
|
|
935
|
-
{
|
|
936
|
-
type: 'boolean'
|
|
937
|
-
},
|
|
938
|
-
{
|
|
939
|
-
type: 'number'
|
|
940
|
-
},
|
|
941
|
-
{
|
|
942
|
-
type: 'object',
|
|
943
|
-
additionalProperties: true
|
|
944
|
-
},
|
|
945
|
-
{
|
|
946
|
-
type: 'string'
|
|
947
|
-
}
|
|
948
|
-
]
|
|
949
|
-
},
|
|
950
|
-
description: 'Child items of the invoice item'
|
|
951
|
-
}
|
|
2058
|
+
description: 'Chart source URLs',
|
|
2059
|
+
example: [
|
|
2060
|
+
'https://github.com/kubernetes/ingress-nginx'
|
|
2061
|
+
]
|
|
952
2062
|
},
|
|
953
|
-
|
|
954
|
-
|
|
955
|
-
|
|
956
|
-
|
|
957
|
-
|
|
958
|
-
|
|
959
|
-
|
|
960
|
-
|
|
961
|
-
|
|
962
|
-
|
|
963
|
-
|
|
964
|
-
|
|
965
|
-
|
|
966
|
-
|
|
967
|
-
|
|
968
|
-
linkedInvoiceItemId: {
|
|
969
|
-
type: 'string',
|
|
970
|
-
format: 'uuid',
|
|
971
|
-
description: 'Unique identifier of the linked invoice item. UUID v4 string in canonical form',
|
|
972
|
-
example: '415026b6-f00f-44f8-968d-fc6ef4d0fc6d'
|
|
973
|
-
},
|
|
974
|
-
productName: {
|
|
975
|
-
type: 'string',
|
|
976
|
-
description: 'Name of the product',
|
|
977
|
-
example: 'Research team'
|
|
978
|
-
},
|
|
979
|
-
planName: {
|
|
980
|
-
type: 'string',
|
|
981
|
-
description: 'Name of the plan',
|
|
982
|
-
example: 'Plan A'
|
|
983
|
-
},
|
|
984
|
-
phaseName: {
|
|
985
|
-
type: 'string',
|
|
986
|
-
description: 'Name of the phase',
|
|
987
|
-
example: 'Phase A'
|
|
988
|
-
},
|
|
989
|
-
usageName: {
|
|
990
|
-
type: 'string',
|
|
991
|
-
description: 'Name of the usage',
|
|
992
|
-
example: 'Usage A'
|
|
993
|
-
},
|
|
994
|
-
prettyProductName: {
|
|
995
|
-
type: 'string',
|
|
996
|
-
description: 'Pretty name of the product',
|
|
997
|
-
example: 'Research team'
|
|
998
|
-
},
|
|
999
|
-
prettyPlanName: {
|
|
1000
|
-
type: 'string',
|
|
1001
|
-
description: 'Pretty name of the plan',
|
|
1002
|
-
example: 'Plan A'
|
|
1003
|
-
},
|
|
1004
|
-
prettyPhaseName: {
|
|
1005
|
-
type: 'string',
|
|
1006
|
-
description: 'Pretty name of the phase',
|
|
1007
|
-
example: 'Phase A'
|
|
1008
|
-
},
|
|
1009
|
-
prettyUsageName: {
|
|
1010
|
-
type: 'string',
|
|
1011
|
-
description: 'Pretty name of the usage',
|
|
1012
|
-
example: 'Usage A'
|
|
1013
|
-
},
|
|
1014
|
-
itemType: {
|
|
1015
|
-
type: 'string',
|
|
1016
|
-
description: 'Type of the invoice item',
|
|
1017
|
-
example: 'EXTERNAL_CHARGE',
|
|
1018
|
-
enum: ['EXTERNAL_CHARGE', 'FIXED', 'RECURRING', 'REPAIR_ADJ', 'CBA_ADJ', 'CREDIT_ADJ', 'ITEM_ADJ', 'USAGE', 'TAX', 'PARENT_SUMMARY']
|
|
1019
|
-
},
|
|
1020
|
-
description: {
|
|
1021
|
-
type: 'string',
|
|
1022
|
-
description: 'Description of the invoice item',
|
|
1023
|
-
example: 'Description of the invoice item'
|
|
1024
|
-
},
|
|
1025
|
-
startDate: {
|
|
1026
|
-
type: 'string',
|
|
1027
|
-
description: 'Start date of the invoice item',
|
|
1028
|
-
example: '2019-01-01T00:00:00.000Z'
|
|
1029
|
-
},
|
|
1030
|
-
endDate: {
|
|
1031
|
-
type: 'string',
|
|
1032
|
-
description: 'End date of the invoice item',
|
|
1033
|
-
example: '2019-01-01T00:00:00.000Z'
|
|
1034
|
-
},
|
|
1035
|
-
amount: {
|
|
1036
|
-
type: 'number',
|
|
1037
|
-
format: 'float',
|
|
1038
|
-
description: 'Amount of the invoice item',
|
|
1039
|
-
example: 100
|
|
1040
|
-
},
|
|
1041
|
-
rate: {
|
|
1042
|
-
type: 'number',
|
|
1043
|
-
format: 'float',
|
|
1044
|
-
description: 'Rate of the invoice item',
|
|
1045
|
-
example: 100
|
|
1046
|
-
},
|
|
1047
|
-
currency: {
|
|
1048
|
-
type: 'string',
|
|
1049
|
-
description: 'Currency of the invoice item',
|
|
1050
|
-
example: 'USD',
|
|
1051
|
-
enum: ['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']
|
|
1052
|
-
},
|
|
1053
|
-
quantity: {
|
|
1054
|
-
type: 'number',
|
|
1055
|
-
format: 'float',
|
|
1056
|
-
description: 'Quantity of the invoice item',
|
|
1057
|
-
example: 1
|
|
1058
|
-
},
|
|
1059
|
-
itemDetails: {
|
|
1060
|
-
type: 'string',
|
|
1061
|
-
description: 'Details of the invoice item',
|
|
1062
|
-
example: 'Details of the invoice item'
|
|
1063
|
-
},
|
|
1064
|
-
catalogEffectiveDate: {
|
|
1065
|
-
type: 'string',
|
|
1066
|
-
description: 'Effective date of the catalog',
|
|
1067
|
-
example: '2019-01-01T00:00:00.000Z'
|
|
1068
|
-
},
|
|
1069
|
-
childItems: {
|
|
1070
|
-
type: 'array',
|
|
1071
|
-
items: {
|
|
1072
|
-
oneOf: [
|
|
1073
|
-
{
|
|
1074
|
-
type: 'array'
|
|
1075
|
-
},
|
|
1076
|
-
{
|
|
1077
|
-
type: 'boolean'
|
|
1078
|
-
},
|
|
1079
|
-
{
|
|
1080
|
-
type: 'number'
|
|
1081
|
-
},
|
|
1082
|
-
{
|
|
1083
|
-
type: 'object',
|
|
1084
|
-
additionalProperties: true
|
|
1085
|
-
},
|
|
1086
|
-
{
|
|
1087
|
-
type: 'string'
|
|
1088
|
-
}
|
|
1089
|
-
]
|
|
2063
|
+
maintainers: {
|
|
2064
|
+
type: 'array',
|
|
2065
|
+
items: {
|
|
2066
|
+
type: 'object',
|
|
2067
|
+
properties: {
|
|
2068
|
+
name: {
|
|
2069
|
+
type: 'string',
|
|
2070
|
+
description: 'Maintainer name',
|
|
2071
|
+
example: 'NGINX Team'
|
|
2072
|
+
},
|
|
2073
|
+
email: {
|
|
2074
|
+
type: 'string',
|
|
2075
|
+
description: 'Maintainer email',
|
|
2076
|
+
example: 'support@nginx.org'
|
|
2077
|
+
}
|
|
1090
2078
|
},
|
|
1091
|
-
|
|
1092
|
-
|
|
1093
|
-
|
|
1094
|
-
|
|
2079
|
+
required: [
|
|
2080
|
+
'name'
|
|
2081
|
+
],
|
|
2082
|
+
additionalProperties: false
|
|
2083
|
+
},
|
|
2084
|
+
description: 'Chart maintainers'
|
|
2085
|
+
}
|
|
1095
2086
|
},
|
|
1096
|
-
|
|
2087
|
+
required: [
|
|
2088
|
+
'name',
|
|
2089
|
+
'version'
|
|
2090
|
+
],
|
|
2091
|
+
additionalProperties: false,
|
|
2092
|
+
description: 'Chart metadata'
|
|
1097
2093
|
}
|
|
1098
2094
|
},
|
|
2095
|
+
required: [
|
|
2096
|
+
'name',
|
|
2097
|
+
'versions',
|
|
2098
|
+
'version_channels',
|
|
2099
|
+
'latestVersion'
|
|
2100
|
+
],
|
|
1099
2101
|
additionalProperties: false
|
|
1100
2102
|
};
|
|
1101
|
-
export const
|
|
2103
|
+
export const OrganizationCreateInputSchema = {
|
|
1102
2104
|
type: 'object',
|
|
1103
2105
|
properties: {
|
|
1104
|
-
|
|
1105
|
-
type: 'string',
|
|
1106
|
-
maxLength: 63,
|
|
1107
|
-
minLength: 1,
|
|
1108
|
-
pattern: '^[a-z0-9]([-a-z0-9]*[a-z0-9])?$',
|
|
1109
|
-
description: 'Id of the chart listing',
|
|
1110
|
-
example: 'portworx-enterprise-disaster-recovery-baremetal'
|
|
1111
|
-
},
|
|
1112
|
-
name: {
|
|
1113
|
-
type: 'string',
|
|
1114
|
-
description: 'Name of the chart listing',
|
|
1115
|
-
example: 'Portworx Enterprise + Disaster Recovery - Baremetal'
|
|
1116
|
-
},
|
|
1117
|
-
developer: {
|
|
1118
|
-
type: 'string',
|
|
1119
|
-
description: 'Author of the chart listing',
|
|
1120
|
-
example: 'Portworx'
|
|
1121
|
-
},
|
|
1122
|
-
description: {
|
|
1123
|
-
type: 'string',
|
|
1124
|
-
description: 'Short description of the chart listing',
|
|
1125
|
-
example: 'Run Kubernetes with unmatched scalability, availability, and self-service access to any storage'
|
|
1126
|
-
},
|
|
1127
|
-
logoUrl: {
|
|
1128
|
-
type: 'string',
|
|
1129
|
-
description: 'Logo of the chart listing',
|
|
1130
|
-
example: 'https://portworx.com/wp-content/themes/portworx/assets/images/header/portworx-logo.png'
|
|
1131
|
-
},
|
|
1132
|
-
longDescription: {
|
|
2106
|
+
type: {
|
|
1133
2107
|
type: 'string',
|
|
1134
|
-
description: '
|
|
1135
|
-
example: '
|
|
1136
|
-
|
|
1137
|
-
|
|
1138
|
-
|
|
1139
|
-
|
|
1140
|
-
type: 'string',
|
|
1141
|
-
example: 'AI & Machine Learning'
|
|
1142
|
-
},
|
|
1143
|
-
description: 'Tags of the chart'
|
|
1144
|
-
},
|
|
1145
|
-
version_channels: {
|
|
1146
|
-
type: 'array',
|
|
1147
|
-
items: {
|
|
1148
|
-
type: 'string',
|
|
1149
|
-
pattern: '^(x|X|0|[1-9]\\d*)\\.(x|X|0|[1-9]\\d*)\\.(x|X|0|[1-9]\\d*)(?:-((?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\\.(?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\\+([0-9a-zA-Z-]+(?:\\.[0-9a-zA-Z-]+)*))?$',
|
|
1150
|
-
description: 'Version of the chart.',
|
|
1151
|
-
example: '2.x.x-cfke.x'
|
|
1152
|
-
}
|
|
2108
|
+
description: 'Type of the organization. `business` for legal entities, `personal` for individuals.',
|
|
2109
|
+
example: 'business',
|
|
2110
|
+
enum: [
|
|
2111
|
+
'business',
|
|
2112
|
+
'personal'
|
|
2113
|
+
]
|
|
1153
2114
|
},
|
|
1154
|
-
value_schemas: {
|
|
1155
|
-
type: 'array',
|
|
1156
|
-
items: {
|
|
1157
|
-
type: 'object',
|
|
1158
|
-
properties: {
|
|
1159
|
-
version: {
|
|
1160
|
-
type: 'string',
|
|
1161
|
-
pattern: '^(x|X|0|[1-9]\\d*)\\.(x|X|0|[1-9]\\d*)\\.(x|X|0|[1-9]\\d*)(?:-((?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\\.(?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\\+([0-9a-zA-Z-]+(?:\\.[0-9a-zA-Z-]+)*))?$',
|
|
1162
|
-
description: 'Version of the chart.',
|
|
1163
|
-
example: '2.1.1-cfke.123'
|
|
1164
|
-
},
|
|
1165
|
-
schema: {
|
|
1166
|
-
type: 'string',
|
|
1167
|
-
description: 'Schema of the chart values. JSON Schema as string'
|
|
1168
|
-
},
|
|
1169
|
-
placeholder: {
|
|
1170
|
-
type: 'string',
|
|
1171
|
-
description: 'Schema of the chart values',
|
|
1172
|
-
example: `foo: 1
|
|
1173
|
-
bar: example`
|
|
1174
|
-
}
|
|
1175
|
-
},
|
|
1176
|
-
required: ['version', 'schema', 'placeholder'],
|
|
1177
|
-
additionalProperties: false
|
|
1178
|
-
}
|
|
1179
|
-
}
|
|
1180
|
-
},
|
|
1181
|
-
required: ['id', 'name', 'developer', 'description', 'logoUrl', 'longDescription', 'categories', 'version_channels', 'value_schemas'],
|
|
1182
|
-
additionalProperties: false
|
|
1183
|
-
};
|
|
1184
|
-
export const OrganizationCreateInputSchema = {
|
|
1185
|
-
type: 'object',
|
|
1186
|
-
properties: {
|
|
1187
2115
|
email: {
|
|
1188
2116
|
type: 'string',
|
|
1189
2117
|
format: 'email',
|
|
@@ -1192,11 +2120,13 @@ export const OrganizationCreateInputSchema = {
|
|
|
1192
2120
|
},
|
|
1193
2121
|
first_name: {
|
|
1194
2122
|
type: 'string',
|
|
2123
|
+
minLength: 1,
|
|
1195
2124
|
description: 'First name of the billing contact person.',
|
|
1196
2125
|
example: 'John'
|
|
1197
2126
|
},
|
|
1198
2127
|
last_name: {
|
|
1199
2128
|
type: 'string',
|
|
2129
|
+
minLength: 1,
|
|
1200
2130
|
description: 'Last name of the billing contact person.',
|
|
1201
2131
|
example: 'Doe'
|
|
1202
2132
|
},
|
|
@@ -1214,7 +2144,28 @@ export const OrganizationCreateInputSchema = {
|
|
|
1214
2144
|
description: '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.'
|
|
1215
2145
|
}
|
|
1216
2146
|
},
|
|
1217
|
-
required: [
|
|
2147
|
+
required: [
|
|
2148
|
+
'type',
|
|
2149
|
+
'email',
|
|
2150
|
+
'first_name',
|
|
2151
|
+
'last_name',
|
|
2152
|
+
'company_name',
|
|
2153
|
+
'password'
|
|
2154
|
+
],
|
|
2155
|
+
additionalProperties: false
|
|
2156
|
+
};
|
|
2157
|
+
export const OrganizationCreateOutputSchema = {
|
|
2158
|
+
type: 'object',
|
|
2159
|
+
properties: {
|
|
2160
|
+
id: {
|
|
2161
|
+
type: 'string',
|
|
2162
|
+
description: 'Unique identifier of the newly created organization. Generated by the API and safe to use for client-side tracking immediately.',
|
|
2163
|
+
example: 'organization-id'
|
|
2164
|
+
}
|
|
2165
|
+
},
|
|
2166
|
+
required: [
|
|
2167
|
+
'id'
|
|
2168
|
+
],
|
|
1218
2169
|
additionalProperties: false
|
|
1219
2170
|
};
|
|
1220
2171
|
export const OrganizationSchema = {
|
|
@@ -1233,6 +2184,15 @@ export const OrganizationSchema = {
|
|
|
1233
2184
|
description: 'Name of the legal entity. This name will be used in invoices. Use your first and last name for individual accounts.',
|
|
1234
2185
|
example: 'ACME Corp.'
|
|
1235
2186
|
},
|
|
2187
|
+
type: {
|
|
2188
|
+
type: 'string',
|
|
2189
|
+
description: 'Type of the organization. `business` for legal entities, `personal` for individuals.',
|
|
2190
|
+
example: 'business',
|
|
2191
|
+
enum: [
|
|
2192
|
+
'business',
|
|
2193
|
+
'personal'
|
|
2194
|
+
]
|
|
2195
|
+
},
|
|
1236
2196
|
date_created: {
|
|
1237
2197
|
type: 'string',
|
|
1238
2198
|
format: 'date-time',
|
|
@@ -1274,107 +2234,1012 @@ export const OrganizationSchema = {
|
|
|
1274
2234
|
type: 'array',
|
|
1275
2235
|
items: {
|
|
1276
2236
|
type: 'string',
|
|
1277
|
-
example: 'basic'
|
|
2237
|
+
example: 'basic'
|
|
2238
|
+
},
|
|
2239
|
+
minItems: 0,
|
|
2240
|
+
description: 'List of Cloudfleet cluster tiers available for the organization.'
|
|
2241
|
+
},
|
|
2242
|
+
regions: {
|
|
2243
|
+
type: 'array',
|
|
2244
|
+
items: {
|
|
2245
|
+
type: 'string',
|
|
2246
|
+
example: 'northamerica-central-1'
|
|
2247
|
+
},
|
|
2248
|
+
minItems: 1,
|
|
2249
|
+
description: 'List of Cloudfleet control plane regions available for the organization.'
|
|
2250
|
+
},
|
|
2251
|
+
versions: {
|
|
2252
|
+
type: 'array',
|
|
2253
|
+
items: {
|
|
2254
|
+
type: 'object',
|
|
2255
|
+
properties: {
|
|
2256
|
+
id: {
|
|
2257
|
+
type: 'string',
|
|
2258
|
+
description: 'Id of the control plane version. Used in API calls.',
|
|
2259
|
+
example: '1.33.x-cfke.x'
|
|
2260
|
+
},
|
|
2261
|
+
label: {
|
|
2262
|
+
type: 'string',
|
|
2263
|
+
description: 'Label of the control plane version. Used in frontent UI.',
|
|
2264
|
+
example: '1.33.x (Always latest 1.33 patch version)'
|
|
2265
|
+
}
|
|
2266
|
+
},
|
|
2267
|
+
required: [
|
|
2268
|
+
'id',
|
|
2269
|
+
'label'
|
|
2270
|
+
],
|
|
2271
|
+
additionalProperties: false
|
|
2272
|
+
},
|
|
2273
|
+
minItems: 1,
|
|
2274
|
+
description: 'List of CFKE control plane versions available for the organization.'
|
|
2275
|
+
},
|
|
2276
|
+
cfcr_storage_gb: {
|
|
2277
|
+
type: 'integer',
|
|
2278
|
+
minimum: -1,
|
|
2279
|
+
description: 'Organization-level maximum CFCR storage volume in GB. -1 means no limit.',
|
|
2280
|
+
example: 500
|
|
2281
|
+
}
|
|
2282
|
+
},
|
|
2283
|
+
required: [
|
|
2284
|
+
'basic_clusters_max',
|
|
2285
|
+
'basic_clusters_available',
|
|
2286
|
+
'pro_clusters_max',
|
|
2287
|
+
'pro_clusters_available',
|
|
2288
|
+
'fleets_max',
|
|
2289
|
+
'cluster_tiers',
|
|
2290
|
+
'regions',
|
|
2291
|
+
'versions',
|
|
2292
|
+
'cfcr_storage_gb'
|
|
2293
|
+
],
|
|
2294
|
+
additionalProperties: false,
|
|
2295
|
+
description: 'For security reasons, platform quota is controlled by Cloudfleet and can be updated only by Cloudfleet administrators. Please open a support ticket if you need to change the platform quota.'
|
|
2296
|
+
},
|
|
2297
|
+
status: {
|
|
2298
|
+
type: 'string',
|
|
2299
|
+
description: 'Status of the organization. Can be `active` or `closed`, or `suspended`.',
|
|
2300
|
+
enum: [
|
|
2301
|
+
'active',
|
|
2302
|
+
'closed',
|
|
2303
|
+
'suspended'
|
|
2304
|
+
]
|
|
2305
|
+
},
|
|
2306
|
+
verification: {
|
|
2307
|
+
type: 'string',
|
|
2308
|
+
description: 'Verification status of the organization, which determines the assigned quota. `none` when billing information is incomplete, `submitted` when billing information is complete but the organization is not yet verified, `verified` when the organization is verified.',
|
|
2309
|
+
example: 'verified',
|
|
2310
|
+
enum: [
|
|
2311
|
+
'none',
|
|
2312
|
+
'submitted',
|
|
2313
|
+
'verified'
|
|
2314
|
+
]
|
|
2315
|
+
}
|
|
2316
|
+
},
|
|
2317
|
+
required: [
|
|
2318
|
+
'id',
|
|
2319
|
+
'type',
|
|
2320
|
+
'date_created',
|
|
2321
|
+
'quota',
|
|
2322
|
+
'status',
|
|
2323
|
+
'verification'
|
|
2324
|
+
],
|
|
2325
|
+
additionalProperties: false
|
|
2326
|
+
};
|
|
2327
|
+
export const PaymentMethodSchema = {
|
|
2328
|
+
type: 'object',
|
|
2329
|
+
properties: {
|
|
2330
|
+
id: {
|
|
2331
|
+
type: 'string',
|
|
2332
|
+
format: 'uuid',
|
|
2333
|
+
description: 'Unique identifier of the organization. UUID v4 string in canonical form.',
|
|
2334
|
+
example: 'e94d30ec-a2dd-4dcb-832c-ac2be144ba91'
|
|
2335
|
+
},
|
|
2336
|
+
setup: {
|
|
2337
|
+
type: 'boolean',
|
|
2338
|
+
description: 'Whether organization payment method was set up and ready to use for payments.',
|
|
2339
|
+
example: true
|
|
2340
|
+
},
|
|
2341
|
+
type: {
|
|
2342
|
+
type: 'string',
|
|
2343
|
+
nullable: true,
|
|
2344
|
+
description: 'Payment method type type. Only `card` payments supported at the moment.',
|
|
2345
|
+
example: 'card',
|
|
2346
|
+
enum: [
|
|
2347
|
+
'card'
|
|
2348
|
+
]
|
|
2349
|
+
},
|
|
2350
|
+
last4: {
|
|
2351
|
+
type: 'string',
|
|
2352
|
+
nullable: true,
|
|
2353
|
+
description: 'Last 4 digits of the payment card number.',
|
|
2354
|
+
example: '4242'
|
|
2355
|
+
},
|
|
2356
|
+
exp_month: {
|
|
2357
|
+
type: 'integer',
|
|
2358
|
+
minimum: 1,
|
|
2359
|
+
maximum: 12,
|
|
2360
|
+
nullable: true,
|
|
2361
|
+
description: 'Two-digit number representing the card\'s expiration month.',
|
|
2362
|
+
example: '12'
|
|
2363
|
+
},
|
|
2364
|
+
exp_year: {
|
|
2365
|
+
type: 'integer',
|
|
2366
|
+
minimum: 2024,
|
|
2367
|
+
nullable: true,
|
|
2368
|
+
description: 'Four-digit number representing the card\'s expiration year.',
|
|
2369
|
+
example: '2028'
|
|
2370
|
+
},
|
|
2371
|
+
brand: {
|
|
2372
|
+
type: 'string',
|
|
2373
|
+
nullable: true,
|
|
2374
|
+
description: 'Payment card brand. Can be `amex`, `diners`, `discover`, `eftpos_au`, `jcb`, `mastercard`, `unionpay`, `visa`, or `unknown`.',
|
|
2375
|
+
example: 'visa',
|
|
2376
|
+
enum: [
|
|
2377
|
+
'amex',
|
|
2378
|
+
'diners',
|
|
2379
|
+
'discover',
|
|
2380
|
+
'eftpos_au',
|
|
2381
|
+
'jcb',
|
|
2382
|
+
'mastercard',
|
|
2383
|
+
'unionpay',
|
|
2384
|
+
'visa',
|
|
2385
|
+
'unknown'
|
|
2386
|
+
]
|
|
2387
|
+
}
|
|
2388
|
+
},
|
|
2389
|
+
required: [
|
|
2390
|
+
'id',
|
|
2391
|
+
'setup',
|
|
2392
|
+
'type',
|
|
2393
|
+
'last4',
|
|
2394
|
+
'exp_month',
|
|
2395
|
+
'exp_year',
|
|
2396
|
+
'brand'
|
|
2397
|
+
],
|
|
2398
|
+
additionalProperties: false
|
|
2399
|
+
};
|
|
2400
|
+
export const PlatformQuotaSchema = {
|
|
2401
|
+
type: 'object',
|
|
2402
|
+
properties: {
|
|
2403
|
+
basic_clusters_max: {
|
|
2404
|
+
type: 'integer',
|
|
2405
|
+
minimum: 0,
|
|
2406
|
+
description: 'Maximum number of Basic clusters that can be created.',
|
|
2407
|
+
example: 999
|
|
2408
|
+
},
|
|
2409
|
+
basic_clusters_available: {
|
|
2410
|
+
type: 'integer',
|
|
2411
|
+
description: 'Available number of Basic clusters that can be created.',
|
|
2412
|
+
example: 999
|
|
2413
|
+
},
|
|
2414
|
+
pro_clusters_max: {
|
|
2415
|
+
type: 'integer',
|
|
2416
|
+
minimum: 0,
|
|
2417
|
+
description: 'Maximum number of Pro clusters that can be created.',
|
|
2418
|
+
example: 999
|
|
2419
|
+
},
|
|
2420
|
+
pro_clusters_available: {
|
|
2421
|
+
type: 'integer',
|
|
2422
|
+
description: 'Available number of Pro clusters that can be created.',
|
|
2423
|
+
example: 999
|
|
2424
|
+
},
|
|
2425
|
+
fleets_max: {
|
|
2426
|
+
type: 'integer',
|
|
2427
|
+
minimum: 0,
|
|
2428
|
+
description: 'Maximum number of fleets that can be created per cluster.',
|
|
2429
|
+
example: 999
|
|
2430
|
+
},
|
|
2431
|
+
cluster_tiers: {
|
|
2432
|
+
type: 'array',
|
|
2433
|
+
items: {
|
|
2434
|
+
type: 'string',
|
|
2435
|
+
example: 'basic'
|
|
2436
|
+
},
|
|
2437
|
+
minItems: 0,
|
|
2438
|
+
description: 'List of Cloudfleet cluster tiers available for the organization.'
|
|
2439
|
+
},
|
|
2440
|
+
regions: {
|
|
2441
|
+
type: 'array',
|
|
2442
|
+
items: {
|
|
2443
|
+
type: 'string',
|
|
2444
|
+
example: 'northamerica-central-1'
|
|
2445
|
+
},
|
|
2446
|
+
minItems: 1,
|
|
2447
|
+
description: 'List of Cloudfleet control plane regions available for the organization.'
|
|
2448
|
+
},
|
|
2449
|
+
versions: {
|
|
2450
|
+
type: 'array',
|
|
2451
|
+
items: {
|
|
2452
|
+
type: 'object',
|
|
2453
|
+
properties: {
|
|
2454
|
+
id: {
|
|
2455
|
+
type: 'string',
|
|
2456
|
+
description: 'Id of the control plane version. Used in API calls.',
|
|
2457
|
+
example: '1.33.x-cfke.x'
|
|
2458
|
+
},
|
|
2459
|
+
label: {
|
|
2460
|
+
type: 'string',
|
|
2461
|
+
description: 'Label of the control plane version. Used in frontent UI.',
|
|
2462
|
+
example: '1.33.x (Always latest 1.33 patch version)'
|
|
2463
|
+
}
|
|
2464
|
+
},
|
|
2465
|
+
required: [
|
|
2466
|
+
'id',
|
|
2467
|
+
'label'
|
|
2468
|
+
],
|
|
2469
|
+
additionalProperties: false
|
|
2470
|
+
},
|
|
2471
|
+
minItems: 1,
|
|
2472
|
+
description: 'List of CFKE control plane versions available for the organization.'
|
|
2473
|
+
},
|
|
2474
|
+
cfcr_storage_gb: {
|
|
2475
|
+
type: 'integer',
|
|
2476
|
+
minimum: -1,
|
|
2477
|
+
description: 'Organization-level maximum CFCR storage volume in GB. -1 means no limit.',
|
|
2478
|
+
example: 500
|
|
2479
|
+
}
|
|
2480
|
+
},
|
|
2481
|
+
required: [
|
|
2482
|
+
'basic_clusters_max',
|
|
2483
|
+
'basic_clusters_available',
|
|
2484
|
+
'pro_clusters_max',
|
|
2485
|
+
'pro_clusters_available',
|
|
2486
|
+
'fleets_max',
|
|
2487
|
+
'cluster_tiers',
|
|
2488
|
+
'regions',
|
|
2489
|
+
'versions',
|
|
2490
|
+
'cfcr_storage_gb'
|
|
2491
|
+
],
|
|
2492
|
+
additionalProperties: false
|
|
2493
|
+
};
|
|
2494
|
+
export const RegistryRepositorySchema = {
|
|
2495
|
+
type: 'object',
|
|
2496
|
+
properties: {
|
|
2497
|
+
name: {
|
|
2498
|
+
type: 'string',
|
|
2499
|
+
description: 'Repository name.',
|
|
2500
|
+
example: 'my-app'
|
|
2501
|
+
},
|
|
2502
|
+
region: {
|
|
2503
|
+
type: 'string',
|
|
2504
|
+
description: 'Registry region.',
|
|
2505
|
+
example: 'northamerica'
|
|
2506
|
+
},
|
|
2507
|
+
uri: {
|
|
2508
|
+
type: 'string',
|
|
2509
|
+
description: 'Full URI of the repository.',
|
|
2510
|
+
example: 'ssds123e-6651-4e5d-9c04-079f6532989b.northamerica.registry.cloudfleet.dev/my-app'
|
|
2511
|
+
}
|
|
2512
|
+
},
|
|
2513
|
+
required: [
|
|
2514
|
+
'name',
|
|
2515
|
+
'region',
|
|
2516
|
+
'uri'
|
|
2517
|
+
],
|
|
2518
|
+
additionalProperties: false
|
|
2519
|
+
};
|
|
2520
|
+
export const RegistryRepositoryWithTagsSchema = {
|
|
2521
|
+
type: 'object',
|
|
2522
|
+
properties: {
|
|
2523
|
+
name: {
|
|
2524
|
+
type: 'string',
|
|
2525
|
+
description: 'Repository name.',
|
|
2526
|
+
example: 'my-app'
|
|
2527
|
+
},
|
|
2528
|
+
region: {
|
|
2529
|
+
type: 'string',
|
|
2530
|
+
description: 'Registry region.',
|
|
2531
|
+
example: 'northamerica'
|
|
2532
|
+
},
|
|
2533
|
+
uri: {
|
|
2534
|
+
type: 'string',
|
|
2535
|
+
description: 'Full URI of the repository.',
|
|
2536
|
+
example: 'ssds123e-6651-4e5d-9c04-079f6532989b.northamerica.registry.cloudfleet.dev/my-app'
|
|
2537
|
+
},
|
|
2538
|
+
tags: {
|
|
2539
|
+
type: 'array',
|
|
2540
|
+
items: {
|
|
2541
|
+
type: 'object',
|
|
2542
|
+
properties: {
|
|
2543
|
+
name: {
|
|
2544
|
+
type: 'string',
|
|
2545
|
+
description: 'Tag name.',
|
|
2546
|
+
example: 'latest'
|
|
2547
|
+
},
|
|
2548
|
+
size: {
|
|
2549
|
+
type: 'number',
|
|
2550
|
+
format: 'float',
|
|
2551
|
+
description: 'Size of the tag in bytes.',
|
|
2552
|
+
example: 123456789
|
|
2553
|
+
},
|
|
2554
|
+
mediaType: {
|
|
2555
|
+
type: 'string',
|
|
2556
|
+
description: 'Media type of the manifest.',
|
|
2557
|
+
example: 'application/vnd.docker.distribution.manifest.v2+json'
|
|
2558
|
+
},
|
|
2559
|
+
platforms: {
|
|
2560
|
+
type: 'array',
|
|
2561
|
+
items: {
|
|
2562
|
+
type: 'string'
|
|
2563
|
+
},
|
|
2564
|
+
description: 'Array of platform strings for multi-arch images (e.g., linux/amd64, linux/arm64).',
|
|
2565
|
+
example: [
|
|
2566
|
+
'linux/amd64',
|
|
2567
|
+
'linux/arm64'
|
|
2568
|
+
]
|
|
2569
|
+
}
|
|
2570
|
+
},
|
|
2571
|
+
required: [
|
|
2572
|
+
'name',
|
|
2573
|
+
'size'
|
|
2574
|
+
],
|
|
2575
|
+
additionalProperties: false
|
|
2576
|
+
},
|
|
2577
|
+
description: 'Array of tags in the repository.'
|
|
2578
|
+
},
|
|
2579
|
+
totalSize: {
|
|
2580
|
+
type: 'number',
|
|
2581
|
+
format: 'float',
|
|
2582
|
+
description: 'Total size of all tags in the repository in bytes.',
|
|
2583
|
+
example: 987654321
|
|
2584
|
+
}
|
|
2585
|
+
},
|
|
2586
|
+
required: [
|
|
2587
|
+
'name',
|
|
2588
|
+
'region',
|
|
2589
|
+
'uri',
|
|
2590
|
+
'tags',
|
|
2591
|
+
'totalSize'
|
|
2592
|
+
],
|
|
2593
|
+
additionalProperties: false
|
|
2594
|
+
};
|
|
2595
|
+
export const RegistryTagSchema = {
|
|
2596
|
+
type: 'object',
|
|
2597
|
+
properties: {
|
|
2598
|
+
name: {
|
|
2599
|
+
type: 'string',
|
|
2600
|
+
description: 'Tag name.',
|
|
2601
|
+
example: 'latest'
|
|
2602
|
+
},
|
|
2603
|
+
digest: {
|
|
2604
|
+
type: 'string',
|
|
2605
|
+
description: 'Manifest digest for pulling by digest.',
|
|
2606
|
+
example: 'sha256:abcd1234ef567890abcd1234ef567890abcd1234ef567890abcd1234ef567890'
|
|
2607
|
+
},
|
|
2608
|
+
mediaType: {
|
|
2609
|
+
type: 'string',
|
|
2610
|
+
description: 'Media type of the manifest.',
|
|
2611
|
+
example: 'application/vnd.docker.distribution.manifest.v2+json'
|
|
2612
|
+
},
|
|
2613
|
+
config: {
|
|
2614
|
+
type: 'object',
|
|
2615
|
+
properties: {
|
|
2616
|
+
size: {
|
|
2617
|
+
type: 'number',
|
|
2618
|
+
format: 'float',
|
|
2619
|
+
description: 'Size of the config in bytes.',
|
|
2620
|
+
example: 1234
|
|
2621
|
+
}
|
|
2622
|
+
},
|
|
2623
|
+
required: [
|
|
2624
|
+
'size'
|
|
2625
|
+
],
|
|
2626
|
+
additionalProperties: false,
|
|
2627
|
+
description: 'Manifest config metadata.'
|
|
2628
|
+
},
|
|
2629
|
+
layers: {
|
|
2630
|
+
type: 'array',
|
|
2631
|
+
items: {
|
|
2632
|
+
type: 'object',
|
|
2633
|
+
properties: {
|
|
2634
|
+
digest: {
|
|
2635
|
+
type: 'string',
|
|
2636
|
+
description: 'Digest of the layer.',
|
|
2637
|
+
example: 'sha256:abcd1234ef567890abcd1234ef567890abcd1234ef567890abcd1234ef567890'
|
|
2638
|
+
},
|
|
2639
|
+
size: {
|
|
2640
|
+
type: 'number',
|
|
2641
|
+
format: 'float',
|
|
2642
|
+
description: 'Size of the layer in bytes.',
|
|
2643
|
+
example: 5678
|
|
2644
|
+
}
|
|
2645
|
+
},
|
|
2646
|
+
required: [
|
|
2647
|
+
'size'
|
|
2648
|
+
],
|
|
2649
|
+
additionalProperties: false
|
|
2650
|
+
},
|
|
2651
|
+
description: 'Array of layer metadata.'
|
|
2652
|
+
},
|
|
2653
|
+
manifests: {
|
|
2654
|
+
type: 'array',
|
|
2655
|
+
items: {
|
|
2656
|
+
type: 'object',
|
|
2657
|
+
properties: {
|
|
2658
|
+
digest: {
|
|
2659
|
+
type: 'string',
|
|
2660
|
+
description: 'Digest of the manifest.',
|
|
2661
|
+
example: 'sha256:abcd1234ef567890abcd1234ef567890abcd1234ef567890abcd1234ef567890'
|
|
2662
|
+
},
|
|
2663
|
+
platform: {
|
|
2664
|
+
type: 'object',
|
|
2665
|
+
properties: {
|
|
2666
|
+
architecture: {
|
|
2667
|
+
type: 'string',
|
|
2668
|
+
description: 'Architecture of the platform.',
|
|
2669
|
+
example: 'amd64'
|
|
2670
|
+
},
|
|
2671
|
+
os: {
|
|
2672
|
+
type: 'string',
|
|
2673
|
+
description: 'Operating system of the platform.',
|
|
2674
|
+
example: 'linux'
|
|
2675
|
+
},
|
|
2676
|
+
variant: {
|
|
2677
|
+
type: 'string',
|
|
2678
|
+
description: 'Variant of the platform (e.g., v7, v8 for ARM).',
|
|
2679
|
+
example: 'v8'
|
|
2680
|
+
}
|
|
2681
|
+
},
|
|
2682
|
+
required: [
|
|
2683
|
+
'architecture',
|
|
2684
|
+
'os'
|
|
2685
|
+
],
|
|
2686
|
+
additionalProperties: false,
|
|
2687
|
+
description: 'Platform information for the manifest.'
|
|
2688
|
+
},
|
|
2689
|
+
layers: {
|
|
2690
|
+
type: 'array',
|
|
2691
|
+
items: {
|
|
2692
|
+
type: 'object',
|
|
2693
|
+
properties: {
|
|
2694
|
+
digest: {
|
|
2695
|
+
type: 'string',
|
|
2696
|
+
description: 'Digest of the layer.',
|
|
2697
|
+
example: 'sha256:abcd1234ef567890abcd1234ef567890abcd1234ef567890abcd1234ef567890'
|
|
2698
|
+
},
|
|
2699
|
+
size: {
|
|
2700
|
+
type: 'number',
|
|
2701
|
+
format: 'float',
|
|
2702
|
+
description: 'Size of the layer in bytes.',
|
|
2703
|
+
example: 5678
|
|
2704
|
+
}
|
|
2705
|
+
},
|
|
2706
|
+
required: [
|
|
2707
|
+
'size'
|
|
2708
|
+
],
|
|
2709
|
+
additionalProperties: false
|
|
2710
|
+
},
|
|
2711
|
+
description: 'Layers for this platform.'
|
|
2712
|
+
},
|
|
2713
|
+
size: {
|
|
2714
|
+
type: 'number',
|
|
2715
|
+
format: 'float',
|
|
2716
|
+
description: 'Total size of this platform manifest in bytes.',
|
|
2717
|
+
example: 12345678
|
|
2718
|
+
}
|
|
2719
|
+
},
|
|
2720
|
+
required: [
|
|
2721
|
+
'digest'
|
|
2722
|
+
],
|
|
2723
|
+
additionalProperties: false
|
|
2724
|
+
},
|
|
2725
|
+
description: 'Array of manifests for multi-arch images.'
|
|
2726
|
+
},
|
|
2727
|
+
size: {
|
|
2728
|
+
type: 'number',
|
|
2729
|
+
format: 'float',
|
|
2730
|
+
description: 'Total size of the tag in bytes.',
|
|
2731
|
+
example: 123456789
|
|
2732
|
+
},
|
|
2733
|
+
region: {
|
|
2734
|
+
type: 'string',
|
|
2735
|
+
description: 'Registry region.',
|
|
2736
|
+
example: 'northamerica'
|
|
2737
|
+
},
|
|
2738
|
+
repository: {
|
|
2739
|
+
type: 'string',
|
|
2740
|
+
description: 'Repository name.',
|
|
2741
|
+
example: 'my-app'
|
|
2742
|
+
},
|
|
2743
|
+
uri: {
|
|
2744
|
+
type: 'string',
|
|
2745
|
+
description: 'Full URI of the tag.',
|
|
2746
|
+
example: 'ssds123e-6651-4e5d-9c04-079f6532989b.northamerica.registry.cloudfleet.dev/my-app:latest'
|
|
2747
|
+
}
|
|
2748
|
+
},
|
|
2749
|
+
required: [
|
|
2750
|
+
'name',
|
|
2751
|
+
'digest',
|
|
2752
|
+
'size',
|
|
2753
|
+
'region',
|
|
2754
|
+
'repository',
|
|
2755
|
+
'uri'
|
|
2756
|
+
],
|
|
2757
|
+
additionalProperties: false
|
|
2758
|
+
};
|
|
2759
|
+
export const TicketAttachmentSchema = {
|
|
2760
|
+
type: 'object',
|
|
2761
|
+
properties: {
|
|
2762
|
+
id: {
|
|
2763
|
+
type: 'string',
|
|
2764
|
+
description: 'Unique identifier of the attachment (Mongo ObjectId).',
|
|
2765
|
+
example: '60c72b2f9f1b2c001f8e4d3c'
|
|
2766
|
+
},
|
|
2767
|
+
filename: {
|
|
2768
|
+
type: 'string',
|
|
2769
|
+
description: 'Original filename as uploaded.',
|
|
2770
|
+
example: 'debug.log'
|
|
2771
|
+
},
|
|
2772
|
+
content_type: {
|
|
2773
|
+
type: 'string',
|
|
2774
|
+
description: 'MIME content type of the attachment.',
|
|
2775
|
+
example: 'text/plain'
|
|
2776
|
+
},
|
|
2777
|
+
size: {
|
|
2778
|
+
type: 'integer',
|
|
2779
|
+
description: 'Size of the attachment in bytes.',
|
|
2780
|
+
example: 12345
|
|
2781
|
+
}
|
|
2782
|
+
},
|
|
2783
|
+
required: [
|
|
2784
|
+
'id',
|
|
2785
|
+
'filename',
|
|
2786
|
+
'content_type',
|
|
2787
|
+
'size'
|
|
2788
|
+
],
|
|
2789
|
+
additionalProperties: false
|
|
2790
|
+
};
|
|
2791
|
+
export const TicketCreateInputSchema = {
|
|
2792
|
+
type: 'object',
|
|
2793
|
+
properties: {
|
|
2794
|
+
category: {
|
|
2795
|
+
type: 'string',
|
|
2796
|
+
description: 'Ticket category. Drives auto-assignment and may carry a subcategory in `properties`.',
|
|
2797
|
+
example: 'technical',
|
|
2798
|
+
enum: [
|
|
2799
|
+
'billing',
|
|
2800
|
+
'technical',
|
|
2801
|
+
'general'
|
|
2802
|
+
]
|
|
2803
|
+
},
|
|
2804
|
+
body: {
|
|
2805
|
+
type: 'string',
|
|
2806
|
+
maxLength: 50000,
|
|
2807
|
+
minLength: 1,
|
|
2808
|
+
pattern: '\\S',
|
|
2809
|
+
description: 'Initial message body in markdown. There is no separate subject — the first message body is the description.',
|
|
2810
|
+
example: 'My cluster cannot reach the registry. Logs attached.'
|
|
2811
|
+
},
|
|
2812
|
+
properties: {
|
|
2813
|
+
type: 'object',
|
|
2814
|
+
additionalProperties: true,
|
|
2815
|
+
description: 'Free-form key/value bag set by the UI (e.g. `subcategory`, `cluster_id`, `cluster_name`, `region`).',
|
|
2816
|
+
example: {
|
|
2817
|
+
subcategory: 'cluster-question',
|
|
2818
|
+
cluster_id: '60c72b2f9f1b2c001f8e4d3a'
|
|
2819
|
+
}
|
|
2820
|
+
}
|
|
2821
|
+
},
|
|
2822
|
+
required: [
|
|
2823
|
+
'category',
|
|
2824
|
+
'body'
|
|
2825
|
+
],
|
|
2826
|
+
additionalProperties: false
|
|
2827
|
+
};
|
|
2828
|
+
export const TicketListResponseSchema = {
|
|
2829
|
+
type: 'object',
|
|
2830
|
+
properties: {
|
|
2831
|
+
items: {
|
|
2832
|
+
type: 'array',
|
|
2833
|
+
items: {
|
|
2834
|
+
type: 'object',
|
|
2835
|
+
properties: {
|
|
2836
|
+
id: {
|
|
2837
|
+
type: 'string',
|
|
2838
|
+
description: 'Unique identifier of the ticket (Mongo ObjectId).',
|
|
2839
|
+
example: '60c72b2f9f1b2c001f8e4d3a'
|
|
2840
|
+
},
|
|
2841
|
+
status: {
|
|
2842
|
+
type: 'string',
|
|
2843
|
+
description: 'Current state of the ticket.',
|
|
2844
|
+
example: 'waiting_on_us',
|
|
2845
|
+
enum: [
|
|
2846
|
+
'waiting_on_us',
|
|
2847
|
+
'waiting_on_user',
|
|
2848
|
+
'closed'
|
|
2849
|
+
]
|
|
2850
|
+
},
|
|
2851
|
+
category: {
|
|
2852
|
+
type: 'string',
|
|
2853
|
+
description: 'Ticket category.',
|
|
2854
|
+
example: 'technical',
|
|
2855
|
+
enum: [
|
|
2856
|
+
'billing',
|
|
2857
|
+
'technical',
|
|
2858
|
+
'general'
|
|
2859
|
+
]
|
|
2860
|
+
},
|
|
2861
|
+
summary: {
|
|
2862
|
+
type: 'string',
|
|
2863
|
+
description: 'First 128 characters of the initial message body, with markdown formatting and newlines stripped. Used for ticket list previews.',
|
|
2864
|
+
example: 'My cluster cannot reach the registry. Logs attached.'
|
|
2865
|
+
},
|
|
2866
|
+
closed_at: {
|
|
2867
|
+
type: 'string',
|
|
2868
|
+
format: 'date-time',
|
|
2869
|
+
nullable: true,
|
|
2870
|
+
description: 'Closure timestamp. Null while the ticket is open.',
|
|
2871
|
+
example: '2026-05-18T16:08:14.338Z'
|
|
2872
|
+
},
|
|
2873
|
+
date_created: {
|
|
2874
|
+
type: 'string',
|
|
2875
|
+
format: 'date-time',
|
|
2876
|
+
description: 'Creation date of the ticket. ISO 8601 UTC.',
|
|
2877
|
+
example: '2026-05-11T16:08:14.338Z'
|
|
2878
|
+
},
|
|
2879
|
+
date_updated: {
|
|
2880
|
+
type: 'string',
|
|
2881
|
+
format: 'date-time',
|
|
2882
|
+
description: 'Last update date of the ticket. ISO 8601 UTC.',
|
|
2883
|
+
example: '2026-05-11T16:08:14.338Z'
|
|
2884
|
+
},
|
|
2885
|
+
messages: {
|
|
2886
|
+
type: 'array',
|
|
2887
|
+
items: {
|
|
2888
|
+
type: 'object',
|
|
2889
|
+
properties: {
|
|
2890
|
+
id: {
|
|
2891
|
+
type: 'string',
|
|
2892
|
+
description: 'Unique identifier of the message (Mongo ObjectId).',
|
|
2893
|
+
example: '60c72b2f9f1b2c001f8e4d3b'
|
|
2894
|
+
},
|
|
2895
|
+
type: {
|
|
2896
|
+
type: 'string',
|
|
2897
|
+
description: 'Message type. Internal notes are filtered out of customer-facing responses.',
|
|
2898
|
+
example: 'customer_reply',
|
|
2899
|
+
enum: [
|
|
2900
|
+
'customer_reply',
|
|
2901
|
+
'agent_reply'
|
|
2902
|
+
]
|
|
2903
|
+
},
|
|
2904
|
+
body: {
|
|
2905
|
+
type: 'string',
|
|
2906
|
+
description: 'Message body in markdown.',
|
|
2907
|
+
example: 'Thanks — that resolved it on my side.'
|
|
2908
|
+
},
|
|
2909
|
+
author_first_name: {
|
|
2910
|
+
type: 'string',
|
|
2911
|
+
nullable: true,
|
|
2912
|
+
description: 'First name of the author. Null when not provided.',
|
|
2913
|
+
example: 'Jane'
|
|
2914
|
+
},
|
|
2915
|
+
author_last_name: {
|
|
2916
|
+
type: 'string',
|
|
2917
|
+
nullable: true,
|
|
2918
|
+
description: 'Last name of the author. Null when not provided.',
|
|
2919
|
+
example: 'Doe'
|
|
2920
|
+
},
|
|
2921
|
+
attachments: {
|
|
2922
|
+
type: 'array',
|
|
2923
|
+
items: {
|
|
2924
|
+
type: 'object',
|
|
2925
|
+
properties: {
|
|
2926
|
+
id: {
|
|
2927
|
+
type: 'string',
|
|
2928
|
+
description: 'Unique identifier of the attachment (Mongo ObjectId).',
|
|
2929
|
+
example: '60c72b2f9f1b2c001f8e4d3c'
|
|
2930
|
+
},
|
|
2931
|
+
filename: {
|
|
2932
|
+
type: 'string',
|
|
2933
|
+
description: 'Original filename as uploaded.',
|
|
2934
|
+
example: 'debug.log'
|
|
2935
|
+
},
|
|
2936
|
+
content_type: {
|
|
2937
|
+
type: 'string',
|
|
2938
|
+
description: 'MIME content type of the attachment.',
|
|
2939
|
+
example: 'text/plain'
|
|
2940
|
+
},
|
|
2941
|
+
size: {
|
|
2942
|
+
type: 'integer',
|
|
2943
|
+
description: 'Size of the attachment in bytes.',
|
|
2944
|
+
example: 12345
|
|
2945
|
+
}
|
|
2946
|
+
},
|
|
2947
|
+
required: [
|
|
2948
|
+
'id',
|
|
2949
|
+
'filename',
|
|
2950
|
+
'content_type',
|
|
2951
|
+
'size'
|
|
2952
|
+
],
|
|
2953
|
+
additionalProperties: false
|
|
2954
|
+
},
|
|
2955
|
+
description: 'Attachments associated with this message.',
|
|
2956
|
+
example: []
|
|
2957
|
+
},
|
|
2958
|
+
date_created: {
|
|
2959
|
+
type: 'string',
|
|
2960
|
+
format: 'date-time',
|
|
2961
|
+
description: 'Creation date of the message. ISO 8601 UTC.',
|
|
2962
|
+
example: '2026-05-11T16:08:14.338Z'
|
|
2963
|
+
}
|
|
2964
|
+
},
|
|
2965
|
+
required: [
|
|
2966
|
+
'id',
|
|
2967
|
+
'type',
|
|
2968
|
+
'body',
|
|
2969
|
+
'date_created'
|
|
2970
|
+
],
|
|
2971
|
+
additionalProperties: false
|
|
2972
|
+
},
|
|
2973
|
+
description: 'Messages on the ticket in chronological order. Internal notes are excluded. Returned by the detail endpoint only.'
|
|
2974
|
+
}
|
|
2975
|
+
},
|
|
2976
|
+
required: [
|
|
2977
|
+
'id',
|
|
2978
|
+
'status',
|
|
2979
|
+
'category',
|
|
2980
|
+
'summary',
|
|
2981
|
+
'date_created',
|
|
2982
|
+
'date_updated'
|
|
2983
|
+
],
|
|
2984
|
+
additionalProperties: false
|
|
2985
|
+
},
|
|
2986
|
+
description: 'Tickets for the organization, ordered newest first. Messages are omitted from list responses.'
|
|
2987
|
+
}
|
|
2988
|
+
},
|
|
2989
|
+
required: [
|
|
2990
|
+
'items'
|
|
2991
|
+
],
|
|
2992
|
+
additionalProperties: false
|
|
2993
|
+
};
|
|
2994
|
+
export const TicketMessageInputSchema = {
|
|
2995
|
+
type: 'object',
|
|
2996
|
+
properties: {
|
|
2997
|
+
body: {
|
|
2998
|
+
type: 'string',
|
|
2999
|
+
maxLength: 50000,
|
|
3000
|
+
minLength: 1,
|
|
3001
|
+
pattern: '\\S',
|
|
3002
|
+
description: 'Reply body in markdown.',
|
|
3003
|
+
example: 'Thanks — that resolved it on my side.'
|
|
3004
|
+
}
|
|
3005
|
+
},
|
|
3006
|
+
required: [
|
|
3007
|
+
'body'
|
|
3008
|
+
],
|
|
3009
|
+
additionalProperties: false
|
|
3010
|
+
};
|
|
3011
|
+
export const TicketMessageSchema = {
|
|
3012
|
+
type: 'object',
|
|
3013
|
+
properties: {
|
|
3014
|
+
id: {
|
|
3015
|
+
type: 'string',
|
|
3016
|
+
description: 'Unique identifier of the message (Mongo ObjectId).',
|
|
3017
|
+
example: '60c72b2f9f1b2c001f8e4d3b'
|
|
3018
|
+
},
|
|
3019
|
+
type: {
|
|
3020
|
+
type: 'string',
|
|
3021
|
+
description: 'Message type. Internal notes are filtered out of customer-facing responses.',
|
|
3022
|
+
example: 'customer_reply',
|
|
3023
|
+
enum: [
|
|
3024
|
+
'customer_reply',
|
|
3025
|
+
'agent_reply'
|
|
3026
|
+
]
|
|
3027
|
+
},
|
|
3028
|
+
body: {
|
|
3029
|
+
type: 'string',
|
|
3030
|
+
description: 'Message body in markdown.',
|
|
3031
|
+
example: 'Thanks — that resolved it on my side.'
|
|
3032
|
+
},
|
|
3033
|
+
author_first_name: {
|
|
3034
|
+
type: 'string',
|
|
3035
|
+
description: 'First name of the author. Null when not provided.',
|
|
3036
|
+
example: 'Jane'
|
|
3037
|
+
},
|
|
3038
|
+
author_last_name: {
|
|
3039
|
+
type: 'string',
|
|
3040
|
+
description: 'Last name of the author. Null when not provided.',
|
|
3041
|
+
example: 'Doe'
|
|
3042
|
+
},
|
|
3043
|
+
attachments: {
|
|
3044
|
+
type: 'array',
|
|
3045
|
+
items: {
|
|
3046
|
+
type: 'object',
|
|
3047
|
+
properties: {
|
|
3048
|
+
id: {
|
|
3049
|
+
type: 'string',
|
|
3050
|
+
description: 'Unique identifier of the attachment (Mongo ObjectId).',
|
|
3051
|
+
example: '60c72b2f9f1b2c001f8e4d3c'
|
|
1278
3052
|
},
|
|
1279
|
-
|
|
1280
|
-
description: 'List of Cloudfleet cluster tiers available for the organization.'
|
|
1281
|
-
},
|
|
1282
|
-
regions: {
|
|
1283
|
-
type: 'array',
|
|
1284
|
-
items: {
|
|
3053
|
+
filename: {
|
|
1285
3054
|
type: 'string',
|
|
1286
|
-
|
|
3055
|
+
description: 'Original filename as uploaded.',
|
|
3056
|
+
example: 'debug.log'
|
|
1287
3057
|
},
|
|
1288
|
-
|
|
1289
|
-
|
|
1290
|
-
|
|
1291
|
-
|
|
1292
|
-
type: 'array',
|
|
1293
|
-
items: {
|
|
1294
|
-
type: 'object',
|
|
1295
|
-
properties: {
|
|
1296
|
-
id: {
|
|
1297
|
-
type: 'string',
|
|
1298
|
-
description: 'Id of the control plane version. Used in API calls.',
|
|
1299
|
-
example: '1.29.x-cfke.x'
|
|
1300
|
-
},
|
|
1301
|
-
label: {
|
|
1302
|
-
type: 'string',
|
|
1303
|
-
description: 'Label of the control plane version. Used in frontent UI.',
|
|
1304
|
-
example: '1.29.x (Always latest 1.29 patch version)'
|
|
1305
|
-
}
|
|
1306
|
-
},
|
|
1307
|
-
required: ['id', 'label'],
|
|
1308
|
-
additionalProperties: false
|
|
3058
|
+
content_type: {
|
|
3059
|
+
type: 'string',
|
|
3060
|
+
description: 'MIME content type of the attachment.',
|
|
3061
|
+
example: 'text/plain'
|
|
1309
3062
|
},
|
|
1310
|
-
|
|
1311
|
-
|
|
1312
|
-
|
|
3063
|
+
size: {
|
|
3064
|
+
type: 'integer',
|
|
3065
|
+
description: 'Size of the attachment in bytes.',
|
|
3066
|
+
example: 12345
|
|
3067
|
+
}
|
|
3068
|
+
},
|
|
3069
|
+
required: [
|
|
3070
|
+
'id',
|
|
3071
|
+
'filename',
|
|
3072
|
+
'content_type',
|
|
3073
|
+
'size'
|
|
3074
|
+
],
|
|
3075
|
+
additionalProperties: false
|
|
1313
3076
|
},
|
|
1314
|
-
|
|
1315
|
-
|
|
1316
|
-
description: 'For security reasons, platform quota is controlled by Cloudfleet and can be updated only by Cloudfleet administrators. Please open a support ticket if you need to change the platform quota.'
|
|
3077
|
+
description: 'Attachments associated with this message.',
|
|
3078
|
+
example: []
|
|
1317
3079
|
},
|
|
1318
|
-
|
|
3080
|
+
date_created: {
|
|
1319
3081
|
type: 'string',
|
|
1320
|
-
|
|
1321
|
-
|
|
3082
|
+
format: 'date-time',
|
|
3083
|
+
description: 'Creation date of the message. ISO 8601 UTC.',
|
|
3084
|
+
example: '2026-05-11T16:08:14.338Z'
|
|
1322
3085
|
}
|
|
1323
3086
|
},
|
|
1324
|
-
required: [
|
|
3087
|
+
required: [
|
|
3088
|
+
'id',
|
|
3089
|
+
'type',
|
|
3090
|
+
'body',
|
|
3091
|
+
'date_created'
|
|
3092
|
+
],
|
|
1325
3093
|
additionalProperties: false
|
|
1326
3094
|
};
|
|
1327
|
-
export const
|
|
3095
|
+
export const TicketSchema = {
|
|
1328
3096
|
type: 'object',
|
|
1329
3097
|
properties: {
|
|
1330
3098
|
id: {
|
|
1331
3099
|
type: 'string',
|
|
1332
|
-
|
|
1333
|
-
|
|
1334
|
-
example: 'e94d30ec-a2dd-4dcb-832c-ac2be144ba91'
|
|
3100
|
+
description: 'Unique identifier of the ticket (Mongo ObjectId).',
|
|
3101
|
+
example: '60c72b2f9f1b2c001f8e4d3a'
|
|
1335
3102
|
},
|
|
1336
|
-
|
|
1337
|
-
type: '
|
|
1338
|
-
description: '
|
|
1339
|
-
example:
|
|
3103
|
+
status: {
|
|
3104
|
+
type: 'string',
|
|
3105
|
+
description: 'Current state of the ticket.',
|
|
3106
|
+
example: 'waiting_on_us',
|
|
3107
|
+
enum: [
|
|
3108
|
+
'waiting_on_us',
|
|
3109
|
+
'waiting_on_user',
|
|
3110
|
+
'closed'
|
|
3111
|
+
]
|
|
1340
3112
|
},
|
|
1341
|
-
|
|
3113
|
+
category: {
|
|
1342
3114
|
type: 'string',
|
|
1343
|
-
|
|
1344
|
-
|
|
1345
|
-
|
|
1346
|
-
|
|
3115
|
+
description: 'Ticket category.',
|
|
3116
|
+
example: 'technical',
|
|
3117
|
+
enum: [
|
|
3118
|
+
'billing',
|
|
3119
|
+
'technical',
|
|
3120
|
+
'general'
|
|
3121
|
+
]
|
|
1347
3122
|
},
|
|
1348
|
-
|
|
3123
|
+
summary: {
|
|
1349
3124
|
type: 'string',
|
|
1350
|
-
|
|
1351
|
-
|
|
1352
|
-
example: '4242'
|
|
3125
|
+
description: 'First 128 characters of the initial message body, with markdown formatting and newlines stripped. Used for ticket list previews.',
|
|
3126
|
+
example: 'My cluster cannot reach the registry. Logs attached.'
|
|
1353
3127
|
},
|
|
1354
|
-
|
|
1355
|
-
type: '
|
|
1356
|
-
|
|
1357
|
-
|
|
1358
|
-
|
|
1359
|
-
description: "Two-digit number representing the card's expiration month.",
|
|
1360
|
-
example: '12'
|
|
3128
|
+
closed_at: {
|
|
3129
|
+
type: 'string',
|
|
3130
|
+
format: 'date-time',
|
|
3131
|
+
description: 'Closure timestamp. Null while the ticket is open.',
|
|
3132
|
+
example: '2026-05-18T16:08:14.338Z'
|
|
1361
3133
|
},
|
|
1362
|
-
|
|
1363
|
-
type: '
|
|
1364
|
-
|
|
1365
|
-
|
|
1366
|
-
|
|
1367
|
-
example: '2028'
|
|
3134
|
+
date_created: {
|
|
3135
|
+
type: 'string',
|
|
3136
|
+
format: 'date-time',
|
|
3137
|
+
description: 'Creation date of the ticket. ISO 8601 UTC.',
|
|
3138
|
+
example: '2026-05-11T16:08:14.338Z'
|
|
1368
3139
|
},
|
|
1369
|
-
|
|
3140
|
+
date_updated: {
|
|
1370
3141
|
type: 'string',
|
|
1371
|
-
|
|
1372
|
-
description: '
|
|
1373
|
-
example: '
|
|
1374
|
-
|
|
3142
|
+
format: 'date-time',
|
|
3143
|
+
description: 'Last update date of the ticket. ISO 8601 UTC.',
|
|
3144
|
+
example: '2026-05-11T16:08:14.338Z'
|
|
3145
|
+
},
|
|
3146
|
+
messages: {
|
|
3147
|
+
type: 'array',
|
|
3148
|
+
items: {
|
|
3149
|
+
type: 'object',
|
|
3150
|
+
properties: {
|
|
3151
|
+
id: {
|
|
3152
|
+
type: 'string',
|
|
3153
|
+
description: 'Unique identifier of the message (Mongo ObjectId).',
|
|
3154
|
+
example: '60c72b2f9f1b2c001f8e4d3b'
|
|
3155
|
+
},
|
|
3156
|
+
type: {
|
|
3157
|
+
type: 'string',
|
|
3158
|
+
description: 'Message type. Internal notes are filtered out of customer-facing responses.',
|
|
3159
|
+
example: 'customer_reply',
|
|
3160
|
+
enum: [
|
|
3161
|
+
'customer_reply',
|
|
3162
|
+
'agent_reply'
|
|
3163
|
+
]
|
|
3164
|
+
},
|
|
3165
|
+
body: {
|
|
3166
|
+
type: 'string',
|
|
3167
|
+
description: 'Message body in markdown.',
|
|
3168
|
+
example: 'Thanks — that resolved it on my side.'
|
|
3169
|
+
},
|
|
3170
|
+
author_first_name: {
|
|
3171
|
+
type: 'string',
|
|
3172
|
+
description: 'First name of the author. Null when not provided.',
|
|
3173
|
+
example: 'Jane'
|
|
3174
|
+
},
|
|
3175
|
+
author_last_name: {
|
|
3176
|
+
type: 'string',
|
|
3177
|
+
description: 'Last name of the author. Null when not provided.',
|
|
3178
|
+
example: 'Doe'
|
|
3179
|
+
},
|
|
3180
|
+
attachments: {
|
|
3181
|
+
type: 'array',
|
|
3182
|
+
items: {
|
|
3183
|
+
type: 'object',
|
|
3184
|
+
properties: {
|
|
3185
|
+
id: {
|
|
3186
|
+
type: 'string',
|
|
3187
|
+
description: 'Unique identifier of the attachment (Mongo ObjectId).',
|
|
3188
|
+
example: '60c72b2f9f1b2c001f8e4d3c'
|
|
3189
|
+
},
|
|
3190
|
+
filename: {
|
|
3191
|
+
type: 'string',
|
|
3192
|
+
description: 'Original filename as uploaded.',
|
|
3193
|
+
example: 'debug.log'
|
|
3194
|
+
},
|
|
3195
|
+
content_type: {
|
|
3196
|
+
type: 'string',
|
|
3197
|
+
description: 'MIME content type of the attachment.',
|
|
3198
|
+
example: 'text/plain'
|
|
3199
|
+
},
|
|
3200
|
+
size: {
|
|
3201
|
+
type: 'integer',
|
|
3202
|
+
description: 'Size of the attachment in bytes.',
|
|
3203
|
+
example: 12345
|
|
3204
|
+
}
|
|
3205
|
+
},
|
|
3206
|
+
required: [
|
|
3207
|
+
'id',
|
|
3208
|
+
'filename',
|
|
3209
|
+
'content_type',
|
|
3210
|
+
'size'
|
|
3211
|
+
],
|
|
3212
|
+
additionalProperties: false
|
|
3213
|
+
},
|
|
3214
|
+
description: 'Attachments associated with this message.',
|
|
3215
|
+
example: []
|
|
3216
|
+
},
|
|
3217
|
+
date_created: {
|
|
3218
|
+
type: 'string',
|
|
3219
|
+
format: 'date-time',
|
|
3220
|
+
description: 'Creation date of the message. ISO 8601 UTC.',
|
|
3221
|
+
example: '2026-05-11T16:08:14.338Z'
|
|
3222
|
+
}
|
|
3223
|
+
},
|
|
3224
|
+
required: [
|
|
3225
|
+
'id',
|
|
3226
|
+
'type',
|
|
3227
|
+
'body',
|
|
3228
|
+
'date_created'
|
|
3229
|
+
],
|
|
3230
|
+
additionalProperties: false
|
|
3231
|
+
},
|
|
3232
|
+
description: 'Messages on the ticket in chronological order. Internal notes are excluded. Returned by the detail endpoint only.'
|
|
1375
3233
|
}
|
|
1376
3234
|
},
|
|
1377
|
-
required: [
|
|
3235
|
+
required: [
|
|
3236
|
+
'id',
|
|
3237
|
+
'status',
|
|
3238
|
+
'category',
|
|
3239
|
+
'summary',
|
|
3240
|
+
'date_created',
|
|
3241
|
+
'date_updated'
|
|
3242
|
+
],
|
|
1378
3243
|
additionalProperties: false
|
|
1379
3244
|
};
|
|
1380
3245
|
export const TokenCreateInputSchema = {
|
|
@@ -1392,10 +3257,16 @@ export const TokenCreateInputSchema = {
|
|
|
1392
3257
|
type: 'string',
|
|
1393
3258
|
description: 'Role assumed by the token.',
|
|
1394
3259
|
example: 'User',
|
|
1395
|
-
enum: [
|
|
3260
|
+
enum: [
|
|
3261
|
+
'Administrator',
|
|
3262
|
+
'User'
|
|
3263
|
+
]
|
|
1396
3264
|
}
|
|
1397
3265
|
},
|
|
1398
|
-
required: [
|
|
3266
|
+
required: [
|
|
3267
|
+
'name',
|
|
3268
|
+
'role'
|
|
3269
|
+
],
|
|
1399
3270
|
additionalProperties: false
|
|
1400
3271
|
};
|
|
1401
3272
|
export const TokenSchema = {
|
|
@@ -1413,7 +3284,10 @@ export const TokenSchema = {
|
|
|
1413
3284
|
type: 'string',
|
|
1414
3285
|
description: 'Role assumed by the token.',
|
|
1415
3286
|
example: 'User',
|
|
1416
|
-
enum: [
|
|
3287
|
+
enum: [
|
|
3288
|
+
'Administrator',
|
|
3289
|
+
'User'
|
|
3290
|
+
]
|
|
1417
3291
|
},
|
|
1418
3292
|
id: {
|
|
1419
3293
|
type: 'string',
|
|
@@ -1432,7 +3306,11 @@ export const TokenSchema = {
|
|
|
1432
3306
|
example: '2023-12-20T13:53:32.000Z'
|
|
1433
3307
|
}
|
|
1434
3308
|
},
|
|
1435
|
-
required: [
|
|
3309
|
+
required: [
|
|
3310
|
+
'name',
|
|
3311
|
+
'role',
|
|
3312
|
+
'date_created'
|
|
3313
|
+
],
|
|
1436
3314
|
additionalProperties: false
|
|
1437
3315
|
};
|
|
1438
3316
|
export const TokenUpdateInputSchema = {
|
|
@@ -1450,9 +3328,127 @@ export const TokenUpdateInputSchema = {
|
|
|
1450
3328
|
type: 'string',
|
|
1451
3329
|
description: 'Role assumed by the token.',
|
|
1452
3330
|
example: 'User',
|
|
1453
|
-
enum: [
|
|
3331
|
+
enum: [
|
|
3332
|
+
'Administrator',
|
|
3333
|
+
'User'
|
|
3334
|
+
]
|
|
3335
|
+
}
|
|
3336
|
+
},
|
|
3337
|
+
additionalProperties: false
|
|
3338
|
+
};
|
|
3339
|
+
export const UsageFacetsSchema = {
|
|
3340
|
+
type: 'object',
|
|
3341
|
+
properties: {
|
|
3342
|
+
cluster_id: {
|
|
3343
|
+
type: 'array',
|
|
3344
|
+
items: {
|
|
3345
|
+
type: 'string'
|
|
3346
|
+
},
|
|
3347
|
+
description: 'List of unique cluster IDs',
|
|
3348
|
+
example: [
|
|
3349
|
+
'6b5439b1-923a-4f2b-a371-d554e5ea23fa'
|
|
3350
|
+
]
|
|
3351
|
+
},
|
|
3352
|
+
product: {
|
|
3353
|
+
type: 'array',
|
|
3354
|
+
items: {
|
|
3355
|
+
type: 'string'
|
|
3356
|
+
},
|
|
3357
|
+
description: 'List of unique products',
|
|
3358
|
+
example: [
|
|
3359
|
+
'cfke_controlplane',
|
|
3360
|
+
'cfke_connected_nodes'
|
|
3361
|
+
]
|
|
3362
|
+
}
|
|
3363
|
+
},
|
|
3364
|
+
additionalProperties: false
|
|
3365
|
+
};
|
|
3366
|
+
export const UsageResponseSchema = {
|
|
3367
|
+
type: 'object',
|
|
3368
|
+
properties: {
|
|
3369
|
+
data: {
|
|
3370
|
+
type: 'array',
|
|
3371
|
+
items: {
|
|
3372
|
+
type: 'object',
|
|
3373
|
+
properties: {
|
|
3374
|
+
hour: {
|
|
3375
|
+
type: 'string',
|
|
3376
|
+
description: 'Hour of the usage',
|
|
3377
|
+
example: '2019-01-01T00:00:00.000Z'
|
|
3378
|
+
},
|
|
3379
|
+
cluster_id: {
|
|
3380
|
+
type: 'string',
|
|
3381
|
+
description: 'Unique identifier of the kubernetes cluster. UUID v4 string in canonical form',
|
|
3382
|
+
example: '6b5439b1-923a-4f2b-a371-d554e5ea23fa'
|
|
3383
|
+
},
|
|
3384
|
+
product: {
|
|
3385
|
+
type: 'string',
|
|
3386
|
+
description: 'The product the usage is associated with',
|
|
3387
|
+
example: 'cfke_controlplane'
|
|
3388
|
+
},
|
|
3389
|
+
value: {
|
|
3390
|
+
type: 'number',
|
|
3391
|
+
format: 'float',
|
|
3392
|
+
description: 'Consumption',
|
|
3393
|
+
example: 4
|
|
3394
|
+
},
|
|
3395
|
+
price: {
|
|
3396
|
+
type: 'number',
|
|
3397
|
+
format: 'float',
|
|
3398
|
+
description: 'Price per unit',
|
|
3399
|
+
example: 0.01
|
|
3400
|
+
},
|
|
3401
|
+
total: {
|
|
3402
|
+
type: 'number',
|
|
3403
|
+
format: 'float',
|
|
3404
|
+
description: 'Total cost'
|
|
3405
|
+
}
|
|
3406
|
+
},
|
|
3407
|
+
required: [
|
|
3408
|
+
'hour',
|
|
3409
|
+
'cluster_id',
|
|
3410
|
+
'product',
|
|
3411
|
+
'value',
|
|
3412
|
+
'price',
|
|
3413
|
+
'total'
|
|
3414
|
+
],
|
|
3415
|
+
additionalProperties: false
|
|
3416
|
+
},
|
|
3417
|
+
description: 'Usage data'
|
|
3418
|
+
},
|
|
3419
|
+
facets: {
|
|
3420
|
+
type: 'object',
|
|
3421
|
+
properties: {
|
|
3422
|
+
cluster_id: {
|
|
3423
|
+
type: 'array',
|
|
3424
|
+
items: {
|
|
3425
|
+
type: 'string'
|
|
3426
|
+
},
|
|
3427
|
+
description: 'List of unique cluster IDs',
|
|
3428
|
+
example: [
|
|
3429
|
+
'6b5439b1-923a-4f2b-a371-d554e5ea23fa'
|
|
3430
|
+
]
|
|
3431
|
+
},
|
|
3432
|
+
product: {
|
|
3433
|
+
type: 'array',
|
|
3434
|
+
items: {
|
|
3435
|
+
type: 'string'
|
|
3436
|
+
},
|
|
3437
|
+
description: 'List of unique products',
|
|
3438
|
+
example: [
|
|
3439
|
+
'cfke_controlplane',
|
|
3440
|
+
'cfke_connected_nodes'
|
|
3441
|
+
]
|
|
3442
|
+
}
|
|
3443
|
+
},
|
|
3444
|
+
additionalProperties: false,
|
|
3445
|
+
description: 'Facets for filtering'
|
|
1454
3446
|
}
|
|
1455
3447
|
},
|
|
3448
|
+
required: [
|
|
3449
|
+
'data',
|
|
3450
|
+
'facets'
|
|
3451
|
+
],
|
|
1456
3452
|
additionalProperties: false
|
|
1457
3453
|
};
|
|
1458
3454
|
export const UsageSchema = {
|
|
@@ -1465,90 +3461,40 @@ export const UsageSchema = {
|
|
|
1465
3461
|
},
|
|
1466
3462
|
cluster_id: {
|
|
1467
3463
|
type: 'string',
|
|
1468
|
-
format: 'uuid',
|
|
1469
3464
|
description: 'Unique identifier of the kubernetes cluster. UUID v4 string in canonical form',
|
|
1470
3465
|
example: '6b5439b1-923a-4f2b-a371-d554e5ea23fa'
|
|
1471
3466
|
},
|
|
1472
|
-
cluster_tier: {
|
|
1473
|
-
type: 'string',
|
|
1474
|
-
description: 'Tier of the cluster.',
|
|
1475
|
-
example: 'pro',
|
|
1476
|
-
enum: ['basic', 'pro', '']
|
|
1477
|
-
},
|
|
1478
3467
|
product: {
|
|
1479
3468
|
type: 'string',
|
|
1480
3469
|
description: 'The product the usage is associated with',
|
|
1481
|
-
example: 'cfke_controlplane'
|
|
1482
|
-
enum: ['cfke_controlplane', 'cfke_connected_nodes', 'infra_compute', 'infra_storage', 'infra_loadbalancing', 'infra_traffic', 'cfcr_storage']
|
|
1483
|
-
},
|
|
1484
|
-
node_name: {
|
|
1485
|
-
type: 'string',
|
|
1486
|
-
description: 'Name of the Kubernetes node',
|
|
1487
|
-
example: 'flexible-moth-956037384'
|
|
1488
|
-
},
|
|
1489
|
-
sku: {
|
|
1490
|
-
type: 'string',
|
|
1491
|
-
description: 'SKU of the Kubernetes node',
|
|
1492
|
-
example: 'GCP-NORTHAMERICA-NORTHEAST1-A-G1-SMALL-SPOT'
|
|
3470
|
+
example: 'cfke_controlplane'
|
|
1493
3471
|
},
|
|
1494
|
-
|
|
1495
|
-
|
|
1496
|
-
|
|
1497
|
-
|
|
1498
|
-
|
|
1499
|
-
description: 'CPU core count of the node',
|
|
1500
|
-
example: 4
|
|
1501
|
-
},
|
|
1502
|
-
{
|
|
1503
|
-
type: 'string',
|
|
1504
|
-
enum: ['']
|
|
1505
|
-
}
|
|
1506
|
-
]
|
|
3472
|
+
value: {
|
|
3473
|
+
type: 'number',
|
|
3474
|
+
format: 'float',
|
|
3475
|
+
description: 'Consumption',
|
|
3476
|
+
example: 4
|
|
1507
3477
|
},
|
|
1508
3478
|
price: {
|
|
1509
|
-
|
|
1510
|
-
|
|
1511
|
-
|
|
1512
|
-
|
|
1513
|
-
description: 'Price',
|
|
1514
|
-
example: 4
|
|
1515
|
-
},
|
|
1516
|
-
{
|
|
1517
|
-
type: 'string',
|
|
1518
|
-
enum: ['']
|
|
1519
|
-
}
|
|
1520
|
-
]
|
|
1521
|
-
},
|
|
1522
|
-
value: {
|
|
1523
|
-
anyOf: [
|
|
1524
|
-
{
|
|
1525
|
-
type: 'number',
|
|
1526
|
-
format: 'float',
|
|
1527
|
-
description: 'Value',
|
|
1528
|
-
example: 4
|
|
1529
|
-
},
|
|
1530
|
-
{
|
|
1531
|
-
type: 'string',
|
|
1532
|
-
enum: ['']
|
|
1533
|
-
}
|
|
1534
|
-
]
|
|
3479
|
+
type: 'number',
|
|
3480
|
+
format: 'float',
|
|
3481
|
+
description: 'Price per unit',
|
|
3482
|
+
example: 0.01
|
|
1535
3483
|
},
|
|
1536
3484
|
total: {
|
|
1537
|
-
|
|
1538
|
-
|
|
1539
|
-
|
|
1540
|
-
format: 'float',
|
|
1541
|
-
description: 'Total',
|
|
1542
|
-
example: 4
|
|
1543
|
-
},
|
|
1544
|
-
{
|
|
1545
|
-
type: 'string',
|
|
1546
|
-
enum: ['']
|
|
1547
|
-
}
|
|
1548
|
-
]
|
|
3485
|
+
type: 'number',
|
|
3486
|
+
format: 'float',
|
|
3487
|
+
description: 'Total cost'
|
|
1549
3488
|
}
|
|
1550
3489
|
},
|
|
1551
|
-
required: [
|
|
3490
|
+
required: [
|
|
3491
|
+
'hour',
|
|
3492
|
+
'cluster_id',
|
|
3493
|
+
'product',
|
|
3494
|
+
'value',
|
|
3495
|
+
'price',
|
|
3496
|
+
'total'
|
|
3497
|
+
],
|
|
1552
3498
|
additionalProperties: false
|
|
1553
3499
|
};
|
|
1554
3500
|
export const UserCreateInputSchema = {
|
|
@@ -1589,16 +3535,28 @@ export const UserCreateInputSchema = {
|
|
|
1589
3535
|
type: 'string',
|
|
1590
3536
|
description: 'Status of the user. Can be `active` or `inactive`. Inactive users cannot log in or manage organization resources.',
|
|
1591
3537
|
example: 'active',
|
|
1592
|
-
enum: [
|
|
3538
|
+
enum: [
|
|
3539
|
+
'active',
|
|
3540
|
+
'inactive'
|
|
3541
|
+
]
|
|
1593
3542
|
},
|
|
1594
3543
|
role: {
|
|
1595
3544
|
type: 'string',
|
|
1596
|
-
description:
|
|
3545
|
+
description: 'User role. Can be \'Administrator\', \'User\'.',
|
|
1597
3546
|
example: 'User',
|
|
1598
|
-
enum: [
|
|
3547
|
+
enum: [
|
|
3548
|
+
'Administrator',
|
|
3549
|
+
'User'
|
|
3550
|
+
]
|
|
1599
3551
|
}
|
|
1600
3552
|
},
|
|
1601
|
-
required: [
|
|
3553
|
+
required: [
|
|
3554
|
+
'email',
|
|
3555
|
+
'first_name',
|
|
3556
|
+
'last_name',
|
|
3557
|
+
'code',
|
|
3558
|
+
'password'
|
|
3559
|
+
],
|
|
1602
3560
|
additionalProperties: false
|
|
1603
3561
|
};
|
|
1604
3562
|
export const UserSchema = {
|
|
@@ -1626,15 +3584,21 @@ export const UserSchema = {
|
|
|
1626
3584
|
},
|
|
1627
3585
|
role: {
|
|
1628
3586
|
type: 'string',
|
|
1629
|
-
description:
|
|
3587
|
+
description: 'User role. Can be \'Administrator\', \'User\'.',
|
|
1630
3588
|
example: 'User',
|
|
1631
|
-
enum: [
|
|
3589
|
+
enum: [
|
|
3590
|
+
'Administrator',
|
|
3591
|
+
'User'
|
|
3592
|
+
]
|
|
1632
3593
|
},
|
|
1633
3594
|
status: {
|
|
1634
3595
|
type: 'string',
|
|
1635
3596
|
description: 'Status of the user. Can be `active` or `inactive`. Inactive users cannot log in or manage organization resources.',
|
|
1636
3597
|
example: 'active',
|
|
1637
|
-
enum: [
|
|
3598
|
+
enum: [
|
|
3599
|
+
'active',
|
|
3600
|
+
'inactive'
|
|
3601
|
+
]
|
|
1638
3602
|
},
|
|
1639
3603
|
id: {
|
|
1640
3604
|
type: 'string',
|
|
@@ -1649,7 +3613,15 @@ export const UserSchema = {
|
|
|
1649
3613
|
example: '2023-11-02T16:08:14.338Z'
|
|
1650
3614
|
}
|
|
1651
3615
|
},
|
|
1652
|
-
required: [
|
|
3616
|
+
required: [
|
|
3617
|
+
'email',
|
|
3618
|
+
'first_name',
|
|
3619
|
+
'last_name',
|
|
3620
|
+
'role',
|
|
3621
|
+
'status',
|
|
3622
|
+
'id',
|
|
3623
|
+
'date_created'
|
|
3624
|
+
],
|
|
1653
3625
|
additionalProperties: false
|
|
1654
3626
|
};
|
|
1655
3627
|
export const UserUpdateInputSchema = {
|
|
@@ -1677,15 +3649,21 @@ export const UserUpdateInputSchema = {
|
|
|
1677
3649
|
},
|
|
1678
3650
|
role: {
|
|
1679
3651
|
type: 'string',
|
|
1680
|
-
description:
|
|
3652
|
+
description: 'User role. Can be \'Administrator\', \'User\'.',
|
|
1681
3653
|
example: 'User',
|
|
1682
|
-
enum: [
|
|
3654
|
+
enum: [
|
|
3655
|
+
'Administrator',
|
|
3656
|
+
'User'
|
|
3657
|
+
]
|
|
1683
3658
|
},
|
|
1684
3659
|
status: {
|
|
1685
3660
|
type: 'string',
|
|
1686
3661
|
description: 'Status of the user. Can be `active` or `inactive`. Inactive users cannot log in or manage organization resources.',
|
|
1687
3662
|
example: 'active',
|
|
1688
|
-
enum: [
|
|
3663
|
+
enum: [
|
|
3664
|
+
'active',
|
|
3665
|
+
'inactive'
|
|
3666
|
+
]
|
|
1689
3667
|
}
|
|
1690
3668
|
},
|
|
1691
3669
|
additionalProperties: false
|