@cloudfleet/sdk 0.0.1-4ffe368 → 0.0.1-5175d16
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 +1149 -0
- package/dist/@tanstack/react-query.gen.d.ts.map +1 -0
- package/dist/@tanstack/react-query.gen.js +1165 -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 +9 -0
- package/dist/client/index.d.ts.map +1 -0
- package/dist/client/index.js +7 -0
- package/dist/client/index.js.map +1 -0
- package/dist/client/types.gen.d.ts +121 -0
- package/dist/client/types.gen.d.ts.map +1 -0
- package/dist/client/types.gen.js +3 -0
- package/dist/client/types.gen.js.map +1 -0
- package/dist/client/utils.gen.d.ts +38 -0
- package/dist/client/utils.gen.d.ts.map +1 -0
- package/dist/client/utils.gen.js +229 -0
- package/dist/client/utils.gen.js.map +1 -0
- package/dist/client.gen.d.ts +13 -0
- package/dist/client.gen.d.ts.map +1 -0
- package/dist/client.gen.js +4 -0
- package/dist/client.gen.js.map +1 -0
- package/dist/core/auth.gen.d.ts +19 -0
- package/dist/core/auth.gen.d.ts.map +1 -0
- package/dist/core/auth.gen.js +15 -0
- package/dist/core/auth.gen.js.map +1 -0
- package/dist/core/bodySerializer.gen.d.ts +26 -0
- package/dist/core/bodySerializer.gen.d.ts.map +1 -0
- package/dist/core/bodySerializer.gen.js +58 -0
- package/dist/core/bodySerializer.gen.js.map +1 -0
- package/dist/core/params.gen.d.ts +44 -0
- package/dist/core/params.gen.d.ts.map +1 -0
- package/dist/core/params.gen.js +101 -0
- package/dist/core/params.gen.js.map +1 -0
- package/dist/core/pathSerializer.gen.d.ts +34 -0
- package/dist/core/pathSerializer.gen.d.ts.map +1 -0
- package/dist/core/pathSerializer.gen.js +107 -0
- package/dist/core/pathSerializer.gen.js.map +1 -0
- package/dist/core/queryKeySerializer.gen.d.ts +19 -0
- package/dist/core/queryKeySerializer.gen.d.ts.map +1 -0
- package/dist/core/queryKeySerializer.gen.js +93 -0
- package/dist/core/queryKeySerializer.gen.js.map +1 -0
- package/dist/core/serverSentEvents.gen.d.ts +72 -0
- package/dist/core/serverSentEvents.gen.d.ts.map +1 -0
- package/dist/core/serverSentEvents.gen.js +133 -0
- package/dist/core/serverSentEvents.gen.js.map +1 -0
- package/dist/core/types.gen.d.ts +79 -0
- package/dist/core/types.gen.d.ts.map +1 -0
- package/dist/core/types.gen.js +3 -0
- package/dist/core/types.gen.js.map +1 -0
- package/dist/core/utils.gen.d.ts +20 -0
- package/dist/core/utils.gen.d.ts.map +1 -0
- package/dist/core/utils.gen.js +88 -0
- package/dist/core/utils.gen.js.map +1 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +3 -0
- package/dist/index.js.map +1 -1
- package/dist/schemas.gen.d.ts +1865 -1142
- package/dist/schemas.gen.d.ts.map +1 -1
- package/dist/schemas.gen.js +3124 -1162
- package/dist/schemas.gen.js.map +1 -1
- package/dist/sdk.gen.d.ts +278 -150
- package/dist/sdk.gen.d.ts.map +1 -1
- package/dist/sdk.gen.js +366 -231
- package/dist/sdk.gen.js.map +1 -1
- package/dist/services/kubernetes/api.d.ts +196 -0
- package/dist/services/kubernetes/api.d.ts.map +1 -0
- package/dist/services/kubernetes/api.js +140 -0
- package/dist/services/kubernetes/api.js.map +1 -0
- package/dist/services/kubernetes/index.d.ts +44 -0
- package/dist/services/kubernetes/index.d.ts.map +1 -0
- package/dist/services/kubernetes/index.js +68 -0
- package/dist/services/kubernetes/index.js.map +1 -0
- package/dist/services/kubernetes/types.d.ts +1335 -0
- package/dist/services/kubernetes/types.d.ts.map +1 -0
- package/dist/services/kubernetes/types.js +2 -0
- package/dist/services/kubernetes/types.js.map +1 -0
- package/dist/types.gen.d.ts +1710 -963
- package/dist/types.gen.d.ts.map +1 -1
- package/dist/zod.gen.d.ts +3846 -2906
- package/dist/zod.gen.d.ts.map +1 -1
- package/dist/zod.gen.js +1621 -931
- package/dist/zod.gen.js.map +1 -1
- package/package.json +31 -5
package/dist/schemas.gen.js
CHANGED
|
@@ -1,4 +1,431 @@
|
|
|
1
1
|
// This file is auto-generated by @hey-api/openapi-ts
|
|
2
|
+
export const BillingContactSchema = {
|
|
3
|
+
type: 'object',
|
|
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
|
+
},
|
|
14
|
+
company: {
|
|
15
|
+
type: 'string',
|
|
16
|
+
maxLength: 120,
|
|
17
|
+
minLength: 2,
|
|
18
|
+
pattern: '^(?!\\s)(?!.*\\s$)(?=.*[a-zA-ZÆÐƎƏƐƔIJŊŒẞÞǷȜæðǝəɛɣijŋœĸſßþƿȝĄƁÇĐƊĘĦĮƘŁØƠŞȘŢȚŦŲƯY̨Ƴąɓçđɗęħįƙłøơşșţțŧųưy̨ƴÁÀÂÄǍĂĀÃÅǺĄÆǼǢƁĆĊĈČÇĎḌĐƊÐÉÈĖÊËĚĔĒĘẸƎƏƐĠĜǦĞĢƔáàâäǎăāãåǻąæǽǣɓćċĉčçďḍđɗðéèėêëěĕēęẹǝəɛġĝǧğģɣĤḤĦIÍÌİÎÏǏĬĪĨĮỊIJĴĶƘĹĻŁĽĿʼNŃN̈ŇÑŅŊÓÒÔÖǑŎŌÕŐỌØǾƠŒĥḥħıíìiîïǐĭīĩįịijĵķƙĸĺļłľŀʼnńn̈ňñņŋóòôöǒŏōõőọøǿơœŔŘŖŚŜŠŞȘṢẞŤŢṬŦÞÚÙÛÜǓŬŪŨŰŮŲỤƯẂẀŴẄǷÝỲŶŸȲỸƳŹŻŽẒŕřŗſśŝšşșṣßťţṭŧþúùûüǔŭūũűůųụưẃẁŵẅƿýỳŷÿȳỹƴźżžẓ0-9])[a-zA-ZÆÐƎƏƐƔIJŊŒẞÞǷȜæðǝəɛɣijŋœĸſßþƿȝĄƁÇĐƊĘĦĮƘŁØƠŞȘŢȚŦŲƯY̨Ƴąɓçđɗęħįƙłøơşșţțŧųưy̨ƴÁÀÂÄǍĂĀÃÅǺĄÆǼǢƁĆĊĈČÇĎḌĐƊÐÉÈĖÊËĚĔĒĘẸƎƏƐĠĜǦĞĢƔáàâäǎăāãåǻąæǽǣɓćċĉčçďḍđɗðéèėêëěĕēęẹǝəɛġĝǧğģɣĤḤĦIÍÌİÎÏǏĬĪĨĮỊIJĴĶƘĹĻŁĽĿʼNŃN̈ŇÑŅŊÓÒÔÖǑŎŌÕŐỌØǾƠŒĥḥħıíìiîïǐĭīĩįịijĵķƙĸĺļłľŀʼnńn̈ňñņŋóòôöǒŏōõőọøǿơœŔŘŖŚŜŠŞȘṢẞŤŢṬŦÞÚÙÛÜǓŬŪŨŰŮŲỤƯẂẀŴẄǷÝỲŶŸȲỸƳŹŻŽẒŕřŗſśŝšşșṣßťţṭŧþúùûüǔŭūũűůųụưẃẁŵẅƿýỳŷÿȳỹƴźżžẓ0-9 -.]{2,}$',
|
|
19
|
+
description: 'Name of the legal entity. This name will be used in invoices. Use your first and last name for individual accounts.',
|
|
20
|
+
example: 'ACME Corp.'
|
|
21
|
+
},
|
|
22
|
+
address1: {
|
|
23
|
+
type: 'string',
|
|
24
|
+
nullable: true,
|
|
25
|
+
description: 'Street address, P.O. box, c/o',
|
|
26
|
+
example: '123 Main St.'
|
|
27
|
+
},
|
|
28
|
+
address2: {
|
|
29
|
+
type: 'string',
|
|
30
|
+
nullable: true,
|
|
31
|
+
description: 'Apartment, suite, unit, building, floor, etc.',
|
|
32
|
+
example: 'Suite 100'
|
|
33
|
+
},
|
|
34
|
+
postalCode: {
|
|
35
|
+
type: 'string',
|
|
36
|
+
nullable: true,
|
|
37
|
+
description: 'Postal code as a string.',
|
|
38
|
+
example: '94105'
|
|
39
|
+
},
|
|
40
|
+
city: {
|
|
41
|
+
type: 'string',
|
|
42
|
+
nullable: true,
|
|
43
|
+
description: 'City or town name.',
|
|
44
|
+
example: 'San Francisco'
|
|
45
|
+
},
|
|
46
|
+
state: {
|
|
47
|
+
type: 'string',
|
|
48
|
+
nullable: true,
|
|
49
|
+
description: 'State, province, or region name.',
|
|
50
|
+
example: 'CA'
|
|
51
|
+
},
|
|
52
|
+
country: {
|
|
53
|
+
type: 'string',
|
|
54
|
+
nullable: true,
|
|
55
|
+
description: 'Country as a ISO 3166-1 alpha-2 country code.',
|
|
56
|
+
example: 'US'
|
|
57
|
+
},
|
|
58
|
+
phone: {
|
|
59
|
+
type: 'string',
|
|
60
|
+
nullable: true,
|
|
61
|
+
description: 'Phone number as a string.',
|
|
62
|
+
example: '+1 555 555 5555'
|
|
63
|
+
},
|
|
64
|
+
email: {
|
|
65
|
+
type: 'string',
|
|
66
|
+
format: 'email',
|
|
67
|
+
description: 'Email address used for billing as a string.',
|
|
68
|
+
example: 'email@example.com'
|
|
69
|
+
},
|
|
70
|
+
individual_name: {
|
|
71
|
+
type: 'string',
|
|
72
|
+
description: 'Name of the billing contact person.',
|
|
73
|
+
example: 'John Doe'
|
|
74
|
+
},
|
|
75
|
+
tax_id: {
|
|
76
|
+
type: 'string',
|
|
77
|
+
nullable: true,
|
|
78
|
+
description: 'Tax ID of the organization.',
|
|
79
|
+
example: 'DE123456789'
|
|
80
|
+
},
|
|
81
|
+
tax_id_type: {
|
|
82
|
+
type: 'string',
|
|
83
|
+
nullable: true,
|
|
84
|
+
description: 'Type of the tax ID.',
|
|
85
|
+
example: 'de_vat',
|
|
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
|
+
]
|
|
216
|
+
}
|
|
217
|
+
},
|
|
218
|
+
required: [
|
|
219
|
+
'type',
|
|
220
|
+
'email',
|
|
221
|
+
'individual_name'
|
|
222
|
+
],
|
|
223
|
+
additionalProperties: false
|
|
224
|
+
};
|
|
225
|
+
export const BillingCreditsSchema = {
|
|
226
|
+
type: 'object',
|
|
227
|
+
properties: {
|
|
228
|
+
id: {
|
|
229
|
+
type: 'string',
|
|
230
|
+
description: 'Generated unique identifier of the promotional code.',
|
|
231
|
+
example: '7kUZnH7nnKUFfvc4NK2KQF'
|
|
232
|
+
},
|
|
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: {
|
|
249
|
+
type: 'string',
|
|
250
|
+
format: 'date-time',
|
|
251
|
+
description: 'Timestamp when the credit expires or becomes inactive. ISO 8601 date string in the UTC timezone.',
|
|
252
|
+
example: '2023-12-20T13:53:32.000Z'
|
|
253
|
+
},
|
|
254
|
+
code: {
|
|
255
|
+
type: 'string',
|
|
256
|
+
description: 'Promotional code used by the customer.',
|
|
257
|
+
example: 'VQ4SCMB'
|
|
258
|
+
},
|
|
259
|
+
description: {
|
|
260
|
+
type: 'string',
|
|
261
|
+
description: 'Description of the promotional code.',
|
|
262
|
+
example: '10% off on all products'
|
|
263
|
+
},
|
|
264
|
+
value_total: {
|
|
265
|
+
type: 'number',
|
|
266
|
+
format: 'float',
|
|
267
|
+
description: 'Total value of the promotional code.',
|
|
268
|
+
example: 10
|
|
269
|
+
},
|
|
270
|
+
value_remaining: {
|
|
271
|
+
type: 'number',
|
|
272
|
+
format: 'float',
|
|
273
|
+
description: 'Remaining value of the promotional code.',
|
|
274
|
+
example: 8
|
|
275
|
+
}
|
|
276
|
+
},
|
|
277
|
+
required: [
|
|
278
|
+
'type',
|
|
279
|
+
'date_start',
|
|
280
|
+
'code',
|
|
281
|
+
'value_total'
|
|
282
|
+
],
|
|
283
|
+
additionalProperties: false
|
|
284
|
+
};
|
|
285
|
+
export const ChartCreateInputSchema = {
|
|
286
|
+
type: 'object',
|
|
287
|
+
properties: {
|
|
288
|
+
values: {
|
|
289
|
+
type: 'string',
|
|
290
|
+
description: 'Values to be used in the chart encoded as a JSON string.'
|
|
291
|
+
},
|
|
292
|
+
version_channel: {
|
|
293
|
+
type: 'string',
|
|
294
|
+
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-]+)*))?$',
|
|
295
|
+
description: 'Desired version range or channel for the chart.',
|
|
296
|
+
example: '2.x.x-cfke.x'
|
|
297
|
+
},
|
|
298
|
+
name: {
|
|
299
|
+
type: 'string',
|
|
300
|
+
maxLength: 63,
|
|
301
|
+
minLength: 1,
|
|
302
|
+
pattern: '^[a-z0-9]([-a-z0-9]*[a-z0-9])?$',
|
|
303
|
+
description: 'Unique identifier of the chart deployment aka name of the helm release.',
|
|
304
|
+
example: 'postgresql-0'
|
|
305
|
+
},
|
|
306
|
+
namespace: {
|
|
307
|
+
type: 'string',
|
|
308
|
+
maxLength: 63,
|
|
309
|
+
minLength: 1,
|
|
310
|
+
pattern: '^[a-z0-9]([-a-z0-9]*[a-z0-9])?$',
|
|
311
|
+
description: 'Namespace of the chart deployment',
|
|
312
|
+
example: 'default'
|
|
313
|
+
},
|
|
314
|
+
chart: {
|
|
315
|
+
type: 'string',
|
|
316
|
+
maxLength: 63,
|
|
317
|
+
minLength: 1,
|
|
318
|
+
pattern: '^[a-z0-9]([-a-z0-9]*[a-z0-9])?$',
|
|
319
|
+
description: 'Name of the chart listing',
|
|
320
|
+
example: 'postgresql'
|
|
321
|
+
}
|
|
322
|
+
},
|
|
323
|
+
required: [
|
|
324
|
+
'values',
|
|
325
|
+
'version_channel',
|
|
326
|
+
'name',
|
|
327
|
+
'namespace',
|
|
328
|
+
'chart'
|
|
329
|
+
],
|
|
330
|
+
additionalProperties: false
|
|
331
|
+
};
|
|
332
|
+
export const ChartSchema = {
|
|
333
|
+
type: 'object',
|
|
334
|
+
properties: {
|
|
335
|
+
values: {
|
|
336
|
+
type: 'string',
|
|
337
|
+
description: 'Values to be used in the chart encoded as a JSON string.'
|
|
338
|
+
},
|
|
339
|
+
version_channel: {
|
|
340
|
+
type: 'string',
|
|
341
|
+
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-]+)*))?$',
|
|
342
|
+
description: 'Desired version range or channel for the chart.',
|
|
343
|
+
example: '2.x.x-cfke.x'
|
|
344
|
+
},
|
|
345
|
+
name: {
|
|
346
|
+
type: 'string',
|
|
347
|
+
maxLength: 63,
|
|
348
|
+
minLength: 1,
|
|
349
|
+
pattern: '^[a-z0-9]([-a-z0-9]*[a-z0-9])?$',
|
|
350
|
+
description: 'Unique identifier of the chart deployment aka name of the helm release.',
|
|
351
|
+
example: 'postgresql-0'
|
|
352
|
+
},
|
|
353
|
+
namespace: {
|
|
354
|
+
type: 'string',
|
|
355
|
+
maxLength: 63,
|
|
356
|
+
minLength: 1,
|
|
357
|
+
pattern: '^[a-z0-9]([-a-z0-9]*[a-z0-9])?$',
|
|
358
|
+
description: 'Namespace of the chart deployment',
|
|
359
|
+
example: 'default'
|
|
360
|
+
},
|
|
361
|
+
chart: {
|
|
362
|
+
type: 'string',
|
|
363
|
+
maxLength: 63,
|
|
364
|
+
minLength: 1,
|
|
365
|
+
pattern: '^[a-z0-9]([-a-z0-9]*[a-z0-9])?$',
|
|
366
|
+
description: 'Name of the chart listing',
|
|
367
|
+
example: 'postgresql'
|
|
368
|
+
},
|
|
369
|
+
status: {
|
|
370
|
+
type: 'string',
|
|
371
|
+
description: 'Status of the chart deployment (Flux HelmRelease Ready condition reason, e.g. InstallSucceeded, UpgradeFailed, Progressing).',
|
|
372
|
+
example: 'InstallSucceeded'
|
|
373
|
+
},
|
|
374
|
+
version_current: {
|
|
375
|
+
type: 'string',
|
|
376
|
+
description: 'Current version of the chart deployment.',
|
|
377
|
+
example: '2.1.33-cfke.11'
|
|
378
|
+
},
|
|
379
|
+
created_at: {
|
|
380
|
+
type: 'string',
|
|
381
|
+
description: 'Creation date and time of the chart deployment.',
|
|
382
|
+
example: '2024-09-12T09:11:27Z'
|
|
383
|
+
},
|
|
384
|
+
updated_at: {
|
|
385
|
+
type: 'string',
|
|
386
|
+
description: 'Last update date and time of the chart deployment.',
|
|
387
|
+
example: '2024-09-12T09:11:27Z'
|
|
388
|
+
},
|
|
389
|
+
ready: {
|
|
390
|
+
type: 'boolean',
|
|
391
|
+
description: 'Indicates if the chart deployment is ready to be used.',
|
|
392
|
+
example: true
|
|
393
|
+
}
|
|
394
|
+
},
|
|
395
|
+
required: [
|
|
396
|
+
'values',
|
|
397
|
+
'version_channel',
|
|
398
|
+
'name',
|
|
399
|
+
'namespace',
|
|
400
|
+
'chart',
|
|
401
|
+
'status',
|
|
402
|
+
'version_current',
|
|
403
|
+
'created_at',
|
|
404
|
+
'updated_at',
|
|
405
|
+
'ready'
|
|
406
|
+
],
|
|
407
|
+
additionalProperties: false
|
|
408
|
+
};
|
|
409
|
+
export const ChartUpdateInputSchema = {
|
|
410
|
+
type: 'object',
|
|
411
|
+
properties: {
|
|
412
|
+
values: {
|
|
413
|
+
type: 'string',
|
|
414
|
+
description: 'Values to be used in the chart encoded as a JSON string.'
|
|
415
|
+
},
|
|
416
|
+
version_channel: {
|
|
417
|
+
type: 'string',
|
|
418
|
+
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-]+)*))?$',
|
|
419
|
+
description: 'Desired version range or channel for the chart.',
|
|
420
|
+
example: '2.x.x-cfke.x'
|
|
421
|
+
}
|
|
422
|
+
},
|
|
423
|
+
required: [
|
|
424
|
+
'values',
|
|
425
|
+
'version_channel'
|
|
426
|
+
],
|
|
427
|
+
additionalProperties: false
|
|
428
|
+
};
|
|
2
429
|
export const ClusterCreateInputSchema = {
|
|
3
430
|
type: 'object',
|
|
4
431
|
properties: {
|
|
@@ -10,28 +437,119 @@ export const ClusterCreateInputSchema = {
|
|
|
10
437
|
description: 'Name of the cluster.',
|
|
11
438
|
example: 'production-cluster'
|
|
12
439
|
},
|
|
13
|
-
region: {
|
|
14
|
-
type: 'string',
|
|
15
|
-
description: 'Cloudfleet control plane region. One of "staging", "northamerica-central-1". This field can not be updated after creation.',
|
|
16
|
-
default: 'staging',
|
|
17
|
-
example: 'northamerica-central-1',
|
|
18
|
-
enum: ['staging', 'northamerica-central-1']
|
|
19
|
-
},
|
|
20
440
|
tier: {
|
|
21
441
|
type: 'string',
|
|
22
442
|
description: 'Tier of the cluster.',
|
|
23
443
|
example: 'pro',
|
|
24
|
-
enum: [
|
|
444
|
+
enum: [
|
|
445
|
+
'basic',
|
|
446
|
+
'pro'
|
|
447
|
+
]
|
|
448
|
+
},
|
|
449
|
+
region: {
|
|
450
|
+
type: 'string',
|
|
451
|
+
description: 'Cloudfleet control plane region. This field can not be updated after creation.',
|
|
452
|
+
example: 'europe-central-1a'
|
|
25
453
|
},
|
|
26
454
|
version_channel: {
|
|
27
455
|
type: 'string',
|
|
28
456
|
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-]+)*))?$',
|
|
29
457
|
description: 'Version of the kubernetes cluster.',
|
|
30
458
|
default: '1.x.x-cfke.x',
|
|
31
|
-
example: '1.
|
|
459
|
+
example: '1.x.x-cfke.x'
|
|
460
|
+
},
|
|
461
|
+
release_channel: {
|
|
462
|
+
type: 'string',
|
|
463
|
+
description: 'Release channel for the cluster\'s control plane.',
|
|
464
|
+
default: 'rapid',
|
|
465
|
+
example: 'rapid',
|
|
466
|
+
enum: [
|
|
467
|
+
'rapid',
|
|
468
|
+
'stable',
|
|
469
|
+
'extended'
|
|
470
|
+
]
|
|
471
|
+
},
|
|
472
|
+
features: {
|
|
473
|
+
type: 'object',
|
|
474
|
+
properties: {
|
|
475
|
+
gpu_sharing_strategy: {
|
|
476
|
+
type: 'string',
|
|
477
|
+
description: 'GPU sharing strategy.',
|
|
478
|
+
example: 'none',
|
|
479
|
+
enum: [
|
|
480
|
+
'none',
|
|
481
|
+
'mps',
|
|
482
|
+
'time_slicing'
|
|
483
|
+
]
|
|
484
|
+
},
|
|
485
|
+
gpu_max_shared_clients_per_gpu: {
|
|
486
|
+
type: 'integer',
|
|
487
|
+
minimum: 1,
|
|
488
|
+
maximum: 48,
|
|
489
|
+
description: 'Maximum number of pods that may share a single GPU.',
|
|
490
|
+
example: 10
|
|
491
|
+
},
|
|
492
|
+
cilium_socket_lb_host_namespace_only: {
|
|
493
|
+
type: 'boolean',
|
|
494
|
+
description: 'Restrict Cilium socket load-balancing to the host namespace. Required for the Tailscale operator and Istio.',
|
|
495
|
+
example: false
|
|
496
|
+
}
|
|
497
|
+
},
|
|
498
|
+
required: [
|
|
499
|
+
'gpu_sharing_strategy',
|
|
500
|
+
'gpu_max_shared_clients_per_gpu'
|
|
501
|
+
],
|
|
502
|
+
additionalProperties: false,
|
|
503
|
+
description: 'Cluster feature toggles.',
|
|
504
|
+
default: {
|
|
505
|
+
gpu_sharing_strategy: 'none',
|
|
506
|
+
gpu_max_shared_clients_per_gpu: 10,
|
|
507
|
+
cilium_socket_lb_host_namespace_only: false
|
|
508
|
+
}
|
|
509
|
+
},
|
|
510
|
+
networking: {
|
|
511
|
+
type: 'object',
|
|
512
|
+
properties: {
|
|
513
|
+
pod_cidr: {
|
|
514
|
+
type: 'string',
|
|
515
|
+
description: 'CIDR block for pod IPs.',
|
|
516
|
+
example: '10.244.0.0/16'
|
|
517
|
+
},
|
|
518
|
+
service_cidr: {
|
|
519
|
+
type: 'string',
|
|
520
|
+
description: 'CIDR block for service IPs.',
|
|
521
|
+
example: '10.96.0.0/12'
|
|
522
|
+
},
|
|
523
|
+
cluster_dns: {
|
|
524
|
+
type: 'string',
|
|
525
|
+
description: 'CoreDNS service IP.',
|
|
526
|
+
example: '10.96.0.10'
|
|
527
|
+
},
|
|
528
|
+
dual_stack: {
|
|
529
|
+
type: 'boolean',
|
|
530
|
+
description: 'Enable IPv4+IPv6 dual-stack networking.',
|
|
531
|
+
example: false
|
|
532
|
+
},
|
|
533
|
+
pod_cidr_v6: {
|
|
534
|
+
type: 'string',
|
|
535
|
+
description: 'IPv6 pod CIDR. Requires dual_stack.',
|
|
536
|
+
example: 'fd00:10:244::/56'
|
|
537
|
+
},
|
|
538
|
+
service_cidr_v6: {
|
|
539
|
+
type: 'string',
|
|
540
|
+
description: 'IPv6 service CIDR. Requires dual_stack.',
|
|
541
|
+
example: 'fd00:10:96::/112'
|
|
542
|
+
}
|
|
543
|
+
},
|
|
544
|
+
additionalProperties: false,
|
|
545
|
+
description: 'Cluster networking configuration. Immutable after creation.'
|
|
32
546
|
}
|
|
33
547
|
},
|
|
34
|
-
required: [
|
|
548
|
+
required: [
|
|
549
|
+
'name',
|
|
550
|
+
'tier',
|
|
551
|
+
'region'
|
|
552
|
+
],
|
|
35
553
|
additionalProperties: false
|
|
36
554
|
};
|
|
37
555
|
export const ClusterJoinInformationSchema = {
|
|
@@ -40,8 +558,7 @@ export const ClusterJoinInformationSchema = {
|
|
|
40
558
|
certificate_authority: {
|
|
41
559
|
type: 'string',
|
|
42
560
|
description: 'Certificate authority data for the kubernetes cluster. This is the root certificate authority for the cluster.',
|
|
43
|
-
example:
|
|
44
|
-
MIIC0DCCAbigAwIBAgI...`
|
|
561
|
+
example: '-----BEGIN CERTIFICATE-----\nMIIC0DCCAbigAwIBAgI...'
|
|
45
562
|
},
|
|
46
563
|
endpoint: {
|
|
47
564
|
type: 'string',
|
|
@@ -49,6 +566,16 @@ MIIC0DCCAbigAwIBAgI...`
|
|
|
49
566
|
description: 'Internal URL of the Kubernetes cluster control plane. This is the endpoint that kubelet uses to connect to the cluster.',
|
|
50
567
|
example: 'https://10.31.64.7:6443'
|
|
51
568
|
},
|
|
569
|
+
cluster_dns: {
|
|
570
|
+
type: 'string',
|
|
571
|
+
description: 'Cluster DNS IP address. This is the IP address of the kube-dns service in the cluster.',
|
|
572
|
+
example: '10.96.0.10'
|
|
573
|
+
},
|
|
574
|
+
pod_cidr: {
|
|
575
|
+
type: 'string',
|
|
576
|
+
description: 'Pod CIDR for the cluster. Used to configure iptables rules on nodes to prevent Tailscale routing loops.',
|
|
577
|
+
example: '10.244.0.0/16'
|
|
578
|
+
},
|
|
52
579
|
auth_key: {
|
|
53
580
|
type: 'string',
|
|
54
581
|
description: 'Authentication key for the cluster.',
|
|
@@ -65,7 +592,7 @@ MIIC0DCCAbigAwIBAgI...`
|
|
|
65
592
|
kubernetes: {
|
|
66
593
|
type: 'string',
|
|
67
594
|
description: 'Kubernetes version of the cluster.',
|
|
68
|
-
example: '1.
|
|
595
|
+
example: '1.33.7'
|
|
69
596
|
},
|
|
70
597
|
tailscale: {
|
|
71
598
|
type: 'string',
|
|
@@ -76,9 +603,19 @@ MIIC0DCCAbigAwIBAgI...`
|
|
|
76
603
|
type: 'string',
|
|
77
604
|
description: 'Containerd version of the cluster.',
|
|
78
605
|
example: '1.7.19'
|
|
606
|
+
},
|
|
607
|
+
nvidia_driver: {
|
|
608
|
+
type: 'string',
|
|
609
|
+
description: 'NVIDIA driver version of the cluster.',
|
|
610
|
+
example: '565.0.0'
|
|
79
611
|
}
|
|
80
612
|
},
|
|
81
|
-
required: [
|
|
613
|
+
required: [
|
|
614
|
+
'kubernetes',
|
|
615
|
+
'tailscale',
|
|
616
|
+
'containerd',
|
|
617
|
+
'nvidia_driver'
|
|
618
|
+
],
|
|
82
619
|
additionalProperties: false,
|
|
83
620
|
description: 'Versions of the different components of the cluster.'
|
|
84
621
|
},
|
|
@@ -101,12 +638,25 @@ MIIC0DCCAbigAwIBAgI...`
|
|
|
101
638
|
example: '//iam.googleapis.com/projects/89014267864/locations/global/workloadIdentityPools/cfke/providers/oidc'
|
|
102
639
|
}
|
|
103
640
|
},
|
|
104
|
-
required: [
|
|
641
|
+
required: [
|
|
642
|
+
'metadata_url',
|
|
643
|
+
'aws_role_arn',
|
|
644
|
+
'gcp_workload_identity_provider'
|
|
645
|
+
],
|
|
105
646
|
additionalProperties: false,
|
|
106
|
-
description:
|
|
647
|
+
description: 'OIDC Information for hosts to access to third party API\'s.'
|
|
107
648
|
}
|
|
108
649
|
},
|
|
109
|
-
required: [
|
|
650
|
+
required: [
|
|
651
|
+
'certificate_authority',
|
|
652
|
+
'endpoint',
|
|
653
|
+
'cluster_dns',
|
|
654
|
+
'pod_cidr',
|
|
655
|
+
'auth_key',
|
|
656
|
+
'bootstrap_token',
|
|
657
|
+
'versions',
|
|
658
|
+
'third_party_api_access_config'
|
|
659
|
+
],
|
|
110
660
|
additionalProperties: false
|
|
111
661
|
};
|
|
112
662
|
export const ClusterSchema = {
|
|
@@ -120,62 +670,158 @@ export const ClusterSchema = {
|
|
|
120
670
|
description: 'Name of the cluster.',
|
|
121
671
|
example: 'production-cluster'
|
|
122
672
|
},
|
|
123
|
-
region: {
|
|
124
|
-
type: 'string',
|
|
125
|
-
description: 'Cloudfleet control plane region. One of "staging", "northamerica-central-1". This field can not be updated after creation.',
|
|
126
|
-
default: 'staging',
|
|
127
|
-
example: 'northamerica-central-1',
|
|
128
|
-
enum: ['staging', 'northamerica-central-1']
|
|
129
|
-
},
|
|
130
673
|
tier: {
|
|
131
674
|
type: 'string',
|
|
132
675
|
description: 'Tier of the cluster.',
|
|
133
676
|
example: 'pro',
|
|
134
|
-
enum: [
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
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-]+)*))?$',
|
|
139
|
-
description: 'Version of the kubernetes cluster.',
|
|
140
|
-
default: '1.x.x-cfke.x',
|
|
141
|
-
example: '1.29.x-cfke.x'
|
|
142
|
-
},
|
|
143
|
-
id: {
|
|
144
|
-
type: 'string',
|
|
145
|
-
format: 'uuid',
|
|
146
|
-
description: 'Unique identifier of the kubernetes cluster. UUID v4 string in canonical form',
|
|
147
|
-
example: '6b5439b1-923a-4f2b-a371-d554e5ea23fa'
|
|
677
|
+
enum: [
|
|
678
|
+
'basic',
|
|
679
|
+
'pro'
|
|
680
|
+
]
|
|
148
681
|
},
|
|
149
|
-
|
|
682
|
+
region: {
|
|
150
683
|
type: 'string',
|
|
151
|
-
description: '
|
|
152
|
-
example: '
|
|
153
|
-
enum: ['active', 'deleted', 'creating', 'deployed', 'failed', 'updating']
|
|
684
|
+
description: 'Cloudfleet control plane region. This field can not be updated after creation.',
|
|
685
|
+
example: 'europe-central-1a'
|
|
154
686
|
},
|
|
155
|
-
|
|
156
|
-
|
|
687
|
+
networking: {
|
|
688
|
+
type: 'object',
|
|
689
|
+
properties: {
|
|
690
|
+
pod_cidr: {
|
|
691
|
+
type: 'string',
|
|
692
|
+
description: 'CIDR block for pod IPs.',
|
|
693
|
+
example: '10.244.0.0/16'
|
|
694
|
+
},
|
|
695
|
+
service_cidr: {
|
|
696
|
+
type: 'string',
|
|
697
|
+
description: 'CIDR block for service IPs.',
|
|
698
|
+
example: '10.96.0.0/12'
|
|
699
|
+
},
|
|
700
|
+
cluster_dns: {
|
|
701
|
+
type: 'string',
|
|
702
|
+
description: 'CoreDNS service IP.',
|
|
703
|
+
example: '10.96.0.10'
|
|
704
|
+
},
|
|
705
|
+
dual_stack: {
|
|
706
|
+
type: 'boolean',
|
|
707
|
+
description: 'Enable IPv4+IPv6 dual-stack networking.',
|
|
708
|
+
example: false
|
|
709
|
+
},
|
|
710
|
+
pod_cidr_v6: {
|
|
711
|
+
type: 'string',
|
|
712
|
+
description: 'IPv6 pod CIDR. Requires dual_stack.',
|
|
713
|
+
example: 'fd00:10:244::/56'
|
|
714
|
+
},
|
|
715
|
+
service_cidr_v6: {
|
|
716
|
+
type: 'string',
|
|
717
|
+
description: 'IPv6 service CIDR. Requires dual_stack.',
|
|
718
|
+
example: 'fd00:10:96::/112'
|
|
719
|
+
}
|
|
720
|
+
},
|
|
721
|
+
additionalProperties: false,
|
|
722
|
+
description: 'Cluster networking configuration. Immutable after creation.'
|
|
723
|
+
},
|
|
724
|
+
release_channel: {
|
|
725
|
+
type: 'string',
|
|
726
|
+
description: 'Release channel for the cluster\'s control plane.',
|
|
727
|
+
example: 'rapid',
|
|
728
|
+
enum: [
|
|
729
|
+
'rapid',
|
|
730
|
+
'stable',
|
|
731
|
+
'extended'
|
|
732
|
+
]
|
|
733
|
+
},
|
|
734
|
+
features: {
|
|
735
|
+
type: 'object',
|
|
736
|
+
properties: {
|
|
737
|
+
gpu_sharing_strategy: {
|
|
738
|
+
type: 'string',
|
|
739
|
+
description: 'GPU sharing strategy.',
|
|
740
|
+
example: 'none',
|
|
741
|
+
enum: [
|
|
742
|
+
'none',
|
|
743
|
+
'mps',
|
|
744
|
+
'time_slicing'
|
|
745
|
+
]
|
|
746
|
+
},
|
|
747
|
+
gpu_max_shared_clients_per_gpu: {
|
|
748
|
+
type: 'integer',
|
|
749
|
+
minimum: 1,
|
|
750
|
+
maximum: 48,
|
|
751
|
+
description: 'Maximum number of pods that may share a single GPU.',
|
|
752
|
+
example: 10
|
|
753
|
+
},
|
|
754
|
+
cilium_socket_lb_host_namespace_only: {
|
|
755
|
+
type: 'boolean',
|
|
756
|
+
description: 'Restrict Cilium socket load-balancing to the host namespace. Required for the Tailscale operator and Istio.',
|
|
757
|
+
example: false
|
|
758
|
+
}
|
|
759
|
+
},
|
|
760
|
+
required: [
|
|
761
|
+
'gpu_sharing_strategy',
|
|
762
|
+
'gpu_max_shared_clients_per_gpu'
|
|
763
|
+
],
|
|
764
|
+
additionalProperties: false,
|
|
765
|
+
description: 'Cluster feature toggles.'
|
|
766
|
+
},
|
|
767
|
+
id: {
|
|
768
|
+
type: 'string',
|
|
769
|
+
format: 'uuid',
|
|
770
|
+
description: 'Unique identifier of the kubernetes cluster. UUID v4 string in canonical form',
|
|
771
|
+
example: '6b5439b1-923a-4f2b-a371-d554e5ea23fa'
|
|
772
|
+
},
|
|
773
|
+
status: {
|
|
774
|
+
type: 'string',
|
|
775
|
+
description: 'Status of the cluster.',
|
|
776
|
+
example: 'deployed',
|
|
777
|
+
enum: [
|
|
778
|
+
'creating',
|
|
779
|
+
'deployed',
|
|
780
|
+
'updating',
|
|
781
|
+
'disabled'
|
|
782
|
+
]
|
|
783
|
+
},
|
|
784
|
+
endpoint: {
|
|
785
|
+
anyOf: [
|
|
786
|
+
{
|
|
787
|
+
type: 'string',
|
|
788
|
+
format: 'uri',
|
|
789
|
+
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.',
|
|
790
|
+
example: 'https://2ae6557c-c61f-49c6-b4c1-a65473470a03.staging.cfke.io'
|
|
791
|
+
},
|
|
792
|
+
{
|
|
793
|
+
type: 'string',
|
|
794
|
+
enum: [
|
|
795
|
+
''
|
|
796
|
+
]
|
|
797
|
+
}
|
|
798
|
+
]
|
|
799
|
+
},
|
|
800
|
+
endpoint_public: {
|
|
801
|
+
anyOf: [
|
|
157
802
|
{
|
|
158
803
|
type: 'string',
|
|
159
804
|
format: 'uri',
|
|
160
|
-
description: '
|
|
161
|
-
example: 'https://2ae6557c-c61f-49c6-b4c1-a65473470a03.staging.cfke.
|
|
805
|
+
description: 'Deprecated alias of `endpoint`; retained for backward compatibility.',
|
|
806
|
+
example: 'https://2ae6557c-c61f-49c6-b4c1-a65473470a03.staging.cfke.io'
|
|
162
807
|
},
|
|
163
808
|
{
|
|
164
809
|
type: 'string',
|
|
165
|
-
enum: [
|
|
810
|
+
enum: [
|
|
811
|
+
''
|
|
812
|
+
]
|
|
166
813
|
}
|
|
167
814
|
]
|
|
168
815
|
},
|
|
169
816
|
certificate_ca: {
|
|
170
817
|
type: 'string',
|
|
171
818
|
description: 'Certificate authority data for the kubernetes cluster. This is the root certificate authority for the cluster.',
|
|
172
|
-
example:
|
|
173
|
-
MIIC0DCCAbigAwIBAgI...`
|
|
819
|
+
example: '-----BEGIN CERTIFICATE-----\nMIIC0DCCAbigAwIBAgI...'
|
|
174
820
|
},
|
|
175
821
|
version_current: {
|
|
176
822
|
type: 'string',
|
|
177
823
|
description: 'Current version of the cluster.',
|
|
178
|
-
example: '1.
|
|
824
|
+
example: '1.33.7-cfke.264'
|
|
179
825
|
},
|
|
180
826
|
created_at: {
|
|
181
827
|
type: 'string',
|
|
@@ -191,9 +837,21 @@ MIIC0DCCAbigAwIBAgI...`
|
|
|
191
837
|
type: 'boolean',
|
|
192
838
|
description: 'Indicates if the cluster is ready to be used.',
|
|
193
839
|
example: true
|
|
840
|
+
},
|
|
841
|
+
version_channel: {
|
|
842
|
+
type: 'string',
|
|
843
|
+
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-]+)*))?$',
|
|
844
|
+
description: 'Version of the kubernetes cluster.',
|
|
845
|
+
example: '1.x.x-cfke.x'
|
|
194
846
|
}
|
|
195
847
|
},
|
|
196
|
-
required: [
|
|
848
|
+
required: [
|
|
849
|
+
'name',
|
|
850
|
+
'tier',
|
|
851
|
+
'region',
|
|
852
|
+
'id',
|
|
853
|
+
'status'
|
|
854
|
+
],
|
|
197
855
|
additionalProperties: false
|
|
198
856
|
};
|
|
199
857
|
export const ClusterUpdateInputSchema = {
|
|
@@ -207,13 +865,68 @@ export const ClusterUpdateInputSchema = {
|
|
|
207
865
|
description: 'Name of the cluster.',
|
|
208
866
|
example: 'production-cluster'
|
|
209
867
|
},
|
|
868
|
+
tier: {
|
|
869
|
+
type: 'string',
|
|
870
|
+
description: 'Tier of the cluster.',
|
|
871
|
+
example: 'pro',
|
|
872
|
+
enum: [
|
|
873
|
+
'basic',
|
|
874
|
+
'pro'
|
|
875
|
+
]
|
|
876
|
+
},
|
|
210
877
|
version_channel: {
|
|
211
878
|
type: 'string',
|
|
212
879
|
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-]+)*))?$',
|
|
213
880
|
description: 'Version of the kubernetes cluster.',
|
|
214
|
-
example: '1.
|
|
881
|
+
example: '1.x.x-cfke.x'
|
|
882
|
+
},
|
|
883
|
+
release_channel: {
|
|
884
|
+
type: 'string',
|
|
885
|
+
description: 'Release channel for the cluster\'s control plane.',
|
|
886
|
+
example: 'rapid',
|
|
887
|
+
enum: [
|
|
888
|
+
'rapid',
|
|
889
|
+
'stable',
|
|
890
|
+
'extended'
|
|
891
|
+
]
|
|
892
|
+
},
|
|
893
|
+
features: {
|
|
894
|
+
type: 'object',
|
|
895
|
+
properties: {
|
|
896
|
+
gpu_sharing_strategy: {
|
|
897
|
+
type: 'string',
|
|
898
|
+
description: 'GPU sharing strategy.',
|
|
899
|
+
example: 'none',
|
|
900
|
+
enum: [
|
|
901
|
+
'none',
|
|
902
|
+
'mps',
|
|
903
|
+
'time_slicing'
|
|
904
|
+
]
|
|
905
|
+
},
|
|
906
|
+
gpu_max_shared_clients_per_gpu: {
|
|
907
|
+
type: 'integer',
|
|
908
|
+
minimum: 1,
|
|
909
|
+
maximum: 48,
|
|
910
|
+
description: 'Maximum number of pods that may share a single GPU.',
|
|
911
|
+
example: 10
|
|
912
|
+
},
|
|
913
|
+
cilium_socket_lb_host_namespace_only: {
|
|
914
|
+
type: 'boolean',
|
|
915
|
+
description: 'Restrict Cilium socket load-balancing to the host namespace. Required for the Tailscale operator and Istio.',
|
|
916
|
+
example: false
|
|
917
|
+
}
|
|
918
|
+
},
|
|
919
|
+
required: [
|
|
920
|
+
'gpu_sharing_strategy',
|
|
921
|
+
'gpu_max_shared_clients_per_gpu'
|
|
922
|
+
],
|
|
923
|
+
additionalProperties: false,
|
|
924
|
+
description: 'Cluster feature toggles.'
|
|
215
925
|
}
|
|
216
926
|
},
|
|
927
|
+
required: [
|
|
928
|
+
'tier'
|
|
929
|
+
],
|
|
217
930
|
additionalProperties: false
|
|
218
931
|
};
|
|
219
932
|
export const FleetCreateInputSchema = {
|
|
@@ -223,13 +936,12 @@ export const FleetCreateInputSchema = {
|
|
|
223
936
|
type: 'object',
|
|
224
937
|
properties: {
|
|
225
938
|
cpu: {
|
|
226
|
-
type: '
|
|
227
|
-
format: 'float',
|
|
939
|
+
type: 'integer',
|
|
228
940
|
minimum: 0,
|
|
229
|
-
|
|
941
|
+
maximum: 100000,
|
|
942
|
+
description: 'CPU limit in cores. Maximum 100,000.'
|
|
230
943
|
}
|
|
231
944
|
},
|
|
232
|
-
required: ['cpu'],
|
|
233
945
|
additionalProperties: false,
|
|
234
946
|
description: 'Limits define a set of bounds for provisioning capacity.'
|
|
235
947
|
},
|
|
@@ -237,62 +949,345 @@ export const FleetCreateInputSchema = {
|
|
|
237
949
|
type: 'object',
|
|
238
950
|
properties: {
|
|
239
951
|
enabled: {
|
|
240
|
-
type: 'boolean'
|
|
241
|
-
default: true
|
|
952
|
+
type: 'boolean'
|
|
242
953
|
},
|
|
243
954
|
project: {
|
|
244
955
|
type: 'string',
|
|
245
|
-
|
|
956
|
+
pattern: '^[a-z][a-z0-9-]{4,28}[a-z0-9]$',
|
|
957
|
+
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.',
|
|
958
|
+
example: 'my-cloudfleet-project'
|
|
246
959
|
}
|
|
247
960
|
},
|
|
248
|
-
required: [
|
|
961
|
+
required: [
|
|
962
|
+
'enabled'
|
|
963
|
+
],
|
|
249
964
|
additionalProperties: false
|
|
250
965
|
},
|
|
251
966
|
hetzner: {
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
enabled: {
|
|
257
|
-
type: 'boolean',
|
|
258
|
-
default: true
|
|
259
|
-
},
|
|
260
|
-
apiKey: {
|
|
261
|
-
type: 'string'
|
|
262
|
-
}
|
|
263
|
-
},
|
|
264
|
-
additionalProperties: false
|
|
967
|
+
type: 'object',
|
|
968
|
+
properties: {
|
|
969
|
+
enabled: {
|
|
970
|
+
type: 'boolean'
|
|
265
971
|
},
|
|
266
|
-
{
|
|
267
|
-
type: '
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
enabled: {
|
|
273
|
-
type: 'boolean',
|
|
274
|
-
default: true
|
|
275
|
-
}
|
|
276
|
-
},
|
|
277
|
-
additionalProperties: false
|
|
972
|
+
apiKey: {
|
|
973
|
+
type: 'string',
|
|
974
|
+
maxLength: 64,
|
|
975
|
+
minLength: 64,
|
|
976
|
+
pattern: '^[A-Za-z0-9]+$',
|
|
977
|
+
description: 'Hetzner Cloud API token with read / write access (64 alphanumeric characters). Omit this field to keep the existing value.'
|
|
278
978
|
}
|
|
279
|
-
|
|
979
|
+
},
|
|
980
|
+
required: [
|
|
981
|
+
'enabled'
|
|
982
|
+
],
|
|
983
|
+
additionalProperties: false
|
|
280
984
|
},
|
|
281
985
|
aws: {
|
|
282
986
|
type: 'object',
|
|
283
987
|
properties: {
|
|
284
988
|
enabled: {
|
|
285
|
-
type: 'boolean'
|
|
286
|
-
default: true
|
|
989
|
+
type: 'boolean'
|
|
287
990
|
},
|
|
288
991
|
controllerRoleArn: {
|
|
289
992
|
type: 'string',
|
|
290
|
-
|
|
993
|
+
pattern: '^arn:aws(-[a-z]+)*:iam::\\d{12}:role\\/[\\w+=,.@/-]+$',
|
|
994
|
+
description: 'AWS IAM role ARN that Karpenter uses to manage resources. Omit when AWS is disabled.',
|
|
995
|
+
example: 'arn:aws:iam::123456789012:role/Cloudfleet'
|
|
291
996
|
}
|
|
292
997
|
},
|
|
293
|
-
required: [
|
|
998
|
+
required: [
|
|
999
|
+
'enabled'
|
|
1000
|
+
],
|
|
294
1001
|
additionalProperties: false
|
|
295
1002
|
},
|
|
1003
|
+
constraints: {
|
|
1004
|
+
type: 'object',
|
|
1005
|
+
properties: {
|
|
1006
|
+
'karpenter.sh/capacity-type': {
|
|
1007
|
+
type: 'array',
|
|
1008
|
+
items: {
|
|
1009
|
+
type: 'string',
|
|
1010
|
+
enum: [
|
|
1011
|
+
'on-demand',
|
|
1012
|
+
'spot'
|
|
1013
|
+
]
|
|
1014
|
+
},
|
|
1015
|
+
minItems: 1,
|
|
1016
|
+
description: 'Allowed values for `karpenter.sh/capacity-type`.',
|
|
1017
|
+
default: [
|
|
1018
|
+
'on-demand',
|
|
1019
|
+
'spot'
|
|
1020
|
+
]
|
|
1021
|
+
},
|
|
1022
|
+
'kubernetes.io/arch': {
|
|
1023
|
+
type: 'array',
|
|
1024
|
+
items: {
|
|
1025
|
+
type: 'string',
|
|
1026
|
+
enum: [
|
|
1027
|
+
'amd64',
|
|
1028
|
+
'arm64'
|
|
1029
|
+
]
|
|
1030
|
+
},
|
|
1031
|
+
minItems: 1,
|
|
1032
|
+
description: 'Allowed values for `kubernetes.io/arch`.',
|
|
1033
|
+
default: [
|
|
1034
|
+
'amd64'
|
|
1035
|
+
]
|
|
1036
|
+
},
|
|
1037
|
+
'cfke.io/instance-family': {
|
|
1038
|
+
type: 'array',
|
|
1039
|
+
items: {
|
|
1040
|
+
type: 'string',
|
|
1041
|
+
enum: [
|
|
1042
|
+
'a1',
|
|
1043
|
+
'a2',
|
|
1044
|
+
'a3',
|
|
1045
|
+
'a4',
|
|
1046
|
+
'c1',
|
|
1047
|
+
'c2',
|
|
1048
|
+
'c2d',
|
|
1049
|
+
'c3',
|
|
1050
|
+
'c3d',
|
|
1051
|
+
'c4',
|
|
1052
|
+
'c4a',
|
|
1053
|
+
'c4d',
|
|
1054
|
+
'c5',
|
|
1055
|
+
'c5a',
|
|
1056
|
+
'c5ad',
|
|
1057
|
+
'c5d',
|
|
1058
|
+
'c5n',
|
|
1059
|
+
'c6a',
|
|
1060
|
+
'c6g',
|
|
1061
|
+
'c6gd',
|
|
1062
|
+
'c6gn',
|
|
1063
|
+
'c6i',
|
|
1064
|
+
'c6id',
|
|
1065
|
+
'c6in',
|
|
1066
|
+
'c7a',
|
|
1067
|
+
'c7g',
|
|
1068
|
+
'c7gd',
|
|
1069
|
+
'c7gn',
|
|
1070
|
+
'c7i',
|
|
1071
|
+
'c7i-flex',
|
|
1072
|
+
'c8g',
|
|
1073
|
+
'c8gd',
|
|
1074
|
+
'cax',
|
|
1075
|
+
'ccx',
|
|
1076
|
+
'cpx',
|
|
1077
|
+
'cx',
|
|
1078
|
+
'd2',
|
|
1079
|
+
'd3',
|
|
1080
|
+
'd3en',
|
|
1081
|
+
'dl1',
|
|
1082
|
+
'dl2q',
|
|
1083
|
+
'e2',
|
|
1084
|
+
'f1',
|
|
1085
|
+
'f2',
|
|
1086
|
+
'g1',
|
|
1087
|
+
'g2',
|
|
1088
|
+
'g4ad',
|
|
1089
|
+
'g4dn',
|
|
1090
|
+
'g5',
|
|
1091
|
+
'g5g',
|
|
1092
|
+
'g6',
|
|
1093
|
+
'g6e',
|
|
1094
|
+
'gr6',
|
|
1095
|
+
'h1',
|
|
1096
|
+
'h3',
|
|
1097
|
+
'hpc6a',
|
|
1098
|
+
'hpc6id',
|
|
1099
|
+
'hpc7a',
|
|
1100
|
+
'hpc7g',
|
|
1101
|
+
'i2',
|
|
1102
|
+
'i3',
|
|
1103
|
+
'i3en',
|
|
1104
|
+
'i4g',
|
|
1105
|
+
'i4i',
|
|
1106
|
+
'i7i',
|
|
1107
|
+
'i7ie',
|
|
1108
|
+
'i8g',
|
|
1109
|
+
'im4gn',
|
|
1110
|
+
'inf1',
|
|
1111
|
+
'inf2',
|
|
1112
|
+
'is4gen',
|
|
1113
|
+
'm1',
|
|
1114
|
+
'm2',
|
|
1115
|
+
'm3',
|
|
1116
|
+
'm4',
|
|
1117
|
+
'm5',
|
|
1118
|
+
'm5a',
|
|
1119
|
+
'm5ad',
|
|
1120
|
+
'm5d',
|
|
1121
|
+
'm5dn',
|
|
1122
|
+
'm5n',
|
|
1123
|
+
'm5zn',
|
|
1124
|
+
'm6a',
|
|
1125
|
+
'm6g',
|
|
1126
|
+
'm6gd',
|
|
1127
|
+
'm6i',
|
|
1128
|
+
'm6id',
|
|
1129
|
+
'm6idn',
|
|
1130
|
+
'm6in',
|
|
1131
|
+
'm7a',
|
|
1132
|
+
'm7g',
|
|
1133
|
+
'm7gd',
|
|
1134
|
+
'm7i',
|
|
1135
|
+
'm7i-flex',
|
|
1136
|
+
'm8g',
|
|
1137
|
+
'm8gd',
|
|
1138
|
+
'n1',
|
|
1139
|
+
'n2',
|
|
1140
|
+
'n2d',
|
|
1141
|
+
'n4',
|
|
1142
|
+
'p3',
|
|
1143
|
+
'p3dn',
|
|
1144
|
+
'p4d',
|
|
1145
|
+
'p4de',
|
|
1146
|
+
'p5',
|
|
1147
|
+
'p5e',
|
|
1148
|
+
'p5en',
|
|
1149
|
+
'p6-b200',
|
|
1150
|
+
'r3',
|
|
1151
|
+
'r4',
|
|
1152
|
+
'r5',
|
|
1153
|
+
'r5a',
|
|
1154
|
+
'r5ad',
|
|
1155
|
+
'r5b',
|
|
1156
|
+
'r5d',
|
|
1157
|
+
'r5dn',
|
|
1158
|
+
'r5n',
|
|
1159
|
+
'r6a',
|
|
1160
|
+
'r6g',
|
|
1161
|
+
'r6gd',
|
|
1162
|
+
'r6i',
|
|
1163
|
+
'r6id',
|
|
1164
|
+
'r6idn',
|
|
1165
|
+
'r6in',
|
|
1166
|
+
'r7a',
|
|
1167
|
+
'r7g',
|
|
1168
|
+
'r7gd',
|
|
1169
|
+
'r7i',
|
|
1170
|
+
'r7iz',
|
|
1171
|
+
'r8g',
|
|
1172
|
+
'r8gd',
|
|
1173
|
+
't2',
|
|
1174
|
+
't2a',
|
|
1175
|
+
't2d',
|
|
1176
|
+
't3',
|
|
1177
|
+
't3a',
|
|
1178
|
+
't4g',
|
|
1179
|
+
'trn1',
|
|
1180
|
+
'trn1n',
|
|
1181
|
+
'u-3tb1',
|
|
1182
|
+
'u-6tb1',
|
|
1183
|
+
'u7i-12tb',
|
|
1184
|
+
'u7i-6tb',
|
|
1185
|
+
'u7i-8tb',
|
|
1186
|
+
'u7in-16tb',
|
|
1187
|
+
'u7in-24tb',
|
|
1188
|
+
'u7in-32tb',
|
|
1189
|
+
'vt1',
|
|
1190
|
+
'x1',
|
|
1191
|
+
'x1e',
|
|
1192
|
+
'x2gd',
|
|
1193
|
+
'x2idn',
|
|
1194
|
+
'x2iedn',
|
|
1195
|
+
'x2iezn',
|
|
1196
|
+
'x4',
|
|
1197
|
+
'x8g',
|
|
1198
|
+
'z1d',
|
|
1199
|
+
'z3'
|
|
1200
|
+
]
|
|
1201
|
+
},
|
|
1202
|
+
description: 'Allowed values for `cfke.io/instance-family`.'
|
|
1203
|
+
},
|
|
1204
|
+
'topology.kubernetes.io/region': {
|
|
1205
|
+
type: 'array',
|
|
1206
|
+
items: {
|
|
1207
|
+
type: 'string',
|
|
1208
|
+
enum: [
|
|
1209
|
+
'africa-south1',
|
|
1210
|
+
'ap-northeast-1',
|
|
1211
|
+
'ap-northeast-2',
|
|
1212
|
+
'ap-northeast-3',
|
|
1213
|
+
'ap-south-1',
|
|
1214
|
+
'ap-southeast-1',
|
|
1215
|
+
'ap-southeast-2',
|
|
1216
|
+
'ash',
|
|
1217
|
+
'asia-east1',
|
|
1218
|
+
'asia-east2',
|
|
1219
|
+
'asia-northeast1',
|
|
1220
|
+
'asia-northeast2',
|
|
1221
|
+
'asia-northeast3',
|
|
1222
|
+
'asia-south1',
|
|
1223
|
+
'asia-south2',
|
|
1224
|
+
'asia-southeast1',
|
|
1225
|
+
'asia-southeast2',
|
|
1226
|
+
'australia-southeast1',
|
|
1227
|
+
'australia-southeast2',
|
|
1228
|
+
'ca-central-1',
|
|
1229
|
+
'eu-central-1',
|
|
1230
|
+
'eu-central-2',
|
|
1231
|
+
'eu-north-1',
|
|
1232
|
+
'eu-west-1',
|
|
1233
|
+
'eu-west-2',
|
|
1234
|
+
'eu-west-3',
|
|
1235
|
+
'europe-central2',
|
|
1236
|
+
'europe-north1',
|
|
1237
|
+
'europe-southwest1',
|
|
1238
|
+
'europe-west1',
|
|
1239
|
+
'europe-west10',
|
|
1240
|
+
'europe-west12',
|
|
1241
|
+
'europe-west2',
|
|
1242
|
+
'europe-west3',
|
|
1243
|
+
'europe-west4',
|
|
1244
|
+
'europe-west6',
|
|
1245
|
+
'europe-west8',
|
|
1246
|
+
'europe-west9',
|
|
1247
|
+
'fsn1',
|
|
1248
|
+
'hel1',
|
|
1249
|
+
'hil',
|
|
1250
|
+
'me-central1',
|
|
1251
|
+
'me-central2',
|
|
1252
|
+
'me-west1',
|
|
1253
|
+
'nbg1',
|
|
1254
|
+
'northamerica-northeast1',
|
|
1255
|
+
'northamerica-northeast2',
|
|
1256
|
+
'sa-east-1',
|
|
1257
|
+
'sin',
|
|
1258
|
+
'southamerica-east1',
|
|
1259
|
+
'southamerica-west1',
|
|
1260
|
+
'us-central1',
|
|
1261
|
+
'us-east-1',
|
|
1262
|
+
'us-east-2',
|
|
1263
|
+
'us-east1',
|
|
1264
|
+
'us-east4',
|
|
1265
|
+
'us-east5',
|
|
1266
|
+
'us-south1',
|
|
1267
|
+
'us-west-1',
|
|
1268
|
+
'us-west-2',
|
|
1269
|
+
'us-west1',
|
|
1270
|
+
'us-west2',
|
|
1271
|
+
'us-west3',
|
|
1272
|
+
'us-west4'
|
|
1273
|
+
]
|
|
1274
|
+
},
|
|
1275
|
+
description: 'Allowed values for `topology.kubernetes.io/region`.'
|
|
1276
|
+
}
|
|
1277
|
+
},
|
|
1278
|
+
additionalProperties: false,
|
|
1279
|
+
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.'
|
|
1280
|
+
},
|
|
1281
|
+
scalingProfile: {
|
|
1282
|
+
type: 'string',
|
|
1283
|
+
description: 'Controls scale-up / scale-down responsiveness. `aggressive` prioritizes cost-optimization. `conservative` prioritizes stability of the fleet.',
|
|
1284
|
+
default: 'conservative',
|
|
1285
|
+
example: 'conservative',
|
|
1286
|
+
enum: [
|
|
1287
|
+
'aggressive',
|
|
1288
|
+
'conservative'
|
|
1289
|
+
]
|
|
1290
|
+
},
|
|
296
1291
|
id: {
|
|
297
1292
|
type: 'string',
|
|
298
1293
|
maxLength: 63,
|
|
@@ -300,14 +1295,11 @@ export const FleetCreateInputSchema = {
|
|
|
300
1295
|
pattern: '^[a-z0-9]([-a-z0-9]*[a-z0-9])?$',
|
|
301
1296
|
description: 'Unique identifier of the kubernetes fleet.',
|
|
302
1297
|
example: 'new-clouds-fleet'
|
|
303
|
-
},
|
|
304
|
-
type: {
|
|
305
|
-
type: 'string',
|
|
306
|
-
description: 'Specifies the fleet type: infrastructure managed by Cloudfleet or Connected Fleets.',
|
|
307
|
-
enum: ['managed', 'connected']
|
|
308
1298
|
}
|
|
309
1299
|
},
|
|
310
|
-
required: [
|
|
1300
|
+
required: [
|
|
1301
|
+
'id'
|
|
1302
|
+
],
|
|
311
1303
|
additionalProperties: false
|
|
312
1304
|
};
|
|
313
1305
|
export const FleetSchema = {
|
|
@@ -317,13 +1309,12 @@ export const FleetSchema = {
|
|
|
317
1309
|
type: 'object',
|
|
318
1310
|
properties: {
|
|
319
1311
|
cpu: {
|
|
320
|
-
type: '
|
|
321
|
-
format: 'float',
|
|
1312
|
+
type: 'integer',
|
|
322
1313
|
minimum: 0,
|
|
323
|
-
|
|
1314
|
+
maximum: 100000,
|
|
1315
|
+
description: 'CPU limit in cores. Maximum 100,000.'
|
|
324
1316
|
}
|
|
325
1317
|
},
|
|
326
|
-
required: ['cpu'],
|
|
327
1318
|
additionalProperties: false,
|
|
328
1319
|
description: 'Limits define a set of bounds for provisioning capacity.'
|
|
329
1320
|
},
|
|
@@ -331,62 +1322,343 @@ export const FleetSchema = {
|
|
|
331
1322
|
type: 'object',
|
|
332
1323
|
properties: {
|
|
333
1324
|
enabled: {
|
|
334
|
-
type: 'boolean'
|
|
335
|
-
default: true
|
|
1325
|
+
type: 'boolean'
|
|
336
1326
|
},
|
|
337
1327
|
project: {
|
|
338
1328
|
type: 'string',
|
|
339
|
-
|
|
1329
|
+
pattern: '^[a-z][a-z0-9-]{4,28}[a-z0-9]$',
|
|
1330
|
+
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.',
|
|
1331
|
+
example: 'my-cloudfleet-project'
|
|
340
1332
|
}
|
|
341
1333
|
},
|
|
342
|
-
required: [
|
|
1334
|
+
required: [
|
|
1335
|
+
'enabled'
|
|
1336
|
+
],
|
|
343
1337
|
additionalProperties: false
|
|
344
1338
|
},
|
|
345
1339
|
hetzner: {
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
enabled: {
|
|
351
|
-
type: 'boolean',
|
|
352
|
-
default: true
|
|
353
|
-
},
|
|
354
|
-
apiKey: {
|
|
355
|
-
type: 'string'
|
|
356
|
-
}
|
|
357
|
-
},
|
|
358
|
-
additionalProperties: false
|
|
1340
|
+
type: 'object',
|
|
1341
|
+
properties: {
|
|
1342
|
+
enabled: {
|
|
1343
|
+
type: 'boolean'
|
|
359
1344
|
},
|
|
360
|
-
{
|
|
361
|
-
type: '
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
type: 'string'
|
|
365
|
-
},
|
|
366
|
-
enabled: {
|
|
367
|
-
type: 'boolean',
|
|
368
|
-
default: true
|
|
369
|
-
}
|
|
370
|
-
},
|
|
371
|
-
additionalProperties: false
|
|
1345
|
+
apiKey: {
|
|
1346
|
+
type: 'string',
|
|
1347
|
+
pattern: '^\\*{64}$',
|
|
1348
|
+
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.'
|
|
372
1349
|
}
|
|
373
|
-
|
|
1350
|
+
},
|
|
1351
|
+
required: [
|
|
1352
|
+
'enabled'
|
|
1353
|
+
],
|
|
1354
|
+
additionalProperties: false
|
|
374
1355
|
},
|
|
375
1356
|
aws: {
|
|
376
1357
|
type: 'object',
|
|
377
1358
|
properties: {
|
|
378
1359
|
enabled: {
|
|
379
|
-
type: 'boolean'
|
|
380
|
-
default: true
|
|
1360
|
+
type: 'boolean'
|
|
381
1361
|
},
|
|
382
1362
|
controllerRoleArn: {
|
|
383
1363
|
type: 'string',
|
|
384
|
-
|
|
1364
|
+
pattern: '^arn:aws(-[a-z]+)*:iam::\\d{12}:role\\/[\\w+=,.@/-]+$',
|
|
1365
|
+
description: 'AWS IAM role ARN that Karpenter uses to manage resources. Omit when AWS is disabled.',
|
|
1366
|
+
example: 'arn:aws:iam::123456789012:role/Cloudfleet'
|
|
385
1367
|
}
|
|
386
1368
|
},
|
|
387
|
-
required: [
|
|
1369
|
+
required: [
|
|
1370
|
+
'enabled'
|
|
1371
|
+
],
|
|
388
1372
|
additionalProperties: false
|
|
389
1373
|
},
|
|
1374
|
+
constraints: {
|
|
1375
|
+
type: 'object',
|
|
1376
|
+
properties: {
|
|
1377
|
+
'karpenter.sh/capacity-type': {
|
|
1378
|
+
type: 'array',
|
|
1379
|
+
items: {
|
|
1380
|
+
type: 'string',
|
|
1381
|
+
enum: [
|
|
1382
|
+
'on-demand',
|
|
1383
|
+
'spot'
|
|
1384
|
+
]
|
|
1385
|
+
},
|
|
1386
|
+
minItems: 1,
|
|
1387
|
+
description: 'Allowed values for `karpenter.sh/capacity-type`.',
|
|
1388
|
+
default: [
|
|
1389
|
+
'on-demand',
|
|
1390
|
+
'spot'
|
|
1391
|
+
]
|
|
1392
|
+
},
|
|
1393
|
+
'kubernetes.io/arch': {
|
|
1394
|
+
type: 'array',
|
|
1395
|
+
items: {
|
|
1396
|
+
type: 'string',
|
|
1397
|
+
enum: [
|
|
1398
|
+
'amd64',
|
|
1399
|
+
'arm64'
|
|
1400
|
+
]
|
|
1401
|
+
},
|
|
1402
|
+
minItems: 1,
|
|
1403
|
+
description: 'Allowed values for `kubernetes.io/arch`.',
|
|
1404
|
+
default: [
|
|
1405
|
+
'amd64'
|
|
1406
|
+
]
|
|
1407
|
+
},
|
|
1408
|
+
'cfke.io/instance-family': {
|
|
1409
|
+
type: 'array',
|
|
1410
|
+
items: {
|
|
1411
|
+
type: 'string',
|
|
1412
|
+
enum: [
|
|
1413
|
+
'a1',
|
|
1414
|
+
'a2',
|
|
1415
|
+
'a3',
|
|
1416
|
+
'a4',
|
|
1417
|
+
'c1',
|
|
1418
|
+
'c2',
|
|
1419
|
+
'c2d',
|
|
1420
|
+
'c3',
|
|
1421
|
+
'c3d',
|
|
1422
|
+
'c4',
|
|
1423
|
+
'c4a',
|
|
1424
|
+
'c4d',
|
|
1425
|
+
'c5',
|
|
1426
|
+
'c5a',
|
|
1427
|
+
'c5ad',
|
|
1428
|
+
'c5d',
|
|
1429
|
+
'c5n',
|
|
1430
|
+
'c6a',
|
|
1431
|
+
'c6g',
|
|
1432
|
+
'c6gd',
|
|
1433
|
+
'c6gn',
|
|
1434
|
+
'c6i',
|
|
1435
|
+
'c6id',
|
|
1436
|
+
'c6in',
|
|
1437
|
+
'c7a',
|
|
1438
|
+
'c7g',
|
|
1439
|
+
'c7gd',
|
|
1440
|
+
'c7gn',
|
|
1441
|
+
'c7i',
|
|
1442
|
+
'c7i-flex',
|
|
1443
|
+
'c8g',
|
|
1444
|
+
'c8gd',
|
|
1445
|
+
'cax',
|
|
1446
|
+
'ccx',
|
|
1447
|
+
'cpx',
|
|
1448
|
+
'cx',
|
|
1449
|
+
'd2',
|
|
1450
|
+
'd3',
|
|
1451
|
+
'd3en',
|
|
1452
|
+
'dl1',
|
|
1453
|
+
'dl2q',
|
|
1454
|
+
'e2',
|
|
1455
|
+
'f1',
|
|
1456
|
+
'f2',
|
|
1457
|
+
'g1',
|
|
1458
|
+
'g2',
|
|
1459
|
+
'g4ad',
|
|
1460
|
+
'g4dn',
|
|
1461
|
+
'g5',
|
|
1462
|
+
'g5g',
|
|
1463
|
+
'g6',
|
|
1464
|
+
'g6e',
|
|
1465
|
+
'gr6',
|
|
1466
|
+
'h1',
|
|
1467
|
+
'h3',
|
|
1468
|
+
'hpc6a',
|
|
1469
|
+
'hpc6id',
|
|
1470
|
+
'hpc7a',
|
|
1471
|
+
'hpc7g',
|
|
1472
|
+
'i2',
|
|
1473
|
+
'i3',
|
|
1474
|
+
'i3en',
|
|
1475
|
+
'i4g',
|
|
1476
|
+
'i4i',
|
|
1477
|
+
'i7i',
|
|
1478
|
+
'i7ie',
|
|
1479
|
+
'i8g',
|
|
1480
|
+
'im4gn',
|
|
1481
|
+
'inf1',
|
|
1482
|
+
'inf2',
|
|
1483
|
+
'is4gen',
|
|
1484
|
+
'm1',
|
|
1485
|
+
'm2',
|
|
1486
|
+
'm3',
|
|
1487
|
+
'm4',
|
|
1488
|
+
'm5',
|
|
1489
|
+
'm5a',
|
|
1490
|
+
'm5ad',
|
|
1491
|
+
'm5d',
|
|
1492
|
+
'm5dn',
|
|
1493
|
+
'm5n',
|
|
1494
|
+
'm5zn',
|
|
1495
|
+
'm6a',
|
|
1496
|
+
'm6g',
|
|
1497
|
+
'm6gd',
|
|
1498
|
+
'm6i',
|
|
1499
|
+
'm6id',
|
|
1500
|
+
'm6idn',
|
|
1501
|
+
'm6in',
|
|
1502
|
+
'm7a',
|
|
1503
|
+
'm7g',
|
|
1504
|
+
'm7gd',
|
|
1505
|
+
'm7i',
|
|
1506
|
+
'm7i-flex',
|
|
1507
|
+
'm8g',
|
|
1508
|
+
'm8gd',
|
|
1509
|
+
'n1',
|
|
1510
|
+
'n2',
|
|
1511
|
+
'n2d',
|
|
1512
|
+
'n4',
|
|
1513
|
+
'p3',
|
|
1514
|
+
'p3dn',
|
|
1515
|
+
'p4d',
|
|
1516
|
+
'p4de',
|
|
1517
|
+
'p5',
|
|
1518
|
+
'p5e',
|
|
1519
|
+
'p5en',
|
|
1520
|
+
'p6-b200',
|
|
1521
|
+
'r3',
|
|
1522
|
+
'r4',
|
|
1523
|
+
'r5',
|
|
1524
|
+
'r5a',
|
|
1525
|
+
'r5ad',
|
|
1526
|
+
'r5b',
|
|
1527
|
+
'r5d',
|
|
1528
|
+
'r5dn',
|
|
1529
|
+
'r5n',
|
|
1530
|
+
'r6a',
|
|
1531
|
+
'r6g',
|
|
1532
|
+
'r6gd',
|
|
1533
|
+
'r6i',
|
|
1534
|
+
'r6id',
|
|
1535
|
+
'r6idn',
|
|
1536
|
+
'r6in',
|
|
1537
|
+
'r7a',
|
|
1538
|
+
'r7g',
|
|
1539
|
+
'r7gd',
|
|
1540
|
+
'r7i',
|
|
1541
|
+
'r7iz',
|
|
1542
|
+
'r8g',
|
|
1543
|
+
'r8gd',
|
|
1544
|
+
't2',
|
|
1545
|
+
't2a',
|
|
1546
|
+
't2d',
|
|
1547
|
+
't3',
|
|
1548
|
+
't3a',
|
|
1549
|
+
't4g',
|
|
1550
|
+
'trn1',
|
|
1551
|
+
'trn1n',
|
|
1552
|
+
'u-3tb1',
|
|
1553
|
+
'u-6tb1',
|
|
1554
|
+
'u7i-12tb',
|
|
1555
|
+
'u7i-6tb',
|
|
1556
|
+
'u7i-8tb',
|
|
1557
|
+
'u7in-16tb',
|
|
1558
|
+
'u7in-24tb',
|
|
1559
|
+
'u7in-32tb',
|
|
1560
|
+
'vt1',
|
|
1561
|
+
'x1',
|
|
1562
|
+
'x1e',
|
|
1563
|
+
'x2gd',
|
|
1564
|
+
'x2idn',
|
|
1565
|
+
'x2iedn',
|
|
1566
|
+
'x2iezn',
|
|
1567
|
+
'x4',
|
|
1568
|
+
'x8g',
|
|
1569
|
+
'z1d',
|
|
1570
|
+
'z3'
|
|
1571
|
+
]
|
|
1572
|
+
},
|
|
1573
|
+
description: 'Allowed values for `cfke.io/instance-family`.'
|
|
1574
|
+
},
|
|
1575
|
+
'topology.kubernetes.io/region': {
|
|
1576
|
+
type: 'array',
|
|
1577
|
+
items: {
|
|
1578
|
+
type: 'string',
|
|
1579
|
+
enum: [
|
|
1580
|
+
'africa-south1',
|
|
1581
|
+
'ap-northeast-1',
|
|
1582
|
+
'ap-northeast-2',
|
|
1583
|
+
'ap-northeast-3',
|
|
1584
|
+
'ap-south-1',
|
|
1585
|
+
'ap-southeast-1',
|
|
1586
|
+
'ap-southeast-2',
|
|
1587
|
+
'ash',
|
|
1588
|
+
'asia-east1',
|
|
1589
|
+
'asia-east2',
|
|
1590
|
+
'asia-northeast1',
|
|
1591
|
+
'asia-northeast2',
|
|
1592
|
+
'asia-northeast3',
|
|
1593
|
+
'asia-south1',
|
|
1594
|
+
'asia-south2',
|
|
1595
|
+
'asia-southeast1',
|
|
1596
|
+
'asia-southeast2',
|
|
1597
|
+
'australia-southeast1',
|
|
1598
|
+
'australia-southeast2',
|
|
1599
|
+
'ca-central-1',
|
|
1600
|
+
'eu-central-1',
|
|
1601
|
+
'eu-central-2',
|
|
1602
|
+
'eu-north-1',
|
|
1603
|
+
'eu-west-1',
|
|
1604
|
+
'eu-west-2',
|
|
1605
|
+
'eu-west-3',
|
|
1606
|
+
'europe-central2',
|
|
1607
|
+
'europe-north1',
|
|
1608
|
+
'europe-southwest1',
|
|
1609
|
+
'europe-west1',
|
|
1610
|
+
'europe-west10',
|
|
1611
|
+
'europe-west12',
|
|
1612
|
+
'europe-west2',
|
|
1613
|
+
'europe-west3',
|
|
1614
|
+
'europe-west4',
|
|
1615
|
+
'europe-west6',
|
|
1616
|
+
'europe-west8',
|
|
1617
|
+
'europe-west9',
|
|
1618
|
+
'fsn1',
|
|
1619
|
+
'hel1',
|
|
1620
|
+
'hil',
|
|
1621
|
+
'me-central1',
|
|
1622
|
+
'me-central2',
|
|
1623
|
+
'me-west1',
|
|
1624
|
+
'nbg1',
|
|
1625
|
+
'northamerica-northeast1',
|
|
1626
|
+
'northamerica-northeast2',
|
|
1627
|
+
'sa-east-1',
|
|
1628
|
+
'sin',
|
|
1629
|
+
'southamerica-east1',
|
|
1630
|
+
'southamerica-west1',
|
|
1631
|
+
'us-central1',
|
|
1632
|
+
'us-east-1',
|
|
1633
|
+
'us-east-2',
|
|
1634
|
+
'us-east1',
|
|
1635
|
+
'us-east4',
|
|
1636
|
+
'us-east5',
|
|
1637
|
+
'us-south1',
|
|
1638
|
+
'us-west-1',
|
|
1639
|
+
'us-west-2',
|
|
1640
|
+
'us-west1',
|
|
1641
|
+
'us-west2',
|
|
1642
|
+
'us-west3',
|
|
1643
|
+
'us-west4'
|
|
1644
|
+
]
|
|
1645
|
+
},
|
|
1646
|
+
description: 'Allowed values for `topology.kubernetes.io/region`.'
|
|
1647
|
+
}
|
|
1648
|
+
},
|
|
1649
|
+
additionalProperties: false,
|
|
1650
|
+
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.'
|
|
1651
|
+
},
|
|
1652
|
+
scalingProfile: {
|
|
1653
|
+
type: 'string',
|
|
1654
|
+
description: 'Controls scale-up / scale-down responsiveness. `aggressive` prioritizes cost-optimization. `conservative` prioritizes stability of the fleet.',
|
|
1655
|
+
default: 'conservative',
|
|
1656
|
+
example: 'conservative',
|
|
1657
|
+
enum: [
|
|
1658
|
+
'aggressive',
|
|
1659
|
+
'conservative'
|
|
1660
|
+
]
|
|
1661
|
+
},
|
|
390
1662
|
id: {
|
|
391
1663
|
type: 'string',
|
|
392
1664
|
maxLength: 63,
|
|
@@ -395,13 +1667,34 @@ export const FleetSchema = {
|
|
|
395
1667
|
description: 'Unique identifier of the kubernetes fleet.',
|
|
396
1668
|
example: 'new-clouds-fleet'
|
|
397
1669
|
},
|
|
398
|
-
|
|
1670
|
+
ready: {
|
|
1671
|
+
type: 'boolean',
|
|
1672
|
+
description: 'Indicates whether the fleet configuration is healthy.',
|
|
1673
|
+
example: true
|
|
1674
|
+
},
|
|
1675
|
+
status_message: {
|
|
1676
|
+
type: 'string',
|
|
1677
|
+
description: 'Human-readable reason the fleet is not ready. Present only when `ready` is false.',
|
|
1678
|
+
example: 'Invalid provider permissions.'
|
|
1679
|
+
},
|
|
1680
|
+
created_at: {
|
|
1681
|
+
type: 'string',
|
|
1682
|
+
description: 'Creation date and time of the fleet.',
|
|
1683
|
+
example: '2024-09-12T09:11:27Z'
|
|
1684
|
+
},
|
|
1685
|
+
updated_at: {
|
|
399
1686
|
type: 'string',
|
|
400
|
-
description: '
|
|
401
|
-
|
|
1687
|
+
description: 'Date and time the fleet was last updated.',
|
|
1688
|
+
example: '2024-09-12T09:11:27Z'
|
|
402
1689
|
}
|
|
403
1690
|
},
|
|
404
|
-
required: [
|
|
1691
|
+
required: [
|
|
1692
|
+
'scalingProfile',
|
|
1693
|
+
'id',
|
|
1694
|
+
'ready',
|
|
1695
|
+
'created_at',
|
|
1696
|
+
'updated_at'
|
|
1697
|
+
],
|
|
405
1698
|
additionalProperties: false
|
|
406
1699
|
};
|
|
407
1700
|
export const FleetUpdateInputSchema = {
|
|
@@ -411,13 +1704,12 @@ export const FleetUpdateInputSchema = {
|
|
|
411
1704
|
type: 'object',
|
|
412
1705
|
properties: {
|
|
413
1706
|
cpu: {
|
|
414
|
-
type: '
|
|
415
|
-
format: 'float',
|
|
1707
|
+
type: 'integer',
|
|
416
1708
|
minimum: 0,
|
|
417
|
-
|
|
1709
|
+
maximum: 100000,
|
|
1710
|
+
description: 'CPU limit in cores. Maximum 100,000.'
|
|
418
1711
|
}
|
|
419
1712
|
},
|
|
420
|
-
required: ['cpu'],
|
|
421
1713
|
additionalProperties: false,
|
|
422
1714
|
description: 'Limits define a set of bounds for provisioning capacity.'
|
|
423
1715
|
},
|
|
@@ -425,333 +1717,366 @@ export const FleetUpdateInputSchema = {
|
|
|
425
1717
|
type: 'object',
|
|
426
1718
|
properties: {
|
|
427
1719
|
enabled: {
|
|
428
|
-
type: 'boolean'
|
|
429
|
-
default: true
|
|
1720
|
+
type: 'boolean'
|
|
430
1721
|
},
|
|
431
1722
|
project: {
|
|
432
1723
|
type: 'string',
|
|
433
|
-
|
|
1724
|
+
pattern: '^[a-z][a-z0-9-]{4,28}[a-z0-9]$',
|
|
1725
|
+
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.',
|
|
1726
|
+
example: 'my-cloudfleet-project'
|
|
434
1727
|
}
|
|
435
1728
|
},
|
|
436
|
-
required: [
|
|
1729
|
+
required: [
|
|
1730
|
+
'enabled'
|
|
1731
|
+
],
|
|
437
1732
|
additionalProperties: false
|
|
438
1733
|
},
|
|
439
1734
|
hetzner: {
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
enabled: {
|
|
445
|
-
type: 'boolean',
|
|
446
|
-
default: true
|
|
447
|
-
},
|
|
448
|
-
apiKey: {
|
|
449
|
-
type: 'string'
|
|
450
|
-
}
|
|
451
|
-
},
|
|
452
|
-
additionalProperties: false
|
|
1735
|
+
type: 'object',
|
|
1736
|
+
properties: {
|
|
1737
|
+
enabled: {
|
|
1738
|
+
type: 'boolean'
|
|
453
1739
|
},
|
|
454
|
-
{
|
|
455
|
-
type: '
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
enabled: {
|
|
461
|
-
type: 'boolean',
|
|
462
|
-
default: true
|
|
463
|
-
}
|
|
464
|
-
},
|
|
465
|
-
additionalProperties: false
|
|
1740
|
+
apiKey: {
|
|
1741
|
+
type: 'string',
|
|
1742
|
+
maxLength: 64,
|
|
1743
|
+
minLength: 64,
|
|
1744
|
+
pattern: '^[A-Za-z0-9]+$',
|
|
1745
|
+
description: 'Hetzner Cloud API token with read / write access (64 alphanumeric characters). Omit this field to keep the existing value.'
|
|
466
1746
|
}
|
|
467
|
-
|
|
1747
|
+
},
|
|
1748
|
+
required: [
|
|
1749
|
+
'enabled'
|
|
1750
|
+
],
|
|
1751
|
+
additionalProperties: false
|
|
468
1752
|
},
|
|
469
1753
|
aws: {
|
|
470
1754
|
type: 'object',
|
|
471
1755
|
properties: {
|
|
472
1756
|
enabled: {
|
|
473
|
-
type: 'boolean'
|
|
474
|
-
default: true
|
|
1757
|
+
type: 'boolean'
|
|
475
1758
|
},
|
|
476
1759
|
controllerRoleArn: {
|
|
477
1760
|
type: 'string',
|
|
478
|
-
|
|
1761
|
+
pattern: '^arn:aws(-[a-z]+)*:iam::\\d{12}:role\\/[\\w+=,.@/-]+$',
|
|
1762
|
+
description: 'AWS IAM role ARN that Karpenter uses to manage resources. Omit when AWS is disabled.',
|
|
1763
|
+
example: 'arn:aws:iam::123456789012:role/Cloudfleet'
|
|
479
1764
|
}
|
|
480
1765
|
},
|
|
481
|
-
required: [
|
|
1766
|
+
required: [
|
|
1767
|
+
'enabled'
|
|
1768
|
+
],
|
|
482
1769
|
additionalProperties: false
|
|
1770
|
+
},
|
|
1771
|
+
constraints: {
|
|
1772
|
+
type: 'object',
|
|
1773
|
+
properties: {
|
|
1774
|
+
'karpenter.sh/capacity-type': {
|
|
1775
|
+
type: 'array',
|
|
1776
|
+
items: {
|
|
1777
|
+
type: 'string',
|
|
1778
|
+
enum: [
|
|
1779
|
+
'on-demand',
|
|
1780
|
+
'spot'
|
|
1781
|
+
]
|
|
1782
|
+
},
|
|
1783
|
+
minItems: 1,
|
|
1784
|
+
description: 'Allowed values for `karpenter.sh/capacity-type`.'
|
|
1785
|
+
},
|
|
1786
|
+
'kubernetes.io/arch': {
|
|
1787
|
+
type: 'array',
|
|
1788
|
+
items: {
|
|
1789
|
+
type: 'string',
|
|
1790
|
+
enum: [
|
|
1791
|
+
'amd64',
|
|
1792
|
+
'arm64'
|
|
1793
|
+
]
|
|
1794
|
+
},
|
|
1795
|
+
minItems: 1,
|
|
1796
|
+
description: 'Allowed values for `kubernetes.io/arch`.'
|
|
1797
|
+
},
|
|
1798
|
+
'cfke.io/instance-family': {
|
|
1799
|
+
type: 'array',
|
|
1800
|
+
items: {
|
|
1801
|
+
type: 'string',
|
|
1802
|
+
enum: [
|
|
1803
|
+
'a1',
|
|
1804
|
+
'a2',
|
|
1805
|
+
'a3',
|
|
1806
|
+
'a4',
|
|
1807
|
+
'c1',
|
|
1808
|
+
'c2',
|
|
1809
|
+
'c2d',
|
|
1810
|
+
'c3',
|
|
1811
|
+
'c3d',
|
|
1812
|
+
'c4',
|
|
1813
|
+
'c4a',
|
|
1814
|
+
'c4d',
|
|
1815
|
+
'c5',
|
|
1816
|
+
'c5a',
|
|
1817
|
+
'c5ad',
|
|
1818
|
+
'c5d',
|
|
1819
|
+
'c5n',
|
|
1820
|
+
'c6a',
|
|
1821
|
+
'c6g',
|
|
1822
|
+
'c6gd',
|
|
1823
|
+
'c6gn',
|
|
1824
|
+
'c6i',
|
|
1825
|
+
'c6id',
|
|
1826
|
+
'c6in',
|
|
1827
|
+
'c7a',
|
|
1828
|
+
'c7g',
|
|
1829
|
+
'c7gd',
|
|
1830
|
+
'c7gn',
|
|
1831
|
+
'c7i',
|
|
1832
|
+
'c7i-flex',
|
|
1833
|
+
'c8g',
|
|
1834
|
+
'c8gd',
|
|
1835
|
+
'cax',
|
|
1836
|
+
'ccx',
|
|
1837
|
+
'cpx',
|
|
1838
|
+
'cx',
|
|
1839
|
+
'd2',
|
|
1840
|
+
'd3',
|
|
1841
|
+
'd3en',
|
|
1842
|
+
'dl1',
|
|
1843
|
+
'dl2q',
|
|
1844
|
+
'e2',
|
|
1845
|
+
'f1',
|
|
1846
|
+
'f2',
|
|
1847
|
+
'g1',
|
|
1848
|
+
'g2',
|
|
1849
|
+
'g4ad',
|
|
1850
|
+
'g4dn',
|
|
1851
|
+
'g5',
|
|
1852
|
+
'g5g',
|
|
1853
|
+
'g6',
|
|
1854
|
+
'g6e',
|
|
1855
|
+
'gr6',
|
|
1856
|
+
'h1',
|
|
1857
|
+
'h3',
|
|
1858
|
+
'hpc6a',
|
|
1859
|
+
'hpc6id',
|
|
1860
|
+
'hpc7a',
|
|
1861
|
+
'hpc7g',
|
|
1862
|
+
'i2',
|
|
1863
|
+
'i3',
|
|
1864
|
+
'i3en',
|
|
1865
|
+
'i4g',
|
|
1866
|
+
'i4i',
|
|
1867
|
+
'i7i',
|
|
1868
|
+
'i7ie',
|
|
1869
|
+
'i8g',
|
|
1870
|
+
'im4gn',
|
|
1871
|
+
'inf1',
|
|
1872
|
+
'inf2',
|
|
1873
|
+
'is4gen',
|
|
1874
|
+
'm1',
|
|
1875
|
+
'm2',
|
|
1876
|
+
'm3',
|
|
1877
|
+
'm4',
|
|
1878
|
+
'm5',
|
|
1879
|
+
'm5a',
|
|
1880
|
+
'm5ad',
|
|
1881
|
+
'm5d',
|
|
1882
|
+
'm5dn',
|
|
1883
|
+
'm5n',
|
|
1884
|
+
'm5zn',
|
|
1885
|
+
'm6a',
|
|
1886
|
+
'm6g',
|
|
1887
|
+
'm6gd',
|
|
1888
|
+
'm6i',
|
|
1889
|
+
'm6id',
|
|
1890
|
+
'm6idn',
|
|
1891
|
+
'm6in',
|
|
1892
|
+
'm7a',
|
|
1893
|
+
'm7g',
|
|
1894
|
+
'm7gd',
|
|
1895
|
+
'm7i',
|
|
1896
|
+
'm7i-flex',
|
|
1897
|
+
'm8g',
|
|
1898
|
+
'm8gd',
|
|
1899
|
+
'n1',
|
|
1900
|
+
'n2',
|
|
1901
|
+
'n2d',
|
|
1902
|
+
'n4',
|
|
1903
|
+
'p3',
|
|
1904
|
+
'p3dn',
|
|
1905
|
+
'p4d',
|
|
1906
|
+
'p4de',
|
|
1907
|
+
'p5',
|
|
1908
|
+
'p5e',
|
|
1909
|
+
'p5en',
|
|
1910
|
+
'p6-b200',
|
|
1911
|
+
'r3',
|
|
1912
|
+
'r4',
|
|
1913
|
+
'r5',
|
|
1914
|
+
'r5a',
|
|
1915
|
+
'r5ad',
|
|
1916
|
+
'r5b',
|
|
1917
|
+
'r5d',
|
|
1918
|
+
'r5dn',
|
|
1919
|
+
'r5n',
|
|
1920
|
+
'r6a',
|
|
1921
|
+
'r6g',
|
|
1922
|
+
'r6gd',
|
|
1923
|
+
'r6i',
|
|
1924
|
+
'r6id',
|
|
1925
|
+
'r6idn',
|
|
1926
|
+
'r6in',
|
|
1927
|
+
'r7a',
|
|
1928
|
+
'r7g',
|
|
1929
|
+
'r7gd',
|
|
1930
|
+
'r7i',
|
|
1931
|
+
'r7iz',
|
|
1932
|
+
'r8g',
|
|
1933
|
+
'r8gd',
|
|
1934
|
+
't2',
|
|
1935
|
+
't2a',
|
|
1936
|
+
't2d',
|
|
1937
|
+
't3',
|
|
1938
|
+
't3a',
|
|
1939
|
+
't4g',
|
|
1940
|
+
'trn1',
|
|
1941
|
+
'trn1n',
|
|
1942
|
+
'u-3tb1',
|
|
1943
|
+
'u-6tb1',
|
|
1944
|
+
'u7i-12tb',
|
|
1945
|
+
'u7i-6tb',
|
|
1946
|
+
'u7i-8tb',
|
|
1947
|
+
'u7in-16tb',
|
|
1948
|
+
'u7in-24tb',
|
|
1949
|
+
'u7in-32tb',
|
|
1950
|
+
'vt1',
|
|
1951
|
+
'x1',
|
|
1952
|
+
'x1e',
|
|
1953
|
+
'x2gd',
|
|
1954
|
+
'x2idn',
|
|
1955
|
+
'x2iedn',
|
|
1956
|
+
'x2iezn',
|
|
1957
|
+
'x4',
|
|
1958
|
+
'x8g',
|
|
1959
|
+
'z1d',
|
|
1960
|
+
'z3'
|
|
1961
|
+
]
|
|
1962
|
+
},
|
|
1963
|
+
description: 'Allowed values for `cfke.io/instance-family`.'
|
|
1964
|
+
},
|
|
1965
|
+
'topology.kubernetes.io/region': {
|
|
1966
|
+
type: 'array',
|
|
1967
|
+
items: {
|
|
1968
|
+
type: 'string',
|
|
1969
|
+
enum: [
|
|
1970
|
+
'africa-south1',
|
|
1971
|
+
'ap-northeast-1',
|
|
1972
|
+
'ap-northeast-2',
|
|
1973
|
+
'ap-northeast-3',
|
|
1974
|
+
'ap-south-1',
|
|
1975
|
+
'ap-southeast-1',
|
|
1976
|
+
'ap-southeast-2',
|
|
1977
|
+
'ash',
|
|
1978
|
+
'asia-east1',
|
|
1979
|
+
'asia-east2',
|
|
1980
|
+
'asia-northeast1',
|
|
1981
|
+
'asia-northeast2',
|
|
1982
|
+
'asia-northeast3',
|
|
1983
|
+
'asia-south1',
|
|
1984
|
+
'asia-south2',
|
|
1985
|
+
'asia-southeast1',
|
|
1986
|
+
'asia-southeast2',
|
|
1987
|
+
'australia-southeast1',
|
|
1988
|
+
'australia-southeast2',
|
|
1989
|
+
'ca-central-1',
|
|
1990
|
+
'eu-central-1',
|
|
1991
|
+
'eu-central-2',
|
|
1992
|
+
'eu-north-1',
|
|
1993
|
+
'eu-west-1',
|
|
1994
|
+
'eu-west-2',
|
|
1995
|
+
'eu-west-3',
|
|
1996
|
+
'europe-central2',
|
|
1997
|
+
'europe-north1',
|
|
1998
|
+
'europe-southwest1',
|
|
1999
|
+
'europe-west1',
|
|
2000
|
+
'europe-west10',
|
|
2001
|
+
'europe-west12',
|
|
2002
|
+
'europe-west2',
|
|
2003
|
+
'europe-west3',
|
|
2004
|
+
'europe-west4',
|
|
2005
|
+
'europe-west6',
|
|
2006
|
+
'europe-west8',
|
|
2007
|
+
'europe-west9',
|
|
2008
|
+
'fsn1',
|
|
2009
|
+
'hel1',
|
|
2010
|
+
'hil',
|
|
2011
|
+
'me-central1',
|
|
2012
|
+
'me-central2',
|
|
2013
|
+
'me-west1',
|
|
2014
|
+
'nbg1',
|
|
2015
|
+
'northamerica-northeast1',
|
|
2016
|
+
'northamerica-northeast2',
|
|
2017
|
+
'sa-east-1',
|
|
2018
|
+
'sin',
|
|
2019
|
+
'southamerica-east1',
|
|
2020
|
+
'southamerica-west1',
|
|
2021
|
+
'us-central1',
|
|
2022
|
+
'us-east-1',
|
|
2023
|
+
'us-east-2',
|
|
2024
|
+
'us-east1',
|
|
2025
|
+
'us-east4',
|
|
2026
|
+
'us-east5',
|
|
2027
|
+
'us-south1',
|
|
2028
|
+
'us-west-1',
|
|
2029
|
+
'us-west-2',
|
|
2030
|
+
'us-west1',
|
|
2031
|
+
'us-west2',
|
|
2032
|
+
'us-west3',
|
|
2033
|
+
'us-west4'
|
|
2034
|
+
]
|
|
2035
|
+
},
|
|
2036
|
+
description: 'Allowed values for `topology.kubernetes.io/region`.'
|
|
2037
|
+
}
|
|
2038
|
+
},
|
|
2039
|
+
additionalProperties: false,
|
|
2040
|
+
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.'
|
|
2041
|
+
},
|
|
2042
|
+
scalingProfile: {
|
|
2043
|
+
type: 'string',
|
|
2044
|
+
description: 'Controls scale-up / scale-down responsiveness. `aggressive` prioritizes cost-optimization. `conservative` prioritizes stability of the fleet.',
|
|
2045
|
+
example: 'conservative',
|
|
2046
|
+
enum: [
|
|
2047
|
+
'aggressive',
|
|
2048
|
+
'conservative'
|
|
2049
|
+
]
|
|
483
2050
|
}
|
|
484
2051
|
},
|
|
2052
|
+
required: [
|
|
2053
|
+
'scalingProfile'
|
|
2054
|
+
],
|
|
485
2055
|
additionalProperties: false
|
|
486
2056
|
};
|
|
487
|
-
export const
|
|
2057
|
+
export const InviteCreateInputSchema = {
|
|
488
2058
|
type: 'object',
|
|
489
2059
|
properties: {
|
|
490
|
-
|
|
491
|
-
type: '
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
example:
|
|
495
|
-
enum: [1]
|
|
496
|
-
},
|
|
497
|
-
provider: {
|
|
498
|
-
type: 'array',
|
|
499
|
-
items: {
|
|
500
|
-
type: 'string'
|
|
501
|
-
},
|
|
502
|
-
description: 'Limit selection of cloud providers to this list. For the full list of supported providers, see [Providers](https://cloudfleet.ai/docs/cloud-infrastructure/providers/)',
|
|
503
|
-
example: 'AWS'
|
|
2060
|
+
email: {
|
|
2061
|
+
type: 'string',
|
|
2062
|
+
format: 'email',
|
|
2063
|
+
description: 'Email address of the user to invite.',
|
|
2064
|
+
example: 'email@example.com'
|
|
504
2065
|
},
|
|
505
|
-
|
|
506
|
-
type: 'array',
|
|
507
|
-
items: {
|
|
508
|
-
type: 'string'
|
|
509
|
-
},
|
|
510
|
-
description: 'Limits selection of cloud regions to this list of Cloudfleet regions. For the full list of normalized regions and their mapping to CSP regions, see [Regions](https://cloudfleet.ai/docs/cloud-infrastructure/node-regions/)',
|
|
511
|
-
example: 'northamerica'
|
|
512
|
-
},
|
|
513
|
-
sub_region: {
|
|
514
|
-
type: 'array',
|
|
515
|
-
items: {
|
|
516
|
-
type: 'string'
|
|
517
|
-
},
|
|
518
|
-
description: 'Limits selection of cloud regions to this list of Cloudfleet regions. For the full list of normalized regions and their mapping to CSP regions, see [Regions](https://cloudfleet.ai/docs/cloud-infrastructure/node-regions/)',
|
|
519
|
-
example: 'west'
|
|
520
|
-
},
|
|
521
|
-
csp_region: {
|
|
522
|
-
type: 'array',
|
|
523
|
-
items: {
|
|
524
|
-
type: 'string'
|
|
525
|
-
},
|
|
526
|
-
description: 'Limits selection of cloud regions to this list of canonical provider regions',
|
|
527
|
-
example: 'eu-west-1'
|
|
528
|
-
},
|
|
529
|
-
instance_type: {
|
|
530
|
-
type: 'array',
|
|
531
|
-
items: {
|
|
532
|
-
type: 'string'
|
|
533
|
-
},
|
|
534
|
-
description: 'Limits selection of instance types to this list. Instance / VM type as defined by the cloud service provider',
|
|
535
|
-
example: 'p4d.24xlarge'
|
|
536
|
-
},
|
|
537
|
-
accelerator_name: {
|
|
538
|
-
type: 'array',
|
|
539
|
-
items: {
|
|
540
|
-
type: 'string'
|
|
541
|
-
},
|
|
542
|
-
description: "List of Normalized accelerator model names. For example, all variations of Nvidia A100 GPUs will have 'A100' as accelerator name with various memory configurations set in accelerator_memory field",
|
|
543
|
-
example: 'A100'
|
|
544
|
-
},
|
|
545
|
-
accelerator_manufacturer: {
|
|
546
|
-
type: 'array',
|
|
547
|
-
items: {
|
|
548
|
-
type: 'string'
|
|
549
|
-
},
|
|
550
|
-
description: "List of normalized accelerator manufacturer names. For example, all Nvidia GPUs will have 'NVIDIA' as accelerator manufacturer",
|
|
551
|
-
example: 'NVIDIA'
|
|
552
|
-
},
|
|
553
|
-
accelerator_count_min: {
|
|
554
|
-
type: 'integer',
|
|
555
|
-
minimum: 0,
|
|
556
|
-
description: 'Minimum number of accelerators available on the instance. Some cloud providers support shared accelerators, so the number of accelerators may be a fraction of the number of physical accelerators.',
|
|
557
|
-
example: 1
|
|
558
|
-
},
|
|
559
|
-
accelerator_count_max: {
|
|
560
|
-
type: 'integer',
|
|
561
|
-
minimum: 0,
|
|
562
|
-
description: 'Maximum number of accelerators available on the instance. Some cloud providers support shared accelerators, so the number of accelerators may be a fraction of the number of physical accelerators.',
|
|
563
|
-
example: 8
|
|
564
|
-
},
|
|
565
|
-
accelerator_memory_min: {
|
|
566
|
-
type: 'number',
|
|
567
|
-
format: 'float',
|
|
568
|
-
description: "Minimum amount of accelerator memory available to each accelerator. For example, Nvidia A100 GPUs will typically have '40.0' gibibytes (GiB) of memory, while A100 GPUs with HBM2E memory will have '80.0' gibibytes (GiB) of memory",
|
|
569
|
-
example: 40
|
|
570
|
-
},
|
|
571
|
-
accelerator_memory_max: {
|
|
572
|
-
type: 'number',
|
|
573
|
-
format: 'float',
|
|
574
|
-
description: "Maximum amount of accelerator memory available to each accelerator. For example, Nvidia A100 GPUs will typically have '40.0' gibibytes (GiB) of memory, while A100 GPUs with HBM2E memory will have '80.0' gibibytes (GiB) of memory",
|
|
575
|
-
example: 80
|
|
576
|
-
},
|
|
577
|
-
memory_min: {
|
|
578
|
-
type: 'integer',
|
|
579
|
-
minimum: 0,
|
|
580
|
-
description: 'Minimum amount of RAM in gibibytes (GiB)',
|
|
581
|
-
example: 32
|
|
582
|
-
},
|
|
583
|
-
memory_max: {
|
|
584
|
-
type: 'integer',
|
|
585
|
-
minimum: 0,
|
|
586
|
-
description: 'Maximum amount of RAM in gibibytes (GiB)',
|
|
587
|
-
example: 64
|
|
588
|
-
},
|
|
589
|
-
vcpu_min: {
|
|
590
|
-
type: 'integer',
|
|
591
|
-
minimum: 1,
|
|
592
|
-
description: 'Minimum number of vCPUs as defined by the cloud service provider. Some cloud providers use hyperthreading, so the number of vCPUs may be twice as high as the number of physical cores.',
|
|
593
|
-
example: 32
|
|
594
|
-
},
|
|
595
|
-
vcpu_max: {
|
|
596
|
-
type: 'integer',
|
|
597
|
-
minimum: 1,
|
|
598
|
-
description: 'Maximum number of vCPUs as defined by the cloud service provider. Some cloud providers use hyperthreading, so the number of vCPUs may be twice as high as the number of physical cores.',
|
|
599
|
-
example: 128
|
|
600
|
-
},
|
|
601
|
-
storage_total_min: {
|
|
602
|
-
type: 'number',
|
|
603
|
-
format: 'float',
|
|
604
|
-
minimum: 10,
|
|
605
|
-
description: 'Minimum total storage in GiB (attached and local)',
|
|
606
|
-
example: 128
|
|
607
|
-
},
|
|
608
|
-
storage_total_max: {
|
|
609
|
-
type: 'number',
|
|
610
|
-
format: 'float',
|
|
611
|
-
minimum: 10,
|
|
612
|
-
description: 'Maximum total storage in GiB (attached and local)',
|
|
613
|
-
example: 256
|
|
614
|
-
},
|
|
615
|
-
storage_local_min: {
|
|
616
|
-
type: 'number',
|
|
617
|
-
format: 'float',
|
|
618
|
-
description: 'Minimum volume of directly attached, block-device local storage in gibibytes (GiB)',
|
|
619
|
-
example: 24
|
|
620
|
-
},
|
|
621
|
-
storage_local_max: {
|
|
622
|
-
type: 'number',
|
|
623
|
-
format: 'float',
|
|
624
|
-
description: 'Maximum volume of directly attached, block-device local storage in gibibytes (GiB)',
|
|
625
|
-
example: 128
|
|
626
|
-
},
|
|
627
|
-
price_min: {
|
|
628
|
-
type: 'number',
|
|
629
|
-
format: 'float',
|
|
630
|
-
description: 'Minimum price of running the inctance per hour in USD as defined by the cloud service provider. The cheapest instance will be selected.',
|
|
631
|
-
example: 10
|
|
632
|
-
},
|
|
633
|
-
price_max: {
|
|
634
|
-
type: 'number',
|
|
635
|
-
format: 'float',
|
|
636
|
-
description: 'Maximum price of running the inctance per hour in USD as defined by the cloud service provider. The cheapest instance will be selected.',
|
|
637
|
-
example: 50
|
|
638
|
-
}
|
|
639
|
-
},
|
|
640
|
-
additionalProperties: false
|
|
641
|
-
};
|
|
642
|
-
export const InfrastructureInstanceSchema = {
|
|
643
|
-
type: 'object',
|
|
644
|
-
properties: {
|
|
645
|
-
sku: {
|
|
646
|
-
type: 'string',
|
|
647
|
-
description: 'Cloudfleet instance SKU. Has a format of <provider>-<csp_region>-<instance_type>.',
|
|
648
|
-
example: 'AWS-EU-WEST-1C-P4D.24XLARGE'
|
|
649
|
-
},
|
|
650
|
-
provider: {
|
|
651
|
-
type: 'string',
|
|
652
|
-
description: 'Normalized cloud service provider name. For the full list of supported providers, see [Providers](https://cloudfleet.ai/docs/cloud-infrastructure/providers/)',
|
|
653
|
-
example: 'AWS'
|
|
654
|
-
},
|
|
655
|
-
region: {
|
|
656
|
-
type: 'string',
|
|
657
|
-
description: 'Normalized region. For the full list of normalized regions and their mapping to CSP regions, see [Regions](https://cloudfleet.ai/docs/cloud-infrastructure/node-regions/)',
|
|
658
|
-
example: 'europe'
|
|
659
|
-
},
|
|
660
|
-
sub_region: {
|
|
661
|
-
type: 'string',
|
|
662
|
-
description: 'Normalized sub-region. For the full list of normalized regions and their mapping to CSP regions, see [Regions](https://cloudfleet.ai/docs/cloud-infrastructure/node-regions/)',
|
|
663
|
-
example: 'west'
|
|
664
|
-
},
|
|
665
|
-
csp_region: {
|
|
666
|
-
type: 'string',
|
|
667
|
-
description: 'Region as defined by the cloud service provider',
|
|
668
|
-
example: 'eu-west-1'
|
|
669
|
-
},
|
|
670
|
-
csp_zone: {
|
|
671
|
-
type: 'string',
|
|
672
|
-
description: 'Availability zone as defined by the cloud service provider',
|
|
673
|
-
example: 'eu-west-1a'
|
|
674
|
-
},
|
|
675
|
-
instance_type: {
|
|
676
|
-
type: 'string',
|
|
677
|
-
description: 'Instance / VM type as defined by the cloud service provider',
|
|
678
|
-
example: 'p4d.24xlarge'
|
|
679
|
-
},
|
|
680
|
-
architecture: {
|
|
681
|
-
type: 'string',
|
|
682
|
-
description: 'Instance CPU architecture',
|
|
683
|
-
example: 'amd64'
|
|
684
|
-
},
|
|
685
|
-
os: {
|
|
686
|
-
type: 'string',
|
|
687
|
-
description: 'Instance operating system',
|
|
688
|
-
example: 'linux'
|
|
689
|
-
},
|
|
690
|
-
vcpu: {
|
|
691
|
-
type: 'number',
|
|
692
|
-
format: 'float',
|
|
693
|
-
minimum: 1,
|
|
694
|
-
description: 'CPU count as defined by the cloud service provider. Some cloud providers use hyperthreading, so the number of vCPUs may be twice as high as the number of physical cores.',
|
|
695
|
-
example: 96
|
|
696
|
-
},
|
|
697
|
-
memory: {
|
|
698
|
-
type: 'number',
|
|
699
|
-
format: 'float',
|
|
700
|
-
minimum: 1,
|
|
701
|
-
description: 'Total amount of RAM in gibibytes (GiB)',
|
|
702
|
-
example: 1152
|
|
703
|
-
},
|
|
704
|
-
local_storage: {
|
|
705
|
-
type: 'number',
|
|
706
|
-
format: 'float',
|
|
707
|
-
description: 'Volume of directly attached, block-device local storage in gibibytes (GiB)',
|
|
708
|
-
example: 8000
|
|
709
|
-
},
|
|
710
|
-
accelerator_name: {
|
|
711
|
-
type: 'string',
|
|
712
|
-
description: "Normalized model name of accelerator. For example, all variations of Nvidia A100 GPUs will have 'A100' as accelerator name with various memory configurations set in accelerator_memory field",
|
|
713
|
-
example: 'A100'
|
|
714
|
-
},
|
|
715
|
-
accelerator_manufacturer: {
|
|
716
|
-
type: 'string',
|
|
717
|
-
description: "Normalized manufacturer name of accelerator. For example, all Nvidia GPUs will have 'NVIDIA' as accelerator manufacturer",
|
|
718
|
-
example: 'NVIDIA'
|
|
719
|
-
},
|
|
720
|
-
accelerator_count: {
|
|
721
|
-
type: 'integer',
|
|
722
|
-
description: 'Number of accelerators available on the instance. Some cloud providers support shared accelerators, so the number of accelerators may be a fraction of the number of physical accelerators.',
|
|
723
|
-
example: 8
|
|
724
|
-
},
|
|
725
|
-
accelerator_memory: {
|
|
726
|
-
type: 'number',
|
|
727
|
-
format: 'float',
|
|
728
|
-
description: "Ammount of accelerator memory available to each accelerator. For example, Nvidia A100 GPUs will typically have '40.0' gibibytes (GiB) of memory, while A100 GPUs with HBM2E memory will have '80.0' gibibytes (GiB) of memory",
|
|
729
|
-
example: 40
|
|
730
|
-
},
|
|
731
|
-
pods_capacity: {
|
|
732
|
-
type: 'number',
|
|
733
|
-
format: 'float',
|
|
734
|
-
description: 'Maximum number of pods that can be run on this instance type.',
|
|
735
|
-
example: 110
|
|
736
|
-
},
|
|
737
|
-
capacity_type: {
|
|
2066
|
+
role: {
|
|
738
2067
|
type: 'string',
|
|
739
|
-
description: '
|
|
740
|
-
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
example: 35.39655
|
|
747
|
-
},
|
|
748
|
-
available: {
|
|
749
|
-
type: 'boolean',
|
|
750
|
-
description: 'Whether this instance type is available.',
|
|
751
|
-
example: true
|
|
2068
|
+
description: 'Role the invited user will be assigned on redemption. Can be \'Administrator\' or \'User\'.',
|
|
2069
|
+
default: 'User',
|
|
2070
|
+
example: 'User',
|
|
2071
|
+
enum: [
|
|
2072
|
+
'Administrator',
|
|
2073
|
+
'User'
|
|
2074
|
+
]
|
|
752
2075
|
}
|
|
753
2076
|
},
|
|
754
|
-
required: [
|
|
2077
|
+
required: [
|
|
2078
|
+
'email'
|
|
2079
|
+
],
|
|
755
2080
|
additionalProperties: false
|
|
756
2081
|
};
|
|
757
2082
|
export const InviteSchema = {
|
|
@@ -784,9 +2109,21 @@ export const InviteSchema = {
|
|
|
784
2109
|
type: 'string',
|
|
785
2110
|
description: 'Generated unique invite code.',
|
|
786
2111
|
example: '7kUZnH7nnKUFfvc4NK2KQF'
|
|
2112
|
+
},
|
|
2113
|
+
role: {
|
|
2114
|
+
type: 'string',
|
|
2115
|
+
description: 'Role the invited user will be assigned on redemption. Can be \'Administrator\' or \'User\'.',
|
|
2116
|
+
default: 'User',
|
|
2117
|
+
example: 'User',
|
|
2118
|
+
enum: [
|
|
2119
|
+
'Administrator',
|
|
2120
|
+
'User'
|
|
2121
|
+
]
|
|
787
2122
|
}
|
|
788
2123
|
},
|
|
789
|
-
required: [
|
|
2124
|
+
required: [
|
|
2125
|
+
'date_created'
|
|
2126
|
+
],
|
|
790
2127
|
additionalProperties: false
|
|
791
2128
|
};
|
|
792
2129
|
export const InvoiceSchema = {
|
|
@@ -794,23 +2131,18 @@ export const InvoiceSchema = {
|
|
|
794
2131
|
properties: {
|
|
795
2132
|
id: {
|
|
796
2133
|
type: 'string',
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
example: '415026b6-f00f-44f8-968d-fc6ef4d0fc6d'
|
|
2134
|
+
description: 'Unique identifier of the invoice.',
|
|
2135
|
+
example: 'in_1234567890xCrwxghOTj1234'
|
|
800
2136
|
},
|
|
801
|
-
|
|
802
|
-
type: 'string'
|
|
803
|
-
format: 'uuid',
|
|
804
|
-
description: 'Unique identifier of the organization. UUID v4 string in canonical form',
|
|
805
|
-
example: '415026b6-f00f-44f8-968d-fc6ef4d0fc6d'
|
|
2137
|
+
number: {
|
|
2138
|
+
type: 'string'
|
|
806
2139
|
},
|
|
807
2140
|
status: {
|
|
808
2141
|
type: 'string',
|
|
809
2142
|
description: 'Status of the invoice',
|
|
810
|
-
example: '
|
|
811
|
-
enum: ['DRAFT', 'COMMITTED', 'VOID']
|
|
2143
|
+
example: 'paid'
|
|
812
2144
|
},
|
|
813
|
-
|
|
2145
|
+
total: {
|
|
814
2146
|
type: 'number',
|
|
815
2147
|
format: 'float',
|
|
816
2148
|
description: 'Total amount of the invoice',
|
|
@@ -819,376 +2151,202 @@ export const InvoiceSchema = {
|
|
|
819
2151
|
currency: {
|
|
820
2152
|
type: 'string',
|
|
821
2153
|
description: 'Currency of the invoice',
|
|
822
|
-
example: '
|
|
823
|
-
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']
|
|
824
|
-
},
|
|
825
|
-
creditAdj: {
|
|
826
|
-
type: 'number',
|
|
827
|
-
format: 'float',
|
|
828
|
-
description: 'Total amount of credit adjustments',
|
|
829
|
-
example: 0
|
|
2154
|
+
example: 'usd'
|
|
830
2155
|
},
|
|
831
|
-
|
|
832
|
-
type: '
|
|
833
|
-
format: '
|
|
834
|
-
description: '
|
|
835
|
-
example:
|
|
2156
|
+
created: {
|
|
2157
|
+
type: 'string',
|
|
2158
|
+
format: 'date-time',
|
|
2159
|
+
description: 'Timestamp when the invoice was issued. ISO 8601 date string in the UTC timezone.',
|
|
2160
|
+
example: '2023-12-20T13:53:32.000Z'
|
|
836
2161
|
},
|
|
837
|
-
|
|
2162
|
+
period_start: {
|
|
838
2163
|
type: 'string',
|
|
839
|
-
|
|
840
|
-
|
|
2164
|
+
format: 'date-time',
|
|
2165
|
+
description: 'Billing period start timestamp. ISO 8601 date string in the UTC timezone.',
|
|
2166
|
+
example: '2023-12-20T13:53:32.000Z'
|
|
841
2167
|
},
|
|
842
|
-
|
|
2168
|
+
period_end: {
|
|
843
2169
|
type: 'string',
|
|
844
|
-
|
|
845
|
-
|
|
2170
|
+
format: 'date-time',
|
|
2171
|
+
description: 'Billing period end timestamp. ISO 8601 date string in the UTC timezone.',
|
|
2172
|
+
example: '2023-12-20T13:53:32.000Z'
|
|
846
2173
|
},
|
|
847
|
-
|
|
2174
|
+
invoice_pdf: {
|
|
2175
|
+
type: 'string'
|
|
2176
|
+
}
|
|
2177
|
+
},
|
|
2178
|
+
required: [
|
|
2179
|
+
'created',
|
|
2180
|
+
'period_start',
|
|
2181
|
+
'period_end'
|
|
2182
|
+
],
|
|
2183
|
+
additionalProperties: false
|
|
2184
|
+
};
|
|
2185
|
+
export const MarketplaceListingFilesSchema = {
|
|
2186
|
+
type: 'object',
|
|
2187
|
+
properties: {
|
|
2188
|
+
chartYaml: {
|
|
848
2189
|
type: 'string',
|
|
849
|
-
description: '
|
|
850
|
-
example: '
|
|
2190
|
+
description: 'Raw Chart.yaml content from the Helm chart',
|
|
2191
|
+
example: 'apiVersion: v2\nname: nginx-ingress\nversion: 1.18.2-cfke.45\nappVersion: 1.9.4'
|
|
851
2192
|
},
|
|
852
|
-
|
|
853
|
-
type: '
|
|
854
|
-
|
|
855
|
-
|
|
856
|
-
example: 100
|
|
2193
|
+
valuesYaml: {
|
|
2194
|
+
type: 'string',
|
|
2195
|
+
description: 'Raw values.yaml content from the Helm chart',
|
|
2196
|
+
example: 'replicaCount: 1\nimage:\n repository: nginx\n tag: latest'
|
|
857
2197
|
},
|
|
858
|
-
|
|
2198
|
+
valuesSchemaJson: {
|
|
2199
|
+
type: 'string',
|
|
2200
|
+
description: 'JSON schema for values.yaml as a string',
|
|
2201
|
+
example: '{"type":"object","properties":{"replicaCount":{"type":"number"}}}'
|
|
2202
|
+
}
|
|
2203
|
+
},
|
|
2204
|
+
additionalProperties: false
|
|
2205
|
+
};
|
|
2206
|
+
export const MarketplaceListingSchema = {
|
|
2207
|
+
type: 'object',
|
|
2208
|
+
properties: {
|
|
2209
|
+
name: {
|
|
859
2210
|
type: 'string',
|
|
860
|
-
description: '
|
|
861
|
-
example: '
|
|
2211
|
+
description: 'Name of the chart',
|
|
2212
|
+
example: 'nginx-ingress'
|
|
862
2213
|
},
|
|
863
|
-
|
|
2214
|
+
versions: {
|
|
864
2215
|
type: 'array',
|
|
865
2216
|
items: {
|
|
866
|
-
type: '
|
|
867
|
-
|
|
868
|
-
|
|
869
|
-
|
|
870
|
-
format: 'uuid',
|
|
871
|
-
description: 'Unique identifier of the invoice item. UUID v4 string in canonical form',
|
|
872
|
-
example: '415026b6-f00f-44f8-968d-fc6ef4d0fc6d'
|
|
873
|
-
},
|
|
874
|
-
linkedInvoiceItemId: {
|
|
875
|
-
type: 'string',
|
|
876
|
-
format: 'uuid',
|
|
877
|
-
description: 'Unique identifier of the linked invoice item. UUID v4 string in canonical form',
|
|
878
|
-
example: '415026b6-f00f-44f8-968d-fc6ef4d0fc6d'
|
|
879
|
-
},
|
|
880
|
-
productName: {
|
|
881
|
-
type: 'string',
|
|
882
|
-
description: 'Name of the product',
|
|
883
|
-
example: 'Research team'
|
|
884
|
-
},
|
|
885
|
-
planName: {
|
|
886
|
-
type: 'string',
|
|
887
|
-
description: 'Name of the plan',
|
|
888
|
-
example: 'Plan A'
|
|
889
|
-
},
|
|
890
|
-
phaseName: {
|
|
891
|
-
type: 'string',
|
|
892
|
-
description: 'Name of the phase',
|
|
893
|
-
example: 'Phase A'
|
|
894
|
-
},
|
|
895
|
-
usageName: {
|
|
896
|
-
type: 'string',
|
|
897
|
-
description: 'Name of the usage',
|
|
898
|
-
example: 'Usage A'
|
|
899
|
-
},
|
|
900
|
-
prettyProductName: {
|
|
901
|
-
type: 'string',
|
|
902
|
-
description: 'Pretty name of the product',
|
|
903
|
-
example: 'Research team'
|
|
904
|
-
},
|
|
905
|
-
prettyPlanName: {
|
|
906
|
-
type: 'string',
|
|
907
|
-
description: 'Pretty name of the plan',
|
|
908
|
-
example: 'Plan A'
|
|
909
|
-
},
|
|
910
|
-
prettyPhaseName: {
|
|
911
|
-
type: 'string',
|
|
912
|
-
description: 'Pretty name of the phase',
|
|
913
|
-
example: 'Phase A'
|
|
914
|
-
},
|
|
915
|
-
prettyUsageName: {
|
|
916
|
-
type: 'string',
|
|
917
|
-
description: 'Pretty name of the usage',
|
|
918
|
-
example: 'Usage A'
|
|
919
|
-
},
|
|
920
|
-
itemType: {
|
|
921
|
-
type: 'string',
|
|
922
|
-
description: 'Type of the invoice item',
|
|
923
|
-
example: 'EXTERNAL_CHARGE',
|
|
924
|
-
enum: ['EXTERNAL_CHARGE', 'FIXED', 'RECURRING', 'REPAIR_ADJ', 'CBA_ADJ', 'CREDIT_ADJ', 'ITEM_ADJ', 'USAGE', 'TAX', 'PARENT_SUMMARY']
|
|
925
|
-
},
|
|
926
|
-
description: {
|
|
927
|
-
type: 'string',
|
|
928
|
-
description: 'Description of the invoice item',
|
|
929
|
-
example: 'Description of the invoice item'
|
|
930
|
-
},
|
|
931
|
-
startDate: {
|
|
932
|
-
type: 'string',
|
|
933
|
-
description: 'Start date of the invoice item',
|
|
934
|
-
example: '2019-01-01T00:00:00.000Z'
|
|
935
|
-
},
|
|
936
|
-
endDate: {
|
|
937
|
-
type: 'string',
|
|
938
|
-
description: 'End date of the invoice item',
|
|
939
|
-
example: '2019-01-01T00:00:00.000Z'
|
|
940
|
-
},
|
|
941
|
-
amount: {
|
|
942
|
-
type: 'number',
|
|
943
|
-
format: 'float',
|
|
944
|
-
description: 'Amount of the invoice item',
|
|
945
|
-
example: 100
|
|
946
|
-
},
|
|
947
|
-
rate: {
|
|
948
|
-
type: 'number',
|
|
949
|
-
format: 'float',
|
|
950
|
-
description: 'Rate of the invoice item',
|
|
951
|
-
example: 100
|
|
952
|
-
},
|
|
953
|
-
currency: {
|
|
954
|
-
type: 'string',
|
|
955
|
-
description: 'Currency of the invoice item',
|
|
956
|
-
example: 'USD',
|
|
957
|
-
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']
|
|
958
|
-
},
|
|
959
|
-
quantity: {
|
|
960
|
-
type: 'number',
|
|
961
|
-
format: 'float',
|
|
962
|
-
description: 'Quantity of the invoice item',
|
|
963
|
-
example: 1
|
|
964
|
-
},
|
|
965
|
-
itemDetails: {
|
|
966
|
-
type: 'string',
|
|
967
|
-
description: 'Details of the invoice item',
|
|
968
|
-
example: 'Details of the invoice item'
|
|
969
|
-
},
|
|
970
|
-
catalogEffectiveDate: {
|
|
971
|
-
type: 'string',
|
|
972
|
-
description: 'Effective date of the catalog',
|
|
973
|
-
example: '2019-01-01T00:00:00.000Z'
|
|
974
|
-
},
|
|
975
|
-
childItems: {
|
|
976
|
-
type: 'array',
|
|
977
|
-
items: {
|
|
978
|
-
oneOf: [
|
|
979
|
-
{
|
|
980
|
-
type: 'array'
|
|
981
|
-
},
|
|
982
|
-
{
|
|
983
|
-
type: 'boolean'
|
|
984
|
-
},
|
|
985
|
-
{
|
|
986
|
-
type: 'number'
|
|
987
|
-
},
|
|
988
|
-
{
|
|
989
|
-
type: 'object',
|
|
990
|
-
additionalProperties: true
|
|
991
|
-
},
|
|
992
|
-
{
|
|
993
|
-
type: 'string'
|
|
994
|
-
}
|
|
995
|
-
]
|
|
996
|
-
},
|
|
997
|
-
description: 'Child items of the invoice item'
|
|
998
|
-
}
|
|
999
|
-
},
|
|
1000
|
-
additionalProperties: false
|
|
2217
|
+
type: 'string',
|
|
2218
|
+
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-]+)*))?$',
|
|
2219
|
+
description: 'Specific version of the chart',
|
|
2220
|
+
example: '1.18.2-cfke.45'
|
|
1001
2221
|
},
|
|
1002
|
-
description: '
|
|
2222
|
+
description: 'Available versions of the chart'
|
|
1003
2223
|
},
|
|
1004
|
-
|
|
2224
|
+
version_channels: {
|
|
1005
2225
|
type: 'array',
|
|
1006
2226
|
items: {
|
|
1007
|
-
type: '
|
|
1008
|
-
|
|
1009
|
-
|
|
1010
|
-
|
|
1011
|
-
|
|
1012
|
-
|
|
1013
|
-
|
|
1014
|
-
|
|
1015
|
-
|
|
1016
|
-
|
|
1017
|
-
|
|
1018
|
-
|
|
1019
|
-
|
|
1020
|
-
|
|
1021
|
-
|
|
1022
|
-
|
|
1023
|
-
|
|
1024
|
-
|
|
1025
|
-
|
|
1026
|
-
|
|
1027
|
-
|
|
1028
|
-
|
|
1029
|
-
|
|
1030
|
-
|
|
1031
|
-
|
|
1032
|
-
|
|
1033
|
-
|
|
1034
|
-
|
|
1035
|
-
|
|
1036
|
-
|
|
1037
|
-
|
|
1038
|
-
|
|
1039
|
-
|
|
1040
|
-
|
|
1041
|
-
|
|
1042
|
-
|
|
1043
|
-
|
|
1044
|
-
|
|
1045
|
-
|
|
1046
|
-
|
|
1047
|
-
|
|
1048
|
-
|
|
1049
|
-
|
|
1050
|
-
|
|
1051
|
-
prettyPhaseName: {
|
|
1052
|
-
type: 'string',
|
|
1053
|
-
description: 'Pretty name of the phase',
|
|
1054
|
-
example: 'Phase A'
|
|
1055
|
-
},
|
|
1056
|
-
prettyUsageName: {
|
|
1057
|
-
type: 'string',
|
|
1058
|
-
description: 'Pretty name of the usage',
|
|
1059
|
-
example: 'Usage A'
|
|
1060
|
-
},
|
|
1061
|
-
itemType: {
|
|
1062
|
-
type: 'string',
|
|
1063
|
-
description: 'Type of the invoice item',
|
|
1064
|
-
example: 'EXTERNAL_CHARGE',
|
|
1065
|
-
enum: ['EXTERNAL_CHARGE', 'FIXED', 'RECURRING', 'REPAIR_ADJ', 'CBA_ADJ', 'CREDIT_ADJ', 'ITEM_ADJ', 'USAGE', 'TAX', 'PARENT_SUMMARY']
|
|
1066
|
-
},
|
|
1067
|
-
description: {
|
|
1068
|
-
type: 'string',
|
|
1069
|
-
description: 'Description of the invoice item',
|
|
1070
|
-
example: 'Description of the invoice item'
|
|
1071
|
-
},
|
|
1072
|
-
startDate: {
|
|
1073
|
-
type: 'string',
|
|
1074
|
-
description: 'Start date of the invoice item',
|
|
1075
|
-
example: '2019-01-01T00:00:00.000Z'
|
|
1076
|
-
},
|
|
1077
|
-
endDate: {
|
|
1078
|
-
type: 'string',
|
|
1079
|
-
description: 'End date of the invoice item',
|
|
1080
|
-
example: '2019-01-01T00:00:00.000Z'
|
|
1081
|
-
},
|
|
1082
|
-
amount: {
|
|
1083
|
-
type: 'number',
|
|
1084
|
-
format: 'float',
|
|
1085
|
-
description: 'Amount of the invoice item',
|
|
1086
|
-
example: 100
|
|
1087
|
-
},
|
|
1088
|
-
rate: {
|
|
1089
|
-
type: 'number',
|
|
1090
|
-
format: 'float',
|
|
1091
|
-
description: 'Rate of the invoice item',
|
|
1092
|
-
example: 100
|
|
1093
|
-
},
|
|
1094
|
-
currency: {
|
|
1095
|
-
type: 'string',
|
|
1096
|
-
description: 'Currency of the invoice item',
|
|
1097
|
-
example: 'USD',
|
|
1098
|
-
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']
|
|
1099
|
-
},
|
|
1100
|
-
quantity: {
|
|
1101
|
-
type: 'number',
|
|
1102
|
-
format: 'float',
|
|
1103
|
-
description: 'Quantity of the invoice item',
|
|
1104
|
-
example: 1
|
|
1105
|
-
},
|
|
1106
|
-
itemDetails: {
|
|
1107
|
-
type: 'string',
|
|
1108
|
-
description: 'Details of the invoice item',
|
|
1109
|
-
example: 'Details of the invoice item'
|
|
2227
|
+
type: 'string',
|
|
2228
|
+
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-]+)*))?$',
|
|
2229
|
+
description: 'Version channel pattern',
|
|
2230
|
+
example: '1.18.x-cfke.x'
|
|
2231
|
+
},
|
|
2232
|
+
description: 'Version channels for the chart'
|
|
2233
|
+
},
|
|
2234
|
+
latestVersion: {
|
|
2235
|
+
type: 'string',
|
|
2236
|
+
description: 'Latest version of the chart',
|
|
2237
|
+
example: '1.18.2-cfke.45'
|
|
2238
|
+
},
|
|
2239
|
+
metadata: {
|
|
2240
|
+
type: 'object',
|
|
2241
|
+
properties: {
|
|
2242
|
+
name: {
|
|
2243
|
+
type: 'string',
|
|
2244
|
+
description: 'Chart name from metadata',
|
|
2245
|
+
example: 'nginx-ingress'
|
|
2246
|
+
},
|
|
2247
|
+
version: {
|
|
2248
|
+
type: 'string',
|
|
2249
|
+
description: 'Chart version from metadata',
|
|
2250
|
+
example: '1.18.2-cfke.45'
|
|
2251
|
+
},
|
|
2252
|
+
description: {
|
|
2253
|
+
type: 'string',
|
|
2254
|
+
description: 'Chart description',
|
|
2255
|
+
example: 'NGINX Ingress Controller for Kubernetes'
|
|
2256
|
+
},
|
|
2257
|
+
appVersion: {
|
|
2258
|
+
type: 'string',
|
|
2259
|
+
description: 'Application version',
|
|
2260
|
+
example: '1.9.4'
|
|
2261
|
+
},
|
|
2262
|
+
apiVersion: {
|
|
2263
|
+
type: 'string',
|
|
2264
|
+
description: 'Helm API version',
|
|
2265
|
+
example: 'v2'
|
|
2266
|
+
},
|
|
2267
|
+
keywords: {
|
|
2268
|
+
type: 'array',
|
|
2269
|
+
items: {
|
|
2270
|
+
type: 'string'
|
|
1110
2271
|
},
|
|
1111
|
-
|
|
1112
|
-
|
|
1113
|
-
|
|
1114
|
-
|
|
2272
|
+
description: 'Chart keywords',
|
|
2273
|
+
example: [
|
|
2274
|
+
'ingress',
|
|
2275
|
+
'nginx',
|
|
2276
|
+
'load-balancer'
|
|
2277
|
+
]
|
|
2278
|
+
},
|
|
2279
|
+
home: {
|
|
2280
|
+
type: 'string',
|
|
2281
|
+
description: 'Chart home URL',
|
|
2282
|
+
example: 'https://kubernetes.github.io/ingress-nginx/'
|
|
2283
|
+
},
|
|
2284
|
+
icon: {
|
|
2285
|
+
type: 'string',
|
|
2286
|
+
description: 'A URL to an SVG or PNG image to be used as an icon',
|
|
2287
|
+
example: 'https://cloudfleet.ai/images/marketplace/icons/ingress-nginx.png'
|
|
2288
|
+
},
|
|
2289
|
+
sources: {
|
|
2290
|
+
type: 'array',
|
|
2291
|
+
items: {
|
|
2292
|
+
type: 'string'
|
|
1115
2293
|
},
|
|
1116
|
-
|
|
1117
|
-
|
|
1118
|
-
|
|
1119
|
-
|
|
1120
|
-
{
|
|
1121
|
-
type: 'array'
|
|
1122
|
-
},
|
|
1123
|
-
{
|
|
1124
|
-
type: 'boolean'
|
|
1125
|
-
},
|
|
1126
|
-
{
|
|
1127
|
-
type: 'number'
|
|
1128
|
-
},
|
|
1129
|
-
{
|
|
1130
|
-
type: 'object',
|
|
1131
|
-
additionalProperties: true
|
|
1132
|
-
},
|
|
1133
|
-
{
|
|
1134
|
-
type: 'string'
|
|
1135
|
-
}
|
|
1136
|
-
]
|
|
1137
|
-
},
|
|
1138
|
-
description: 'Child items of the invoice item'
|
|
1139
|
-
}
|
|
2294
|
+
description: 'Chart source URLs',
|
|
2295
|
+
example: [
|
|
2296
|
+
'https://github.com/kubernetes/ingress-nginx'
|
|
2297
|
+
]
|
|
1140
2298
|
},
|
|
1141
|
-
|
|
2299
|
+
maintainers: {
|
|
2300
|
+
type: 'array',
|
|
2301
|
+
items: {
|
|
2302
|
+
type: 'object',
|
|
2303
|
+
properties: {
|
|
2304
|
+
name: {
|
|
2305
|
+
type: 'string',
|
|
2306
|
+
description: 'Maintainer name',
|
|
2307
|
+
example: 'NGINX Team'
|
|
2308
|
+
},
|
|
2309
|
+
email: {
|
|
2310
|
+
type: 'string',
|
|
2311
|
+
description: 'Maintainer email',
|
|
2312
|
+
example: 'support@nginx.org'
|
|
2313
|
+
}
|
|
2314
|
+
},
|
|
2315
|
+
required: [
|
|
2316
|
+
'name'
|
|
2317
|
+
],
|
|
2318
|
+
additionalProperties: false
|
|
2319
|
+
},
|
|
2320
|
+
description: 'Chart maintainers'
|
|
2321
|
+
}
|
|
1142
2322
|
},
|
|
1143
|
-
|
|
2323
|
+
required: [
|
|
2324
|
+
'name',
|
|
2325
|
+
'version'
|
|
2326
|
+
],
|
|
2327
|
+
additionalProperties: false,
|
|
2328
|
+
description: 'Chart metadata'
|
|
1144
2329
|
}
|
|
1145
2330
|
},
|
|
2331
|
+
required: [
|
|
2332
|
+
'name',
|
|
2333
|
+
'versions',
|
|
2334
|
+
'version_channels',
|
|
2335
|
+
'latestVersion'
|
|
2336
|
+
],
|
|
1146
2337
|
additionalProperties: false
|
|
1147
2338
|
};
|
|
1148
|
-
export const
|
|
2339
|
+
export const OrganizationCreateInputSchema = {
|
|
1149
2340
|
type: 'object',
|
|
1150
2341
|
properties: {
|
|
1151
|
-
|
|
1152
|
-
type: 'string',
|
|
1153
|
-
nullable: true,
|
|
1154
|
-
description: 'Street address, P.O. box, c/o',
|
|
1155
|
-
example: '123 Main St.'
|
|
1156
|
-
},
|
|
1157
|
-
address2: {
|
|
1158
|
-
type: 'string',
|
|
1159
|
-
nullable: true,
|
|
1160
|
-
description: 'Apartment, suite, unit, building, floor, etc.',
|
|
1161
|
-
example: 'Suite 100'
|
|
1162
|
-
},
|
|
1163
|
-
postalCode: {
|
|
1164
|
-
type: 'string',
|
|
1165
|
-
nullable: true,
|
|
1166
|
-
description: 'Postal code as a string.',
|
|
1167
|
-
example: '94105'
|
|
1168
|
-
},
|
|
1169
|
-
city: {
|
|
1170
|
-
type: 'string',
|
|
1171
|
-
nullable: true,
|
|
1172
|
-
description: 'City or town name.',
|
|
1173
|
-
example: 'San Francisco'
|
|
1174
|
-
},
|
|
1175
|
-
state: {
|
|
1176
|
-
type: 'string',
|
|
1177
|
-
nullable: true,
|
|
1178
|
-
description: 'State, province, or region name.',
|
|
1179
|
-
example: 'CA'
|
|
1180
|
-
},
|
|
1181
|
-
country: {
|
|
1182
|
-
type: 'string',
|
|
1183
|
-
nullable: true,
|
|
1184
|
-
description: 'Country as a ISO 3166-1 alpha-2 country code.',
|
|
1185
|
-
example: 'US'
|
|
1186
|
-
},
|
|
1187
|
-
phone: {
|
|
2342
|
+
type: {
|
|
1188
2343
|
type: 'string',
|
|
1189
|
-
|
|
1190
|
-
|
|
1191
|
-
|
|
2344
|
+
description: 'Type of the organization. `business` for legal entities, `personal` for individuals.',
|
|
2345
|
+
example: 'business',
|
|
2346
|
+
enum: [
|
|
2347
|
+
'business',
|
|
2348
|
+
'personal'
|
|
2349
|
+
]
|
|
1192
2350
|
},
|
|
1193
2351
|
email: {
|
|
1194
2352
|
type: 'string',
|
|
@@ -1198,22 +2356,17 @@ export const OrganizationContactInfoSchema = {
|
|
|
1198
2356
|
},
|
|
1199
2357
|
first_name: {
|
|
1200
2358
|
type: 'string',
|
|
2359
|
+
minLength: 1,
|
|
1201
2360
|
description: 'First name of the billing contact person.',
|
|
1202
2361
|
example: 'John'
|
|
1203
2362
|
},
|
|
1204
2363
|
last_name: {
|
|
1205
2364
|
type: 'string',
|
|
2365
|
+
minLength: 1,
|
|
1206
2366
|
description: 'Last name of the billing contact person.',
|
|
1207
2367
|
example: 'Doe'
|
|
1208
|
-
}
|
|
1209
|
-
|
|
1210
|
-
required: ['email', 'first_name', 'last_name'],
|
|
1211
|
-
additionalProperties: false
|
|
1212
|
-
};
|
|
1213
|
-
export const OrganizationCreateInputSchema = {
|
|
1214
|
-
type: 'object',
|
|
1215
|
-
properties: {
|
|
1216
|
-
name: {
|
|
2368
|
+
},
|
|
2369
|
+
company_name: {
|
|
1217
2370
|
type: 'string',
|
|
1218
2371
|
maxLength: 120,
|
|
1219
2372
|
minLength: 2,
|
|
@@ -1221,149 +2374,60 @@ export const OrganizationCreateInputSchema = {
|
|
|
1221
2374
|
description: 'Name of the legal entity. This name will be used in invoices. Use your first and last name for individual accounts.',
|
|
1222
2375
|
example: 'ACME Corp.'
|
|
1223
2376
|
},
|
|
1224
|
-
contactInfo: {
|
|
1225
|
-
type: 'object',
|
|
1226
|
-
properties: {
|
|
1227
|
-
address1: {
|
|
1228
|
-
type: 'string',
|
|
1229
|
-
description: 'Street address, P.O. box, c/o',
|
|
1230
|
-
example: '123 Main St.'
|
|
1231
|
-
},
|
|
1232
|
-
address2: {
|
|
1233
|
-
type: 'string',
|
|
1234
|
-
description: 'Apartment, suite, unit, building, floor, etc.',
|
|
1235
|
-
example: 'Suite 100'
|
|
1236
|
-
},
|
|
1237
|
-
postalCode: {
|
|
1238
|
-
type: 'string',
|
|
1239
|
-
description: 'Postal code as a string.',
|
|
1240
|
-
example: '94105'
|
|
1241
|
-
},
|
|
1242
|
-
city: {
|
|
1243
|
-
type: 'string',
|
|
1244
|
-
description: 'City or town name.',
|
|
1245
|
-
example: 'San Francisco'
|
|
1246
|
-
},
|
|
1247
|
-
state: {
|
|
1248
|
-
type: 'string',
|
|
1249
|
-
description: 'State, province, or region name.',
|
|
1250
|
-
example: 'CA'
|
|
1251
|
-
},
|
|
1252
|
-
country: {
|
|
1253
|
-
type: 'string',
|
|
1254
|
-
description: 'Country as a ISO 3166-1 alpha-2 country code.',
|
|
1255
|
-
example: 'US'
|
|
1256
|
-
},
|
|
1257
|
-
phone: {
|
|
1258
|
-
type: 'string',
|
|
1259
|
-
description: 'Phone number as a string.',
|
|
1260
|
-
example: '+1 555 555 5555'
|
|
1261
|
-
},
|
|
1262
|
-
email: {
|
|
1263
|
-
type: 'string',
|
|
1264
|
-
format: 'email',
|
|
1265
|
-
description: 'Email address used for billing as a string.',
|
|
1266
|
-
example: 'email@example.com'
|
|
1267
|
-
},
|
|
1268
|
-
first_name: {
|
|
1269
|
-
type: 'string',
|
|
1270
|
-
description: 'First name of the billing contact person.',
|
|
1271
|
-
example: 'John'
|
|
1272
|
-
},
|
|
1273
|
-
last_name: {
|
|
1274
|
-
type: 'string',
|
|
1275
|
-
description: 'Last name of the billing contact person.',
|
|
1276
|
-
example: 'Doe'
|
|
1277
|
-
}
|
|
1278
|
-
},
|
|
1279
|
-
required: ['email', 'first_name', 'last_name'],
|
|
1280
|
-
additionalProperties: false,
|
|
1281
|
-
description: 'Organization contact information and billing address.'
|
|
1282
|
-
},
|
|
1283
2377
|
password: {
|
|
1284
2378
|
type: 'string',
|
|
1285
2379
|
minLength: 8,
|
|
1286
2380
|
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.'
|
|
1287
2381
|
}
|
|
1288
2382
|
},
|
|
1289
|
-
required: [
|
|
2383
|
+
required: [
|
|
2384
|
+
'type',
|
|
2385
|
+
'email',
|
|
2386
|
+
'first_name',
|
|
2387
|
+
'last_name',
|
|
2388
|
+
'company_name',
|
|
2389
|
+
'password'
|
|
2390
|
+
],
|
|
2391
|
+
additionalProperties: false
|
|
2392
|
+
};
|
|
2393
|
+
export const OrganizationCreateOutputSchema = {
|
|
2394
|
+
type: 'object',
|
|
2395
|
+
properties: {
|
|
2396
|
+
id: {
|
|
2397
|
+
type: 'string',
|
|
2398
|
+
description: 'Unique identifier of the newly created organization. Generated by the API and safe to use for client-side tracking immediately.',
|
|
2399
|
+
example: 'organization-id'
|
|
2400
|
+
}
|
|
2401
|
+
},
|
|
2402
|
+
required: [
|
|
2403
|
+
'id'
|
|
2404
|
+
],
|
|
1290
2405
|
additionalProperties: false
|
|
1291
2406
|
};
|
|
1292
2407
|
export const OrganizationSchema = {
|
|
1293
2408
|
type: 'object',
|
|
1294
2409
|
properties: {
|
|
2410
|
+
id: {
|
|
2411
|
+
type: 'string',
|
|
2412
|
+
format: 'uuid',
|
|
2413
|
+
description: 'Unique identifier of the organization. UUID v4 string in canonical form',
|
|
2414
|
+
example: 'e94d30ec-a2dd-4dcb-832c-ac2be144ba91'
|
|
2415
|
+
},
|
|
1295
2416
|
name: {
|
|
1296
2417
|
type: 'string',
|
|
1297
2418
|
maxLength: 120,
|
|
1298
2419
|
minLength: 2,
|
|
1299
|
-
pattern: '^(?!\\s)(?!.*\\s$)(?=.*[a-zA-ZÆÐƎƏƐƔIJŊŒẞÞǷȜæðǝəɛɣijŋœĸſßþƿȝĄƁÇĐƊĘĦĮƘŁØƠŞȘŢȚŦŲƯY̨Ƴąɓçđɗęħįƙłøơşșţțŧųưy̨ƴÁÀÂÄǍĂĀÃÅǺĄÆǼǢƁĆĊĈČÇĎḌĐƊÐÉÈĖÊËĚĔĒĘẸƎƏƐĠĜǦĞĢƔáàâäǎăāãåǻąæǽǣɓćċĉčçďḍđɗðéèėêëěĕēęẹǝəɛġĝǧğģɣĤḤĦIÍÌİÎÏǏĬĪĨĮỊIJĴĶƘĹĻŁĽĿʼNŃN̈ŇÑŅŊÓÒÔÖǑŎŌÕŐỌØǾƠŒĥḥħıíìiîïǐĭīĩįịijĵķƙĸĺļłľŀʼnńn̈ňñņŋóòôöǒŏōõőọøǿơœŔŘŖŚŜŠŞȘṢẞŤŢṬŦÞÚÙÛÜǓŬŪŨŰŮŲỤƯẂẀŴẄǷÝỲŶŸȲỸƳŹŻŽẒŕřŗſśŝšşșṣßťţṭŧþúùûüǔŭūũűůųụưẃẁŵẅƿýỳŷÿȳỹƴźżžẓ0-9])[a-zA-ZÆÐƎƏƐƔIJŊŒẞÞǷȜæðǝəɛɣijŋœĸſßþƿȝĄƁÇĐƊĘĦĮƘŁØƠŞȘŢȚŦŲƯY̨Ƴąɓçđɗęħįƙłøơşșţțŧųưy̨ƴÁÀÂÄǍĂĀÃÅǺĄÆǼǢƁĆĊĈČÇĎḌĐƊÐÉÈĖÊËĚĔĒĘẸƎƏƐĠĜǦĞĢƔáàâäǎăāãåǻąæǽǣɓćċĉčçďḍđɗðéèėêëěĕēęẹǝəɛġĝǧğģɣĤḤĦIÍÌİÎÏǏĬĪĨĮỊIJĴĶƘĹĻŁĽĿʼNŃN̈ŇÑŅŊÓÒÔÖǑŎŌÕŐỌØǾƠŒĥḥħıíìiîïǐĭīĩįịijĵķƙĸĺļłľŀʼnńn̈ňñņŋóòôöǒŏōõőọøǿơœŔŘŖŚŜŠŞȘṢẞŤŢṬŦÞÚÙÛÜǓŬŪŨŰŮŲỤƯẂẀŴẄǷÝỲŶŸȲỸƳŹŻŽẒŕřŗſśŝšşșṣßťţṭŧþúùûüǔŭūũűůųụưẃẁŵẅƿýỳŷÿȳỹƴźżžẓ0-9 -.]{2,}$',
|
|
1300
2420
|
description: 'Name of the legal entity. This name will be used in invoices. Use your first and last name for individual accounts.',
|
|
1301
2421
|
example: 'ACME Corp.'
|
|
1302
2422
|
},
|
|
1303
|
-
|
|
1304
|
-
type: 'object',
|
|
1305
|
-
properties: {
|
|
1306
|
-
address1: {
|
|
1307
|
-
type: 'string',
|
|
1308
|
-
description: 'Street address, P.O. box, c/o',
|
|
1309
|
-
example: '123 Main St.'
|
|
1310
|
-
},
|
|
1311
|
-
address2: {
|
|
1312
|
-
type: 'string',
|
|
1313
|
-
description: 'Apartment, suite, unit, building, floor, etc.',
|
|
1314
|
-
example: 'Suite 100'
|
|
1315
|
-
},
|
|
1316
|
-
postalCode: {
|
|
1317
|
-
type: 'string',
|
|
1318
|
-
description: 'Postal code as a string.',
|
|
1319
|
-
example: '94105'
|
|
1320
|
-
},
|
|
1321
|
-
city: {
|
|
1322
|
-
type: 'string',
|
|
1323
|
-
description: 'City or town name.',
|
|
1324
|
-
example: 'San Francisco'
|
|
1325
|
-
},
|
|
1326
|
-
state: {
|
|
1327
|
-
type: 'string',
|
|
1328
|
-
description: 'State, province, or region name.',
|
|
1329
|
-
example: 'CA'
|
|
1330
|
-
},
|
|
1331
|
-
country: {
|
|
1332
|
-
type: 'string',
|
|
1333
|
-
description: 'Country as a ISO 3166-1 alpha-2 country code.',
|
|
1334
|
-
example: 'US'
|
|
1335
|
-
},
|
|
1336
|
-
phone: {
|
|
1337
|
-
type: 'string',
|
|
1338
|
-
description: 'Phone number as a string.',
|
|
1339
|
-
example: '+1 555 555 5555'
|
|
1340
|
-
},
|
|
1341
|
-
email: {
|
|
1342
|
-
type: 'string',
|
|
1343
|
-
format: 'email',
|
|
1344
|
-
description: 'Email address used for billing as a string.',
|
|
1345
|
-
example: 'email@example.com'
|
|
1346
|
-
},
|
|
1347
|
-
first_name: {
|
|
1348
|
-
type: 'string',
|
|
1349
|
-
description: 'First name of the billing contact person.',
|
|
1350
|
-
example: 'John'
|
|
1351
|
-
},
|
|
1352
|
-
last_name: {
|
|
1353
|
-
type: 'string',
|
|
1354
|
-
description: 'Last name of the billing contact person.',
|
|
1355
|
-
example: 'Doe'
|
|
1356
|
-
}
|
|
1357
|
-
},
|
|
1358
|
-
required: ['email', 'first_name', 'last_name'],
|
|
1359
|
-
additionalProperties: false,
|
|
1360
|
-
description: 'Organization contact information and billing address.'
|
|
1361
|
-
},
|
|
1362
|
-
id: {
|
|
2423
|
+
type: {
|
|
1363
2424
|
type: 'string',
|
|
1364
|
-
|
|
1365
|
-
|
|
1366
|
-
|
|
2425
|
+
description: 'Type of the organization. `business` for legal entities, `personal` for individuals.',
|
|
2426
|
+
example: 'business',
|
|
2427
|
+
enum: [
|
|
2428
|
+
'business',
|
|
2429
|
+
'personal'
|
|
2430
|
+
]
|
|
1367
2431
|
},
|
|
1368
2432
|
date_created: {
|
|
1369
2433
|
type: 'string',
|
|
@@ -1402,12 +2466,6 @@ export const OrganizationSchema = {
|
|
|
1402
2466
|
description: 'Maximum number of fleets that can be created per cluster.',
|
|
1403
2467
|
example: 999
|
|
1404
2468
|
},
|
|
1405
|
-
managed_fleets_cpu_max: {
|
|
1406
|
-
type: 'integer',
|
|
1407
|
-
minimum: 0,
|
|
1408
|
-
description: 'Maximum number of CPU cores per managed fleet.',
|
|
1409
|
-
example: 999
|
|
1410
|
-
},
|
|
1411
2469
|
cluster_tiers: {
|
|
1412
2470
|
type: 'array',
|
|
1413
2471
|
items: {
|
|
@@ -1421,7 +2479,7 @@ export const OrganizationSchema = {
|
|
|
1421
2479
|
type: 'array',
|
|
1422
2480
|
items: {
|
|
1423
2481
|
type: 'string',
|
|
1424
|
-
example: 'northamerica-central-
|
|
2482
|
+
example: 'northamerica-central-1a'
|
|
1425
2483
|
},
|
|
1426
2484
|
minItems: 1,
|
|
1427
2485
|
description: 'List of Cloudfleet control plane regions available for the organization.'
|
|
@@ -1434,168 +2492,999 @@ export const OrganizationSchema = {
|
|
|
1434
2492
|
id: {
|
|
1435
2493
|
type: 'string',
|
|
1436
2494
|
description: 'Id of the control plane version. Used in API calls.',
|
|
1437
|
-
example: '1.
|
|
2495
|
+
example: '1.33.x-cfke.x'
|
|
1438
2496
|
},
|
|
1439
2497
|
label: {
|
|
1440
2498
|
type: 'string',
|
|
1441
2499
|
description: 'Label of the control plane version. Used in frontent UI.',
|
|
1442
|
-
example: '1.
|
|
2500
|
+
example: '1.33.x (Always latest 1.33 patch version)'
|
|
1443
2501
|
}
|
|
1444
2502
|
},
|
|
1445
|
-
required: [
|
|
2503
|
+
required: [
|
|
2504
|
+
'id',
|
|
2505
|
+
'label'
|
|
2506
|
+
],
|
|
1446
2507
|
additionalProperties: false
|
|
1447
2508
|
},
|
|
1448
2509
|
minItems: 1,
|
|
1449
2510
|
description: 'List of CFKE control plane versions available for the organization.'
|
|
2511
|
+
},
|
|
2512
|
+
cfcr_storage_gb: {
|
|
2513
|
+
type: 'integer',
|
|
2514
|
+
minimum: -1,
|
|
2515
|
+
description: 'Organization-level maximum CFCR storage volume in GB. -1 means no limit.',
|
|
2516
|
+
example: 500
|
|
1450
2517
|
}
|
|
1451
2518
|
},
|
|
1452
|
-
required: [
|
|
2519
|
+
required: [
|
|
2520
|
+
'basic_clusters_max',
|
|
2521
|
+
'basic_clusters_available',
|
|
2522
|
+
'pro_clusters_max',
|
|
2523
|
+
'pro_clusters_available',
|
|
2524
|
+
'fleets_max',
|
|
2525
|
+
'cluster_tiers',
|
|
2526
|
+
'regions',
|
|
2527
|
+
'versions',
|
|
2528
|
+
'cfcr_storage_gb'
|
|
2529
|
+
],
|
|
1453
2530
|
additionalProperties: false,
|
|
1454
2531
|
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.'
|
|
1455
2532
|
},
|
|
1456
|
-
|
|
2533
|
+
status: {
|
|
2534
|
+
type: 'string',
|
|
2535
|
+
description: 'Status of the organization. Can be `active` or `closed`, or `suspended`.',
|
|
2536
|
+
enum: [
|
|
2537
|
+
'active',
|
|
2538
|
+
'closed',
|
|
2539
|
+
'suspended'
|
|
2540
|
+
]
|
|
2541
|
+
},
|
|
2542
|
+
verification: {
|
|
2543
|
+
type: 'string',
|
|
2544
|
+
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.',
|
|
2545
|
+
example: 'verified',
|
|
2546
|
+
enum: [
|
|
2547
|
+
'none',
|
|
2548
|
+
'submitted',
|
|
2549
|
+
'verified'
|
|
2550
|
+
]
|
|
2551
|
+
}
|
|
2552
|
+
},
|
|
2553
|
+
required: [
|
|
2554
|
+
'id',
|
|
2555
|
+
'type',
|
|
2556
|
+
'date_created',
|
|
2557
|
+
'quota',
|
|
2558
|
+
'status',
|
|
2559
|
+
'verification'
|
|
2560
|
+
],
|
|
2561
|
+
additionalProperties: false
|
|
2562
|
+
};
|
|
2563
|
+
export const PaymentMethodSchema = {
|
|
2564
|
+
type: 'object',
|
|
2565
|
+
properties: {
|
|
2566
|
+
id: {
|
|
2567
|
+
type: 'string',
|
|
2568
|
+
description: 'Payment method identifier. Stripe payment method id for cards/SEPA; the constant `bank_transfer` for the invoice/bank-transfer method. Used to set as default or delete the payment method.',
|
|
2569
|
+
example: 'pm_1MtwBwLkdIwHu7ix28a3tqPa'
|
|
2570
|
+
},
|
|
2571
|
+
type: {
|
|
2572
|
+
type: 'string',
|
|
2573
|
+
description: 'Payment method type. `card`, `sepa_debit` for SEPA Direct Debit (business accounts only), or `bank_transfer` for paying invoices by bank transfer.',
|
|
2574
|
+
example: 'card',
|
|
2575
|
+
enum: [
|
|
2576
|
+
'card',
|
|
2577
|
+
'sepa_debit',
|
|
2578
|
+
'bank_transfer'
|
|
2579
|
+
]
|
|
2580
|
+
},
|
|
2581
|
+
last4: {
|
|
2582
|
+
type: 'string',
|
|
2583
|
+
nullable: true,
|
|
2584
|
+
description: 'Last 4 digits of the payment card number, of the bank account (IBAN) for SEPA Direct Debit, or of the destination IBAN for bank transfer.',
|
|
2585
|
+
example: '4242'
|
|
2586
|
+
},
|
|
2587
|
+
exp_month: {
|
|
2588
|
+
type: 'integer',
|
|
2589
|
+
minimum: 1,
|
|
2590
|
+
maximum: 12,
|
|
2591
|
+
nullable: true,
|
|
2592
|
+
description: 'Two-digit number representing the card\'s expiration month. Null for SEPA Direct Debit and bank transfer.',
|
|
2593
|
+
example: 12
|
|
2594
|
+
},
|
|
2595
|
+
exp_year: {
|
|
2596
|
+
type: 'integer',
|
|
2597
|
+
nullable: true,
|
|
2598
|
+
description: 'Four-digit number representing the card\'s expiration year. May be in the past for an expired card still on file. Null for SEPA Direct Debit and bank transfer.',
|
|
2599
|
+
example: 2028
|
|
2600
|
+
},
|
|
2601
|
+
brand: {
|
|
2602
|
+
type: 'string',
|
|
2603
|
+
nullable: true,
|
|
2604
|
+
description: 'Payment card brand as reported by Stripe, e.g. `visa`, `mastercard`, `amex`, `cartes_bancaires`, or `unknown`. Null for SEPA Direct Debit and bank transfer.',
|
|
2605
|
+
example: 'visa'
|
|
2606
|
+
},
|
|
2607
|
+
iban: {
|
|
2608
|
+
type: 'string',
|
|
2609
|
+
nullable: true,
|
|
2610
|
+
description: 'Full destination IBAN to send bank transfers to. Set only for `bank_transfer`; null otherwise. This is Cloudfleet\'s virtual receiving account, shown in full so the customer can pay into it.',
|
|
2611
|
+
example: 'DE11243015658023127510'
|
|
2612
|
+
},
|
|
2613
|
+
bic: {
|
|
2614
|
+
type: 'string',
|
|
2615
|
+
nullable: true,
|
|
2616
|
+
description: 'BIC/SWIFT of the destination bank for bank transfers. Set only for `bank_transfer`; null otherwise.',
|
|
2617
|
+
example: 'SOGEDEFFXXX'
|
|
2618
|
+
},
|
|
2619
|
+
account_holder_name: {
|
|
2620
|
+
type: 'string',
|
|
2621
|
+
nullable: true,
|
|
2622
|
+
description: 'Account holder name of the destination bank account for bank transfers. Set only for `bank_transfer`; null otherwise.',
|
|
2623
|
+
example: 'Cloudfleet GmbH'
|
|
2624
|
+
},
|
|
2625
|
+
is_default: {
|
|
2626
|
+
type: 'boolean',
|
|
2627
|
+
description: 'Whether this payment method is the default used for invoices and active subscriptions. Always false for `bank_transfer` (it cannot be a Stripe default payment method).',
|
|
2628
|
+
example: true
|
|
2629
|
+
}
|
|
2630
|
+
},
|
|
2631
|
+
required: [
|
|
2632
|
+
'id',
|
|
2633
|
+
'type',
|
|
2634
|
+
'last4',
|
|
2635
|
+
'exp_month',
|
|
2636
|
+
'exp_year',
|
|
2637
|
+
'brand',
|
|
2638
|
+
'iban',
|
|
2639
|
+
'bic',
|
|
2640
|
+
'account_holder_name',
|
|
2641
|
+
'is_default'
|
|
2642
|
+
],
|
|
2643
|
+
additionalProperties: false
|
|
2644
|
+
};
|
|
2645
|
+
export const PlatformQuotaSchema = {
|
|
2646
|
+
type: 'object',
|
|
2647
|
+
properties: {
|
|
2648
|
+
basic_clusters_max: {
|
|
2649
|
+
type: 'integer',
|
|
2650
|
+
minimum: 0,
|
|
2651
|
+
description: 'Maximum number of Basic clusters that can be created.',
|
|
2652
|
+
example: 999
|
|
2653
|
+
},
|
|
2654
|
+
basic_clusters_available: {
|
|
2655
|
+
type: 'integer',
|
|
2656
|
+
description: 'Available number of Basic clusters that can be created.',
|
|
2657
|
+
example: 999
|
|
2658
|
+
},
|
|
2659
|
+
pro_clusters_max: {
|
|
2660
|
+
type: 'integer',
|
|
2661
|
+
minimum: 0,
|
|
2662
|
+
description: 'Maximum number of Pro clusters that can be created.',
|
|
2663
|
+
example: 999
|
|
2664
|
+
},
|
|
2665
|
+
pro_clusters_available: {
|
|
2666
|
+
type: 'integer',
|
|
2667
|
+
description: 'Available number of Pro clusters that can be created.',
|
|
2668
|
+
example: 999
|
|
2669
|
+
},
|
|
2670
|
+
fleets_max: {
|
|
2671
|
+
type: 'integer',
|
|
2672
|
+
minimum: 0,
|
|
2673
|
+
description: 'Maximum number of fleets that can be created per cluster.',
|
|
2674
|
+
example: 999
|
|
2675
|
+
},
|
|
2676
|
+
cluster_tiers: {
|
|
1457
2677
|
type: 'array',
|
|
1458
2678
|
items: {
|
|
1459
2679
|
type: 'string',
|
|
1460
|
-
example: '
|
|
1461
|
-
enum: ['signup-billing-address', 'signup-payment-method', 'signup-invite-team', 'signup-create-cluster']
|
|
2680
|
+
example: 'basic'
|
|
1462
2681
|
},
|
|
1463
|
-
|
|
2682
|
+
minItems: 0,
|
|
2683
|
+
description: 'List of Cloudfleet cluster tiers available for the organization.'
|
|
1464
2684
|
},
|
|
1465
|
-
|
|
2685
|
+
regions: {
|
|
2686
|
+
type: 'array',
|
|
2687
|
+
items: {
|
|
2688
|
+
type: 'string',
|
|
2689
|
+
example: 'northamerica-central-1a'
|
|
2690
|
+
},
|
|
2691
|
+
minItems: 1,
|
|
2692
|
+
description: 'List of Cloudfleet control plane regions available for the organization.'
|
|
2693
|
+
},
|
|
2694
|
+
versions: {
|
|
2695
|
+
type: 'array',
|
|
2696
|
+
items: {
|
|
2697
|
+
type: 'object',
|
|
2698
|
+
properties: {
|
|
2699
|
+
id: {
|
|
2700
|
+
type: 'string',
|
|
2701
|
+
description: 'Id of the control plane version. Used in API calls.',
|
|
2702
|
+
example: '1.33.x-cfke.x'
|
|
2703
|
+
},
|
|
2704
|
+
label: {
|
|
2705
|
+
type: 'string',
|
|
2706
|
+
description: 'Label of the control plane version. Used in frontent UI.',
|
|
2707
|
+
example: '1.33.x (Always latest 1.33 patch version)'
|
|
2708
|
+
}
|
|
2709
|
+
},
|
|
2710
|
+
required: [
|
|
2711
|
+
'id',
|
|
2712
|
+
'label'
|
|
2713
|
+
],
|
|
2714
|
+
additionalProperties: false
|
|
2715
|
+
},
|
|
2716
|
+
minItems: 1,
|
|
2717
|
+
description: 'List of CFKE control plane versions available for the organization.'
|
|
2718
|
+
},
|
|
2719
|
+
cfcr_storage_gb: {
|
|
2720
|
+
type: 'integer',
|
|
2721
|
+
minimum: -1,
|
|
2722
|
+
description: 'Organization-level maximum CFCR storage volume in GB. -1 means no limit.',
|
|
2723
|
+
example: 500
|
|
2724
|
+
}
|
|
2725
|
+
},
|
|
2726
|
+
required: [
|
|
2727
|
+
'basic_clusters_max',
|
|
2728
|
+
'basic_clusters_available',
|
|
2729
|
+
'pro_clusters_max',
|
|
2730
|
+
'pro_clusters_available',
|
|
2731
|
+
'fleets_max',
|
|
2732
|
+
'cluster_tiers',
|
|
2733
|
+
'regions',
|
|
2734
|
+
'versions',
|
|
2735
|
+
'cfcr_storage_gb'
|
|
2736
|
+
],
|
|
2737
|
+
additionalProperties: false
|
|
2738
|
+
};
|
|
2739
|
+
export const RegistryRepositorySchema = {
|
|
2740
|
+
type: 'object',
|
|
2741
|
+
properties: {
|
|
2742
|
+
name: {
|
|
1466
2743
|
type: 'string',
|
|
1467
|
-
description: '
|
|
1468
|
-
|
|
2744
|
+
description: 'Repository name.',
|
|
2745
|
+
example: 'my-app'
|
|
2746
|
+
},
|
|
2747
|
+
region: {
|
|
2748
|
+
type: 'string',
|
|
2749
|
+
description: 'Registry region.',
|
|
2750
|
+
example: 'northamerica'
|
|
2751
|
+
},
|
|
2752
|
+
uri: {
|
|
2753
|
+
type: 'string',
|
|
2754
|
+
description: 'Full URI of the repository.',
|
|
2755
|
+
example: 'ssds123e-6651-4e5d-9c04-079f6532989b.northamerica.registry.cloudfleet.dev/my-app'
|
|
1469
2756
|
}
|
|
1470
2757
|
},
|
|
1471
|
-
required: [
|
|
2758
|
+
required: [
|
|
2759
|
+
'name',
|
|
2760
|
+
'region',
|
|
2761
|
+
'uri'
|
|
2762
|
+
],
|
|
1472
2763
|
additionalProperties: false
|
|
1473
2764
|
};
|
|
1474
|
-
export const
|
|
2765
|
+
export const RegistryRepositoryWithTagsSchema = {
|
|
1475
2766
|
type: 'object',
|
|
1476
2767
|
properties: {
|
|
1477
2768
|
name: {
|
|
1478
2769
|
type: 'string',
|
|
1479
|
-
|
|
1480
|
-
|
|
1481
|
-
|
|
1482
|
-
|
|
1483
|
-
|
|
2770
|
+
description: 'Repository name.',
|
|
2771
|
+
example: 'my-app'
|
|
2772
|
+
},
|
|
2773
|
+
region: {
|
|
2774
|
+
type: 'string',
|
|
2775
|
+
description: 'Registry region.',
|
|
2776
|
+
example: 'northamerica'
|
|
2777
|
+
},
|
|
2778
|
+
uri: {
|
|
2779
|
+
type: 'string',
|
|
2780
|
+
description: 'Full URI of the repository.',
|
|
2781
|
+
example: 'ssds123e-6651-4e5d-9c04-079f6532989b.northamerica.registry.cloudfleet.dev/my-app'
|
|
2782
|
+
},
|
|
2783
|
+
tags: {
|
|
2784
|
+
type: 'array',
|
|
2785
|
+
items: {
|
|
2786
|
+
type: 'object',
|
|
2787
|
+
properties: {
|
|
2788
|
+
name: {
|
|
2789
|
+
type: 'string',
|
|
2790
|
+
description: 'Tag name.',
|
|
2791
|
+
example: 'latest'
|
|
2792
|
+
},
|
|
2793
|
+
size: {
|
|
2794
|
+
type: 'number',
|
|
2795
|
+
format: 'float',
|
|
2796
|
+
description: 'Size of the tag in bytes.',
|
|
2797
|
+
example: 123456789
|
|
2798
|
+
},
|
|
2799
|
+
mediaType: {
|
|
2800
|
+
type: 'string',
|
|
2801
|
+
description: 'Media type of the manifest.',
|
|
2802
|
+
example: 'application/vnd.docker.distribution.manifest.v2+json'
|
|
2803
|
+
},
|
|
2804
|
+
platforms: {
|
|
2805
|
+
type: 'array',
|
|
2806
|
+
items: {
|
|
2807
|
+
type: 'string'
|
|
2808
|
+
},
|
|
2809
|
+
description: 'Array of platform strings for multi-arch images (e.g., linux/amd64, linux/arm64).',
|
|
2810
|
+
example: [
|
|
2811
|
+
'linux/amd64',
|
|
2812
|
+
'linux/arm64'
|
|
2813
|
+
]
|
|
2814
|
+
}
|
|
2815
|
+
},
|
|
2816
|
+
required: [
|
|
2817
|
+
'name',
|
|
2818
|
+
'size'
|
|
2819
|
+
],
|
|
2820
|
+
additionalProperties: false
|
|
2821
|
+
},
|
|
2822
|
+
description: 'Array of tags in the repository.'
|
|
2823
|
+
},
|
|
2824
|
+
totalSize: {
|
|
2825
|
+
type: 'number',
|
|
2826
|
+
format: 'float',
|
|
2827
|
+
description: 'Total size of all tags in the repository in bytes.',
|
|
2828
|
+
example: 987654321
|
|
2829
|
+
}
|
|
2830
|
+
},
|
|
2831
|
+
required: [
|
|
2832
|
+
'name',
|
|
2833
|
+
'region',
|
|
2834
|
+
'uri',
|
|
2835
|
+
'tags',
|
|
2836
|
+
'totalSize'
|
|
2837
|
+
],
|
|
2838
|
+
additionalProperties: false
|
|
2839
|
+
};
|
|
2840
|
+
export const RegistryTagSchema = {
|
|
2841
|
+
type: 'object',
|
|
2842
|
+
properties: {
|
|
2843
|
+
name: {
|
|
2844
|
+
type: 'string',
|
|
2845
|
+
description: 'Tag name.',
|
|
2846
|
+
example: 'latest'
|
|
2847
|
+
},
|
|
2848
|
+
digest: {
|
|
2849
|
+
type: 'string',
|
|
2850
|
+
description: 'Manifest digest for pulling by digest.',
|
|
2851
|
+
example: 'sha256:abcd1234ef567890abcd1234ef567890abcd1234ef567890abcd1234ef567890'
|
|
2852
|
+
},
|
|
2853
|
+
mediaType: {
|
|
2854
|
+
type: 'string',
|
|
2855
|
+
description: 'Media type of the manifest.',
|
|
2856
|
+
example: 'application/vnd.docker.distribution.manifest.v2+json'
|
|
2857
|
+
},
|
|
2858
|
+
config: {
|
|
2859
|
+
type: 'object',
|
|
2860
|
+
properties: {
|
|
2861
|
+
size: {
|
|
2862
|
+
type: 'number',
|
|
2863
|
+
format: 'float',
|
|
2864
|
+
description: 'Size of the config in bytes.',
|
|
2865
|
+
example: 1234
|
|
2866
|
+
}
|
|
2867
|
+
},
|
|
2868
|
+
required: [
|
|
2869
|
+
'size'
|
|
2870
|
+
],
|
|
2871
|
+
additionalProperties: false,
|
|
2872
|
+
description: 'Manifest config metadata.'
|
|
2873
|
+
},
|
|
2874
|
+
layers: {
|
|
2875
|
+
type: 'array',
|
|
2876
|
+
items: {
|
|
2877
|
+
type: 'object',
|
|
2878
|
+
properties: {
|
|
2879
|
+
digest: {
|
|
2880
|
+
type: 'string',
|
|
2881
|
+
description: 'Digest of the layer.',
|
|
2882
|
+
example: 'sha256:abcd1234ef567890abcd1234ef567890abcd1234ef567890abcd1234ef567890'
|
|
2883
|
+
},
|
|
2884
|
+
size: {
|
|
2885
|
+
type: 'number',
|
|
2886
|
+
format: 'float',
|
|
2887
|
+
description: 'Size of the layer in bytes.',
|
|
2888
|
+
example: 5678
|
|
2889
|
+
}
|
|
2890
|
+
},
|
|
2891
|
+
required: [
|
|
2892
|
+
'size'
|
|
2893
|
+
],
|
|
2894
|
+
additionalProperties: false
|
|
2895
|
+
},
|
|
2896
|
+
description: 'Array of layer metadata.'
|
|
2897
|
+
},
|
|
2898
|
+
manifests: {
|
|
2899
|
+
type: 'array',
|
|
2900
|
+
items: {
|
|
2901
|
+
type: 'object',
|
|
2902
|
+
properties: {
|
|
2903
|
+
digest: {
|
|
2904
|
+
type: 'string',
|
|
2905
|
+
description: 'Digest of the manifest.',
|
|
2906
|
+
example: 'sha256:abcd1234ef567890abcd1234ef567890abcd1234ef567890abcd1234ef567890'
|
|
2907
|
+
},
|
|
2908
|
+
platform: {
|
|
2909
|
+
type: 'object',
|
|
2910
|
+
properties: {
|
|
2911
|
+
architecture: {
|
|
2912
|
+
type: 'string',
|
|
2913
|
+
description: 'Architecture of the platform.',
|
|
2914
|
+
example: 'amd64'
|
|
2915
|
+
},
|
|
2916
|
+
os: {
|
|
2917
|
+
type: 'string',
|
|
2918
|
+
description: 'Operating system of the platform.',
|
|
2919
|
+
example: 'linux'
|
|
2920
|
+
},
|
|
2921
|
+
variant: {
|
|
2922
|
+
type: 'string',
|
|
2923
|
+
description: 'Variant of the platform (e.g., v7, v8 for ARM).',
|
|
2924
|
+
example: 'v8'
|
|
2925
|
+
}
|
|
2926
|
+
},
|
|
2927
|
+
required: [
|
|
2928
|
+
'architecture',
|
|
2929
|
+
'os'
|
|
2930
|
+
],
|
|
2931
|
+
additionalProperties: false,
|
|
2932
|
+
description: 'Platform information for the manifest.'
|
|
2933
|
+
},
|
|
2934
|
+
layers: {
|
|
2935
|
+
type: 'array',
|
|
2936
|
+
items: {
|
|
2937
|
+
type: 'object',
|
|
2938
|
+
properties: {
|
|
2939
|
+
digest: {
|
|
2940
|
+
type: 'string',
|
|
2941
|
+
description: 'Digest of the layer.',
|
|
2942
|
+
example: 'sha256:abcd1234ef567890abcd1234ef567890abcd1234ef567890abcd1234ef567890'
|
|
2943
|
+
},
|
|
2944
|
+
size: {
|
|
2945
|
+
type: 'number',
|
|
2946
|
+
format: 'float',
|
|
2947
|
+
description: 'Size of the layer in bytes.',
|
|
2948
|
+
example: 5678
|
|
2949
|
+
}
|
|
2950
|
+
},
|
|
2951
|
+
required: [
|
|
2952
|
+
'size'
|
|
2953
|
+
],
|
|
2954
|
+
additionalProperties: false
|
|
2955
|
+
},
|
|
2956
|
+
description: 'Layers for this platform.'
|
|
2957
|
+
},
|
|
2958
|
+
size: {
|
|
2959
|
+
type: 'number',
|
|
2960
|
+
format: 'float',
|
|
2961
|
+
description: 'Total size of this platform manifest in bytes.',
|
|
2962
|
+
example: 12345678
|
|
2963
|
+
}
|
|
2964
|
+
},
|
|
2965
|
+
required: [
|
|
2966
|
+
'digest'
|
|
2967
|
+
],
|
|
2968
|
+
additionalProperties: false
|
|
2969
|
+
},
|
|
2970
|
+
description: 'Array of manifests for multi-arch images.'
|
|
2971
|
+
},
|
|
2972
|
+
size: {
|
|
2973
|
+
type: 'number',
|
|
2974
|
+
format: 'float',
|
|
2975
|
+
description: 'Total size of the tag in bytes.',
|
|
2976
|
+
example: 123456789
|
|
2977
|
+
},
|
|
2978
|
+
region: {
|
|
2979
|
+
type: 'string',
|
|
2980
|
+
description: 'Registry region.',
|
|
2981
|
+
example: 'northamerica'
|
|
2982
|
+
},
|
|
2983
|
+
repository: {
|
|
2984
|
+
type: 'string',
|
|
2985
|
+
description: 'Repository name.',
|
|
2986
|
+
example: 'my-app'
|
|
2987
|
+
},
|
|
2988
|
+
uri: {
|
|
2989
|
+
type: 'string',
|
|
2990
|
+
description: 'Full URI of the tag.',
|
|
2991
|
+
example: 'ssds123e-6651-4e5d-9c04-079f6532989b.northamerica.registry.cloudfleet.dev/my-app:latest'
|
|
2992
|
+
}
|
|
2993
|
+
},
|
|
2994
|
+
required: [
|
|
2995
|
+
'name',
|
|
2996
|
+
'digest',
|
|
2997
|
+
'size',
|
|
2998
|
+
'region',
|
|
2999
|
+
'repository',
|
|
3000
|
+
'uri'
|
|
3001
|
+
],
|
|
3002
|
+
additionalProperties: false
|
|
3003
|
+
};
|
|
3004
|
+
export const TicketAttachmentSchema = {
|
|
3005
|
+
type: 'object',
|
|
3006
|
+
properties: {
|
|
3007
|
+
id: {
|
|
3008
|
+
type: 'string',
|
|
3009
|
+
description: 'Unique identifier of the attachment (Mongo ObjectId).',
|
|
3010
|
+
example: '60c72b2f9f1b2c001f8e4d3c'
|
|
3011
|
+
},
|
|
3012
|
+
filename: {
|
|
3013
|
+
type: 'string',
|
|
3014
|
+
description: 'Original filename as uploaded.',
|
|
3015
|
+
example: 'debug.log'
|
|
3016
|
+
},
|
|
3017
|
+
content_type: {
|
|
3018
|
+
type: 'string',
|
|
3019
|
+
description: 'MIME content type of the attachment.',
|
|
3020
|
+
example: 'text/plain'
|
|
3021
|
+
},
|
|
3022
|
+
size: {
|
|
3023
|
+
type: 'integer',
|
|
3024
|
+
description: 'Size of the attachment in bytes.',
|
|
3025
|
+
example: 12345
|
|
3026
|
+
}
|
|
3027
|
+
},
|
|
3028
|
+
required: [
|
|
3029
|
+
'id',
|
|
3030
|
+
'filename',
|
|
3031
|
+
'content_type',
|
|
3032
|
+
'size'
|
|
3033
|
+
],
|
|
3034
|
+
additionalProperties: false
|
|
3035
|
+
};
|
|
3036
|
+
export const TicketCreateInputSchema = {
|
|
3037
|
+
type: 'object',
|
|
3038
|
+
properties: {
|
|
3039
|
+
category: {
|
|
3040
|
+
type: 'string',
|
|
3041
|
+
description: 'Ticket category. Drives auto-assignment and may carry a subcategory in `properties`.',
|
|
3042
|
+
example: 'technical',
|
|
3043
|
+
enum: [
|
|
3044
|
+
'billing',
|
|
3045
|
+
'technical',
|
|
3046
|
+
'general'
|
|
3047
|
+
]
|
|
3048
|
+
},
|
|
3049
|
+
body: {
|
|
3050
|
+
type: 'string',
|
|
3051
|
+
maxLength: 50000,
|
|
3052
|
+
minLength: 1,
|
|
3053
|
+
pattern: '\\S',
|
|
3054
|
+
description: 'Initial message body in markdown. There is no separate subject — the first message body is the description.',
|
|
3055
|
+
example: 'My cluster cannot reach the registry. Logs attached.'
|
|
3056
|
+
},
|
|
3057
|
+
properties: {
|
|
3058
|
+
type: 'object',
|
|
3059
|
+
additionalProperties: true,
|
|
3060
|
+
description: 'Free-form key/value bag set by the UI (e.g. `subcategory`, `cluster_id`, `cluster_name`, `region`).',
|
|
3061
|
+
example: {
|
|
3062
|
+
subcategory: 'cluster-question',
|
|
3063
|
+
cluster_id: '60c72b2f9f1b2c001f8e4d3a'
|
|
3064
|
+
}
|
|
3065
|
+
}
|
|
3066
|
+
},
|
|
3067
|
+
required: [
|
|
3068
|
+
'category',
|
|
3069
|
+
'body'
|
|
3070
|
+
],
|
|
3071
|
+
additionalProperties: false
|
|
3072
|
+
};
|
|
3073
|
+
export const TicketListResponseSchema = {
|
|
3074
|
+
type: 'object',
|
|
3075
|
+
properties: {
|
|
3076
|
+
items: {
|
|
3077
|
+
type: 'array',
|
|
3078
|
+
items: {
|
|
3079
|
+
type: 'object',
|
|
3080
|
+
properties: {
|
|
3081
|
+
id: {
|
|
3082
|
+
type: 'string',
|
|
3083
|
+
description: 'Unique identifier of the ticket (Mongo ObjectId).',
|
|
3084
|
+
example: '60c72b2f9f1b2c001f8e4d3a'
|
|
3085
|
+
},
|
|
3086
|
+
status: {
|
|
3087
|
+
type: 'string',
|
|
3088
|
+
description: 'Current state of the ticket.',
|
|
3089
|
+
example: 'waiting_on_us',
|
|
3090
|
+
enum: [
|
|
3091
|
+
'waiting_on_us',
|
|
3092
|
+
'waiting_on_user',
|
|
3093
|
+
'closed'
|
|
3094
|
+
]
|
|
3095
|
+
},
|
|
3096
|
+
category: {
|
|
3097
|
+
type: 'string',
|
|
3098
|
+
description: 'Ticket category.',
|
|
3099
|
+
example: 'technical',
|
|
3100
|
+
enum: [
|
|
3101
|
+
'billing',
|
|
3102
|
+
'technical',
|
|
3103
|
+
'general'
|
|
3104
|
+
]
|
|
3105
|
+
},
|
|
3106
|
+
summary: {
|
|
3107
|
+
type: 'string',
|
|
3108
|
+
description: 'First 128 characters of the initial message body, with markdown formatting and newlines stripped. Used for ticket list previews.',
|
|
3109
|
+
example: 'My cluster cannot reach the registry. Logs attached.'
|
|
3110
|
+
},
|
|
3111
|
+
closed_at: {
|
|
3112
|
+
type: 'string',
|
|
3113
|
+
format: 'date-time',
|
|
3114
|
+
nullable: true,
|
|
3115
|
+
description: 'Closure timestamp. Null while the ticket is open.',
|
|
3116
|
+
example: '2026-05-18T16:08:14.338Z'
|
|
3117
|
+
},
|
|
3118
|
+
date_created: {
|
|
3119
|
+
type: 'string',
|
|
3120
|
+
format: 'date-time',
|
|
3121
|
+
description: 'Creation date of the ticket. ISO 8601 UTC.',
|
|
3122
|
+
example: '2026-05-11T16:08:14.338Z'
|
|
3123
|
+
},
|
|
3124
|
+
date_updated: {
|
|
3125
|
+
type: 'string',
|
|
3126
|
+
format: 'date-time',
|
|
3127
|
+
description: 'Last update date of the ticket. ISO 8601 UTC.',
|
|
3128
|
+
example: '2026-05-11T16:08:14.338Z'
|
|
3129
|
+
},
|
|
3130
|
+
messages: {
|
|
3131
|
+
type: 'array',
|
|
3132
|
+
items: {
|
|
3133
|
+
type: 'object',
|
|
3134
|
+
properties: {
|
|
3135
|
+
id: {
|
|
3136
|
+
type: 'string',
|
|
3137
|
+
description: 'Unique identifier of the message (Mongo ObjectId).',
|
|
3138
|
+
example: '60c72b2f9f1b2c001f8e4d3b'
|
|
3139
|
+
},
|
|
3140
|
+
type: {
|
|
3141
|
+
type: 'string',
|
|
3142
|
+
description: 'Message type. Internal notes are filtered out of customer-facing responses.',
|
|
3143
|
+
example: 'customer_reply',
|
|
3144
|
+
enum: [
|
|
3145
|
+
'customer_reply',
|
|
3146
|
+
'agent_reply'
|
|
3147
|
+
]
|
|
3148
|
+
},
|
|
3149
|
+
body: {
|
|
3150
|
+
type: 'string',
|
|
3151
|
+
description: 'Message body in markdown.',
|
|
3152
|
+
example: 'Thanks — that resolved it on my side.'
|
|
3153
|
+
},
|
|
3154
|
+
author_first_name: {
|
|
3155
|
+
type: 'string',
|
|
3156
|
+
nullable: true,
|
|
3157
|
+
description: 'First name of the author. Null when not provided.',
|
|
3158
|
+
example: 'Jane'
|
|
3159
|
+
},
|
|
3160
|
+
author_last_name: {
|
|
3161
|
+
type: 'string',
|
|
3162
|
+
nullable: true,
|
|
3163
|
+
description: 'Last name of the author. Null when not provided.',
|
|
3164
|
+
example: 'Doe'
|
|
3165
|
+
},
|
|
3166
|
+
attachments: {
|
|
3167
|
+
type: 'array',
|
|
3168
|
+
items: {
|
|
3169
|
+
type: 'object',
|
|
3170
|
+
properties: {
|
|
3171
|
+
id: {
|
|
3172
|
+
type: 'string',
|
|
3173
|
+
description: 'Unique identifier of the attachment (Mongo ObjectId).',
|
|
3174
|
+
example: '60c72b2f9f1b2c001f8e4d3c'
|
|
3175
|
+
},
|
|
3176
|
+
filename: {
|
|
3177
|
+
type: 'string',
|
|
3178
|
+
description: 'Original filename as uploaded.',
|
|
3179
|
+
example: 'debug.log'
|
|
3180
|
+
},
|
|
3181
|
+
content_type: {
|
|
3182
|
+
type: 'string',
|
|
3183
|
+
description: 'MIME content type of the attachment.',
|
|
3184
|
+
example: 'text/plain'
|
|
3185
|
+
},
|
|
3186
|
+
size: {
|
|
3187
|
+
type: 'integer',
|
|
3188
|
+
description: 'Size of the attachment in bytes.',
|
|
3189
|
+
example: 12345
|
|
3190
|
+
}
|
|
3191
|
+
},
|
|
3192
|
+
required: [
|
|
3193
|
+
'id',
|
|
3194
|
+
'filename',
|
|
3195
|
+
'content_type',
|
|
3196
|
+
'size'
|
|
3197
|
+
],
|
|
3198
|
+
additionalProperties: false
|
|
3199
|
+
},
|
|
3200
|
+
description: 'Attachments associated with this message.',
|
|
3201
|
+
example: []
|
|
3202
|
+
},
|
|
3203
|
+
date_created: {
|
|
3204
|
+
type: 'string',
|
|
3205
|
+
format: 'date-time',
|
|
3206
|
+
description: 'Creation date of the message. ISO 8601 UTC.',
|
|
3207
|
+
example: '2026-05-11T16:08:14.338Z'
|
|
3208
|
+
}
|
|
3209
|
+
},
|
|
3210
|
+
required: [
|
|
3211
|
+
'id',
|
|
3212
|
+
'type',
|
|
3213
|
+
'body',
|
|
3214
|
+
'date_created'
|
|
3215
|
+
],
|
|
3216
|
+
additionalProperties: false
|
|
3217
|
+
},
|
|
3218
|
+
description: 'Messages on the ticket in chronological order. Internal notes are excluded. Returned by the detail endpoint only.'
|
|
3219
|
+
}
|
|
3220
|
+
},
|
|
3221
|
+
required: [
|
|
3222
|
+
'id',
|
|
3223
|
+
'status',
|
|
3224
|
+
'category',
|
|
3225
|
+
'summary',
|
|
3226
|
+
'date_created',
|
|
3227
|
+
'date_updated'
|
|
3228
|
+
],
|
|
3229
|
+
additionalProperties: false
|
|
3230
|
+
},
|
|
3231
|
+
description: 'Tickets for the organization, ordered newest first. Messages are omitted from list responses.'
|
|
3232
|
+
}
|
|
3233
|
+
},
|
|
3234
|
+
required: [
|
|
3235
|
+
'items'
|
|
3236
|
+
],
|
|
3237
|
+
additionalProperties: false
|
|
3238
|
+
};
|
|
3239
|
+
export const TicketMessageInputSchema = {
|
|
3240
|
+
type: 'object',
|
|
3241
|
+
properties: {
|
|
3242
|
+
body: {
|
|
3243
|
+
type: 'string',
|
|
3244
|
+
maxLength: 50000,
|
|
3245
|
+
minLength: 1,
|
|
3246
|
+
pattern: '\\S',
|
|
3247
|
+
description: 'Reply body in markdown.',
|
|
3248
|
+
example: 'Thanks — that resolved it on my side.'
|
|
3249
|
+
}
|
|
3250
|
+
},
|
|
3251
|
+
required: [
|
|
3252
|
+
'body'
|
|
3253
|
+
],
|
|
3254
|
+
additionalProperties: false
|
|
3255
|
+
};
|
|
3256
|
+
export const TicketMessageSchema = {
|
|
3257
|
+
type: 'object',
|
|
3258
|
+
properties: {
|
|
3259
|
+
id: {
|
|
3260
|
+
type: 'string',
|
|
3261
|
+
description: 'Unique identifier of the message (Mongo ObjectId).',
|
|
3262
|
+
example: '60c72b2f9f1b2c001f8e4d3b'
|
|
3263
|
+
},
|
|
3264
|
+
type: {
|
|
3265
|
+
type: 'string',
|
|
3266
|
+
description: 'Message type. Internal notes are filtered out of customer-facing responses.',
|
|
3267
|
+
example: 'customer_reply',
|
|
3268
|
+
enum: [
|
|
3269
|
+
'customer_reply',
|
|
3270
|
+
'agent_reply'
|
|
3271
|
+
]
|
|
3272
|
+
},
|
|
3273
|
+
body: {
|
|
3274
|
+
type: 'string',
|
|
3275
|
+
description: 'Message body in markdown.',
|
|
3276
|
+
example: 'Thanks — that resolved it on my side.'
|
|
1484
3277
|
},
|
|
1485
|
-
|
|
1486
|
-
type: '
|
|
1487
|
-
|
|
1488
|
-
|
|
1489
|
-
|
|
1490
|
-
|
|
1491
|
-
|
|
1492
|
-
|
|
1493
|
-
|
|
1494
|
-
|
|
1495
|
-
|
|
1496
|
-
|
|
1497
|
-
|
|
1498
|
-
|
|
1499
|
-
|
|
1500
|
-
|
|
1501
|
-
|
|
1502
|
-
|
|
1503
|
-
|
|
1504
|
-
|
|
1505
|
-
|
|
1506
|
-
|
|
1507
|
-
|
|
1508
|
-
|
|
1509
|
-
|
|
1510
|
-
|
|
1511
|
-
|
|
1512
|
-
|
|
1513
|
-
|
|
1514
|
-
|
|
1515
|
-
|
|
1516
|
-
|
|
1517
|
-
|
|
1518
|
-
|
|
1519
|
-
|
|
1520
|
-
description: 'Phone number as a string.',
|
|
1521
|
-
example: '+1 555 555 5555'
|
|
1522
|
-
},
|
|
1523
|
-
email: {
|
|
1524
|
-
type: 'string',
|
|
1525
|
-
format: 'email',
|
|
1526
|
-
description: 'Email address used for billing as a string.',
|
|
1527
|
-
example: 'email@example.com'
|
|
1528
|
-
},
|
|
1529
|
-
first_name: {
|
|
1530
|
-
type: 'string',
|
|
1531
|
-
description: 'First name of the billing contact person.',
|
|
1532
|
-
example: 'John'
|
|
3278
|
+
author_first_name: {
|
|
3279
|
+
type: 'string',
|
|
3280
|
+
description: 'First name of the author. Null when not provided.',
|
|
3281
|
+
example: 'Jane'
|
|
3282
|
+
},
|
|
3283
|
+
author_last_name: {
|
|
3284
|
+
type: 'string',
|
|
3285
|
+
description: 'Last name of the author. Null when not provided.',
|
|
3286
|
+
example: 'Doe'
|
|
3287
|
+
},
|
|
3288
|
+
attachments: {
|
|
3289
|
+
type: 'array',
|
|
3290
|
+
items: {
|
|
3291
|
+
type: 'object',
|
|
3292
|
+
properties: {
|
|
3293
|
+
id: {
|
|
3294
|
+
type: 'string',
|
|
3295
|
+
description: 'Unique identifier of the attachment (Mongo ObjectId).',
|
|
3296
|
+
example: '60c72b2f9f1b2c001f8e4d3c'
|
|
3297
|
+
},
|
|
3298
|
+
filename: {
|
|
3299
|
+
type: 'string',
|
|
3300
|
+
description: 'Original filename as uploaded.',
|
|
3301
|
+
example: 'debug.log'
|
|
3302
|
+
},
|
|
3303
|
+
content_type: {
|
|
3304
|
+
type: 'string',
|
|
3305
|
+
description: 'MIME content type of the attachment.',
|
|
3306
|
+
example: 'text/plain'
|
|
3307
|
+
},
|
|
3308
|
+
size: {
|
|
3309
|
+
type: 'integer',
|
|
3310
|
+
description: 'Size of the attachment in bytes.',
|
|
3311
|
+
example: 12345
|
|
3312
|
+
}
|
|
1533
3313
|
},
|
|
1534
|
-
|
|
1535
|
-
|
|
1536
|
-
|
|
1537
|
-
|
|
1538
|
-
|
|
3314
|
+
required: [
|
|
3315
|
+
'id',
|
|
3316
|
+
'filename',
|
|
3317
|
+
'content_type',
|
|
3318
|
+
'size'
|
|
3319
|
+
],
|
|
3320
|
+
additionalProperties: false
|
|
1539
3321
|
},
|
|
1540
|
-
|
|
1541
|
-
|
|
1542
|
-
|
|
3322
|
+
description: 'Attachments associated with this message.',
|
|
3323
|
+
example: []
|
|
3324
|
+
},
|
|
3325
|
+
date_created: {
|
|
3326
|
+
type: 'string',
|
|
3327
|
+
format: 'date-time',
|
|
3328
|
+
description: 'Creation date of the message. ISO 8601 UTC.',
|
|
3329
|
+
example: '2026-05-11T16:08:14.338Z'
|
|
1543
3330
|
}
|
|
1544
3331
|
},
|
|
1545
|
-
required: [
|
|
3332
|
+
required: [
|
|
3333
|
+
'id',
|
|
3334
|
+
'type',
|
|
3335
|
+
'body',
|
|
3336
|
+
'date_created'
|
|
3337
|
+
],
|
|
1546
3338
|
additionalProperties: false
|
|
1547
3339
|
};
|
|
1548
|
-
export const
|
|
3340
|
+
export const TicketSchema = {
|
|
1549
3341
|
type: 'object',
|
|
1550
3342
|
properties: {
|
|
1551
3343
|
id: {
|
|
1552
3344
|
type: 'string',
|
|
1553
|
-
|
|
1554
|
-
|
|
1555
|
-
example: 'e94d30ec-a2dd-4dcb-832c-ac2be144ba91'
|
|
3345
|
+
description: 'Unique identifier of the ticket (Mongo ObjectId).',
|
|
3346
|
+
example: '60c72b2f9f1b2c001f8e4d3a'
|
|
1556
3347
|
},
|
|
1557
|
-
|
|
1558
|
-
type: '
|
|
1559
|
-
description: '
|
|
1560
|
-
example:
|
|
3348
|
+
status: {
|
|
3349
|
+
type: 'string',
|
|
3350
|
+
description: 'Current state of the ticket.',
|
|
3351
|
+
example: 'waiting_on_us',
|
|
3352
|
+
enum: [
|
|
3353
|
+
'waiting_on_us',
|
|
3354
|
+
'waiting_on_user',
|
|
3355
|
+
'closed'
|
|
3356
|
+
]
|
|
1561
3357
|
},
|
|
1562
|
-
|
|
3358
|
+
category: {
|
|
1563
3359
|
type: 'string',
|
|
1564
|
-
|
|
1565
|
-
|
|
1566
|
-
|
|
1567
|
-
|
|
3360
|
+
description: 'Ticket category.',
|
|
3361
|
+
example: 'technical',
|
|
3362
|
+
enum: [
|
|
3363
|
+
'billing',
|
|
3364
|
+
'technical',
|
|
3365
|
+
'general'
|
|
3366
|
+
]
|
|
1568
3367
|
},
|
|
1569
|
-
|
|
3368
|
+
summary: {
|
|
1570
3369
|
type: 'string',
|
|
1571
|
-
|
|
1572
|
-
|
|
1573
|
-
example: '4242'
|
|
3370
|
+
description: 'First 128 characters of the initial message body, with markdown formatting and newlines stripped. Used for ticket list previews.',
|
|
3371
|
+
example: 'My cluster cannot reach the registry. Logs attached.'
|
|
1574
3372
|
},
|
|
1575
|
-
|
|
1576
|
-
type: '
|
|
1577
|
-
|
|
1578
|
-
|
|
1579
|
-
|
|
1580
|
-
description: "Two-digit number representing the card's expiration month.",
|
|
1581
|
-
example: '12'
|
|
3373
|
+
closed_at: {
|
|
3374
|
+
type: 'string',
|
|
3375
|
+
format: 'date-time',
|
|
3376
|
+
description: 'Closure timestamp. Null while the ticket is open.',
|
|
3377
|
+
example: '2026-05-18T16:08:14.338Z'
|
|
1582
3378
|
},
|
|
1583
|
-
|
|
1584
|
-
type: '
|
|
1585
|
-
|
|
1586
|
-
|
|
1587
|
-
|
|
1588
|
-
example: '2028'
|
|
3379
|
+
date_created: {
|
|
3380
|
+
type: 'string',
|
|
3381
|
+
format: 'date-time',
|
|
3382
|
+
description: 'Creation date of the ticket. ISO 8601 UTC.',
|
|
3383
|
+
example: '2026-05-11T16:08:14.338Z'
|
|
1589
3384
|
},
|
|
1590
|
-
|
|
3385
|
+
date_updated: {
|
|
1591
3386
|
type: 'string',
|
|
1592
|
-
|
|
1593
|
-
description: '
|
|
1594
|
-
example: '
|
|
1595
|
-
|
|
3387
|
+
format: 'date-time',
|
|
3388
|
+
description: 'Last update date of the ticket. ISO 8601 UTC.',
|
|
3389
|
+
example: '2026-05-11T16:08:14.338Z'
|
|
3390
|
+
},
|
|
3391
|
+
messages: {
|
|
3392
|
+
type: 'array',
|
|
3393
|
+
items: {
|
|
3394
|
+
type: 'object',
|
|
3395
|
+
properties: {
|
|
3396
|
+
id: {
|
|
3397
|
+
type: 'string',
|
|
3398
|
+
description: 'Unique identifier of the message (Mongo ObjectId).',
|
|
3399
|
+
example: '60c72b2f9f1b2c001f8e4d3b'
|
|
3400
|
+
},
|
|
3401
|
+
type: {
|
|
3402
|
+
type: 'string',
|
|
3403
|
+
description: 'Message type. Internal notes are filtered out of customer-facing responses.',
|
|
3404
|
+
example: 'customer_reply',
|
|
3405
|
+
enum: [
|
|
3406
|
+
'customer_reply',
|
|
3407
|
+
'agent_reply'
|
|
3408
|
+
]
|
|
3409
|
+
},
|
|
3410
|
+
body: {
|
|
3411
|
+
type: 'string',
|
|
3412
|
+
description: 'Message body in markdown.',
|
|
3413
|
+
example: 'Thanks — that resolved it on my side.'
|
|
3414
|
+
},
|
|
3415
|
+
author_first_name: {
|
|
3416
|
+
type: 'string',
|
|
3417
|
+
description: 'First name of the author. Null when not provided.',
|
|
3418
|
+
example: 'Jane'
|
|
3419
|
+
},
|
|
3420
|
+
author_last_name: {
|
|
3421
|
+
type: 'string',
|
|
3422
|
+
description: 'Last name of the author. Null when not provided.',
|
|
3423
|
+
example: 'Doe'
|
|
3424
|
+
},
|
|
3425
|
+
attachments: {
|
|
3426
|
+
type: 'array',
|
|
3427
|
+
items: {
|
|
3428
|
+
type: 'object',
|
|
3429
|
+
properties: {
|
|
3430
|
+
id: {
|
|
3431
|
+
type: 'string',
|
|
3432
|
+
description: 'Unique identifier of the attachment (Mongo ObjectId).',
|
|
3433
|
+
example: '60c72b2f9f1b2c001f8e4d3c'
|
|
3434
|
+
},
|
|
3435
|
+
filename: {
|
|
3436
|
+
type: 'string',
|
|
3437
|
+
description: 'Original filename as uploaded.',
|
|
3438
|
+
example: 'debug.log'
|
|
3439
|
+
},
|
|
3440
|
+
content_type: {
|
|
3441
|
+
type: 'string',
|
|
3442
|
+
description: 'MIME content type of the attachment.',
|
|
3443
|
+
example: 'text/plain'
|
|
3444
|
+
},
|
|
3445
|
+
size: {
|
|
3446
|
+
type: 'integer',
|
|
3447
|
+
description: 'Size of the attachment in bytes.',
|
|
3448
|
+
example: 12345
|
|
3449
|
+
}
|
|
3450
|
+
},
|
|
3451
|
+
required: [
|
|
3452
|
+
'id',
|
|
3453
|
+
'filename',
|
|
3454
|
+
'content_type',
|
|
3455
|
+
'size'
|
|
3456
|
+
],
|
|
3457
|
+
additionalProperties: false
|
|
3458
|
+
},
|
|
3459
|
+
description: 'Attachments associated with this message.',
|
|
3460
|
+
example: []
|
|
3461
|
+
},
|
|
3462
|
+
date_created: {
|
|
3463
|
+
type: 'string',
|
|
3464
|
+
format: 'date-time',
|
|
3465
|
+
description: 'Creation date of the message. ISO 8601 UTC.',
|
|
3466
|
+
example: '2026-05-11T16:08:14.338Z'
|
|
3467
|
+
}
|
|
3468
|
+
},
|
|
3469
|
+
required: [
|
|
3470
|
+
'id',
|
|
3471
|
+
'type',
|
|
3472
|
+
'body',
|
|
3473
|
+
'date_created'
|
|
3474
|
+
],
|
|
3475
|
+
additionalProperties: false
|
|
3476
|
+
},
|
|
3477
|
+
description: 'Messages on the ticket in chronological order. Internal notes are excluded. Returned by the detail endpoint only.'
|
|
1596
3478
|
}
|
|
1597
3479
|
},
|
|
1598
|
-
required: [
|
|
3480
|
+
required: [
|
|
3481
|
+
'id',
|
|
3482
|
+
'status',
|
|
3483
|
+
'category',
|
|
3484
|
+
'summary',
|
|
3485
|
+
'date_created',
|
|
3486
|
+
'date_updated'
|
|
3487
|
+
],
|
|
1599
3488
|
additionalProperties: false
|
|
1600
3489
|
};
|
|
1601
3490
|
export const TokenCreateInputSchema = {
|
|
@@ -1613,10 +3502,16 @@ export const TokenCreateInputSchema = {
|
|
|
1613
3502
|
type: 'string',
|
|
1614
3503
|
description: 'Role assumed by the token.',
|
|
1615
3504
|
example: 'User',
|
|
1616
|
-
enum: [
|
|
3505
|
+
enum: [
|
|
3506
|
+
'Administrator',
|
|
3507
|
+
'User'
|
|
3508
|
+
]
|
|
1617
3509
|
}
|
|
1618
3510
|
},
|
|
1619
|
-
required: [
|
|
3511
|
+
required: [
|
|
3512
|
+
'name',
|
|
3513
|
+
'role'
|
|
3514
|
+
],
|
|
1620
3515
|
additionalProperties: false
|
|
1621
3516
|
};
|
|
1622
3517
|
export const TokenSchema = {
|
|
@@ -1634,7 +3529,10 @@ export const TokenSchema = {
|
|
|
1634
3529
|
type: 'string',
|
|
1635
3530
|
description: 'Role assumed by the token.',
|
|
1636
3531
|
example: 'User',
|
|
1637
|
-
enum: [
|
|
3532
|
+
enum: [
|
|
3533
|
+
'Administrator',
|
|
3534
|
+
'User'
|
|
3535
|
+
]
|
|
1638
3536
|
},
|
|
1639
3537
|
id: {
|
|
1640
3538
|
type: 'string',
|
|
@@ -1653,7 +3551,11 @@ export const TokenSchema = {
|
|
|
1653
3551
|
example: '2023-12-20T13:53:32.000Z'
|
|
1654
3552
|
}
|
|
1655
3553
|
},
|
|
1656
|
-
required: [
|
|
3554
|
+
required: [
|
|
3555
|
+
'name',
|
|
3556
|
+
'role',
|
|
3557
|
+
'date_created'
|
|
3558
|
+
],
|
|
1657
3559
|
additionalProperties: false
|
|
1658
3560
|
};
|
|
1659
3561
|
export const TokenUpdateInputSchema = {
|
|
@@ -1671,9 +3573,127 @@ export const TokenUpdateInputSchema = {
|
|
|
1671
3573
|
type: 'string',
|
|
1672
3574
|
description: 'Role assumed by the token.',
|
|
1673
3575
|
example: 'User',
|
|
1674
|
-
enum: [
|
|
3576
|
+
enum: [
|
|
3577
|
+
'Administrator',
|
|
3578
|
+
'User'
|
|
3579
|
+
]
|
|
3580
|
+
}
|
|
3581
|
+
},
|
|
3582
|
+
additionalProperties: false
|
|
3583
|
+
};
|
|
3584
|
+
export const UsageFacetsSchema = {
|
|
3585
|
+
type: 'object',
|
|
3586
|
+
properties: {
|
|
3587
|
+
cluster_id: {
|
|
3588
|
+
type: 'array',
|
|
3589
|
+
items: {
|
|
3590
|
+
type: 'string'
|
|
3591
|
+
},
|
|
3592
|
+
description: 'List of unique cluster IDs',
|
|
3593
|
+
example: [
|
|
3594
|
+
'6b5439b1-923a-4f2b-a371-d554e5ea23fa'
|
|
3595
|
+
]
|
|
3596
|
+
},
|
|
3597
|
+
product: {
|
|
3598
|
+
type: 'array',
|
|
3599
|
+
items: {
|
|
3600
|
+
type: 'string'
|
|
3601
|
+
},
|
|
3602
|
+
description: 'List of unique products',
|
|
3603
|
+
example: [
|
|
3604
|
+
'cfke_controlplane',
|
|
3605
|
+
'cfke_connected_nodes'
|
|
3606
|
+
]
|
|
3607
|
+
}
|
|
3608
|
+
},
|
|
3609
|
+
additionalProperties: false
|
|
3610
|
+
};
|
|
3611
|
+
export const UsageResponseSchema = {
|
|
3612
|
+
type: 'object',
|
|
3613
|
+
properties: {
|
|
3614
|
+
data: {
|
|
3615
|
+
type: 'array',
|
|
3616
|
+
items: {
|
|
3617
|
+
type: 'object',
|
|
3618
|
+
properties: {
|
|
3619
|
+
hour: {
|
|
3620
|
+
type: 'string',
|
|
3621
|
+
description: 'Hour of the usage',
|
|
3622
|
+
example: '2019-01-01T00:00:00.000Z'
|
|
3623
|
+
},
|
|
3624
|
+
cluster_id: {
|
|
3625
|
+
type: 'string',
|
|
3626
|
+
description: 'Unique identifier of the kubernetes cluster. UUID v4 string in canonical form',
|
|
3627
|
+
example: '6b5439b1-923a-4f2b-a371-d554e5ea23fa'
|
|
3628
|
+
},
|
|
3629
|
+
product: {
|
|
3630
|
+
type: 'string',
|
|
3631
|
+
description: 'The product the usage is associated with',
|
|
3632
|
+
example: 'cfke_controlplane'
|
|
3633
|
+
},
|
|
3634
|
+
value: {
|
|
3635
|
+
type: 'number',
|
|
3636
|
+
format: 'float',
|
|
3637
|
+
description: 'Consumption',
|
|
3638
|
+
example: 4
|
|
3639
|
+
},
|
|
3640
|
+
price: {
|
|
3641
|
+
type: 'number',
|
|
3642
|
+
format: 'float',
|
|
3643
|
+
description: 'Price per unit',
|
|
3644
|
+
example: 0.01
|
|
3645
|
+
},
|
|
3646
|
+
total: {
|
|
3647
|
+
type: 'number',
|
|
3648
|
+
format: 'float',
|
|
3649
|
+
description: 'Total cost'
|
|
3650
|
+
}
|
|
3651
|
+
},
|
|
3652
|
+
required: [
|
|
3653
|
+
'hour',
|
|
3654
|
+
'cluster_id',
|
|
3655
|
+
'product',
|
|
3656
|
+
'value',
|
|
3657
|
+
'price',
|
|
3658
|
+
'total'
|
|
3659
|
+
],
|
|
3660
|
+
additionalProperties: false
|
|
3661
|
+
},
|
|
3662
|
+
description: 'Usage data'
|
|
3663
|
+
},
|
|
3664
|
+
facets: {
|
|
3665
|
+
type: 'object',
|
|
3666
|
+
properties: {
|
|
3667
|
+
cluster_id: {
|
|
3668
|
+
type: 'array',
|
|
3669
|
+
items: {
|
|
3670
|
+
type: 'string'
|
|
3671
|
+
},
|
|
3672
|
+
description: 'List of unique cluster IDs',
|
|
3673
|
+
example: [
|
|
3674
|
+
'6b5439b1-923a-4f2b-a371-d554e5ea23fa'
|
|
3675
|
+
]
|
|
3676
|
+
},
|
|
3677
|
+
product: {
|
|
3678
|
+
type: 'array',
|
|
3679
|
+
items: {
|
|
3680
|
+
type: 'string'
|
|
3681
|
+
},
|
|
3682
|
+
description: 'List of unique products',
|
|
3683
|
+
example: [
|
|
3684
|
+
'cfke_controlplane',
|
|
3685
|
+
'cfke_connected_nodes'
|
|
3686
|
+
]
|
|
3687
|
+
}
|
|
3688
|
+
},
|
|
3689
|
+
additionalProperties: false,
|
|
3690
|
+
description: 'Facets for filtering'
|
|
1675
3691
|
}
|
|
1676
3692
|
},
|
|
3693
|
+
required: [
|
|
3694
|
+
'data',
|
|
3695
|
+
'facets'
|
|
3696
|
+
],
|
|
1677
3697
|
additionalProperties: false
|
|
1678
3698
|
};
|
|
1679
3699
|
export const UsageSchema = {
|
|
@@ -1686,90 +3706,40 @@ export const UsageSchema = {
|
|
|
1686
3706
|
},
|
|
1687
3707
|
cluster_id: {
|
|
1688
3708
|
type: 'string',
|
|
1689
|
-
format: 'uuid',
|
|
1690
3709
|
description: 'Unique identifier of the kubernetes cluster. UUID v4 string in canonical form',
|
|
1691
3710
|
example: '6b5439b1-923a-4f2b-a371-d554e5ea23fa'
|
|
1692
3711
|
},
|
|
1693
|
-
cluster_tier: {
|
|
1694
|
-
type: 'string',
|
|
1695
|
-
description: 'Tier of the cluster.',
|
|
1696
|
-
example: 'pro',
|
|
1697
|
-
enum: ['']
|
|
1698
|
-
},
|
|
1699
3712
|
product: {
|
|
1700
3713
|
type: 'string',
|
|
1701
3714
|
description: 'The product the usage is associated with',
|
|
1702
|
-
example: '
|
|
1703
|
-
enum: ['cfke_infra_compute', 'cfke_nodes', 'cfke_controlplane']
|
|
1704
|
-
},
|
|
1705
|
-
node_name: {
|
|
1706
|
-
type: 'string',
|
|
1707
|
-
description: 'Name of the Kubernetes node',
|
|
1708
|
-
example: 'flexible-moth-956037384'
|
|
1709
|
-
},
|
|
1710
|
-
sku: {
|
|
1711
|
-
type: 'string',
|
|
1712
|
-
description: 'SKU of the Kubernetes node',
|
|
1713
|
-
example: 'GCP-NORTHAMERICA-NORTHEAST1-A-G1-SMALL-SPOT'
|
|
3715
|
+
example: 'cfke_controlplane'
|
|
1714
3716
|
},
|
|
1715
|
-
|
|
1716
|
-
|
|
1717
|
-
|
|
1718
|
-
|
|
1719
|
-
|
|
1720
|
-
description: 'CPU core count of the node',
|
|
1721
|
-
example: 4
|
|
1722
|
-
},
|
|
1723
|
-
{
|
|
1724
|
-
type: 'string',
|
|
1725
|
-
enum: ['']
|
|
1726
|
-
}
|
|
1727
|
-
]
|
|
3717
|
+
value: {
|
|
3718
|
+
type: 'number',
|
|
3719
|
+
format: 'float',
|
|
3720
|
+
description: 'Consumption',
|
|
3721
|
+
example: 4
|
|
1728
3722
|
},
|
|
1729
3723
|
price: {
|
|
1730
|
-
|
|
1731
|
-
|
|
1732
|
-
|
|
1733
|
-
|
|
1734
|
-
description: 'Price',
|
|
1735
|
-
example: 4
|
|
1736
|
-
},
|
|
1737
|
-
{
|
|
1738
|
-
type: 'string',
|
|
1739
|
-
enum: ['']
|
|
1740
|
-
}
|
|
1741
|
-
]
|
|
1742
|
-
},
|
|
1743
|
-
value: {
|
|
1744
|
-
anyOf: [
|
|
1745
|
-
{
|
|
1746
|
-
type: 'number',
|
|
1747
|
-
format: 'float',
|
|
1748
|
-
description: 'Value',
|
|
1749
|
-
example: 4
|
|
1750
|
-
},
|
|
1751
|
-
{
|
|
1752
|
-
type: 'string',
|
|
1753
|
-
enum: ['']
|
|
1754
|
-
}
|
|
1755
|
-
]
|
|
3724
|
+
type: 'number',
|
|
3725
|
+
format: 'float',
|
|
3726
|
+
description: 'Price per unit',
|
|
3727
|
+
example: 0.01
|
|
1756
3728
|
},
|
|
1757
3729
|
total: {
|
|
1758
|
-
|
|
1759
|
-
|
|
1760
|
-
|
|
1761
|
-
format: 'float',
|
|
1762
|
-
description: 'Total',
|
|
1763
|
-
example: 4
|
|
1764
|
-
},
|
|
1765
|
-
{
|
|
1766
|
-
type: 'string',
|
|
1767
|
-
enum: ['']
|
|
1768
|
-
}
|
|
1769
|
-
]
|
|
3730
|
+
type: 'number',
|
|
3731
|
+
format: 'float',
|
|
3732
|
+
description: 'Total cost'
|
|
1770
3733
|
}
|
|
1771
3734
|
},
|
|
1772
|
-
required: [
|
|
3735
|
+
required: [
|
|
3736
|
+
'hour',
|
|
3737
|
+
'cluster_id',
|
|
3738
|
+
'product',
|
|
3739
|
+
'value',
|
|
3740
|
+
'price',
|
|
3741
|
+
'total'
|
|
3742
|
+
],
|
|
1773
3743
|
additionalProperties: false
|
|
1774
3744
|
};
|
|
1775
3745
|
export const UserCreateInputSchema = {
|
|
@@ -1804,22 +3774,16 @@ export const UserCreateInputSchema = {
|
|
|
1804
3774
|
password: {
|
|
1805
3775
|
type: 'string',
|
|
1806
3776
|
minLength: 8,
|
|
1807
|
-
description: 'User password. Must be at least 8 characters long
|
|
1808
|
-
},
|
|
1809
|
-
status: {
|
|
1810
|
-
type: 'string',
|
|
1811
|
-
description: 'Status of the user. Can be `active` or `inactive`. Inactive users cannot log in or manage organization resources.',
|
|
1812
|
-
example: 'active',
|
|
1813
|
-
enum: ['active', 'inactive']
|
|
1814
|
-
},
|
|
1815
|
-
role: {
|
|
1816
|
-
type: 'string',
|
|
1817
|
-
description: "User role. Can be 'Administrator', 'User'.",
|
|
1818
|
-
example: 'User',
|
|
1819
|
-
enum: ['Administrator', 'User']
|
|
3777
|
+
description: 'User password. Must be at least 8 characters long.'
|
|
1820
3778
|
}
|
|
1821
3779
|
},
|
|
1822
|
-
required: [
|
|
3780
|
+
required: [
|
|
3781
|
+
'email',
|
|
3782
|
+
'first_name',
|
|
3783
|
+
'last_name',
|
|
3784
|
+
'code',
|
|
3785
|
+
'password'
|
|
3786
|
+
],
|
|
1823
3787
|
additionalProperties: false
|
|
1824
3788
|
};
|
|
1825
3789
|
export const UserSchema = {
|
|
@@ -1847,15 +3811,21 @@ export const UserSchema = {
|
|
|
1847
3811
|
},
|
|
1848
3812
|
role: {
|
|
1849
3813
|
type: 'string',
|
|
1850
|
-
description:
|
|
3814
|
+
description: 'User role. Can be \'Administrator\', \'User\'.',
|
|
1851
3815
|
example: 'User',
|
|
1852
|
-
enum: [
|
|
3816
|
+
enum: [
|
|
3817
|
+
'Administrator',
|
|
3818
|
+
'User'
|
|
3819
|
+
]
|
|
1853
3820
|
},
|
|
1854
3821
|
status: {
|
|
1855
3822
|
type: 'string',
|
|
1856
3823
|
description: 'Status of the user. Can be `active` or `inactive`. Inactive users cannot log in or manage organization resources.',
|
|
1857
3824
|
example: 'active',
|
|
1858
|
-
enum: [
|
|
3825
|
+
enum: [
|
|
3826
|
+
'active',
|
|
3827
|
+
'inactive'
|
|
3828
|
+
]
|
|
1859
3829
|
},
|
|
1860
3830
|
id: {
|
|
1861
3831
|
type: 'string',
|
|
@@ -1868,31 +3838,17 @@ export const UserSchema = {
|
|
|
1868
3838
|
format: 'date-time',
|
|
1869
3839
|
description: 'Creation date of the user. ISO 8601 date string in UTC timezone',
|
|
1870
3840
|
example: '2023-11-02T16:08:14.338Z'
|
|
1871
|
-
},
|
|
1872
|
-
cluster_permissions: {
|
|
1873
|
-
type: 'array',
|
|
1874
|
-
items: {
|
|
1875
|
-
type: 'object',
|
|
1876
|
-
properties: {
|
|
1877
|
-
cluster_id: {
|
|
1878
|
-
type: 'string',
|
|
1879
|
-
format: 'uuid',
|
|
1880
|
-
description: 'Unique identifier of the cluster. UUID v4 string in canonical form',
|
|
1881
|
-
example: '035ce46d-44d8-4e58-a8a2-b0192d1c27df'
|
|
1882
|
-
},
|
|
1883
|
-
permissions: {
|
|
1884
|
-
type: 'string',
|
|
1885
|
-
description: 'User permissions to access the cluster. Can be `readwrite` or `readonly`.',
|
|
1886
|
-
example: 'readwrite',
|
|
1887
|
-
enum: ['readwrite', 'readonly']
|
|
1888
|
-
}
|
|
1889
|
-
},
|
|
1890
|
-
required: ['cluster_id', 'permissions'],
|
|
1891
|
-
additionalProperties: false
|
|
1892
|
-
}
|
|
1893
3841
|
}
|
|
1894
3842
|
},
|
|
1895
|
-
required: [
|
|
3843
|
+
required: [
|
|
3844
|
+
'email',
|
|
3845
|
+
'first_name',
|
|
3846
|
+
'last_name',
|
|
3847
|
+
'role',
|
|
3848
|
+
'status',
|
|
3849
|
+
'id',
|
|
3850
|
+
'date_created'
|
|
3851
|
+
],
|
|
1896
3852
|
additionalProperties: false
|
|
1897
3853
|
};
|
|
1898
3854
|
export const UserUpdateInputSchema = {
|
|
@@ -1920,15 +3876,21 @@ export const UserUpdateInputSchema = {
|
|
|
1920
3876
|
},
|
|
1921
3877
|
role: {
|
|
1922
3878
|
type: 'string',
|
|
1923
|
-
description:
|
|
3879
|
+
description: 'User role. Can be \'Administrator\', \'User\'.',
|
|
1924
3880
|
example: 'User',
|
|
1925
|
-
enum: [
|
|
3881
|
+
enum: [
|
|
3882
|
+
'Administrator',
|
|
3883
|
+
'User'
|
|
3884
|
+
]
|
|
1926
3885
|
},
|
|
1927
3886
|
status: {
|
|
1928
3887
|
type: 'string',
|
|
1929
3888
|
description: 'Status of the user. Can be `active` or `inactive`. Inactive users cannot log in or manage organization resources.',
|
|
1930
3889
|
example: 'active',
|
|
1931
|
-
enum: [
|
|
3890
|
+
enum: [
|
|
3891
|
+
'active',
|
|
3892
|
+
'inactive'
|
|
3893
|
+
]
|
|
1932
3894
|
}
|
|
1933
3895
|
},
|
|
1934
3896
|
additionalProperties: false
|