@cloudfleet/sdk 0.0.1-bd28e81 → 0.0.1-bd45f1a
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/README.md +26 -2
- 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 +217 -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 +1915 -1079
- package/dist/schemas.gen.d.ts.map +1 -1
- package/dist/schemas.gen.js +3241 -1127
- package/dist/schemas.gen.js.map +1 -1
- package/dist/sdk.gen.d.ts +326 -198
- package/dist/sdk.gen.d.ts.map +1 -1
- package/dist/sdk.gen.js +432 -297
- 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 +1999 -1236
- package/dist/types.gen.d.ts.map +1 -1
- package/dist/zod.gen.d.ts +3920 -2932
- package/dist/zod.gen.d.ts.map +1 -1
- package/dist/zod.gen.js +1693 -920
- package/dist/zod.gen.js.map +1 -1
- package/package.json +30 -7
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,29 +437,120 @@ 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.',
|
|
443
|
+
default: 'basic',
|
|
23
444
|
example: 'pro',
|
|
24
|
-
enum: [
|
|
445
|
+
enum: [
|
|
446
|
+
'basic',
|
|
447
|
+
'pro'
|
|
448
|
+
]
|
|
25
449
|
},
|
|
26
450
|
version_channel: {
|
|
27
451
|
type: 'string',
|
|
28
452
|
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
453
|
description: 'Version of the kubernetes cluster.',
|
|
30
454
|
default: '1.x.x-cfke.x',
|
|
31
|
-
example: '1.
|
|
455
|
+
example: '1.x.x-cfke.x'
|
|
456
|
+
},
|
|
457
|
+
release_channel: {
|
|
458
|
+
type: 'string',
|
|
459
|
+
description: 'Release channel for the cluster\'s control plane.',
|
|
460
|
+
default: 'rapid',
|
|
461
|
+
example: 'rapid',
|
|
462
|
+
enum: [
|
|
463
|
+
'rapid',
|
|
464
|
+
'stable',
|
|
465
|
+
'extended'
|
|
466
|
+
]
|
|
467
|
+
},
|
|
468
|
+
features: {
|
|
469
|
+
type: 'object',
|
|
470
|
+
properties: {
|
|
471
|
+
gpu_sharing_strategy: {
|
|
472
|
+
type: 'string',
|
|
473
|
+
description: 'GPU sharing strategy.',
|
|
474
|
+
default: 'none',
|
|
475
|
+
example: 'none',
|
|
476
|
+
enum: [
|
|
477
|
+
'none',
|
|
478
|
+
'mps',
|
|
479
|
+
'time_slicing'
|
|
480
|
+
]
|
|
481
|
+
},
|
|
482
|
+
gpu_max_shared_clients_per_gpu: {
|
|
483
|
+
type: 'integer',
|
|
484
|
+
minimum: 2,
|
|
485
|
+
maximum: 48,
|
|
486
|
+
description: 'Maximum number of pods that may share a single GPU.',
|
|
487
|
+
default: 4,
|
|
488
|
+
example: 10
|
|
489
|
+
},
|
|
490
|
+
cilium_socket_lb_host_namespace_only: {
|
|
491
|
+
type: 'boolean',
|
|
492
|
+
description: 'Restrict Cilium socket load-balancing to the host namespace. Required for the Tailscale operator and Istio.',
|
|
493
|
+
example: false
|
|
494
|
+
}
|
|
495
|
+
},
|
|
496
|
+
additionalProperties: false,
|
|
497
|
+
description: 'Cluster feature toggles.',
|
|
498
|
+
default: {
|
|
499
|
+
gpu_sharing_strategy: 'none',
|
|
500
|
+
gpu_max_shared_clients_per_gpu: 4,
|
|
501
|
+
cilium_socket_lb_host_namespace_only: false
|
|
502
|
+
}
|
|
503
|
+
},
|
|
504
|
+
region: {
|
|
505
|
+
type: 'string',
|
|
506
|
+
description: 'Cloudfleet control plane region. This field can not be updated after creation.',
|
|
507
|
+
example: 'europe-central-1a'
|
|
508
|
+
},
|
|
509
|
+
networking: {
|
|
510
|
+
type: 'object',
|
|
511
|
+
properties: {
|
|
512
|
+
pod_cidr: {
|
|
513
|
+
type: 'string',
|
|
514
|
+
description: 'CIDR block for pod IPs.',
|
|
515
|
+
default: '10.244.0.0/16'
|
|
516
|
+
},
|
|
517
|
+
service_cidr: {
|
|
518
|
+
type: 'string',
|
|
519
|
+
description: 'CIDR block for service IPs.',
|
|
520
|
+
default: '10.96.0.0/12'
|
|
521
|
+
},
|
|
522
|
+
dual_stack: {
|
|
523
|
+
type: 'boolean',
|
|
524
|
+
description: 'Enable IPv4+IPv6 dual-stack networking.'
|
|
525
|
+
},
|
|
526
|
+
pod_cidr_v6: {
|
|
527
|
+
type: 'string',
|
|
528
|
+
description: 'IPv6 pod CIDR. Requires dual_stack.',
|
|
529
|
+
default: '2001:db8:1:2::/48'
|
|
530
|
+
},
|
|
531
|
+
service_cidr_v6: {
|
|
532
|
+
type: 'string',
|
|
533
|
+
description: 'IPv6 service CIDR. Requires dual_stack.',
|
|
534
|
+
default: '2001:db8:1:1::/112'
|
|
535
|
+
}
|
|
536
|
+
},
|
|
537
|
+
additionalProperties: false,
|
|
538
|
+
description: 'Cluster networking configuration. Immutable after creation.',
|
|
539
|
+
default: {
|
|
540
|
+
pod_cidr: '10.244.0.0/16',
|
|
541
|
+
service_cidr: '10.96.0.0/12',
|
|
542
|
+
dual_stack: false,
|
|
543
|
+
pod_cidr_v6: '2001:db8:1:2::/48',
|
|
544
|
+
service_cidr_v6: '2001:db8:1:1::/112'
|
|
545
|
+
}
|
|
32
546
|
}
|
|
33
547
|
},
|
|
34
|
-
required: [
|
|
35
|
-
|
|
548
|
+
required: [
|
|
549
|
+
'name',
|
|
550
|
+
'region'
|
|
551
|
+
],
|
|
552
|
+
additionalProperties: false,
|
|
553
|
+
description: 'Mutable cluster configuration. Applied as a full overwrite: any omitted field is reset to its default rather than left unchanged.'
|
|
36
554
|
};
|
|
37
555
|
export const ClusterJoinInformationSchema = {
|
|
38
556
|
type: 'object',
|
|
@@ -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,183 @@ 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.',
|
|
676
|
+
default: 'basic',
|
|
133
677
|
example: 'pro',
|
|
134
|
-
enum: [
|
|
678
|
+
enum: [
|
|
679
|
+
'basic',
|
|
680
|
+
'pro'
|
|
681
|
+
]
|
|
135
682
|
},
|
|
136
683
|
version_channel: {
|
|
137
684
|
type: 'string',
|
|
138
685
|
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
686
|
description: 'Version of the kubernetes cluster.',
|
|
140
687
|
default: '1.x.x-cfke.x',
|
|
141
|
-
example: '1.
|
|
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'
|
|
688
|
+
example: '1.x.x-cfke.x'
|
|
148
689
|
},
|
|
149
|
-
|
|
690
|
+
release_channel: {
|
|
150
691
|
type: 'string',
|
|
151
|
-
description: '
|
|
152
|
-
|
|
153
|
-
|
|
692
|
+
description: 'Release channel for the cluster\'s control plane.',
|
|
693
|
+
default: 'rapid',
|
|
694
|
+
example: 'rapid',
|
|
695
|
+
enum: [
|
|
696
|
+
'rapid',
|
|
697
|
+
'stable',
|
|
698
|
+
'extended'
|
|
699
|
+
]
|
|
154
700
|
},
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
701
|
+
features: {
|
|
702
|
+
type: 'object',
|
|
703
|
+
properties: {
|
|
704
|
+
gpu_sharing_strategy: {
|
|
158
705
|
type: 'string',
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
example: '
|
|
706
|
+
description: 'GPU sharing strategy.',
|
|
707
|
+
default: 'none',
|
|
708
|
+
example: 'none',
|
|
709
|
+
enum: [
|
|
710
|
+
'none',
|
|
711
|
+
'mps',
|
|
712
|
+
'time_slicing'
|
|
713
|
+
]
|
|
162
714
|
},
|
|
163
|
-
{
|
|
164
|
-
type: '
|
|
165
|
-
|
|
715
|
+
gpu_max_shared_clients_per_gpu: {
|
|
716
|
+
type: 'integer',
|
|
717
|
+
minimum: 2,
|
|
718
|
+
maximum: 48,
|
|
719
|
+
description: 'Maximum number of pods that may share a single GPU.',
|
|
720
|
+
default: 4,
|
|
721
|
+
example: 10
|
|
722
|
+
},
|
|
723
|
+
cilium_socket_lb_host_namespace_only: {
|
|
724
|
+
type: 'boolean',
|
|
725
|
+
description: 'Restrict Cilium socket load-balancing to the host namespace. Required for the Tailscale operator and Istio.',
|
|
726
|
+
example: false
|
|
727
|
+
}
|
|
728
|
+
},
|
|
729
|
+
required: [
|
|
730
|
+
'gpu_sharing_strategy',
|
|
731
|
+
'gpu_max_shared_clients_per_gpu',
|
|
732
|
+
'cilium_socket_lb_host_namespace_only'
|
|
733
|
+
],
|
|
734
|
+
additionalProperties: false,
|
|
735
|
+
description: 'Cluster feature toggles.',
|
|
736
|
+
default: {
|
|
737
|
+
gpu_sharing_strategy: 'none',
|
|
738
|
+
gpu_max_shared_clients_per_gpu: 4,
|
|
739
|
+
cilium_socket_lb_host_namespace_only: false
|
|
740
|
+
}
|
|
741
|
+
},
|
|
742
|
+
region: {
|
|
743
|
+
type: 'string',
|
|
744
|
+
description: 'Cloudfleet control plane region. This field can not be updated after creation.',
|
|
745
|
+
example: 'europe-central-1a'
|
|
746
|
+
},
|
|
747
|
+
networking: {
|
|
748
|
+
type: 'object',
|
|
749
|
+
properties: {
|
|
750
|
+
pod_cidr: {
|
|
751
|
+
type: 'string',
|
|
752
|
+
description: 'CIDR block for pod IPs.',
|
|
753
|
+
default: '10.244.0.0/16'
|
|
754
|
+
},
|
|
755
|
+
service_cidr: {
|
|
756
|
+
type: 'string',
|
|
757
|
+
description: 'CIDR block for service IPs.',
|
|
758
|
+
default: '10.96.0.0/12'
|
|
759
|
+
},
|
|
760
|
+
dual_stack: {
|
|
761
|
+
type: 'boolean',
|
|
762
|
+
description: 'Enable IPv4+IPv6 dual-stack networking.'
|
|
763
|
+
},
|
|
764
|
+
pod_cidr_v6: {
|
|
765
|
+
type: 'string',
|
|
766
|
+
description: 'IPv6 pod CIDR. Requires dual_stack.',
|
|
767
|
+
default: '2001:db8:1:2::/48'
|
|
768
|
+
},
|
|
769
|
+
service_cidr_v6: {
|
|
770
|
+
type: 'string',
|
|
771
|
+
description: 'IPv6 service CIDR. Requires dual_stack.',
|
|
772
|
+
default: '2001:db8:1:1::/112'
|
|
773
|
+
}
|
|
774
|
+
},
|
|
775
|
+
required: [
|
|
776
|
+
'pod_cidr',
|
|
777
|
+
'service_cidr',
|
|
778
|
+
'dual_stack',
|
|
779
|
+
'pod_cidr_v6',
|
|
780
|
+
'service_cidr_v6'
|
|
781
|
+
],
|
|
782
|
+
additionalProperties: false,
|
|
783
|
+
description: 'Cluster networking configuration. Immutable after creation.',
|
|
784
|
+
default: {
|
|
785
|
+
pod_cidr: '10.244.0.0/16',
|
|
786
|
+
service_cidr: '10.96.0.0/12',
|
|
787
|
+
dual_stack: false,
|
|
788
|
+
pod_cidr_v6: '2001:db8:1:2::/48',
|
|
789
|
+
service_cidr_v6: '2001:db8:1:1::/112'
|
|
790
|
+
}
|
|
791
|
+
},
|
|
792
|
+
id: {
|
|
793
|
+
type: 'string',
|
|
794
|
+
format: 'uuid',
|
|
795
|
+
description: 'Unique identifier of the kubernetes cluster. UUID v4 string in canonical form',
|
|
796
|
+
example: '6b5439b1-923a-4f2b-a371-d554e5ea23fa'
|
|
797
|
+
},
|
|
798
|
+
status: {
|
|
799
|
+
type: 'string',
|
|
800
|
+
description: 'Status of the cluster.',
|
|
801
|
+
example: 'deployed',
|
|
802
|
+
enum: [
|
|
803
|
+
'creating',
|
|
804
|
+
'deployed',
|
|
805
|
+
'updating',
|
|
806
|
+
'disabled'
|
|
807
|
+
]
|
|
808
|
+
},
|
|
809
|
+
endpoint: {
|
|
810
|
+
anyOf: [
|
|
811
|
+
{
|
|
812
|
+
type: 'string',
|
|
813
|
+
format: 'uri',
|
|
814
|
+
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.',
|
|
815
|
+
example: 'https://2ae6557c-c61f-49c6-b4c1-a65473470a03.staging.cfke.io'
|
|
816
|
+
},
|
|
817
|
+
{
|
|
818
|
+
type: 'string',
|
|
819
|
+
enum: [
|
|
820
|
+
''
|
|
821
|
+
]
|
|
822
|
+
}
|
|
823
|
+
]
|
|
824
|
+
},
|
|
825
|
+
endpoint_public: {
|
|
826
|
+
anyOf: [
|
|
827
|
+
{
|
|
828
|
+
type: 'string',
|
|
829
|
+
format: 'uri',
|
|
830
|
+
description: 'Deprecated alias of `endpoint`; retained for backward compatibility.',
|
|
831
|
+
example: 'https://2ae6557c-c61f-49c6-b4c1-a65473470a03.staging.cfke.io'
|
|
832
|
+
},
|
|
833
|
+
{
|
|
834
|
+
type: 'string',
|
|
835
|
+
enum: [
|
|
836
|
+
''
|
|
837
|
+
]
|
|
166
838
|
}
|
|
167
839
|
]
|
|
168
840
|
},
|
|
169
841
|
certificate_ca: {
|
|
170
842
|
type: 'string',
|
|
171
843
|
description: 'Certificate authority data for the kubernetes cluster. This is the root certificate authority for the cluster.',
|
|
172
|
-
example:
|
|
173
|
-
MIIC0DCCAbigAwIBAgI...`
|
|
844
|
+
example: '-----BEGIN CERTIFICATE-----\nMIIC0DCCAbigAwIBAgI...'
|
|
174
845
|
},
|
|
175
846
|
version_current: {
|
|
176
847
|
type: 'string',
|
|
177
848
|
description: 'Current version of the cluster.',
|
|
178
|
-
example: '1.
|
|
849
|
+
example: '1.33.7-cfke.264'
|
|
179
850
|
},
|
|
180
851
|
created_at: {
|
|
181
852
|
type: 'string',
|
|
@@ -193,8 +864,20 @@ MIIC0DCCAbigAwIBAgI...`
|
|
|
193
864
|
example: true
|
|
194
865
|
}
|
|
195
866
|
},
|
|
196
|
-
required: [
|
|
197
|
-
|
|
867
|
+
required: [
|
|
868
|
+
'name',
|
|
869
|
+
'tier',
|
|
870
|
+
'version_channel',
|
|
871
|
+
'release_channel',
|
|
872
|
+
'features',
|
|
873
|
+
'region',
|
|
874
|
+
'networking',
|
|
875
|
+
'id',
|
|
876
|
+
'status',
|
|
877
|
+
'ready'
|
|
878
|
+
],
|
|
879
|
+
additionalProperties: false,
|
|
880
|
+
description: 'Mutable cluster configuration. Applied as a full overwrite: any omitted field is reset to its default rather than left unchanged.'
|
|
198
881
|
};
|
|
199
882
|
export const ClusterUpdateInputSchema = {
|
|
200
883
|
type: 'object',
|
|
@@ -207,14 +890,76 @@ export const ClusterUpdateInputSchema = {
|
|
|
207
890
|
description: 'Name of the cluster.',
|
|
208
891
|
example: 'production-cluster'
|
|
209
892
|
},
|
|
893
|
+
tier: {
|
|
894
|
+
type: 'string',
|
|
895
|
+
description: 'Tier of the cluster.',
|
|
896
|
+
default: 'basic',
|
|
897
|
+
example: 'pro',
|
|
898
|
+
enum: [
|
|
899
|
+
'basic',
|
|
900
|
+
'pro'
|
|
901
|
+
]
|
|
902
|
+
},
|
|
210
903
|
version_channel: {
|
|
211
904
|
type: 'string',
|
|
212
905
|
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
906
|
description: 'Version of the kubernetes cluster.',
|
|
214
|
-
|
|
907
|
+
default: '1.x.x-cfke.x',
|
|
908
|
+
example: '1.x.x-cfke.x'
|
|
909
|
+
},
|
|
910
|
+
release_channel: {
|
|
911
|
+
type: 'string',
|
|
912
|
+
description: 'Release channel for the cluster\'s control plane.',
|
|
913
|
+
default: 'rapid',
|
|
914
|
+
example: 'rapid',
|
|
915
|
+
enum: [
|
|
916
|
+
'rapid',
|
|
917
|
+
'stable',
|
|
918
|
+
'extended'
|
|
919
|
+
]
|
|
920
|
+
},
|
|
921
|
+
features: {
|
|
922
|
+
type: 'object',
|
|
923
|
+
properties: {
|
|
924
|
+
gpu_sharing_strategy: {
|
|
925
|
+
type: 'string',
|
|
926
|
+
description: 'GPU sharing strategy.',
|
|
927
|
+
default: 'none',
|
|
928
|
+
example: 'none',
|
|
929
|
+
enum: [
|
|
930
|
+
'none',
|
|
931
|
+
'mps',
|
|
932
|
+
'time_slicing'
|
|
933
|
+
]
|
|
934
|
+
},
|
|
935
|
+
gpu_max_shared_clients_per_gpu: {
|
|
936
|
+
type: 'integer',
|
|
937
|
+
minimum: 2,
|
|
938
|
+
maximum: 48,
|
|
939
|
+
description: 'Maximum number of pods that may share a single GPU.',
|
|
940
|
+
default: 4,
|
|
941
|
+
example: 10
|
|
942
|
+
},
|
|
943
|
+
cilium_socket_lb_host_namespace_only: {
|
|
944
|
+
type: 'boolean',
|
|
945
|
+
description: 'Restrict Cilium socket load-balancing to the host namespace. Required for the Tailscale operator and Istio.',
|
|
946
|
+
example: false
|
|
947
|
+
}
|
|
948
|
+
},
|
|
949
|
+
additionalProperties: false,
|
|
950
|
+
description: 'Cluster feature toggles.',
|
|
951
|
+
default: {
|
|
952
|
+
gpu_sharing_strategy: 'none',
|
|
953
|
+
gpu_max_shared_clients_per_gpu: 4,
|
|
954
|
+
cilium_socket_lb_host_namespace_only: false
|
|
955
|
+
}
|
|
215
956
|
}
|
|
216
957
|
},
|
|
217
|
-
|
|
958
|
+
required: [
|
|
959
|
+
'name'
|
|
960
|
+
],
|
|
961
|
+
additionalProperties: false,
|
|
962
|
+
description: 'Mutable cluster configuration. Applied as a full overwrite: any omitted field is reset to its default rather than left unchanged.'
|
|
218
963
|
};
|
|
219
964
|
export const FleetCreateInputSchema = {
|
|
220
965
|
type: 'object',
|
|
@@ -223,13 +968,12 @@ export const FleetCreateInputSchema = {
|
|
|
223
968
|
type: 'object',
|
|
224
969
|
properties: {
|
|
225
970
|
cpu: {
|
|
226
|
-
type: '
|
|
227
|
-
format: 'float',
|
|
971
|
+
type: 'integer',
|
|
228
972
|
minimum: 0,
|
|
229
|
-
|
|
973
|
+
maximum: 100000,
|
|
974
|
+
description: 'CPU limit in cores. Maximum 100,000.'
|
|
230
975
|
}
|
|
231
976
|
},
|
|
232
|
-
required: ['cpu'],
|
|
233
977
|
additionalProperties: false,
|
|
234
978
|
description: 'Limits define a set of bounds for provisioning capacity.'
|
|
235
979
|
},
|
|
@@ -237,62 +981,358 @@ export const FleetCreateInputSchema = {
|
|
|
237
981
|
type: 'object',
|
|
238
982
|
properties: {
|
|
239
983
|
enabled: {
|
|
240
|
-
type: 'boolean'
|
|
241
|
-
default: true
|
|
984
|
+
type: 'boolean'
|
|
242
985
|
},
|
|
243
986
|
project: {
|
|
244
987
|
type: 'string',
|
|
245
|
-
|
|
988
|
+
pattern: '^[a-z][a-z0-9-]{4,28}[a-z0-9]$',
|
|
989
|
+
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.',
|
|
990
|
+
example: 'my-cloudfleet-project'
|
|
246
991
|
}
|
|
247
992
|
},
|
|
248
|
-
required: [
|
|
993
|
+
required: [
|
|
994
|
+
'enabled'
|
|
995
|
+
],
|
|
249
996
|
additionalProperties: false
|
|
250
997
|
},
|
|
251
998
|
hetzner: {
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
enabled: {
|
|
257
|
-
type: 'boolean',
|
|
258
|
-
default: true
|
|
259
|
-
},
|
|
260
|
-
apiKey: {
|
|
261
|
-
type: 'string'
|
|
262
|
-
}
|
|
263
|
-
},
|
|
264
|
-
additionalProperties: false
|
|
999
|
+
type: 'object',
|
|
1000
|
+
properties: {
|
|
1001
|
+
enabled: {
|
|
1002
|
+
type: 'boolean'
|
|
265
1003
|
},
|
|
266
|
-
{
|
|
267
|
-
type: '
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
enabled: {
|
|
273
|
-
type: 'boolean',
|
|
274
|
-
default: true
|
|
275
|
-
}
|
|
276
|
-
},
|
|
277
|
-
additionalProperties: false
|
|
1004
|
+
apiKey: {
|
|
1005
|
+
type: 'string',
|
|
1006
|
+
maxLength: 64,
|
|
1007
|
+
minLength: 64,
|
|
1008
|
+
pattern: '^[A-Za-z0-9]+$',
|
|
1009
|
+
description: 'Hetzner Cloud API token with read / write access (64 alphanumeric characters). Omit this field to keep the existing value.'
|
|
278
1010
|
}
|
|
279
|
-
|
|
1011
|
+
},
|
|
1012
|
+
required: [
|
|
1013
|
+
'enabled'
|
|
1014
|
+
],
|
|
1015
|
+
additionalProperties: false
|
|
280
1016
|
},
|
|
281
1017
|
aws: {
|
|
282
1018
|
type: 'object',
|
|
283
1019
|
properties: {
|
|
284
1020
|
enabled: {
|
|
285
|
-
type: 'boolean'
|
|
286
|
-
default: true
|
|
1021
|
+
type: 'boolean'
|
|
287
1022
|
},
|
|
288
1023
|
controllerRoleArn: {
|
|
289
1024
|
type: 'string',
|
|
290
|
-
|
|
1025
|
+
pattern: '^arn:aws(-[a-z]+)*:iam::\\d{12}:role\\/[\\w+=,.@/-]+$',
|
|
1026
|
+
description: 'AWS IAM role ARN that Karpenter uses to manage resources. Omit when AWS is disabled.',
|
|
1027
|
+
example: 'arn:aws:iam::123456789012:role/Cloudfleet'
|
|
291
1028
|
}
|
|
292
1029
|
},
|
|
293
|
-
required: [
|
|
1030
|
+
required: [
|
|
1031
|
+
'enabled'
|
|
1032
|
+
],
|
|
294
1033
|
additionalProperties: false
|
|
295
1034
|
},
|
|
1035
|
+
constraints: {
|
|
1036
|
+
type: 'object',
|
|
1037
|
+
properties: {
|
|
1038
|
+
'karpenter.sh/capacity-type': {
|
|
1039
|
+
type: 'array',
|
|
1040
|
+
items: {
|
|
1041
|
+
type: 'string',
|
|
1042
|
+
enum: [
|
|
1043
|
+
'on-demand',
|
|
1044
|
+
'spot'
|
|
1045
|
+
]
|
|
1046
|
+
},
|
|
1047
|
+
minItems: 1,
|
|
1048
|
+
description: 'Allowed values for `karpenter.sh/capacity-type`.',
|
|
1049
|
+
default: [
|
|
1050
|
+
'on-demand',
|
|
1051
|
+
'spot'
|
|
1052
|
+
]
|
|
1053
|
+
},
|
|
1054
|
+
'kubernetes.io/arch': {
|
|
1055
|
+
type: 'array',
|
|
1056
|
+
items: {
|
|
1057
|
+
type: 'string',
|
|
1058
|
+
enum: [
|
|
1059
|
+
'amd64',
|
|
1060
|
+
'arm64'
|
|
1061
|
+
]
|
|
1062
|
+
},
|
|
1063
|
+
minItems: 1,
|
|
1064
|
+
description: 'Allowed values for `kubernetes.io/arch`.',
|
|
1065
|
+
default: [
|
|
1066
|
+
'amd64'
|
|
1067
|
+
]
|
|
1068
|
+
},
|
|
1069
|
+
'cfke.io/instance-family': {
|
|
1070
|
+
type: 'array',
|
|
1071
|
+
items: {
|
|
1072
|
+
type: 'string',
|
|
1073
|
+
enum: [
|
|
1074
|
+
'a1',
|
|
1075
|
+
'a2',
|
|
1076
|
+
'a3',
|
|
1077
|
+
'a4',
|
|
1078
|
+
'c1',
|
|
1079
|
+
'c2',
|
|
1080
|
+
'c2d',
|
|
1081
|
+
'c3',
|
|
1082
|
+
'c3d',
|
|
1083
|
+
'c4',
|
|
1084
|
+
'c4a',
|
|
1085
|
+
'c4d',
|
|
1086
|
+
'c5',
|
|
1087
|
+
'c5a',
|
|
1088
|
+
'c5ad',
|
|
1089
|
+
'c5d',
|
|
1090
|
+
'c5n',
|
|
1091
|
+
'c6a',
|
|
1092
|
+
'c6g',
|
|
1093
|
+
'c6gd',
|
|
1094
|
+
'c6gn',
|
|
1095
|
+
'c6i',
|
|
1096
|
+
'c6id',
|
|
1097
|
+
'c6in',
|
|
1098
|
+
'c7a',
|
|
1099
|
+
'c7g',
|
|
1100
|
+
'c7gd',
|
|
1101
|
+
'c7gn',
|
|
1102
|
+
'c7i',
|
|
1103
|
+
'c7i-flex',
|
|
1104
|
+
'c8g',
|
|
1105
|
+
'c8gd',
|
|
1106
|
+
'cax',
|
|
1107
|
+
'ccx',
|
|
1108
|
+
'cpx',
|
|
1109
|
+
'cx',
|
|
1110
|
+
'd2',
|
|
1111
|
+
'd3',
|
|
1112
|
+
'd3en',
|
|
1113
|
+
'dl1',
|
|
1114
|
+
'dl2q',
|
|
1115
|
+
'e2',
|
|
1116
|
+
'f1',
|
|
1117
|
+
'f2',
|
|
1118
|
+
'g1',
|
|
1119
|
+
'g2',
|
|
1120
|
+
'g4ad',
|
|
1121
|
+
'g4dn',
|
|
1122
|
+
'g5',
|
|
1123
|
+
'g5g',
|
|
1124
|
+
'g6',
|
|
1125
|
+
'g6e',
|
|
1126
|
+
'gr6',
|
|
1127
|
+
'h1',
|
|
1128
|
+
'h3',
|
|
1129
|
+
'hpc6a',
|
|
1130
|
+
'hpc6id',
|
|
1131
|
+
'hpc7a',
|
|
1132
|
+
'hpc7g',
|
|
1133
|
+
'i2',
|
|
1134
|
+
'i3',
|
|
1135
|
+
'i3en',
|
|
1136
|
+
'i4g',
|
|
1137
|
+
'i4i',
|
|
1138
|
+
'i7i',
|
|
1139
|
+
'i7ie',
|
|
1140
|
+
'i8g',
|
|
1141
|
+
'im4gn',
|
|
1142
|
+
'inf1',
|
|
1143
|
+
'inf2',
|
|
1144
|
+
'is4gen',
|
|
1145
|
+
'm1',
|
|
1146
|
+
'm2',
|
|
1147
|
+
'm3',
|
|
1148
|
+
'm4',
|
|
1149
|
+
'm5',
|
|
1150
|
+
'm5a',
|
|
1151
|
+
'm5ad',
|
|
1152
|
+
'm5d',
|
|
1153
|
+
'm5dn',
|
|
1154
|
+
'm5n',
|
|
1155
|
+
'm5zn',
|
|
1156
|
+
'm6a',
|
|
1157
|
+
'm6g',
|
|
1158
|
+
'm6gd',
|
|
1159
|
+
'm6i',
|
|
1160
|
+
'm6id',
|
|
1161
|
+
'm6idn',
|
|
1162
|
+
'm6in',
|
|
1163
|
+
'm7a',
|
|
1164
|
+
'm7g',
|
|
1165
|
+
'm7gd',
|
|
1166
|
+
'm7i',
|
|
1167
|
+
'm7i-flex',
|
|
1168
|
+
'm8g',
|
|
1169
|
+
'm8gd',
|
|
1170
|
+
'n1',
|
|
1171
|
+
'n2',
|
|
1172
|
+
'n2d',
|
|
1173
|
+
'n4',
|
|
1174
|
+
'p3',
|
|
1175
|
+
'p3dn',
|
|
1176
|
+
'p4d',
|
|
1177
|
+
'p4de',
|
|
1178
|
+
'p5',
|
|
1179
|
+
'p5e',
|
|
1180
|
+
'p5en',
|
|
1181
|
+
'p6-b200',
|
|
1182
|
+
'r3',
|
|
1183
|
+
'r4',
|
|
1184
|
+
'r5',
|
|
1185
|
+
'r5a',
|
|
1186
|
+
'r5ad',
|
|
1187
|
+
'r5b',
|
|
1188
|
+
'r5d',
|
|
1189
|
+
'r5dn',
|
|
1190
|
+
'r5n',
|
|
1191
|
+
'r6a',
|
|
1192
|
+
'r6g',
|
|
1193
|
+
'r6gd',
|
|
1194
|
+
'r6i',
|
|
1195
|
+
'r6id',
|
|
1196
|
+
'r6idn',
|
|
1197
|
+
'r6in',
|
|
1198
|
+
'r7a',
|
|
1199
|
+
'r7g',
|
|
1200
|
+
'r7gd',
|
|
1201
|
+
'r7i',
|
|
1202
|
+
'r7iz',
|
|
1203
|
+
'r8g',
|
|
1204
|
+
'r8gd',
|
|
1205
|
+
't2',
|
|
1206
|
+
't2a',
|
|
1207
|
+
't2d',
|
|
1208
|
+
't3',
|
|
1209
|
+
't3a',
|
|
1210
|
+
't4g',
|
|
1211
|
+
'trn1',
|
|
1212
|
+
'trn1n',
|
|
1213
|
+
'u-3tb1',
|
|
1214
|
+
'u-6tb1',
|
|
1215
|
+
'u7i-12tb',
|
|
1216
|
+
'u7i-6tb',
|
|
1217
|
+
'u7i-8tb',
|
|
1218
|
+
'u7in-16tb',
|
|
1219
|
+
'u7in-24tb',
|
|
1220
|
+
'u7in-32tb',
|
|
1221
|
+
'vt1',
|
|
1222
|
+
'x1',
|
|
1223
|
+
'x1e',
|
|
1224
|
+
'x2gd',
|
|
1225
|
+
'x2idn',
|
|
1226
|
+
'x2iedn',
|
|
1227
|
+
'x2iezn',
|
|
1228
|
+
'x4',
|
|
1229
|
+
'x8g',
|
|
1230
|
+
'z1d',
|
|
1231
|
+
'z3'
|
|
1232
|
+
]
|
|
1233
|
+
},
|
|
1234
|
+
description: 'Allowed values for `cfke.io/instance-family`.',
|
|
1235
|
+
default: []
|
|
1236
|
+
},
|
|
1237
|
+
'topology.kubernetes.io/region': {
|
|
1238
|
+
type: 'array',
|
|
1239
|
+
items: {
|
|
1240
|
+
type: 'string',
|
|
1241
|
+
enum: [
|
|
1242
|
+
'africa-south1',
|
|
1243
|
+
'ap-northeast-1',
|
|
1244
|
+
'ap-northeast-2',
|
|
1245
|
+
'ap-northeast-3',
|
|
1246
|
+
'ap-south-1',
|
|
1247
|
+
'ap-southeast-1',
|
|
1248
|
+
'ap-southeast-2',
|
|
1249
|
+
'ash',
|
|
1250
|
+
'asia-east1',
|
|
1251
|
+
'asia-east2',
|
|
1252
|
+
'asia-northeast1',
|
|
1253
|
+
'asia-northeast2',
|
|
1254
|
+
'asia-northeast3',
|
|
1255
|
+
'asia-south1',
|
|
1256
|
+
'asia-south2',
|
|
1257
|
+
'asia-southeast1',
|
|
1258
|
+
'asia-southeast2',
|
|
1259
|
+
'australia-southeast1',
|
|
1260
|
+
'australia-southeast2',
|
|
1261
|
+
'ca-central-1',
|
|
1262
|
+
'eu-central-1',
|
|
1263
|
+
'eu-central-2',
|
|
1264
|
+
'eu-north-1',
|
|
1265
|
+
'eu-west-1',
|
|
1266
|
+
'eu-west-2',
|
|
1267
|
+
'eu-west-3',
|
|
1268
|
+
'europe-central2',
|
|
1269
|
+
'europe-north1',
|
|
1270
|
+
'europe-southwest1',
|
|
1271
|
+
'europe-west1',
|
|
1272
|
+
'europe-west10',
|
|
1273
|
+
'europe-west12',
|
|
1274
|
+
'europe-west2',
|
|
1275
|
+
'europe-west3',
|
|
1276
|
+
'europe-west4',
|
|
1277
|
+
'europe-west6',
|
|
1278
|
+
'europe-west8',
|
|
1279
|
+
'europe-west9',
|
|
1280
|
+
'fsn1',
|
|
1281
|
+
'hel1',
|
|
1282
|
+
'hil',
|
|
1283
|
+
'me-central1',
|
|
1284
|
+
'me-central2',
|
|
1285
|
+
'me-west1',
|
|
1286
|
+
'nbg1',
|
|
1287
|
+
'northamerica-northeast1',
|
|
1288
|
+
'northamerica-northeast2',
|
|
1289
|
+
'sa-east-1',
|
|
1290
|
+
'sin',
|
|
1291
|
+
'southamerica-east1',
|
|
1292
|
+
'southamerica-west1',
|
|
1293
|
+
'us-central1',
|
|
1294
|
+
'us-east-1',
|
|
1295
|
+
'us-east-2',
|
|
1296
|
+
'us-east1',
|
|
1297
|
+
'us-east4',
|
|
1298
|
+
'us-east5',
|
|
1299
|
+
'us-south1',
|
|
1300
|
+
'us-west-1',
|
|
1301
|
+
'us-west-2',
|
|
1302
|
+
'us-west1',
|
|
1303
|
+
'us-west2',
|
|
1304
|
+
'us-west3',
|
|
1305
|
+
'us-west4'
|
|
1306
|
+
]
|
|
1307
|
+
},
|
|
1308
|
+
description: 'Allowed values for `topology.kubernetes.io/region`.',
|
|
1309
|
+
default: []
|
|
1310
|
+
}
|
|
1311
|
+
},
|
|
1312
|
+
additionalProperties: false,
|
|
1313
|
+
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.',
|
|
1314
|
+
default: {
|
|
1315
|
+
'karpenter.sh/capacity-type': [
|
|
1316
|
+
'on-demand',
|
|
1317
|
+
'spot'
|
|
1318
|
+
],
|
|
1319
|
+
'kubernetes.io/arch': [
|
|
1320
|
+
'amd64'
|
|
1321
|
+
],
|
|
1322
|
+
'cfke.io/instance-family': [],
|
|
1323
|
+
'topology.kubernetes.io/region': []
|
|
1324
|
+
}
|
|
1325
|
+
},
|
|
1326
|
+
scalingProfile: {
|
|
1327
|
+
type: 'string',
|
|
1328
|
+
description: 'Controls scale-up / scale-down responsiveness. `aggressive` prioritizes cost-optimization. `conservative` prioritizes stability of the fleet. Full-overwrite: omit to reset to the default (`conservative`).',
|
|
1329
|
+
default: 'conservative',
|
|
1330
|
+
example: 'conservative',
|
|
1331
|
+
enum: [
|
|
1332
|
+
'aggressive',
|
|
1333
|
+
'conservative'
|
|
1334
|
+
]
|
|
1335
|
+
},
|
|
296
1336
|
id: {
|
|
297
1337
|
type: 'string',
|
|
298
1338
|
maxLength: 63,
|
|
@@ -300,15 +1340,13 @@ export const FleetCreateInputSchema = {
|
|
|
300
1340
|
pattern: '^[a-z0-9]([-a-z0-9]*[a-z0-9])?$',
|
|
301
1341
|
description: 'Unique identifier of the kubernetes fleet.',
|
|
302
1342
|
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
1343
|
}
|
|
309
1344
|
},
|
|
310
|
-
required: [
|
|
311
|
-
|
|
1345
|
+
required: [
|
|
1346
|
+
'id'
|
|
1347
|
+
],
|
|
1348
|
+
additionalProperties: false,
|
|
1349
|
+
description: 'Mutable fleet configuration. Applied as a full overwrite: any omitted field is reset to its default rather than left unchanged.'
|
|
312
1350
|
};
|
|
313
1351
|
export const FleetSchema = {
|
|
314
1352
|
type: 'object',
|
|
@@ -317,13 +1355,12 @@ export const FleetSchema = {
|
|
|
317
1355
|
type: 'object',
|
|
318
1356
|
properties: {
|
|
319
1357
|
cpu: {
|
|
320
|
-
type: '
|
|
321
|
-
format: 'float',
|
|
1358
|
+
type: 'integer',
|
|
322
1359
|
minimum: 0,
|
|
323
|
-
|
|
1360
|
+
maximum: 100000,
|
|
1361
|
+
description: 'CPU limit in cores. Maximum 100,000.'
|
|
324
1362
|
}
|
|
325
1363
|
},
|
|
326
|
-
required: ['cpu'],
|
|
327
1364
|
additionalProperties: false,
|
|
328
1365
|
description: 'Limits define a set of bounds for provisioning capacity.'
|
|
329
1366
|
},
|
|
@@ -331,62 +1368,360 @@ export const FleetSchema = {
|
|
|
331
1368
|
type: 'object',
|
|
332
1369
|
properties: {
|
|
333
1370
|
enabled: {
|
|
334
|
-
type: 'boolean'
|
|
335
|
-
default: true
|
|
1371
|
+
type: 'boolean'
|
|
336
1372
|
},
|
|
337
1373
|
project: {
|
|
338
1374
|
type: 'string',
|
|
339
|
-
|
|
1375
|
+
pattern: '^[a-z][a-z0-9-]{4,28}[a-z0-9]$',
|
|
1376
|
+
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.',
|
|
1377
|
+
example: 'my-cloudfleet-project'
|
|
340
1378
|
}
|
|
341
1379
|
},
|
|
342
|
-
required: [
|
|
1380
|
+
required: [
|
|
1381
|
+
'enabled'
|
|
1382
|
+
],
|
|
343
1383
|
additionalProperties: false
|
|
344
1384
|
},
|
|
345
1385
|
hetzner: {
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
enabled: {
|
|
351
|
-
type: 'boolean',
|
|
352
|
-
default: true
|
|
353
|
-
},
|
|
354
|
-
apiKey: {
|
|
355
|
-
type: 'string'
|
|
356
|
-
}
|
|
357
|
-
},
|
|
358
|
-
additionalProperties: false
|
|
1386
|
+
type: 'object',
|
|
1387
|
+
properties: {
|
|
1388
|
+
enabled: {
|
|
1389
|
+
type: 'boolean'
|
|
359
1390
|
},
|
|
360
|
-
{
|
|
361
|
-
type: '
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
type: 'string'
|
|
365
|
-
},
|
|
366
|
-
enabled: {
|
|
367
|
-
type: 'boolean',
|
|
368
|
-
default: true
|
|
369
|
-
}
|
|
370
|
-
},
|
|
371
|
-
additionalProperties: false
|
|
1391
|
+
apiKey: {
|
|
1392
|
+
type: 'string',
|
|
1393
|
+
pattern: '^\\*{64}$',
|
|
1394
|
+
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
1395
|
}
|
|
373
|
-
|
|
1396
|
+
},
|
|
1397
|
+
required: [
|
|
1398
|
+
'enabled'
|
|
1399
|
+
],
|
|
1400
|
+
additionalProperties: false
|
|
374
1401
|
},
|
|
375
1402
|
aws: {
|
|
376
1403
|
type: 'object',
|
|
377
1404
|
properties: {
|
|
378
1405
|
enabled: {
|
|
379
|
-
type: 'boolean'
|
|
380
|
-
default: true
|
|
1406
|
+
type: 'boolean'
|
|
381
1407
|
},
|
|
382
1408
|
controllerRoleArn: {
|
|
383
1409
|
type: 'string',
|
|
384
|
-
|
|
1410
|
+
pattern: '^arn:aws(-[a-z]+)*:iam::\\d{12}:role\\/[\\w+=,.@/-]+$',
|
|
1411
|
+
description: 'AWS IAM role ARN that Karpenter uses to manage resources. Omit when AWS is disabled.',
|
|
1412
|
+
example: 'arn:aws:iam::123456789012:role/Cloudfleet'
|
|
385
1413
|
}
|
|
386
1414
|
},
|
|
387
|
-
required: [
|
|
1415
|
+
required: [
|
|
1416
|
+
'enabled'
|
|
1417
|
+
],
|
|
388
1418
|
additionalProperties: false
|
|
389
1419
|
},
|
|
1420
|
+
constraints: {
|
|
1421
|
+
type: 'object',
|
|
1422
|
+
properties: {
|
|
1423
|
+
'karpenter.sh/capacity-type': {
|
|
1424
|
+
type: 'array',
|
|
1425
|
+
items: {
|
|
1426
|
+
type: 'string',
|
|
1427
|
+
enum: [
|
|
1428
|
+
'on-demand',
|
|
1429
|
+
'spot'
|
|
1430
|
+
]
|
|
1431
|
+
},
|
|
1432
|
+
minItems: 1,
|
|
1433
|
+
description: 'Allowed values for `karpenter.sh/capacity-type`.',
|
|
1434
|
+
default: [
|
|
1435
|
+
'on-demand',
|
|
1436
|
+
'spot'
|
|
1437
|
+
]
|
|
1438
|
+
},
|
|
1439
|
+
'kubernetes.io/arch': {
|
|
1440
|
+
type: 'array',
|
|
1441
|
+
items: {
|
|
1442
|
+
type: 'string',
|
|
1443
|
+
enum: [
|
|
1444
|
+
'amd64',
|
|
1445
|
+
'arm64'
|
|
1446
|
+
]
|
|
1447
|
+
},
|
|
1448
|
+
minItems: 1,
|
|
1449
|
+
description: 'Allowed values for `kubernetes.io/arch`.',
|
|
1450
|
+
default: [
|
|
1451
|
+
'amd64'
|
|
1452
|
+
]
|
|
1453
|
+
},
|
|
1454
|
+
'cfke.io/instance-family': {
|
|
1455
|
+
type: 'array',
|
|
1456
|
+
items: {
|
|
1457
|
+
type: 'string',
|
|
1458
|
+
enum: [
|
|
1459
|
+
'a1',
|
|
1460
|
+
'a2',
|
|
1461
|
+
'a3',
|
|
1462
|
+
'a4',
|
|
1463
|
+
'c1',
|
|
1464
|
+
'c2',
|
|
1465
|
+
'c2d',
|
|
1466
|
+
'c3',
|
|
1467
|
+
'c3d',
|
|
1468
|
+
'c4',
|
|
1469
|
+
'c4a',
|
|
1470
|
+
'c4d',
|
|
1471
|
+
'c5',
|
|
1472
|
+
'c5a',
|
|
1473
|
+
'c5ad',
|
|
1474
|
+
'c5d',
|
|
1475
|
+
'c5n',
|
|
1476
|
+
'c6a',
|
|
1477
|
+
'c6g',
|
|
1478
|
+
'c6gd',
|
|
1479
|
+
'c6gn',
|
|
1480
|
+
'c6i',
|
|
1481
|
+
'c6id',
|
|
1482
|
+
'c6in',
|
|
1483
|
+
'c7a',
|
|
1484
|
+
'c7g',
|
|
1485
|
+
'c7gd',
|
|
1486
|
+
'c7gn',
|
|
1487
|
+
'c7i',
|
|
1488
|
+
'c7i-flex',
|
|
1489
|
+
'c8g',
|
|
1490
|
+
'c8gd',
|
|
1491
|
+
'cax',
|
|
1492
|
+
'ccx',
|
|
1493
|
+
'cpx',
|
|
1494
|
+
'cx',
|
|
1495
|
+
'd2',
|
|
1496
|
+
'd3',
|
|
1497
|
+
'd3en',
|
|
1498
|
+
'dl1',
|
|
1499
|
+
'dl2q',
|
|
1500
|
+
'e2',
|
|
1501
|
+
'f1',
|
|
1502
|
+
'f2',
|
|
1503
|
+
'g1',
|
|
1504
|
+
'g2',
|
|
1505
|
+
'g4ad',
|
|
1506
|
+
'g4dn',
|
|
1507
|
+
'g5',
|
|
1508
|
+
'g5g',
|
|
1509
|
+
'g6',
|
|
1510
|
+
'g6e',
|
|
1511
|
+
'gr6',
|
|
1512
|
+
'h1',
|
|
1513
|
+
'h3',
|
|
1514
|
+
'hpc6a',
|
|
1515
|
+
'hpc6id',
|
|
1516
|
+
'hpc7a',
|
|
1517
|
+
'hpc7g',
|
|
1518
|
+
'i2',
|
|
1519
|
+
'i3',
|
|
1520
|
+
'i3en',
|
|
1521
|
+
'i4g',
|
|
1522
|
+
'i4i',
|
|
1523
|
+
'i7i',
|
|
1524
|
+
'i7ie',
|
|
1525
|
+
'i8g',
|
|
1526
|
+
'im4gn',
|
|
1527
|
+
'inf1',
|
|
1528
|
+
'inf2',
|
|
1529
|
+
'is4gen',
|
|
1530
|
+
'm1',
|
|
1531
|
+
'm2',
|
|
1532
|
+
'm3',
|
|
1533
|
+
'm4',
|
|
1534
|
+
'm5',
|
|
1535
|
+
'm5a',
|
|
1536
|
+
'm5ad',
|
|
1537
|
+
'm5d',
|
|
1538
|
+
'm5dn',
|
|
1539
|
+
'm5n',
|
|
1540
|
+
'm5zn',
|
|
1541
|
+
'm6a',
|
|
1542
|
+
'm6g',
|
|
1543
|
+
'm6gd',
|
|
1544
|
+
'm6i',
|
|
1545
|
+
'm6id',
|
|
1546
|
+
'm6idn',
|
|
1547
|
+
'm6in',
|
|
1548
|
+
'm7a',
|
|
1549
|
+
'm7g',
|
|
1550
|
+
'm7gd',
|
|
1551
|
+
'm7i',
|
|
1552
|
+
'm7i-flex',
|
|
1553
|
+
'm8g',
|
|
1554
|
+
'm8gd',
|
|
1555
|
+
'n1',
|
|
1556
|
+
'n2',
|
|
1557
|
+
'n2d',
|
|
1558
|
+
'n4',
|
|
1559
|
+
'p3',
|
|
1560
|
+
'p3dn',
|
|
1561
|
+
'p4d',
|
|
1562
|
+
'p4de',
|
|
1563
|
+
'p5',
|
|
1564
|
+
'p5e',
|
|
1565
|
+
'p5en',
|
|
1566
|
+
'p6-b200',
|
|
1567
|
+
'r3',
|
|
1568
|
+
'r4',
|
|
1569
|
+
'r5',
|
|
1570
|
+
'r5a',
|
|
1571
|
+
'r5ad',
|
|
1572
|
+
'r5b',
|
|
1573
|
+
'r5d',
|
|
1574
|
+
'r5dn',
|
|
1575
|
+
'r5n',
|
|
1576
|
+
'r6a',
|
|
1577
|
+
'r6g',
|
|
1578
|
+
'r6gd',
|
|
1579
|
+
'r6i',
|
|
1580
|
+
'r6id',
|
|
1581
|
+
'r6idn',
|
|
1582
|
+
'r6in',
|
|
1583
|
+
'r7a',
|
|
1584
|
+
'r7g',
|
|
1585
|
+
'r7gd',
|
|
1586
|
+
'r7i',
|
|
1587
|
+
'r7iz',
|
|
1588
|
+
'r8g',
|
|
1589
|
+
'r8gd',
|
|
1590
|
+
't2',
|
|
1591
|
+
't2a',
|
|
1592
|
+
't2d',
|
|
1593
|
+
't3',
|
|
1594
|
+
't3a',
|
|
1595
|
+
't4g',
|
|
1596
|
+
'trn1',
|
|
1597
|
+
'trn1n',
|
|
1598
|
+
'u-3tb1',
|
|
1599
|
+
'u-6tb1',
|
|
1600
|
+
'u7i-12tb',
|
|
1601
|
+
'u7i-6tb',
|
|
1602
|
+
'u7i-8tb',
|
|
1603
|
+
'u7in-16tb',
|
|
1604
|
+
'u7in-24tb',
|
|
1605
|
+
'u7in-32tb',
|
|
1606
|
+
'vt1',
|
|
1607
|
+
'x1',
|
|
1608
|
+
'x1e',
|
|
1609
|
+
'x2gd',
|
|
1610
|
+
'x2idn',
|
|
1611
|
+
'x2iedn',
|
|
1612
|
+
'x2iezn',
|
|
1613
|
+
'x4',
|
|
1614
|
+
'x8g',
|
|
1615
|
+
'z1d',
|
|
1616
|
+
'z3'
|
|
1617
|
+
]
|
|
1618
|
+
},
|
|
1619
|
+
description: 'Allowed values for `cfke.io/instance-family`.',
|
|
1620
|
+
default: []
|
|
1621
|
+
},
|
|
1622
|
+
'topology.kubernetes.io/region': {
|
|
1623
|
+
type: 'array',
|
|
1624
|
+
items: {
|
|
1625
|
+
type: 'string',
|
|
1626
|
+
enum: [
|
|
1627
|
+
'africa-south1',
|
|
1628
|
+
'ap-northeast-1',
|
|
1629
|
+
'ap-northeast-2',
|
|
1630
|
+
'ap-northeast-3',
|
|
1631
|
+
'ap-south-1',
|
|
1632
|
+
'ap-southeast-1',
|
|
1633
|
+
'ap-southeast-2',
|
|
1634
|
+
'ash',
|
|
1635
|
+
'asia-east1',
|
|
1636
|
+
'asia-east2',
|
|
1637
|
+
'asia-northeast1',
|
|
1638
|
+
'asia-northeast2',
|
|
1639
|
+
'asia-northeast3',
|
|
1640
|
+
'asia-south1',
|
|
1641
|
+
'asia-south2',
|
|
1642
|
+
'asia-southeast1',
|
|
1643
|
+
'asia-southeast2',
|
|
1644
|
+
'australia-southeast1',
|
|
1645
|
+
'australia-southeast2',
|
|
1646
|
+
'ca-central-1',
|
|
1647
|
+
'eu-central-1',
|
|
1648
|
+
'eu-central-2',
|
|
1649
|
+
'eu-north-1',
|
|
1650
|
+
'eu-west-1',
|
|
1651
|
+
'eu-west-2',
|
|
1652
|
+
'eu-west-3',
|
|
1653
|
+
'europe-central2',
|
|
1654
|
+
'europe-north1',
|
|
1655
|
+
'europe-southwest1',
|
|
1656
|
+
'europe-west1',
|
|
1657
|
+
'europe-west10',
|
|
1658
|
+
'europe-west12',
|
|
1659
|
+
'europe-west2',
|
|
1660
|
+
'europe-west3',
|
|
1661
|
+
'europe-west4',
|
|
1662
|
+
'europe-west6',
|
|
1663
|
+
'europe-west8',
|
|
1664
|
+
'europe-west9',
|
|
1665
|
+
'fsn1',
|
|
1666
|
+
'hel1',
|
|
1667
|
+
'hil',
|
|
1668
|
+
'me-central1',
|
|
1669
|
+
'me-central2',
|
|
1670
|
+
'me-west1',
|
|
1671
|
+
'nbg1',
|
|
1672
|
+
'northamerica-northeast1',
|
|
1673
|
+
'northamerica-northeast2',
|
|
1674
|
+
'sa-east-1',
|
|
1675
|
+
'sin',
|
|
1676
|
+
'southamerica-east1',
|
|
1677
|
+
'southamerica-west1',
|
|
1678
|
+
'us-central1',
|
|
1679
|
+
'us-east-1',
|
|
1680
|
+
'us-east-2',
|
|
1681
|
+
'us-east1',
|
|
1682
|
+
'us-east4',
|
|
1683
|
+
'us-east5',
|
|
1684
|
+
'us-south1',
|
|
1685
|
+
'us-west-1',
|
|
1686
|
+
'us-west-2',
|
|
1687
|
+
'us-west1',
|
|
1688
|
+
'us-west2',
|
|
1689
|
+
'us-west3',
|
|
1690
|
+
'us-west4'
|
|
1691
|
+
]
|
|
1692
|
+
},
|
|
1693
|
+
description: 'Allowed values for `topology.kubernetes.io/region`.',
|
|
1694
|
+
default: []
|
|
1695
|
+
}
|
|
1696
|
+
},
|
|
1697
|
+
required: [
|
|
1698
|
+
'karpenter.sh/capacity-type',
|
|
1699
|
+
'kubernetes.io/arch'
|
|
1700
|
+
],
|
|
1701
|
+
additionalProperties: false,
|
|
1702
|
+
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.',
|
|
1703
|
+
default: {
|
|
1704
|
+
'karpenter.sh/capacity-type': [
|
|
1705
|
+
'on-demand',
|
|
1706
|
+
'spot'
|
|
1707
|
+
],
|
|
1708
|
+
'kubernetes.io/arch': [
|
|
1709
|
+
'amd64'
|
|
1710
|
+
],
|
|
1711
|
+
'cfke.io/instance-family': [],
|
|
1712
|
+
'topology.kubernetes.io/region': []
|
|
1713
|
+
}
|
|
1714
|
+
},
|
|
1715
|
+
scalingProfile: {
|
|
1716
|
+
type: 'string',
|
|
1717
|
+
description: 'Controls scale-up / scale-down responsiveness. `aggressive` prioritizes cost-optimization. `conservative` prioritizes stability of the fleet. Full-overwrite: omit to reset to the default (`conservative`).',
|
|
1718
|
+
default: 'conservative',
|
|
1719
|
+
example: 'conservative',
|
|
1720
|
+
enum: [
|
|
1721
|
+
'aggressive',
|
|
1722
|
+
'conservative'
|
|
1723
|
+
]
|
|
1724
|
+
},
|
|
390
1725
|
id: {
|
|
391
1726
|
type: 'string',
|
|
392
1727
|
maxLength: 63,
|
|
@@ -395,14 +1730,37 @@ export const FleetSchema = {
|
|
|
395
1730
|
description: 'Unique identifier of the kubernetes fleet.',
|
|
396
1731
|
example: 'new-clouds-fleet'
|
|
397
1732
|
},
|
|
398
|
-
|
|
1733
|
+
ready: {
|
|
1734
|
+
type: 'boolean',
|
|
1735
|
+
description: 'Indicates whether the fleet configuration is healthy.',
|
|
1736
|
+
example: true
|
|
1737
|
+
},
|
|
1738
|
+
status_message: {
|
|
1739
|
+
type: 'string',
|
|
1740
|
+
description: 'Human-readable reason the fleet is not ready. Present only when `ready` is false.',
|
|
1741
|
+
example: 'Invalid provider permissions.'
|
|
1742
|
+
},
|
|
1743
|
+
created_at: {
|
|
1744
|
+
type: 'string',
|
|
1745
|
+
description: 'Creation date and time of the fleet.',
|
|
1746
|
+
example: '2024-09-12T09:11:27Z'
|
|
1747
|
+
},
|
|
1748
|
+
updated_at: {
|
|
399
1749
|
type: 'string',
|
|
400
|
-
description: '
|
|
401
|
-
|
|
1750
|
+
description: 'Date and time the fleet was last updated.',
|
|
1751
|
+
example: '2024-09-12T09:11:27Z'
|
|
402
1752
|
}
|
|
403
1753
|
},
|
|
404
|
-
required: [
|
|
405
|
-
|
|
1754
|
+
required: [
|
|
1755
|
+
'constraints',
|
|
1756
|
+
'scalingProfile',
|
|
1757
|
+
'id',
|
|
1758
|
+
'ready',
|
|
1759
|
+
'created_at',
|
|
1760
|
+
'updated_at'
|
|
1761
|
+
],
|
|
1762
|
+
additionalProperties: false,
|
|
1763
|
+
description: 'Mutable fleet configuration. Applied as a full overwrite: any omitted field is reset to its default rather than left unchanged.'
|
|
406
1764
|
};
|
|
407
1765
|
export const FleetUpdateInputSchema = {
|
|
408
1766
|
type: 'object',
|
|
@@ -411,13 +1769,12 @@ export const FleetUpdateInputSchema = {
|
|
|
411
1769
|
type: 'object',
|
|
412
1770
|
properties: {
|
|
413
1771
|
cpu: {
|
|
414
|
-
type: '
|
|
415
|
-
format: 'float',
|
|
1772
|
+
type: 'integer',
|
|
416
1773
|
minimum: 0,
|
|
417
|
-
|
|
1774
|
+
maximum: 100000,
|
|
1775
|
+
description: 'CPU limit in cores. Maximum 100,000.'
|
|
418
1776
|
}
|
|
419
1777
|
},
|
|
420
|
-
required: ['cpu'],
|
|
421
1778
|
additionalProperties: false,
|
|
422
1779
|
description: 'Limits define a set of bounds for provisioning capacity.'
|
|
423
1780
|
},
|
|
@@ -425,333 +1782,385 @@ export const FleetUpdateInputSchema = {
|
|
|
425
1782
|
type: 'object',
|
|
426
1783
|
properties: {
|
|
427
1784
|
enabled: {
|
|
428
|
-
type: 'boolean'
|
|
429
|
-
default: true
|
|
1785
|
+
type: 'boolean'
|
|
430
1786
|
},
|
|
431
1787
|
project: {
|
|
432
1788
|
type: 'string',
|
|
433
|
-
|
|
1789
|
+
pattern: '^[a-z][a-z0-9-]{4,28}[a-z0-9]$',
|
|
1790
|
+
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.',
|
|
1791
|
+
example: 'my-cloudfleet-project'
|
|
434
1792
|
}
|
|
435
1793
|
},
|
|
436
|
-
required: [
|
|
1794
|
+
required: [
|
|
1795
|
+
'enabled'
|
|
1796
|
+
],
|
|
437
1797
|
additionalProperties: false
|
|
438
1798
|
},
|
|
439
1799
|
hetzner: {
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
enabled: {
|
|
445
|
-
type: 'boolean',
|
|
446
|
-
default: true
|
|
447
|
-
},
|
|
448
|
-
apiKey: {
|
|
449
|
-
type: 'string'
|
|
450
|
-
}
|
|
451
|
-
},
|
|
452
|
-
additionalProperties: false
|
|
1800
|
+
type: 'object',
|
|
1801
|
+
properties: {
|
|
1802
|
+
enabled: {
|
|
1803
|
+
type: 'boolean'
|
|
453
1804
|
},
|
|
454
|
-
{
|
|
455
|
-
type: '
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
enabled: {
|
|
461
|
-
type: 'boolean',
|
|
462
|
-
default: true
|
|
463
|
-
}
|
|
464
|
-
},
|
|
465
|
-
additionalProperties: false
|
|
1805
|
+
apiKey: {
|
|
1806
|
+
type: 'string',
|
|
1807
|
+
maxLength: 64,
|
|
1808
|
+
minLength: 64,
|
|
1809
|
+
pattern: '^[A-Za-z0-9]+$',
|
|
1810
|
+
description: 'Hetzner Cloud API token with read / write access (64 alphanumeric characters). Omit this field to keep the existing value.'
|
|
466
1811
|
}
|
|
467
|
-
|
|
1812
|
+
},
|
|
1813
|
+
required: [
|
|
1814
|
+
'enabled'
|
|
1815
|
+
],
|
|
1816
|
+
additionalProperties: false
|
|
468
1817
|
},
|
|
469
1818
|
aws: {
|
|
470
1819
|
type: 'object',
|
|
471
1820
|
properties: {
|
|
472
1821
|
enabled: {
|
|
473
|
-
type: 'boolean'
|
|
474
|
-
default: true
|
|
1822
|
+
type: 'boolean'
|
|
475
1823
|
},
|
|
476
1824
|
controllerRoleArn: {
|
|
477
1825
|
type: 'string',
|
|
478
|
-
|
|
1826
|
+
pattern: '^arn:aws(-[a-z]+)*:iam::\\d{12}:role\\/[\\w+=,.@/-]+$',
|
|
1827
|
+
description: 'AWS IAM role ARN that Karpenter uses to manage resources. Omit when AWS is disabled.',
|
|
1828
|
+
example: 'arn:aws:iam::123456789012:role/Cloudfleet'
|
|
479
1829
|
}
|
|
480
1830
|
},
|
|
481
|
-
required: [
|
|
1831
|
+
required: [
|
|
1832
|
+
'enabled'
|
|
1833
|
+
],
|
|
482
1834
|
additionalProperties: false
|
|
1835
|
+
},
|
|
1836
|
+
constraints: {
|
|
1837
|
+
type: 'object',
|
|
1838
|
+
properties: {
|
|
1839
|
+
'karpenter.sh/capacity-type': {
|
|
1840
|
+
type: 'array',
|
|
1841
|
+
items: {
|
|
1842
|
+
type: 'string',
|
|
1843
|
+
enum: [
|
|
1844
|
+
'on-demand',
|
|
1845
|
+
'spot'
|
|
1846
|
+
]
|
|
1847
|
+
},
|
|
1848
|
+
minItems: 1,
|
|
1849
|
+
description: 'Allowed values for `karpenter.sh/capacity-type`.',
|
|
1850
|
+
default: [
|
|
1851
|
+
'on-demand',
|
|
1852
|
+
'spot'
|
|
1853
|
+
]
|
|
1854
|
+
},
|
|
1855
|
+
'kubernetes.io/arch': {
|
|
1856
|
+
type: 'array',
|
|
1857
|
+
items: {
|
|
1858
|
+
type: 'string',
|
|
1859
|
+
enum: [
|
|
1860
|
+
'amd64',
|
|
1861
|
+
'arm64'
|
|
1862
|
+
]
|
|
1863
|
+
},
|
|
1864
|
+
minItems: 1,
|
|
1865
|
+
description: 'Allowed values for `kubernetes.io/arch`.',
|
|
1866
|
+
default: [
|
|
1867
|
+
'amd64'
|
|
1868
|
+
]
|
|
1869
|
+
},
|
|
1870
|
+
'cfke.io/instance-family': {
|
|
1871
|
+
type: 'array',
|
|
1872
|
+
items: {
|
|
1873
|
+
type: 'string',
|
|
1874
|
+
enum: [
|
|
1875
|
+
'a1',
|
|
1876
|
+
'a2',
|
|
1877
|
+
'a3',
|
|
1878
|
+
'a4',
|
|
1879
|
+
'c1',
|
|
1880
|
+
'c2',
|
|
1881
|
+
'c2d',
|
|
1882
|
+
'c3',
|
|
1883
|
+
'c3d',
|
|
1884
|
+
'c4',
|
|
1885
|
+
'c4a',
|
|
1886
|
+
'c4d',
|
|
1887
|
+
'c5',
|
|
1888
|
+
'c5a',
|
|
1889
|
+
'c5ad',
|
|
1890
|
+
'c5d',
|
|
1891
|
+
'c5n',
|
|
1892
|
+
'c6a',
|
|
1893
|
+
'c6g',
|
|
1894
|
+
'c6gd',
|
|
1895
|
+
'c6gn',
|
|
1896
|
+
'c6i',
|
|
1897
|
+
'c6id',
|
|
1898
|
+
'c6in',
|
|
1899
|
+
'c7a',
|
|
1900
|
+
'c7g',
|
|
1901
|
+
'c7gd',
|
|
1902
|
+
'c7gn',
|
|
1903
|
+
'c7i',
|
|
1904
|
+
'c7i-flex',
|
|
1905
|
+
'c8g',
|
|
1906
|
+
'c8gd',
|
|
1907
|
+
'cax',
|
|
1908
|
+
'ccx',
|
|
1909
|
+
'cpx',
|
|
1910
|
+
'cx',
|
|
1911
|
+
'd2',
|
|
1912
|
+
'd3',
|
|
1913
|
+
'd3en',
|
|
1914
|
+
'dl1',
|
|
1915
|
+
'dl2q',
|
|
1916
|
+
'e2',
|
|
1917
|
+
'f1',
|
|
1918
|
+
'f2',
|
|
1919
|
+
'g1',
|
|
1920
|
+
'g2',
|
|
1921
|
+
'g4ad',
|
|
1922
|
+
'g4dn',
|
|
1923
|
+
'g5',
|
|
1924
|
+
'g5g',
|
|
1925
|
+
'g6',
|
|
1926
|
+
'g6e',
|
|
1927
|
+
'gr6',
|
|
1928
|
+
'h1',
|
|
1929
|
+
'h3',
|
|
1930
|
+
'hpc6a',
|
|
1931
|
+
'hpc6id',
|
|
1932
|
+
'hpc7a',
|
|
1933
|
+
'hpc7g',
|
|
1934
|
+
'i2',
|
|
1935
|
+
'i3',
|
|
1936
|
+
'i3en',
|
|
1937
|
+
'i4g',
|
|
1938
|
+
'i4i',
|
|
1939
|
+
'i7i',
|
|
1940
|
+
'i7ie',
|
|
1941
|
+
'i8g',
|
|
1942
|
+
'im4gn',
|
|
1943
|
+
'inf1',
|
|
1944
|
+
'inf2',
|
|
1945
|
+
'is4gen',
|
|
1946
|
+
'm1',
|
|
1947
|
+
'm2',
|
|
1948
|
+
'm3',
|
|
1949
|
+
'm4',
|
|
1950
|
+
'm5',
|
|
1951
|
+
'm5a',
|
|
1952
|
+
'm5ad',
|
|
1953
|
+
'm5d',
|
|
1954
|
+
'm5dn',
|
|
1955
|
+
'm5n',
|
|
1956
|
+
'm5zn',
|
|
1957
|
+
'm6a',
|
|
1958
|
+
'm6g',
|
|
1959
|
+
'm6gd',
|
|
1960
|
+
'm6i',
|
|
1961
|
+
'm6id',
|
|
1962
|
+
'm6idn',
|
|
1963
|
+
'm6in',
|
|
1964
|
+
'm7a',
|
|
1965
|
+
'm7g',
|
|
1966
|
+
'm7gd',
|
|
1967
|
+
'm7i',
|
|
1968
|
+
'm7i-flex',
|
|
1969
|
+
'm8g',
|
|
1970
|
+
'm8gd',
|
|
1971
|
+
'n1',
|
|
1972
|
+
'n2',
|
|
1973
|
+
'n2d',
|
|
1974
|
+
'n4',
|
|
1975
|
+
'p3',
|
|
1976
|
+
'p3dn',
|
|
1977
|
+
'p4d',
|
|
1978
|
+
'p4de',
|
|
1979
|
+
'p5',
|
|
1980
|
+
'p5e',
|
|
1981
|
+
'p5en',
|
|
1982
|
+
'p6-b200',
|
|
1983
|
+
'r3',
|
|
1984
|
+
'r4',
|
|
1985
|
+
'r5',
|
|
1986
|
+
'r5a',
|
|
1987
|
+
'r5ad',
|
|
1988
|
+
'r5b',
|
|
1989
|
+
'r5d',
|
|
1990
|
+
'r5dn',
|
|
1991
|
+
'r5n',
|
|
1992
|
+
'r6a',
|
|
1993
|
+
'r6g',
|
|
1994
|
+
'r6gd',
|
|
1995
|
+
'r6i',
|
|
1996
|
+
'r6id',
|
|
1997
|
+
'r6idn',
|
|
1998
|
+
'r6in',
|
|
1999
|
+
'r7a',
|
|
2000
|
+
'r7g',
|
|
2001
|
+
'r7gd',
|
|
2002
|
+
'r7i',
|
|
2003
|
+
'r7iz',
|
|
2004
|
+
'r8g',
|
|
2005
|
+
'r8gd',
|
|
2006
|
+
't2',
|
|
2007
|
+
't2a',
|
|
2008
|
+
't2d',
|
|
2009
|
+
't3',
|
|
2010
|
+
't3a',
|
|
2011
|
+
't4g',
|
|
2012
|
+
'trn1',
|
|
2013
|
+
'trn1n',
|
|
2014
|
+
'u-3tb1',
|
|
2015
|
+
'u-6tb1',
|
|
2016
|
+
'u7i-12tb',
|
|
2017
|
+
'u7i-6tb',
|
|
2018
|
+
'u7i-8tb',
|
|
2019
|
+
'u7in-16tb',
|
|
2020
|
+
'u7in-24tb',
|
|
2021
|
+
'u7in-32tb',
|
|
2022
|
+
'vt1',
|
|
2023
|
+
'x1',
|
|
2024
|
+
'x1e',
|
|
2025
|
+
'x2gd',
|
|
2026
|
+
'x2idn',
|
|
2027
|
+
'x2iedn',
|
|
2028
|
+
'x2iezn',
|
|
2029
|
+
'x4',
|
|
2030
|
+
'x8g',
|
|
2031
|
+
'z1d',
|
|
2032
|
+
'z3'
|
|
2033
|
+
]
|
|
2034
|
+
},
|
|
2035
|
+
description: 'Allowed values for `cfke.io/instance-family`.',
|
|
2036
|
+
default: []
|
|
2037
|
+
},
|
|
2038
|
+
'topology.kubernetes.io/region': {
|
|
2039
|
+
type: 'array',
|
|
2040
|
+
items: {
|
|
2041
|
+
type: 'string',
|
|
2042
|
+
enum: [
|
|
2043
|
+
'africa-south1',
|
|
2044
|
+
'ap-northeast-1',
|
|
2045
|
+
'ap-northeast-2',
|
|
2046
|
+
'ap-northeast-3',
|
|
2047
|
+
'ap-south-1',
|
|
2048
|
+
'ap-southeast-1',
|
|
2049
|
+
'ap-southeast-2',
|
|
2050
|
+
'ash',
|
|
2051
|
+
'asia-east1',
|
|
2052
|
+
'asia-east2',
|
|
2053
|
+
'asia-northeast1',
|
|
2054
|
+
'asia-northeast2',
|
|
2055
|
+
'asia-northeast3',
|
|
2056
|
+
'asia-south1',
|
|
2057
|
+
'asia-south2',
|
|
2058
|
+
'asia-southeast1',
|
|
2059
|
+
'asia-southeast2',
|
|
2060
|
+
'australia-southeast1',
|
|
2061
|
+
'australia-southeast2',
|
|
2062
|
+
'ca-central-1',
|
|
2063
|
+
'eu-central-1',
|
|
2064
|
+
'eu-central-2',
|
|
2065
|
+
'eu-north-1',
|
|
2066
|
+
'eu-west-1',
|
|
2067
|
+
'eu-west-2',
|
|
2068
|
+
'eu-west-3',
|
|
2069
|
+
'europe-central2',
|
|
2070
|
+
'europe-north1',
|
|
2071
|
+
'europe-southwest1',
|
|
2072
|
+
'europe-west1',
|
|
2073
|
+
'europe-west10',
|
|
2074
|
+
'europe-west12',
|
|
2075
|
+
'europe-west2',
|
|
2076
|
+
'europe-west3',
|
|
2077
|
+
'europe-west4',
|
|
2078
|
+
'europe-west6',
|
|
2079
|
+
'europe-west8',
|
|
2080
|
+
'europe-west9',
|
|
2081
|
+
'fsn1',
|
|
2082
|
+
'hel1',
|
|
2083
|
+
'hil',
|
|
2084
|
+
'me-central1',
|
|
2085
|
+
'me-central2',
|
|
2086
|
+
'me-west1',
|
|
2087
|
+
'nbg1',
|
|
2088
|
+
'northamerica-northeast1',
|
|
2089
|
+
'northamerica-northeast2',
|
|
2090
|
+
'sa-east-1',
|
|
2091
|
+
'sin',
|
|
2092
|
+
'southamerica-east1',
|
|
2093
|
+
'southamerica-west1',
|
|
2094
|
+
'us-central1',
|
|
2095
|
+
'us-east-1',
|
|
2096
|
+
'us-east-2',
|
|
2097
|
+
'us-east1',
|
|
2098
|
+
'us-east4',
|
|
2099
|
+
'us-east5',
|
|
2100
|
+
'us-south1',
|
|
2101
|
+
'us-west-1',
|
|
2102
|
+
'us-west-2',
|
|
2103
|
+
'us-west1',
|
|
2104
|
+
'us-west2',
|
|
2105
|
+
'us-west3',
|
|
2106
|
+
'us-west4'
|
|
2107
|
+
]
|
|
2108
|
+
},
|
|
2109
|
+
description: 'Allowed values for `topology.kubernetes.io/region`.',
|
|
2110
|
+
default: []
|
|
2111
|
+
}
|
|
2112
|
+
},
|
|
2113
|
+
additionalProperties: false,
|
|
2114
|
+
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.',
|
|
2115
|
+
default: {
|
|
2116
|
+
'karpenter.sh/capacity-type': [
|
|
2117
|
+
'on-demand',
|
|
2118
|
+
'spot'
|
|
2119
|
+
],
|
|
2120
|
+
'kubernetes.io/arch': [
|
|
2121
|
+
'amd64'
|
|
2122
|
+
],
|
|
2123
|
+
'cfke.io/instance-family': [],
|
|
2124
|
+
'topology.kubernetes.io/region': []
|
|
2125
|
+
}
|
|
2126
|
+
},
|
|
2127
|
+
scalingProfile: {
|
|
2128
|
+
type: 'string',
|
|
2129
|
+
description: 'Controls scale-up / scale-down responsiveness. `aggressive` prioritizes cost-optimization. `conservative` prioritizes stability of the fleet. Full-overwrite: omit to reset to the default (`conservative`).',
|
|
2130
|
+
default: 'conservative',
|
|
2131
|
+
example: 'conservative',
|
|
2132
|
+
enum: [
|
|
2133
|
+
'aggressive',
|
|
2134
|
+
'conservative'
|
|
2135
|
+
]
|
|
483
2136
|
}
|
|
484
2137
|
},
|
|
485
|
-
additionalProperties: false
|
|
2138
|
+
additionalProperties: false,
|
|
2139
|
+
description: 'Mutable fleet configuration. Applied as a full overwrite: any omitted field is reset to its default rather than left unchanged.'
|
|
486
2140
|
};
|
|
487
|
-
export const
|
|
2141
|
+
export const InviteCreateInputSchema = {
|
|
488
2142
|
type: 'object',
|
|
489
2143
|
properties: {
|
|
490
|
-
|
|
491
|
-
type: '
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
example:
|
|
495
|
-
enum: [1]
|
|
2144
|
+
email: {
|
|
2145
|
+
type: 'string',
|
|
2146
|
+
format: 'email',
|
|
2147
|
+
description: 'Email address of the user to invite.',
|
|
2148
|
+
example: 'email@example.com'
|
|
496
2149
|
},
|
|
497
|
-
|
|
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'
|
|
504
|
-
},
|
|
505
|
-
region: {
|
|
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: {
|
|
2150
|
+
role: {
|
|
738
2151
|
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
|
|
2152
|
+
description: 'Role the invited user will be assigned on redemption. Can be \'Administrator\' or \'User\'.',
|
|
2153
|
+
default: 'User',
|
|
2154
|
+
example: 'User',
|
|
2155
|
+
enum: [
|
|
2156
|
+
'Administrator',
|
|
2157
|
+
'User'
|
|
2158
|
+
]
|
|
752
2159
|
}
|
|
753
2160
|
},
|
|
754
|
-
required: [
|
|
2161
|
+
required: [
|
|
2162
|
+
'email'
|
|
2163
|
+
],
|
|
755
2164
|
additionalProperties: false
|
|
756
2165
|
};
|
|
757
2166
|
export const InviteSchema = {
|
|
@@ -784,9 +2193,21 @@ export const InviteSchema = {
|
|
|
784
2193
|
type: 'string',
|
|
785
2194
|
description: 'Generated unique invite code.',
|
|
786
2195
|
example: '7kUZnH7nnKUFfvc4NK2KQF'
|
|
2196
|
+
},
|
|
2197
|
+
role: {
|
|
2198
|
+
type: 'string',
|
|
2199
|
+
description: 'Role the invited user will be assigned on redemption. Can be \'Administrator\' or \'User\'.',
|
|
2200
|
+
default: 'User',
|
|
2201
|
+
example: 'User',
|
|
2202
|
+
enum: [
|
|
2203
|
+
'Administrator',
|
|
2204
|
+
'User'
|
|
2205
|
+
]
|
|
787
2206
|
}
|
|
788
2207
|
},
|
|
789
|
-
required: [
|
|
2208
|
+
required: [
|
|
2209
|
+
'date_created'
|
|
2210
|
+
],
|
|
790
2211
|
additionalProperties: false
|
|
791
2212
|
};
|
|
792
2213
|
export const InvoiceSchema = {
|
|
@@ -794,23 +2215,18 @@ export const InvoiceSchema = {
|
|
|
794
2215
|
properties: {
|
|
795
2216
|
id: {
|
|
796
2217
|
type: 'string',
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
example: '415026b6-f00f-44f8-968d-fc6ef4d0fc6d'
|
|
2218
|
+
description: 'Unique identifier of the invoice.',
|
|
2219
|
+
example: 'in_1234567890xCrwxghOTj1234'
|
|
800
2220
|
},
|
|
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'
|
|
2221
|
+
number: {
|
|
2222
|
+
type: 'string'
|
|
806
2223
|
},
|
|
807
2224
|
status: {
|
|
808
2225
|
type: 'string',
|
|
809
2226
|
description: 'Status of the invoice',
|
|
810
|
-
example: '
|
|
811
|
-
enum: ['DRAFT', 'COMMITTED', 'VOID']
|
|
2227
|
+
example: 'paid'
|
|
812
2228
|
},
|
|
813
|
-
|
|
2229
|
+
total: {
|
|
814
2230
|
type: 'number',
|
|
815
2231
|
format: 'float',
|
|
816
2232
|
description: 'Total amount of the invoice',
|
|
@@ -819,376 +2235,202 @@ export const InvoiceSchema = {
|
|
|
819
2235
|
currency: {
|
|
820
2236
|
type: 'string',
|
|
821
2237
|
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']
|
|
2238
|
+
example: 'usd'
|
|
824
2239
|
},
|
|
825
|
-
|
|
826
|
-
type: '
|
|
827
|
-
format: '
|
|
828
|
-
description: '
|
|
829
|
-
example:
|
|
830
|
-
},
|
|
831
|
-
refundAdj: {
|
|
832
|
-
type: 'number',
|
|
833
|
-
format: 'float',
|
|
834
|
-
description: 'Total amount of refund adjustments',
|
|
835
|
-
example: 0
|
|
2240
|
+
created: {
|
|
2241
|
+
type: 'string',
|
|
2242
|
+
format: 'date-time',
|
|
2243
|
+
description: 'Timestamp when the invoice was issued. ISO 8601 date string in the UTC timezone.',
|
|
2244
|
+
example: '2023-12-20T13:53:32.000Z'
|
|
836
2245
|
},
|
|
837
|
-
|
|
2246
|
+
period_start: {
|
|
838
2247
|
type: 'string',
|
|
839
|
-
|
|
840
|
-
|
|
2248
|
+
format: 'date-time',
|
|
2249
|
+
description: 'Billing period start timestamp. ISO 8601 date string in the UTC timezone.',
|
|
2250
|
+
example: '2023-12-20T13:53:32.000Z'
|
|
841
2251
|
},
|
|
842
|
-
|
|
2252
|
+
period_end: {
|
|
843
2253
|
type: 'string',
|
|
844
|
-
|
|
845
|
-
|
|
2254
|
+
format: 'date-time',
|
|
2255
|
+
description: 'Billing period end timestamp. ISO 8601 date string in the UTC timezone.',
|
|
2256
|
+
example: '2023-12-20T13:53:32.000Z'
|
|
846
2257
|
},
|
|
847
|
-
|
|
2258
|
+
invoice_pdf: {
|
|
2259
|
+
type: 'string'
|
|
2260
|
+
}
|
|
2261
|
+
},
|
|
2262
|
+
required: [
|
|
2263
|
+
'created',
|
|
2264
|
+
'period_start',
|
|
2265
|
+
'period_end'
|
|
2266
|
+
],
|
|
2267
|
+
additionalProperties: false
|
|
2268
|
+
};
|
|
2269
|
+
export const MarketplaceListingFilesSchema = {
|
|
2270
|
+
type: 'object',
|
|
2271
|
+
properties: {
|
|
2272
|
+
chartYaml: {
|
|
848
2273
|
type: 'string',
|
|
849
|
-
description: '
|
|
850
|
-
example: '
|
|
2274
|
+
description: 'Raw Chart.yaml content from the Helm chart',
|
|
2275
|
+
example: 'apiVersion: v2\nname: nginx-ingress\nversion: 1.18.2-cfke.45\nappVersion: 1.9.4'
|
|
851
2276
|
},
|
|
852
|
-
|
|
853
|
-
type: '
|
|
854
|
-
|
|
855
|
-
|
|
856
|
-
example: 100
|
|
2277
|
+
valuesYaml: {
|
|
2278
|
+
type: 'string',
|
|
2279
|
+
description: 'Raw values.yaml content from the Helm chart',
|
|
2280
|
+
example: 'replicaCount: 1\nimage:\n repository: nginx\n tag: latest'
|
|
857
2281
|
},
|
|
858
|
-
|
|
2282
|
+
valuesSchemaJson: {
|
|
2283
|
+
type: 'string',
|
|
2284
|
+
description: 'JSON schema for values.yaml as a string',
|
|
2285
|
+
example: '{"type":"object","properties":{"replicaCount":{"type":"number"}}}'
|
|
2286
|
+
}
|
|
2287
|
+
},
|
|
2288
|
+
additionalProperties: false
|
|
2289
|
+
};
|
|
2290
|
+
export const MarketplaceListingSchema = {
|
|
2291
|
+
type: 'object',
|
|
2292
|
+
properties: {
|
|
2293
|
+
name: {
|
|
859
2294
|
type: 'string',
|
|
860
|
-
description: '
|
|
861
|
-
example: '
|
|
2295
|
+
description: 'Name of the chart',
|
|
2296
|
+
example: 'nginx-ingress'
|
|
862
2297
|
},
|
|
863
|
-
|
|
2298
|
+
versions: {
|
|
864
2299
|
type: 'array',
|
|
865
2300
|
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
|
|
2301
|
+
type: 'string',
|
|
2302
|
+
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-]+)*))?$',
|
|
2303
|
+
description: 'Specific version of the chart',
|
|
2304
|
+
example: '1.18.2-cfke.45'
|
|
1001
2305
|
},
|
|
1002
|
-
description: '
|
|
2306
|
+
description: 'Available versions of the chart'
|
|
1003
2307
|
},
|
|
1004
|
-
|
|
2308
|
+
version_channels: {
|
|
1005
2309
|
type: 'array',
|
|
1006
2310
|
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'
|
|
2311
|
+
type: 'string',
|
|
2312
|
+
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-]+)*))?$',
|
|
2313
|
+
description: 'Version channel pattern',
|
|
2314
|
+
example: '1.18.x-cfke.x'
|
|
2315
|
+
},
|
|
2316
|
+
description: 'Version channels for the chart'
|
|
2317
|
+
},
|
|
2318
|
+
latestVersion: {
|
|
2319
|
+
type: 'string',
|
|
2320
|
+
description: 'Latest version of the chart',
|
|
2321
|
+
example: '1.18.2-cfke.45'
|
|
2322
|
+
},
|
|
2323
|
+
metadata: {
|
|
2324
|
+
type: 'object',
|
|
2325
|
+
properties: {
|
|
2326
|
+
name: {
|
|
2327
|
+
type: 'string',
|
|
2328
|
+
description: 'Chart name from metadata',
|
|
2329
|
+
example: 'nginx-ingress'
|
|
2330
|
+
},
|
|
2331
|
+
version: {
|
|
2332
|
+
type: 'string',
|
|
2333
|
+
description: 'Chart version from metadata',
|
|
2334
|
+
example: '1.18.2-cfke.45'
|
|
2335
|
+
},
|
|
2336
|
+
description: {
|
|
2337
|
+
type: 'string',
|
|
2338
|
+
description: 'Chart description',
|
|
2339
|
+
example: 'NGINX Ingress Controller for Kubernetes'
|
|
2340
|
+
},
|
|
2341
|
+
appVersion: {
|
|
2342
|
+
type: 'string',
|
|
2343
|
+
description: 'Application version',
|
|
2344
|
+
example: '1.9.4'
|
|
2345
|
+
},
|
|
2346
|
+
apiVersion: {
|
|
2347
|
+
type: 'string',
|
|
2348
|
+
description: 'Helm API version',
|
|
2349
|
+
example: 'v2'
|
|
2350
|
+
},
|
|
2351
|
+
keywords: {
|
|
2352
|
+
type: 'array',
|
|
2353
|
+
items: {
|
|
2354
|
+
type: 'string'
|
|
1110
2355
|
},
|
|
1111
|
-
|
|
1112
|
-
|
|
1113
|
-
|
|
1114
|
-
|
|
2356
|
+
description: 'Chart keywords',
|
|
2357
|
+
example: [
|
|
2358
|
+
'ingress',
|
|
2359
|
+
'nginx',
|
|
2360
|
+
'load-balancer'
|
|
2361
|
+
]
|
|
2362
|
+
},
|
|
2363
|
+
home: {
|
|
2364
|
+
type: 'string',
|
|
2365
|
+
description: 'Chart home URL',
|
|
2366
|
+
example: 'https://kubernetes.github.io/ingress-nginx/'
|
|
2367
|
+
},
|
|
2368
|
+
icon: {
|
|
2369
|
+
type: 'string',
|
|
2370
|
+
description: 'A URL to an SVG or PNG image to be used as an icon',
|
|
2371
|
+
example: 'https://cloudfleet.ai/images/marketplace/icons/ingress-nginx.png'
|
|
2372
|
+
},
|
|
2373
|
+
sources: {
|
|
2374
|
+
type: 'array',
|
|
2375
|
+
items: {
|
|
2376
|
+
type: 'string'
|
|
1115
2377
|
},
|
|
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
|
-
}
|
|
2378
|
+
description: 'Chart source URLs',
|
|
2379
|
+
example: [
|
|
2380
|
+
'https://github.com/kubernetes/ingress-nginx'
|
|
2381
|
+
]
|
|
1140
2382
|
},
|
|
1141
|
-
|
|
2383
|
+
maintainers: {
|
|
2384
|
+
type: 'array',
|
|
2385
|
+
items: {
|
|
2386
|
+
type: 'object',
|
|
2387
|
+
properties: {
|
|
2388
|
+
name: {
|
|
2389
|
+
type: 'string',
|
|
2390
|
+
description: 'Maintainer name',
|
|
2391
|
+
example: 'NGINX Team'
|
|
2392
|
+
},
|
|
2393
|
+
email: {
|
|
2394
|
+
type: 'string',
|
|
2395
|
+
description: 'Maintainer email',
|
|
2396
|
+
example: 'support@nginx.org'
|
|
2397
|
+
}
|
|
2398
|
+
},
|
|
2399
|
+
required: [
|
|
2400
|
+
'name'
|
|
2401
|
+
],
|
|
2402
|
+
additionalProperties: false
|
|
2403
|
+
},
|
|
2404
|
+
description: 'Chart maintainers'
|
|
2405
|
+
}
|
|
1142
2406
|
},
|
|
1143
|
-
|
|
2407
|
+
required: [
|
|
2408
|
+
'name',
|
|
2409
|
+
'version'
|
|
2410
|
+
],
|
|
2411
|
+
additionalProperties: false,
|
|
2412
|
+
description: 'Chart metadata'
|
|
1144
2413
|
}
|
|
1145
2414
|
},
|
|
2415
|
+
required: [
|
|
2416
|
+
'name',
|
|
2417
|
+
'versions',
|
|
2418
|
+
'version_channels',
|
|
2419
|
+
'latestVersion'
|
|
2420
|
+
],
|
|
1146
2421
|
additionalProperties: false
|
|
1147
2422
|
};
|
|
1148
|
-
export const
|
|
2423
|
+
export const OrganizationCreateInputSchema = {
|
|
1149
2424
|
type: 'object',
|
|
1150
2425
|
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: {
|
|
2426
|
+
type: {
|
|
1188
2427
|
type: 'string',
|
|
1189
|
-
|
|
1190
|
-
|
|
1191
|
-
|
|
2428
|
+
description: 'Type of the organization. `business` for legal entities, `personal` for individuals.',
|
|
2429
|
+
example: 'business',
|
|
2430
|
+
enum: [
|
|
2431
|
+
'business',
|
|
2432
|
+
'personal'
|
|
2433
|
+
]
|
|
1192
2434
|
},
|
|
1193
2435
|
email: {
|
|
1194
2436
|
type: 'string',
|
|
@@ -1198,22 +2440,17 @@ export const OrganizationContactInfoSchema = {
|
|
|
1198
2440
|
},
|
|
1199
2441
|
first_name: {
|
|
1200
2442
|
type: 'string',
|
|
2443
|
+
minLength: 1,
|
|
1201
2444
|
description: 'First name of the billing contact person.',
|
|
1202
2445
|
example: 'John'
|
|
1203
2446
|
},
|
|
1204
2447
|
last_name: {
|
|
1205
2448
|
type: 'string',
|
|
2449
|
+
minLength: 1,
|
|
1206
2450
|
description: 'Last name of the billing contact person.',
|
|
1207
2451
|
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: {
|
|
2452
|
+
},
|
|
2453
|
+
company_name: {
|
|
1217
2454
|
type: 'string',
|
|
1218
2455
|
maxLength: 120,
|
|
1219
2456
|
minLength: 2,
|
|
@@ -1221,149 +2458,60 @@ export const OrganizationCreateInputSchema = {
|
|
|
1221
2458
|
description: 'Name of the legal entity. This name will be used in invoices. Use your first and last name for individual accounts.',
|
|
1222
2459
|
example: 'ACME Corp.'
|
|
1223
2460
|
},
|
|
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
2461
|
password: {
|
|
1284
2462
|
type: 'string',
|
|
1285
2463
|
minLength: 8,
|
|
1286
2464
|
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
2465
|
}
|
|
1288
2466
|
},
|
|
1289
|
-
required: [
|
|
2467
|
+
required: [
|
|
2468
|
+
'type',
|
|
2469
|
+
'email',
|
|
2470
|
+
'first_name',
|
|
2471
|
+
'last_name',
|
|
2472
|
+
'company_name',
|
|
2473
|
+
'password'
|
|
2474
|
+
],
|
|
2475
|
+
additionalProperties: false
|
|
2476
|
+
};
|
|
2477
|
+
export const OrganizationCreateOutputSchema = {
|
|
2478
|
+
type: 'object',
|
|
2479
|
+
properties: {
|
|
2480
|
+
id: {
|
|
2481
|
+
type: 'string',
|
|
2482
|
+
description: 'Unique identifier of the newly created organization. Generated by the API and safe to use for client-side tracking immediately.',
|
|
2483
|
+
example: 'organization-id'
|
|
2484
|
+
}
|
|
2485
|
+
},
|
|
2486
|
+
required: [
|
|
2487
|
+
'id'
|
|
2488
|
+
],
|
|
1290
2489
|
additionalProperties: false
|
|
1291
2490
|
};
|
|
1292
2491
|
export const OrganizationSchema = {
|
|
1293
2492
|
type: 'object',
|
|
1294
2493
|
properties: {
|
|
2494
|
+
id: {
|
|
2495
|
+
type: 'string',
|
|
2496
|
+
format: 'uuid',
|
|
2497
|
+
description: 'Unique identifier of the organization. UUID v4 string in canonical form',
|
|
2498
|
+
example: 'e94d30ec-a2dd-4dcb-832c-ac2be144ba91'
|
|
2499
|
+
},
|
|
1295
2500
|
name: {
|
|
1296
2501
|
type: 'string',
|
|
1297
2502
|
maxLength: 120,
|
|
1298
2503
|
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
2504
|
description: 'Name of the legal entity. This name will be used in invoices. Use your first and last name for individual accounts.',
|
|
1301
2505
|
example: 'ACME Corp.'
|
|
1302
2506
|
},
|
|
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: {
|
|
2507
|
+
type: {
|
|
1363
2508
|
type: 'string',
|
|
1364
|
-
|
|
1365
|
-
|
|
1366
|
-
|
|
2509
|
+
description: 'Type of the organization. `business` for legal entities, `personal` for individuals.',
|
|
2510
|
+
example: 'business',
|
|
2511
|
+
enum: [
|
|
2512
|
+
'business',
|
|
2513
|
+
'personal'
|
|
2514
|
+
]
|
|
1367
2515
|
},
|
|
1368
2516
|
date_created: {
|
|
1369
2517
|
type: 'string',
|
|
@@ -1402,12 +2550,6 @@ export const OrganizationSchema = {
|
|
|
1402
2550
|
description: 'Maximum number of fleets that can be created per cluster.',
|
|
1403
2551
|
example: 999
|
|
1404
2552
|
},
|
|
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
2553
|
cluster_tiers: {
|
|
1412
2554
|
type: 'array',
|
|
1413
2555
|
items: {
|
|
@@ -1421,7 +2563,7 @@ export const OrganizationSchema = {
|
|
|
1421
2563
|
type: 'array',
|
|
1422
2564
|
items: {
|
|
1423
2565
|
type: 'string',
|
|
1424
|
-
example: 'northamerica-central-
|
|
2566
|
+
example: 'northamerica-central-1a'
|
|
1425
2567
|
},
|
|
1426
2568
|
minItems: 1,
|
|
1427
2569
|
description: 'List of Cloudfleet control plane regions available for the organization.'
|
|
@@ -1434,168 +2576,999 @@ export const OrganizationSchema = {
|
|
|
1434
2576
|
id: {
|
|
1435
2577
|
type: 'string',
|
|
1436
2578
|
description: 'Id of the control plane version. Used in API calls.',
|
|
1437
|
-
example: '1.
|
|
2579
|
+
example: '1.33.x-cfke.x'
|
|
2580
|
+
},
|
|
2581
|
+
label: {
|
|
2582
|
+
type: 'string',
|
|
2583
|
+
description: 'Label of the control plane version. Used in frontent UI.',
|
|
2584
|
+
example: '1.33.x (Always latest 1.33 patch version)'
|
|
2585
|
+
}
|
|
2586
|
+
},
|
|
2587
|
+
required: [
|
|
2588
|
+
'id',
|
|
2589
|
+
'label'
|
|
2590
|
+
],
|
|
2591
|
+
additionalProperties: false
|
|
2592
|
+
},
|
|
2593
|
+
minItems: 1,
|
|
2594
|
+
description: 'List of CFKE control plane versions available for the organization.'
|
|
2595
|
+
},
|
|
2596
|
+
cfcr_storage_gb: {
|
|
2597
|
+
type: 'integer',
|
|
2598
|
+
minimum: -1,
|
|
2599
|
+
description: 'Organization-level maximum CFCR storage volume in GB. -1 means no limit.',
|
|
2600
|
+
example: 500
|
|
2601
|
+
}
|
|
2602
|
+
},
|
|
2603
|
+
required: [
|
|
2604
|
+
'basic_clusters_max',
|
|
2605
|
+
'basic_clusters_available',
|
|
2606
|
+
'pro_clusters_max',
|
|
2607
|
+
'pro_clusters_available',
|
|
2608
|
+
'fleets_max',
|
|
2609
|
+
'cluster_tiers',
|
|
2610
|
+
'regions',
|
|
2611
|
+
'versions',
|
|
2612
|
+
'cfcr_storage_gb'
|
|
2613
|
+
],
|
|
2614
|
+
additionalProperties: false,
|
|
2615
|
+
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.'
|
|
2616
|
+
},
|
|
2617
|
+
status: {
|
|
2618
|
+
type: 'string',
|
|
2619
|
+
description: 'Status of the organization. Can be `active` or `closed`, or `suspended`.',
|
|
2620
|
+
enum: [
|
|
2621
|
+
'active',
|
|
2622
|
+
'closed',
|
|
2623
|
+
'suspended'
|
|
2624
|
+
]
|
|
2625
|
+
},
|
|
2626
|
+
verification: {
|
|
2627
|
+
type: 'string',
|
|
2628
|
+
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.',
|
|
2629
|
+
example: 'verified',
|
|
2630
|
+
enum: [
|
|
2631
|
+
'none',
|
|
2632
|
+
'submitted',
|
|
2633
|
+
'verified'
|
|
2634
|
+
]
|
|
2635
|
+
}
|
|
2636
|
+
},
|
|
2637
|
+
required: [
|
|
2638
|
+
'id',
|
|
2639
|
+
'type',
|
|
2640
|
+
'date_created',
|
|
2641
|
+
'quota',
|
|
2642
|
+
'status',
|
|
2643
|
+
'verification'
|
|
2644
|
+
],
|
|
2645
|
+
additionalProperties: false
|
|
2646
|
+
};
|
|
2647
|
+
export const PaymentMethodSchema = {
|
|
2648
|
+
type: 'object',
|
|
2649
|
+
properties: {
|
|
2650
|
+
id: {
|
|
2651
|
+
type: 'string',
|
|
2652
|
+
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.',
|
|
2653
|
+
example: 'pm_1MtwBwLkdIwHu7ix28a3tqPa'
|
|
2654
|
+
},
|
|
2655
|
+
type: {
|
|
2656
|
+
type: 'string',
|
|
2657
|
+
description: 'Payment method type. `card`, `sepa_debit` for SEPA Direct Debit (business accounts only), or `bank_transfer` for paying invoices by bank transfer.',
|
|
2658
|
+
example: 'card',
|
|
2659
|
+
enum: [
|
|
2660
|
+
'card',
|
|
2661
|
+
'sepa_debit',
|
|
2662
|
+
'bank_transfer'
|
|
2663
|
+
]
|
|
2664
|
+
},
|
|
2665
|
+
last4: {
|
|
2666
|
+
type: 'string',
|
|
2667
|
+
nullable: true,
|
|
2668
|
+
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.',
|
|
2669
|
+
example: '4242'
|
|
2670
|
+
},
|
|
2671
|
+
exp_month: {
|
|
2672
|
+
type: 'integer',
|
|
2673
|
+
minimum: 1,
|
|
2674
|
+
maximum: 12,
|
|
2675
|
+
nullable: true,
|
|
2676
|
+
description: 'Two-digit number representing the card\'s expiration month. Null for SEPA Direct Debit and bank transfer.',
|
|
2677
|
+
example: 12
|
|
2678
|
+
},
|
|
2679
|
+
exp_year: {
|
|
2680
|
+
type: 'integer',
|
|
2681
|
+
nullable: true,
|
|
2682
|
+
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.',
|
|
2683
|
+
example: 2028
|
|
2684
|
+
},
|
|
2685
|
+
brand: {
|
|
2686
|
+
type: 'string',
|
|
2687
|
+
nullable: true,
|
|
2688
|
+
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.',
|
|
2689
|
+
example: 'visa'
|
|
2690
|
+
},
|
|
2691
|
+
iban: {
|
|
2692
|
+
type: 'string',
|
|
2693
|
+
nullable: true,
|
|
2694
|
+
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.',
|
|
2695
|
+
example: 'DE11243015658023127510'
|
|
2696
|
+
},
|
|
2697
|
+
bic: {
|
|
2698
|
+
type: 'string',
|
|
2699
|
+
nullable: true,
|
|
2700
|
+
description: 'BIC/SWIFT of the destination bank for bank transfers. Set only for `bank_transfer`; null otherwise.',
|
|
2701
|
+
example: 'SOGEDEFFXXX'
|
|
2702
|
+
},
|
|
2703
|
+
account_holder_name: {
|
|
2704
|
+
type: 'string',
|
|
2705
|
+
nullable: true,
|
|
2706
|
+
description: 'Account holder name of the destination bank account for bank transfers. Set only for `bank_transfer`; null otherwise.',
|
|
2707
|
+
example: 'Cloudfleet GmbH'
|
|
2708
|
+
},
|
|
2709
|
+
is_default: {
|
|
2710
|
+
type: 'boolean',
|
|
2711
|
+
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).',
|
|
2712
|
+
example: true
|
|
2713
|
+
}
|
|
2714
|
+
},
|
|
2715
|
+
required: [
|
|
2716
|
+
'id',
|
|
2717
|
+
'type',
|
|
2718
|
+
'last4',
|
|
2719
|
+
'exp_month',
|
|
2720
|
+
'exp_year',
|
|
2721
|
+
'brand',
|
|
2722
|
+
'iban',
|
|
2723
|
+
'bic',
|
|
2724
|
+
'account_holder_name',
|
|
2725
|
+
'is_default'
|
|
2726
|
+
],
|
|
2727
|
+
additionalProperties: false
|
|
2728
|
+
};
|
|
2729
|
+
export const PlatformQuotaSchema = {
|
|
2730
|
+
type: 'object',
|
|
2731
|
+
properties: {
|
|
2732
|
+
basic_clusters_max: {
|
|
2733
|
+
type: 'integer',
|
|
2734
|
+
minimum: 0,
|
|
2735
|
+
description: 'Maximum number of Basic clusters that can be created.',
|
|
2736
|
+
example: 999
|
|
2737
|
+
},
|
|
2738
|
+
basic_clusters_available: {
|
|
2739
|
+
type: 'integer',
|
|
2740
|
+
description: 'Available number of Basic clusters that can be created.',
|
|
2741
|
+
example: 999
|
|
2742
|
+
},
|
|
2743
|
+
pro_clusters_max: {
|
|
2744
|
+
type: 'integer',
|
|
2745
|
+
minimum: 0,
|
|
2746
|
+
description: 'Maximum number of Pro clusters that can be created.',
|
|
2747
|
+
example: 999
|
|
2748
|
+
},
|
|
2749
|
+
pro_clusters_available: {
|
|
2750
|
+
type: 'integer',
|
|
2751
|
+
description: 'Available number of Pro clusters that can be created.',
|
|
2752
|
+
example: 999
|
|
2753
|
+
},
|
|
2754
|
+
fleets_max: {
|
|
2755
|
+
type: 'integer',
|
|
2756
|
+
minimum: 0,
|
|
2757
|
+
description: 'Maximum number of fleets that can be created per cluster.',
|
|
2758
|
+
example: 999
|
|
2759
|
+
},
|
|
2760
|
+
cluster_tiers: {
|
|
2761
|
+
type: 'array',
|
|
2762
|
+
items: {
|
|
2763
|
+
type: 'string',
|
|
2764
|
+
example: 'basic'
|
|
2765
|
+
},
|
|
2766
|
+
minItems: 0,
|
|
2767
|
+
description: 'List of Cloudfleet cluster tiers available for the organization.'
|
|
2768
|
+
},
|
|
2769
|
+
regions: {
|
|
2770
|
+
type: 'array',
|
|
2771
|
+
items: {
|
|
2772
|
+
type: 'string',
|
|
2773
|
+
example: 'northamerica-central-1a'
|
|
2774
|
+
},
|
|
2775
|
+
minItems: 1,
|
|
2776
|
+
description: 'List of Cloudfleet control plane regions available for the organization.'
|
|
2777
|
+
},
|
|
2778
|
+
versions: {
|
|
2779
|
+
type: 'array',
|
|
2780
|
+
items: {
|
|
2781
|
+
type: 'object',
|
|
2782
|
+
properties: {
|
|
2783
|
+
id: {
|
|
2784
|
+
type: 'string',
|
|
2785
|
+
description: 'Id of the control plane version. Used in API calls.',
|
|
2786
|
+
example: '1.33.x-cfke.x'
|
|
2787
|
+
},
|
|
2788
|
+
label: {
|
|
2789
|
+
type: 'string',
|
|
2790
|
+
description: 'Label of the control plane version. Used in frontent UI.',
|
|
2791
|
+
example: '1.33.x (Always latest 1.33 patch version)'
|
|
2792
|
+
}
|
|
2793
|
+
},
|
|
2794
|
+
required: [
|
|
2795
|
+
'id',
|
|
2796
|
+
'label'
|
|
2797
|
+
],
|
|
2798
|
+
additionalProperties: false
|
|
2799
|
+
},
|
|
2800
|
+
minItems: 1,
|
|
2801
|
+
description: 'List of CFKE control plane versions available for the organization.'
|
|
2802
|
+
},
|
|
2803
|
+
cfcr_storage_gb: {
|
|
2804
|
+
type: 'integer',
|
|
2805
|
+
minimum: -1,
|
|
2806
|
+
description: 'Organization-level maximum CFCR storage volume in GB. -1 means no limit.',
|
|
2807
|
+
example: 500
|
|
2808
|
+
}
|
|
2809
|
+
},
|
|
2810
|
+
required: [
|
|
2811
|
+
'basic_clusters_max',
|
|
2812
|
+
'basic_clusters_available',
|
|
2813
|
+
'pro_clusters_max',
|
|
2814
|
+
'pro_clusters_available',
|
|
2815
|
+
'fleets_max',
|
|
2816
|
+
'cluster_tiers',
|
|
2817
|
+
'regions',
|
|
2818
|
+
'versions',
|
|
2819
|
+
'cfcr_storage_gb'
|
|
2820
|
+
],
|
|
2821
|
+
additionalProperties: false
|
|
2822
|
+
};
|
|
2823
|
+
export const RegistryRepositorySchema = {
|
|
2824
|
+
type: 'object',
|
|
2825
|
+
properties: {
|
|
2826
|
+
name: {
|
|
2827
|
+
type: 'string',
|
|
2828
|
+
description: 'Repository name.',
|
|
2829
|
+
example: 'my-app'
|
|
2830
|
+
},
|
|
2831
|
+
region: {
|
|
2832
|
+
type: 'string',
|
|
2833
|
+
description: 'Registry region.',
|
|
2834
|
+
example: 'northamerica'
|
|
2835
|
+
},
|
|
2836
|
+
uri: {
|
|
2837
|
+
type: 'string',
|
|
2838
|
+
description: 'Full URI of the repository.',
|
|
2839
|
+
example: 'ssds123e-6651-4e5d-9c04-079f6532989b.northamerica.registry.cloudfleet.dev/my-app'
|
|
2840
|
+
}
|
|
2841
|
+
},
|
|
2842
|
+
required: [
|
|
2843
|
+
'name',
|
|
2844
|
+
'region',
|
|
2845
|
+
'uri'
|
|
2846
|
+
],
|
|
2847
|
+
additionalProperties: false
|
|
2848
|
+
};
|
|
2849
|
+
export const RegistryRepositoryWithTagsSchema = {
|
|
2850
|
+
type: 'object',
|
|
2851
|
+
properties: {
|
|
2852
|
+
name: {
|
|
2853
|
+
type: 'string',
|
|
2854
|
+
description: 'Repository name.',
|
|
2855
|
+
example: 'my-app'
|
|
2856
|
+
},
|
|
2857
|
+
region: {
|
|
2858
|
+
type: 'string',
|
|
2859
|
+
description: 'Registry region.',
|
|
2860
|
+
example: 'northamerica'
|
|
2861
|
+
},
|
|
2862
|
+
uri: {
|
|
2863
|
+
type: 'string',
|
|
2864
|
+
description: 'Full URI of the repository.',
|
|
2865
|
+
example: 'ssds123e-6651-4e5d-9c04-079f6532989b.northamerica.registry.cloudfleet.dev/my-app'
|
|
2866
|
+
},
|
|
2867
|
+
tags: {
|
|
2868
|
+
type: 'array',
|
|
2869
|
+
items: {
|
|
2870
|
+
type: 'object',
|
|
2871
|
+
properties: {
|
|
2872
|
+
name: {
|
|
2873
|
+
type: 'string',
|
|
2874
|
+
description: 'Tag name.',
|
|
2875
|
+
example: 'latest'
|
|
2876
|
+
},
|
|
2877
|
+
size: {
|
|
2878
|
+
type: 'number',
|
|
2879
|
+
format: 'float',
|
|
2880
|
+
description: 'Size of the tag in bytes.',
|
|
2881
|
+
example: 123456789
|
|
2882
|
+
},
|
|
2883
|
+
mediaType: {
|
|
2884
|
+
type: 'string',
|
|
2885
|
+
description: 'Media type of the manifest.',
|
|
2886
|
+
example: 'application/vnd.docker.distribution.manifest.v2+json'
|
|
2887
|
+
},
|
|
2888
|
+
platforms: {
|
|
2889
|
+
type: 'array',
|
|
2890
|
+
items: {
|
|
2891
|
+
type: 'string'
|
|
2892
|
+
},
|
|
2893
|
+
description: 'Array of platform strings for multi-arch images (e.g., linux/amd64, linux/arm64).',
|
|
2894
|
+
example: [
|
|
2895
|
+
'linux/amd64',
|
|
2896
|
+
'linux/arm64'
|
|
2897
|
+
]
|
|
2898
|
+
}
|
|
2899
|
+
},
|
|
2900
|
+
required: [
|
|
2901
|
+
'name',
|
|
2902
|
+
'size'
|
|
2903
|
+
],
|
|
2904
|
+
additionalProperties: false
|
|
2905
|
+
},
|
|
2906
|
+
description: 'Array of tags in the repository.'
|
|
2907
|
+
},
|
|
2908
|
+
totalSize: {
|
|
2909
|
+
type: 'number',
|
|
2910
|
+
format: 'float',
|
|
2911
|
+
description: 'Total size of all tags in the repository in bytes.',
|
|
2912
|
+
example: 987654321
|
|
2913
|
+
}
|
|
2914
|
+
},
|
|
2915
|
+
required: [
|
|
2916
|
+
'name',
|
|
2917
|
+
'region',
|
|
2918
|
+
'uri',
|
|
2919
|
+
'tags',
|
|
2920
|
+
'totalSize'
|
|
2921
|
+
],
|
|
2922
|
+
additionalProperties: false
|
|
2923
|
+
};
|
|
2924
|
+
export const RegistryTagSchema = {
|
|
2925
|
+
type: 'object',
|
|
2926
|
+
properties: {
|
|
2927
|
+
name: {
|
|
2928
|
+
type: 'string',
|
|
2929
|
+
description: 'Tag name.',
|
|
2930
|
+
example: 'latest'
|
|
2931
|
+
},
|
|
2932
|
+
digest: {
|
|
2933
|
+
type: 'string',
|
|
2934
|
+
description: 'Manifest digest for pulling by digest.',
|
|
2935
|
+
example: 'sha256:abcd1234ef567890abcd1234ef567890abcd1234ef567890abcd1234ef567890'
|
|
2936
|
+
},
|
|
2937
|
+
mediaType: {
|
|
2938
|
+
type: 'string',
|
|
2939
|
+
description: 'Media type of the manifest.',
|
|
2940
|
+
example: 'application/vnd.docker.distribution.manifest.v2+json'
|
|
2941
|
+
},
|
|
2942
|
+
config: {
|
|
2943
|
+
type: 'object',
|
|
2944
|
+
properties: {
|
|
2945
|
+
size: {
|
|
2946
|
+
type: 'number',
|
|
2947
|
+
format: 'float',
|
|
2948
|
+
description: 'Size of the config in bytes.',
|
|
2949
|
+
example: 1234
|
|
2950
|
+
}
|
|
2951
|
+
},
|
|
2952
|
+
required: [
|
|
2953
|
+
'size'
|
|
2954
|
+
],
|
|
2955
|
+
additionalProperties: false,
|
|
2956
|
+
description: 'Manifest config metadata.'
|
|
2957
|
+
},
|
|
2958
|
+
layers: {
|
|
2959
|
+
type: 'array',
|
|
2960
|
+
items: {
|
|
2961
|
+
type: 'object',
|
|
2962
|
+
properties: {
|
|
2963
|
+
digest: {
|
|
2964
|
+
type: 'string',
|
|
2965
|
+
description: 'Digest of the layer.',
|
|
2966
|
+
example: 'sha256:abcd1234ef567890abcd1234ef567890abcd1234ef567890abcd1234ef567890'
|
|
2967
|
+
},
|
|
2968
|
+
size: {
|
|
2969
|
+
type: 'number',
|
|
2970
|
+
format: 'float',
|
|
2971
|
+
description: 'Size of the layer in bytes.',
|
|
2972
|
+
example: 5678
|
|
2973
|
+
}
|
|
2974
|
+
},
|
|
2975
|
+
required: [
|
|
2976
|
+
'size'
|
|
2977
|
+
],
|
|
2978
|
+
additionalProperties: false
|
|
2979
|
+
},
|
|
2980
|
+
description: 'Array of layer metadata.'
|
|
2981
|
+
},
|
|
2982
|
+
manifests: {
|
|
2983
|
+
type: 'array',
|
|
2984
|
+
items: {
|
|
2985
|
+
type: 'object',
|
|
2986
|
+
properties: {
|
|
2987
|
+
digest: {
|
|
2988
|
+
type: 'string',
|
|
2989
|
+
description: 'Digest of the manifest.',
|
|
2990
|
+
example: 'sha256:abcd1234ef567890abcd1234ef567890abcd1234ef567890abcd1234ef567890'
|
|
2991
|
+
},
|
|
2992
|
+
platform: {
|
|
2993
|
+
type: 'object',
|
|
2994
|
+
properties: {
|
|
2995
|
+
architecture: {
|
|
2996
|
+
type: 'string',
|
|
2997
|
+
description: 'Architecture of the platform.',
|
|
2998
|
+
example: 'amd64'
|
|
2999
|
+
},
|
|
3000
|
+
os: {
|
|
3001
|
+
type: 'string',
|
|
3002
|
+
description: 'Operating system of the platform.',
|
|
3003
|
+
example: 'linux'
|
|
3004
|
+
},
|
|
3005
|
+
variant: {
|
|
3006
|
+
type: 'string',
|
|
3007
|
+
description: 'Variant of the platform (e.g., v7, v8 for ARM).',
|
|
3008
|
+
example: 'v8'
|
|
3009
|
+
}
|
|
3010
|
+
},
|
|
3011
|
+
required: [
|
|
3012
|
+
'architecture',
|
|
3013
|
+
'os'
|
|
3014
|
+
],
|
|
3015
|
+
additionalProperties: false,
|
|
3016
|
+
description: 'Platform information for the manifest.'
|
|
3017
|
+
},
|
|
3018
|
+
layers: {
|
|
3019
|
+
type: 'array',
|
|
3020
|
+
items: {
|
|
3021
|
+
type: 'object',
|
|
3022
|
+
properties: {
|
|
3023
|
+
digest: {
|
|
3024
|
+
type: 'string',
|
|
3025
|
+
description: 'Digest of the layer.',
|
|
3026
|
+
example: 'sha256:abcd1234ef567890abcd1234ef567890abcd1234ef567890abcd1234ef567890'
|
|
3027
|
+
},
|
|
3028
|
+
size: {
|
|
3029
|
+
type: 'number',
|
|
3030
|
+
format: 'float',
|
|
3031
|
+
description: 'Size of the layer in bytes.',
|
|
3032
|
+
example: 5678
|
|
3033
|
+
}
|
|
3034
|
+
},
|
|
3035
|
+
required: [
|
|
3036
|
+
'size'
|
|
3037
|
+
],
|
|
3038
|
+
additionalProperties: false
|
|
3039
|
+
},
|
|
3040
|
+
description: 'Layers for this platform.'
|
|
3041
|
+
},
|
|
3042
|
+
size: {
|
|
3043
|
+
type: 'number',
|
|
3044
|
+
format: 'float',
|
|
3045
|
+
description: 'Total size of this platform manifest in bytes.',
|
|
3046
|
+
example: 12345678
|
|
3047
|
+
}
|
|
3048
|
+
},
|
|
3049
|
+
required: [
|
|
3050
|
+
'digest'
|
|
3051
|
+
],
|
|
3052
|
+
additionalProperties: false
|
|
3053
|
+
},
|
|
3054
|
+
description: 'Array of manifests for multi-arch images.'
|
|
3055
|
+
},
|
|
3056
|
+
size: {
|
|
3057
|
+
type: 'number',
|
|
3058
|
+
format: 'float',
|
|
3059
|
+
description: 'Total size of the tag in bytes.',
|
|
3060
|
+
example: 123456789
|
|
3061
|
+
},
|
|
3062
|
+
region: {
|
|
3063
|
+
type: 'string',
|
|
3064
|
+
description: 'Registry region.',
|
|
3065
|
+
example: 'northamerica'
|
|
3066
|
+
},
|
|
3067
|
+
repository: {
|
|
3068
|
+
type: 'string',
|
|
3069
|
+
description: 'Repository name.',
|
|
3070
|
+
example: 'my-app'
|
|
3071
|
+
},
|
|
3072
|
+
uri: {
|
|
3073
|
+
type: 'string',
|
|
3074
|
+
description: 'Full URI of the tag.',
|
|
3075
|
+
example: 'ssds123e-6651-4e5d-9c04-079f6532989b.northamerica.registry.cloudfleet.dev/my-app:latest'
|
|
3076
|
+
}
|
|
3077
|
+
},
|
|
3078
|
+
required: [
|
|
3079
|
+
'name',
|
|
3080
|
+
'digest',
|
|
3081
|
+
'size',
|
|
3082
|
+
'region',
|
|
3083
|
+
'repository',
|
|
3084
|
+
'uri'
|
|
3085
|
+
],
|
|
3086
|
+
additionalProperties: false
|
|
3087
|
+
};
|
|
3088
|
+
export const TicketAttachmentSchema = {
|
|
3089
|
+
type: 'object',
|
|
3090
|
+
properties: {
|
|
3091
|
+
id: {
|
|
3092
|
+
type: 'string',
|
|
3093
|
+
description: 'Unique identifier of the attachment (Mongo ObjectId).',
|
|
3094
|
+
example: '60c72b2f9f1b2c001f8e4d3c'
|
|
3095
|
+
},
|
|
3096
|
+
filename: {
|
|
3097
|
+
type: 'string',
|
|
3098
|
+
description: 'Original filename as uploaded.',
|
|
3099
|
+
example: 'debug.log'
|
|
3100
|
+
},
|
|
3101
|
+
content_type: {
|
|
3102
|
+
type: 'string',
|
|
3103
|
+
description: 'MIME content type of the attachment.',
|
|
3104
|
+
example: 'text/plain'
|
|
3105
|
+
},
|
|
3106
|
+
size: {
|
|
3107
|
+
type: 'integer',
|
|
3108
|
+
description: 'Size of the attachment in bytes.',
|
|
3109
|
+
example: 12345
|
|
3110
|
+
}
|
|
3111
|
+
},
|
|
3112
|
+
required: [
|
|
3113
|
+
'id',
|
|
3114
|
+
'filename',
|
|
3115
|
+
'content_type',
|
|
3116
|
+
'size'
|
|
3117
|
+
],
|
|
3118
|
+
additionalProperties: false
|
|
3119
|
+
};
|
|
3120
|
+
export const TicketCreateInputSchema = {
|
|
3121
|
+
type: 'object',
|
|
3122
|
+
properties: {
|
|
3123
|
+
category: {
|
|
3124
|
+
type: 'string',
|
|
3125
|
+
description: 'Ticket category. Drives auto-assignment and may carry a subcategory in `properties`.',
|
|
3126
|
+
example: 'technical',
|
|
3127
|
+
enum: [
|
|
3128
|
+
'billing',
|
|
3129
|
+
'technical',
|
|
3130
|
+
'general'
|
|
3131
|
+
]
|
|
3132
|
+
},
|
|
3133
|
+
body: {
|
|
3134
|
+
type: 'string',
|
|
3135
|
+
maxLength: 50000,
|
|
3136
|
+
minLength: 1,
|
|
3137
|
+
pattern: '\\S',
|
|
3138
|
+
description: 'Initial message body in markdown. There is no separate subject — the first message body is the description.',
|
|
3139
|
+
example: 'My cluster cannot reach the registry. Logs attached.'
|
|
3140
|
+
},
|
|
3141
|
+
properties: {
|
|
3142
|
+
type: 'object',
|
|
3143
|
+
additionalProperties: true,
|
|
3144
|
+
description: 'Free-form key/value bag set by the UI (e.g. `subcategory`, `cluster_id`, `cluster_name`, `region`).',
|
|
3145
|
+
example: {
|
|
3146
|
+
subcategory: 'cluster-question',
|
|
3147
|
+
cluster_id: '60c72b2f9f1b2c001f8e4d3a'
|
|
3148
|
+
}
|
|
3149
|
+
}
|
|
3150
|
+
},
|
|
3151
|
+
required: [
|
|
3152
|
+
'category',
|
|
3153
|
+
'body'
|
|
3154
|
+
],
|
|
3155
|
+
additionalProperties: false
|
|
3156
|
+
};
|
|
3157
|
+
export const TicketListResponseSchema = {
|
|
3158
|
+
type: 'object',
|
|
3159
|
+
properties: {
|
|
3160
|
+
items: {
|
|
3161
|
+
type: 'array',
|
|
3162
|
+
items: {
|
|
3163
|
+
type: 'object',
|
|
3164
|
+
properties: {
|
|
3165
|
+
id: {
|
|
3166
|
+
type: 'string',
|
|
3167
|
+
description: 'Unique identifier of the ticket (Mongo ObjectId).',
|
|
3168
|
+
example: '60c72b2f9f1b2c001f8e4d3a'
|
|
3169
|
+
},
|
|
3170
|
+
status: {
|
|
3171
|
+
type: 'string',
|
|
3172
|
+
description: 'Current state of the ticket.',
|
|
3173
|
+
example: 'waiting_on_us',
|
|
3174
|
+
enum: [
|
|
3175
|
+
'waiting_on_us',
|
|
3176
|
+
'waiting_on_user',
|
|
3177
|
+
'closed'
|
|
3178
|
+
]
|
|
3179
|
+
},
|
|
3180
|
+
category: {
|
|
3181
|
+
type: 'string',
|
|
3182
|
+
description: 'Ticket category.',
|
|
3183
|
+
example: 'technical',
|
|
3184
|
+
enum: [
|
|
3185
|
+
'billing',
|
|
3186
|
+
'technical',
|
|
3187
|
+
'general'
|
|
3188
|
+
]
|
|
3189
|
+
},
|
|
3190
|
+
summary: {
|
|
3191
|
+
type: 'string',
|
|
3192
|
+
description: 'First 128 characters of the initial message body, with markdown formatting and newlines stripped. Used for ticket list previews.',
|
|
3193
|
+
example: 'My cluster cannot reach the registry. Logs attached.'
|
|
3194
|
+
},
|
|
3195
|
+
closed_at: {
|
|
3196
|
+
type: 'string',
|
|
3197
|
+
format: 'date-time',
|
|
3198
|
+
nullable: true,
|
|
3199
|
+
description: 'Closure timestamp. Null while the ticket is open.',
|
|
3200
|
+
example: '2026-05-18T16:08:14.338Z'
|
|
3201
|
+
},
|
|
3202
|
+
date_created: {
|
|
3203
|
+
type: 'string',
|
|
3204
|
+
format: 'date-time',
|
|
3205
|
+
description: 'Creation date of the ticket. ISO 8601 UTC.',
|
|
3206
|
+
example: '2026-05-11T16:08:14.338Z'
|
|
3207
|
+
},
|
|
3208
|
+
date_updated: {
|
|
3209
|
+
type: 'string',
|
|
3210
|
+
format: 'date-time',
|
|
3211
|
+
description: 'Last update date of the ticket. ISO 8601 UTC.',
|
|
3212
|
+
example: '2026-05-11T16:08:14.338Z'
|
|
3213
|
+
},
|
|
3214
|
+
messages: {
|
|
3215
|
+
type: 'array',
|
|
3216
|
+
items: {
|
|
3217
|
+
type: 'object',
|
|
3218
|
+
properties: {
|
|
3219
|
+
id: {
|
|
3220
|
+
type: 'string',
|
|
3221
|
+
description: 'Unique identifier of the message (Mongo ObjectId).',
|
|
3222
|
+
example: '60c72b2f9f1b2c001f8e4d3b'
|
|
3223
|
+
},
|
|
3224
|
+
type: {
|
|
3225
|
+
type: 'string',
|
|
3226
|
+
description: 'Message type. Internal notes are filtered out of customer-facing responses.',
|
|
3227
|
+
example: 'customer_reply',
|
|
3228
|
+
enum: [
|
|
3229
|
+
'customer_reply',
|
|
3230
|
+
'agent_reply'
|
|
3231
|
+
]
|
|
3232
|
+
},
|
|
3233
|
+
body: {
|
|
3234
|
+
type: 'string',
|
|
3235
|
+
description: 'Message body in markdown.',
|
|
3236
|
+
example: 'Thanks — that resolved it on my side.'
|
|
3237
|
+
},
|
|
3238
|
+
author_first_name: {
|
|
3239
|
+
type: 'string',
|
|
3240
|
+
nullable: true,
|
|
3241
|
+
description: 'First name of the author. Null when not provided.',
|
|
3242
|
+
example: 'Jane'
|
|
3243
|
+
},
|
|
3244
|
+
author_last_name: {
|
|
3245
|
+
type: 'string',
|
|
3246
|
+
nullable: true,
|
|
3247
|
+
description: 'Last name of the author. Null when not provided.',
|
|
3248
|
+
example: 'Doe'
|
|
3249
|
+
},
|
|
3250
|
+
attachments: {
|
|
3251
|
+
type: 'array',
|
|
3252
|
+
items: {
|
|
3253
|
+
type: 'object',
|
|
3254
|
+
properties: {
|
|
3255
|
+
id: {
|
|
3256
|
+
type: 'string',
|
|
3257
|
+
description: 'Unique identifier of the attachment (Mongo ObjectId).',
|
|
3258
|
+
example: '60c72b2f9f1b2c001f8e4d3c'
|
|
3259
|
+
},
|
|
3260
|
+
filename: {
|
|
3261
|
+
type: 'string',
|
|
3262
|
+
description: 'Original filename as uploaded.',
|
|
3263
|
+
example: 'debug.log'
|
|
3264
|
+
},
|
|
3265
|
+
content_type: {
|
|
3266
|
+
type: 'string',
|
|
3267
|
+
description: 'MIME content type of the attachment.',
|
|
3268
|
+
example: 'text/plain'
|
|
3269
|
+
},
|
|
3270
|
+
size: {
|
|
3271
|
+
type: 'integer',
|
|
3272
|
+
description: 'Size of the attachment in bytes.',
|
|
3273
|
+
example: 12345
|
|
3274
|
+
}
|
|
3275
|
+
},
|
|
3276
|
+
required: [
|
|
3277
|
+
'id',
|
|
3278
|
+
'filename',
|
|
3279
|
+
'content_type',
|
|
3280
|
+
'size'
|
|
3281
|
+
],
|
|
3282
|
+
additionalProperties: false
|
|
3283
|
+
},
|
|
3284
|
+
description: 'Attachments associated with this message.',
|
|
3285
|
+
example: []
|
|
3286
|
+
},
|
|
3287
|
+
date_created: {
|
|
3288
|
+
type: 'string',
|
|
3289
|
+
format: 'date-time',
|
|
3290
|
+
description: 'Creation date of the message. ISO 8601 UTC.',
|
|
3291
|
+
example: '2026-05-11T16:08:14.338Z'
|
|
3292
|
+
}
|
|
1438
3293
|
},
|
|
1439
|
-
|
|
1440
|
-
|
|
1441
|
-
|
|
1442
|
-
|
|
1443
|
-
|
|
3294
|
+
required: [
|
|
3295
|
+
'id',
|
|
3296
|
+
'type',
|
|
3297
|
+
'body',
|
|
3298
|
+
'date_created'
|
|
3299
|
+
],
|
|
3300
|
+
additionalProperties: false
|
|
1444
3301
|
},
|
|
1445
|
-
|
|
1446
|
-
|
|
1447
|
-
|
|
1448
|
-
|
|
1449
|
-
|
|
1450
|
-
|
|
1451
|
-
|
|
1452
|
-
|
|
1453
|
-
|
|
1454
|
-
|
|
1455
|
-
|
|
1456
|
-
|
|
1457
|
-
type: 'array',
|
|
1458
|
-
items: {
|
|
1459
|
-
type: 'string',
|
|
1460
|
-
example: 'signup-payment-method',
|
|
1461
|
-
enum: ['signup-billing-address', 'signup-payment-method', 'signup-invite-team', 'signup-create-cluster']
|
|
3302
|
+
description: 'Messages on the ticket in chronological order. Internal notes are excluded. Returned by the detail endpoint only.'
|
|
3303
|
+
}
|
|
3304
|
+
},
|
|
3305
|
+
required: [
|
|
3306
|
+
'id',
|
|
3307
|
+
'status',
|
|
3308
|
+
'category',
|
|
3309
|
+
'summary',
|
|
3310
|
+
'date_created',
|
|
3311
|
+
'date_updated'
|
|
3312
|
+
],
|
|
3313
|
+
additionalProperties: false
|
|
1462
3314
|
},
|
|
1463
|
-
description: '
|
|
1464
|
-
}
|
|
1465
|
-
|
|
3315
|
+
description: 'Tickets for the organization, ordered newest first. Messages are omitted from list responses.'
|
|
3316
|
+
}
|
|
3317
|
+
},
|
|
3318
|
+
required: [
|
|
3319
|
+
'items'
|
|
3320
|
+
],
|
|
3321
|
+
additionalProperties: false
|
|
3322
|
+
};
|
|
3323
|
+
export const TicketMessageInputSchema = {
|
|
3324
|
+
type: 'object',
|
|
3325
|
+
properties: {
|
|
3326
|
+
body: {
|
|
1466
3327
|
type: 'string',
|
|
1467
|
-
|
|
1468
|
-
|
|
3328
|
+
maxLength: 50000,
|
|
3329
|
+
minLength: 1,
|
|
3330
|
+
pattern: '\\S',
|
|
3331
|
+
description: 'Reply body in markdown.',
|
|
3332
|
+
example: 'Thanks — that resolved it on my side.'
|
|
1469
3333
|
}
|
|
1470
3334
|
},
|
|
1471
|
-
required: [
|
|
3335
|
+
required: [
|
|
3336
|
+
'body'
|
|
3337
|
+
],
|
|
1472
3338
|
additionalProperties: false
|
|
1473
3339
|
};
|
|
1474
|
-
export const
|
|
3340
|
+
export const TicketMessageSchema = {
|
|
1475
3341
|
type: 'object',
|
|
1476
3342
|
properties: {
|
|
1477
|
-
|
|
3343
|
+
id: {
|
|
1478
3344
|
type: 'string',
|
|
1479
|
-
|
|
1480
|
-
|
|
1481
|
-
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,}$',
|
|
1482
|
-
description: 'Name of the legal entity. This name will be used in invoices. Use your first and last name for individual accounts.',
|
|
1483
|
-
example: 'ACME Corp.'
|
|
3345
|
+
description: 'Unique identifier of the message (Mongo ObjectId).',
|
|
3346
|
+
example: '60c72b2f9f1b2c001f8e4d3b'
|
|
1484
3347
|
},
|
|
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
|
-
|
|
1521
|
-
|
|
1522
|
-
|
|
1523
|
-
|
|
1524
|
-
|
|
1525
|
-
|
|
1526
|
-
|
|
1527
|
-
|
|
1528
|
-
|
|
1529
|
-
|
|
1530
|
-
|
|
1531
|
-
|
|
1532
|
-
|
|
3348
|
+
type: {
|
|
3349
|
+
type: 'string',
|
|
3350
|
+
description: 'Message type. Internal notes are filtered out of customer-facing responses.',
|
|
3351
|
+
example: 'customer_reply',
|
|
3352
|
+
enum: [
|
|
3353
|
+
'customer_reply',
|
|
3354
|
+
'agent_reply'
|
|
3355
|
+
]
|
|
3356
|
+
},
|
|
3357
|
+
body: {
|
|
3358
|
+
type: 'string',
|
|
3359
|
+
description: 'Message body in markdown.',
|
|
3360
|
+
example: 'Thanks — that resolved it on my side.'
|
|
3361
|
+
},
|
|
3362
|
+
author_first_name: {
|
|
3363
|
+
type: 'string',
|
|
3364
|
+
description: 'First name of the author. Null when not provided.',
|
|
3365
|
+
example: 'Jane'
|
|
3366
|
+
},
|
|
3367
|
+
author_last_name: {
|
|
3368
|
+
type: 'string',
|
|
3369
|
+
description: 'Last name of the author. Null when not provided.',
|
|
3370
|
+
example: 'Doe'
|
|
3371
|
+
},
|
|
3372
|
+
attachments: {
|
|
3373
|
+
type: 'array',
|
|
3374
|
+
items: {
|
|
3375
|
+
type: 'object',
|
|
3376
|
+
properties: {
|
|
3377
|
+
id: {
|
|
3378
|
+
type: 'string',
|
|
3379
|
+
description: 'Unique identifier of the attachment (Mongo ObjectId).',
|
|
3380
|
+
example: '60c72b2f9f1b2c001f8e4d3c'
|
|
3381
|
+
},
|
|
3382
|
+
filename: {
|
|
3383
|
+
type: 'string',
|
|
3384
|
+
description: 'Original filename as uploaded.',
|
|
3385
|
+
example: 'debug.log'
|
|
3386
|
+
},
|
|
3387
|
+
content_type: {
|
|
3388
|
+
type: 'string',
|
|
3389
|
+
description: 'MIME content type of the attachment.',
|
|
3390
|
+
example: 'text/plain'
|
|
3391
|
+
},
|
|
3392
|
+
size: {
|
|
3393
|
+
type: 'integer',
|
|
3394
|
+
description: 'Size of the attachment in bytes.',
|
|
3395
|
+
example: 12345
|
|
3396
|
+
}
|
|
1533
3397
|
},
|
|
1534
|
-
|
|
1535
|
-
|
|
1536
|
-
|
|
1537
|
-
|
|
1538
|
-
|
|
3398
|
+
required: [
|
|
3399
|
+
'id',
|
|
3400
|
+
'filename',
|
|
3401
|
+
'content_type',
|
|
3402
|
+
'size'
|
|
3403
|
+
],
|
|
3404
|
+
additionalProperties: false
|
|
1539
3405
|
},
|
|
1540
|
-
|
|
1541
|
-
|
|
1542
|
-
|
|
3406
|
+
description: 'Attachments associated with this message.',
|
|
3407
|
+
example: []
|
|
3408
|
+
},
|
|
3409
|
+
date_created: {
|
|
3410
|
+
type: 'string',
|
|
3411
|
+
format: 'date-time',
|
|
3412
|
+
description: 'Creation date of the message. ISO 8601 UTC.',
|
|
3413
|
+
example: '2026-05-11T16:08:14.338Z'
|
|
1543
3414
|
}
|
|
1544
3415
|
},
|
|
1545
|
-
required: [
|
|
3416
|
+
required: [
|
|
3417
|
+
'id',
|
|
3418
|
+
'type',
|
|
3419
|
+
'body',
|
|
3420
|
+
'date_created'
|
|
3421
|
+
],
|
|
1546
3422
|
additionalProperties: false
|
|
1547
3423
|
};
|
|
1548
|
-
export const
|
|
3424
|
+
export const TicketSchema = {
|
|
1549
3425
|
type: 'object',
|
|
1550
3426
|
properties: {
|
|
1551
3427
|
id: {
|
|
1552
3428
|
type: 'string',
|
|
1553
|
-
|
|
1554
|
-
|
|
1555
|
-
example: 'e94d30ec-a2dd-4dcb-832c-ac2be144ba91'
|
|
3429
|
+
description: 'Unique identifier of the ticket (Mongo ObjectId).',
|
|
3430
|
+
example: '60c72b2f9f1b2c001f8e4d3a'
|
|
1556
3431
|
},
|
|
1557
|
-
|
|
1558
|
-
type: '
|
|
1559
|
-
description: '
|
|
1560
|
-
example:
|
|
3432
|
+
status: {
|
|
3433
|
+
type: 'string',
|
|
3434
|
+
description: 'Current state of the ticket.',
|
|
3435
|
+
example: 'waiting_on_us',
|
|
3436
|
+
enum: [
|
|
3437
|
+
'waiting_on_us',
|
|
3438
|
+
'waiting_on_user',
|
|
3439
|
+
'closed'
|
|
3440
|
+
]
|
|
1561
3441
|
},
|
|
1562
|
-
|
|
3442
|
+
category: {
|
|
1563
3443
|
type: 'string',
|
|
1564
|
-
|
|
1565
|
-
|
|
1566
|
-
|
|
1567
|
-
|
|
3444
|
+
description: 'Ticket category.',
|
|
3445
|
+
example: 'technical',
|
|
3446
|
+
enum: [
|
|
3447
|
+
'billing',
|
|
3448
|
+
'technical',
|
|
3449
|
+
'general'
|
|
3450
|
+
]
|
|
1568
3451
|
},
|
|
1569
|
-
|
|
3452
|
+
summary: {
|
|
1570
3453
|
type: 'string',
|
|
1571
|
-
|
|
1572
|
-
|
|
1573
|
-
example: '4242'
|
|
3454
|
+
description: 'First 128 characters of the initial message body, with markdown formatting and newlines stripped. Used for ticket list previews.',
|
|
3455
|
+
example: 'My cluster cannot reach the registry. Logs attached.'
|
|
1574
3456
|
},
|
|
1575
|
-
|
|
1576
|
-
type: '
|
|
1577
|
-
|
|
1578
|
-
|
|
1579
|
-
|
|
1580
|
-
description: "Two-digit number representing the card's expiration month.",
|
|
1581
|
-
example: '12'
|
|
3457
|
+
closed_at: {
|
|
3458
|
+
type: 'string',
|
|
3459
|
+
format: 'date-time',
|
|
3460
|
+
description: 'Closure timestamp. Null while the ticket is open.',
|
|
3461
|
+
example: '2026-05-18T16:08:14.338Z'
|
|
1582
3462
|
},
|
|
1583
|
-
|
|
1584
|
-
type: '
|
|
1585
|
-
|
|
1586
|
-
|
|
1587
|
-
|
|
1588
|
-
example: '2028'
|
|
3463
|
+
date_created: {
|
|
3464
|
+
type: 'string',
|
|
3465
|
+
format: 'date-time',
|
|
3466
|
+
description: 'Creation date of the ticket. ISO 8601 UTC.',
|
|
3467
|
+
example: '2026-05-11T16:08:14.338Z'
|
|
1589
3468
|
},
|
|
1590
|
-
|
|
3469
|
+
date_updated: {
|
|
1591
3470
|
type: 'string',
|
|
1592
|
-
|
|
1593
|
-
description: '
|
|
1594
|
-
example: '
|
|
1595
|
-
|
|
3471
|
+
format: 'date-time',
|
|
3472
|
+
description: 'Last update date of the ticket. ISO 8601 UTC.',
|
|
3473
|
+
example: '2026-05-11T16:08:14.338Z'
|
|
3474
|
+
},
|
|
3475
|
+
messages: {
|
|
3476
|
+
type: 'array',
|
|
3477
|
+
items: {
|
|
3478
|
+
type: 'object',
|
|
3479
|
+
properties: {
|
|
3480
|
+
id: {
|
|
3481
|
+
type: 'string',
|
|
3482
|
+
description: 'Unique identifier of the message (Mongo ObjectId).',
|
|
3483
|
+
example: '60c72b2f9f1b2c001f8e4d3b'
|
|
3484
|
+
},
|
|
3485
|
+
type: {
|
|
3486
|
+
type: 'string',
|
|
3487
|
+
description: 'Message type. Internal notes are filtered out of customer-facing responses.',
|
|
3488
|
+
example: 'customer_reply',
|
|
3489
|
+
enum: [
|
|
3490
|
+
'customer_reply',
|
|
3491
|
+
'agent_reply'
|
|
3492
|
+
]
|
|
3493
|
+
},
|
|
3494
|
+
body: {
|
|
3495
|
+
type: 'string',
|
|
3496
|
+
description: 'Message body in markdown.',
|
|
3497
|
+
example: 'Thanks — that resolved it on my side.'
|
|
3498
|
+
},
|
|
3499
|
+
author_first_name: {
|
|
3500
|
+
type: 'string',
|
|
3501
|
+
description: 'First name of the author. Null when not provided.',
|
|
3502
|
+
example: 'Jane'
|
|
3503
|
+
},
|
|
3504
|
+
author_last_name: {
|
|
3505
|
+
type: 'string',
|
|
3506
|
+
description: 'Last name of the author. Null when not provided.',
|
|
3507
|
+
example: 'Doe'
|
|
3508
|
+
},
|
|
3509
|
+
attachments: {
|
|
3510
|
+
type: 'array',
|
|
3511
|
+
items: {
|
|
3512
|
+
type: 'object',
|
|
3513
|
+
properties: {
|
|
3514
|
+
id: {
|
|
3515
|
+
type: 'string',
|
|
3516
|
+
description: 'Unique identifier of the attachment (Mongo ObjectId).',
|
|
3517
|
+
example: '60c72b2f9f1b2c001f8e4d3c'
|
|
3518
|
+
},
|
|
3519
|
+
filename: {
|
|
3520
|
+
type: 'string',
|
|
3521
|
+
description: 'Original filename as uploaded.',
|
|
3522
|
+
example: 'debug.log'
|
|
3523
|
+
},
|
|
3524
|
+
content_type: {
|
|
3525
|
+
type: 'string',
|
|
3526
|
+
description: 'MIME content type of the attachment.',
|
|
3527
|
+
example: 'text/plain'
|
|
3528
|
+
},
|
|
3529
|
+
size: {
|
|
3530
|
+
type: 'integer',
|
|
3531
|
+
description: 'Size of the attachment in bytes.',
|
|
3532
|
+
example: 12345
|
|
3533
|
+
}
|
|
3534
|
+
},
|
|
3535
|
+
required: [
|
|
3536
|
+
'id',
|
|
3537
|
+
'filename',
|
|
3538
|
+
'content_type',
|
|
3539
|
+
'size'
|
|
3540
|
+
],
|
|
3541
|
+
additionalProperties: false
|
|
3542
|
+
},
|
|
3543
|
+
description: 'Attachments associated with this message.',
|
|
3544
|
+
example: []
|
|
3545
|
+
},
|
|
3546
|
+
date_created: {
|
|
3547
|
+
type: 'string',
|
|
3548
|
+
format: 'date-time',
|
|
3549
|
+
description: 'Creation date of the message. ISO 8601 UTC.',
|
|
3550
|
+
example: '2026-05-11T16:08:14.338Z'
|
|
3551
|
+
}
|
|
3552
|
+
},
|
|
3553
|
+
required: [
|
|
3554
|
+
'id',
|
|
3555
|
+
'type',
|
|
3556
|
+
'body',
|
|
3557
|
+
'date_created'
|
|
3558
|
+
],
|
|
3559
|
+
additionalProperties: false
|
|
3560
|
+
},
|
|
3561
|
+
description: 'Messages on the ticket in chronological order. Internal notes are excluded. Returned by the detail endpoint only.'
|
|
1596
3562
|
}
|
|
1597
3563
|
},
|
|
1598
|
-
required: [
|
|
3564
|
+
required: [
|
|
3565
|
+
'id',
|
|
3566
|
+
'status',
|
|
3567
|
+
'category',
|
|
3568
|
+
'summary',
|
|
3569
|
+
'date_created',
|
|
3570
|
+
'date_updated'
|
|
3571
|
+
],
|
|
1599
3572
|
additionalProperties: false
|
|
1600
3573
|
};
|
|
1601
3574
|
export const TokenCreateInputSchema = {
|
|
@@ -1613,10 +3586,16 @@ export const TokenCreateInputSchema = {
|
|
|
1613
3586
|
type: 'string',
|
|
1614
3587
|
description: 'Role assumed by the token.',
|
|
1615
3588
|
example: 'User',
|
|
1616
|
-
enum: [
|
|
3589
|
+
enum: [
|
|
3590
|
+
'Administrator',
|
|
3591
|
+
'User'
|
|
3592
|
+
]
|
|
1617
3593
|
}
|
|
1618
3594
|
},
|
|
1619
|
-
required: [
|
|
3595
|
+
required: [
|
|
3596
|
+
'name',
|
|
3597
|
+
'role'
|
|
3598
|
+
],
|
|
1620
3599
|
additionalProperties: false
|
|
1621
3600
|
};
|
|
1622
3601
|
export const TokenSchema = {
|
|
@@ -1634,7 +3613,10 @@ export const TokenSchema = {
|
|
|
1634
3613
|
type: 'string',
|
|
1635
3614
|
description: 'Role assumed by the token.',
|
|
1636
3615
|
example: 'User',
|
|
1637
|
-
enum: [
|
|
3616
|
+
enum: [
|
|
3617
|
+
'Administrator',
|
|
3618
|
+
'User'
|
|
3619
|
+
]
|
|
1638
3620
|
},
|
|
1639
3621
|
id: {
|
|
1640
3622
|
type: 'string',
|
|
@@ -1653,7 +3635,11 @@ export const TokenSchema = {
|
|
|
1653
3635
|
example: '2023-12-20T13:53:32.000Z'
|
|
1654
3636
|
}
|
|
1655
3637
|
},
|
|
1656
|
-
required: [
|
|
3638
|
+
required: [
|
|
3639
|
+
'name',
|
|
3640
|
+
'role',
|
|
3641
|
+
'date_created'
|
|
3642
|
+
],
|
|
1657
3643
|
additionalProperties: false
|
|
1658
3644
|
};
|
|
1659
3645
|
export const TokenUpdateInputSchema = {
|
|
@@ -1671,37 +3657,173 @@ export const TokenUpdateInputSchema = {
|
|
|
1671
3657
|
type: 'string',
|
|
1672
3658
|
description: 'Role assumed by the token.',
|
|
1673
3659
|
example: 'User',
|
|
1674
|
-
enum: [
|
|
3660
|
+
enum: [
|
|
3661
|
+
'Administrator',
|
|
3662
|
+
'User'
|
|
3663
|
+
]
|
|
3664
|
+
}
|
|
3665
|
+
},
|
|
3666
|
+
additionalProperties: false
|
|
3667
|
+
};
|
|
3668
|
+
export const UsageFacetsSchema = {
|
|
3669
|
+
type: 'object',
|
|
3670
|
+
properties: {
|
|
3671
|
+
cluster_id: {
|
|
3672
|
+
type: 'array',
|
|
3673
|
+
items: {
|
|
3674
|
+
type: 'string'
|
|
3675
|
+
},
|
|
3676
|
+
description: 'List of unique cluster IDs',
|
|
3677
|
+
example: [
|
|
3678
|
+
'6b5439b1-923a-4f2b-a371-d554e5ea23fa'
|
|
3679
|
+
]
|
|
3680
|
+
},
|
|
3681
|
+
product: {
|
|
3682
|
+
type: 'array',
|
|
3683
|
+
items: {
|
|
3684
|
+
type: 'string'
|
|
3685
|
+
},
|
|
3686
|
+
description: 'List of unique products',
|
|
3687
|
+
example: [
|
|
3688
|
+
'cfke_controlplane',
|
|
3689
|
+
'cfke_connected_nodes'
|
|
3690
|
+
]
|
|
3691
|
+
}
|
|
3692
|
+
},
|
|
3693
|
+
additionalProperties: false
|
|
3694
|
+
};
|
|
3695
|
+
export const UsageResponseSchema = {
|
|
3696
|
+
type: 'object',
|
|
3697
|
+
properties: {
|
|
3698
|
+
data: {
|
|
3699
|
+
type: 'array',
|
|
3700
|
+
items: {
|
|
3701
|
+
type: 'object',
|
|
3702
|
+
properties: {
|
|
3703
|
+
hour: {
|
|
3704
|
+
type: 'string',
|
|
3705
|
+
description: 'Hour of the usage',
|
|
3706
|
+
example: '2019-01-01T00:00:00.000Z'
|
|
3707
|
+
},
|
|
3708
|
+
cluster_id: {
|
|
3709
|
+
type: 'string',
|
|
3710
|
+
description: 'Unique identifier of the kubernetes cluster. UUID v4 string in canonical form',
|
|
3711
|
+
example: '6b5439b1-923a-4f2b-a371-d554e5ea23fa'
|
|
3712
|
+
},
|
|
3713
|
+
product: {
|
|
3714
|
+
type: 'string',
|
|
3715
|
+
description: 'The product the usage is associated with',
|
|
3716
|
+
example: 'cfke_controlplane'
|
|
3717
|
+
},
|
|
3718
|
+
value: {
|
|
3719
|
+
type: 'number',
|
|
3720
|
+
format: 'float',
|
|
3721
|
+
description: 'Consumption',
|
|
3722
|
+
example: 4
|
|
3723
|
+
},
|
|
3724
|
+
price: {
|
|
3725
|
+
type: 'number',
|
|
3726
|
+
format: 'float',
|
|
3727
|
+
description: 'Price per unit',
|
|
3728
|
+
example: 0.01
|
|
3729
|
+
},
|
|
3730
|
+
total: {
|
|
3731
|
+
type: 'number',
|
|
3732
|
+
format: 'float',
|
|
3733
|
+
description: 'Total cost'
|
|
3734
|
+
}
|
|
3735
|
+
},
|
|
3736
|
+
required: [
|
|
3737
|
+
'hour',
|
|
3738
|
+
'cluster_id',
|
|
3739
|
+
'product',
|
|
3740
|
+
'value',
|
|
3741
|
+
'price',
|
|
3742
|
+
'total'
|
|
3743
|
+
],
|
|
3744
|
+
additionalProperties: false
|
|
3745
|
+
},
|
|
3746
|
+
description: 'Usage data'
|
|
3747
|
+
},
|
|
3748
|
+
facets: {
|
|
3749
|
+
type: 'object',
|
|
3750
|
+
properties: {
|
|
3751
|
+
cluster_id: {
|
|
3752
|
+
type: 'array',
|
|
3753
|
+
items: {
|
|
3754
|
+
type: 'string'
|
|
3755
|
+
},
|
|
3756
|
+
description: 'List of unique cluster IDs',
|
|
3757
|
+
example: [
|
|
3758
|
+
'6b5439b1-923a-4f2b-a371-d554e5ea23fa'
|
|
3759
|
+
]
|
|
3760
|
+
},
|
|
3761
|
+
product: {
|
|
3762
|
+
type: 'array',
|
|
3763
|
+
items: {
|
|
3764
|
+
type: 'string'
|
|
3765
|
+
},
|
|
3766
|
+
description: 'List of unique products',
|
|
3767
|
+
example: [
|
|
3768
|
+
'cfke_controlplane',
|
|
3769
|
+
'cfke_connected_nodes'
|
|
3770
|
+
]
|
|
3771
|
+
}
|
|
3772
|
+
},
|
|
3773
|
+
additionalProperties: false,
|
|
3774
|
+
description: 'Facets for filtering'
|
|
1675
3775
|
}
|
|
1676
3776
|
},
|
|
3777
|
+
required: [
|
|
3778
|
+
'data',
|
|
3779
|
+
'facets'
|
|
3780
|
+
],
|
|
1677
3781
|
additionalProperties: false
|
|
1678
3782
|
};
|
|
1679
3783
|
export const UsageSchema = {
|
|
1680
3784
|
type: 'object',
|
|
1681
3785
|
properties: {
|
|
1682
|
-
|
|
3786
|
+
hour: {
|
|
1683
3787
|
type: 'string',
|
|
1684
|
-
|
|
1685
|
-
|
|
1686
|
-
example: '8897e84c-2ba1-42fa-9d35-964c80a4ff0f'
|
|
3788
|
+
description: 'Hour of the usage',
|
|
3789
|
+
example: '2019-01-01T00:00:00.000Z'
|
|
1687
3790
|
},
|
|
1688
|
-
|
|
3791
|
+
cluster_id: {
|
|
1689
3792
|
type: 'string',
|
|
1690
|
-
|
|
1691
|
-
|
|
1692
|
-
example: '415026b6-f00f-44f8-968d-fc6ef4d0fc6d'
|
|
3793
|
+
description: 'Unique identifier of the kubernetes cluster. UUID v4 string in canonical form',
|
|
3794
|
+
example: '6b5439b1-923a-4f2b-a371-d554e5ea23fa'
|
|
1693
3795
|
},
|
|
1694
|
-
|
|
3796
|
+
product: {
|
|
1695
3797
|
type: 'string',
|
|
1696
|
-
description: '
|
|
1697
|
-
example: '
|
|
3798
|
+
description: 'The product the usage is associated with',
|
|
3799
|
+
example: 'cfke_controlplane'
|
|
3800
|
+
},
|
|
3801
|
+
value: {
|
|
3802
|
+
type: 'number',
|
|
3803
|
+
format: 'float',
|
|
3804
|
+
description: 'Consumption',
|
|
3805
|
+
example: 4
|
|
3806
|
+
},
|
|
3807
|
+
price: {
|
|
3808
|
+
type: 'number',
|
|
3809
|
+
format: 'float',
|
|
3810
|
+
description: 'Price per unit',
|
|
3811
|
+
example: 0.01
|
|
1698
3812
|
},
|
|
1699
|
-
|
|
3813
|
+
total: {
|
|
1700
3814
|
type: 'number',
|
|
1701
|
-
format: 'float'
|
|
3815
|
+
format: 'float',
|
|
3816
|
+
description: 'Total cost'
|
|
1702
3817
|
}
|
|
1703
3818
|
},
|
|
1704
|
-
required: [
|
|
3819
|
+
required: [
|
|
3820
|
+
'hour',
|
|
3821
|
+
'cluster_id',
|
|
3822
|
+
'product',
|
|
3823
|
+
'value',
|
|
3824
|
+
'price',
|
|
3825
|
+
'total'
|
|
3826
|
+
],
|
|
1705
3827
|
additionalProperties: false
|
|
1706
3828
|
};
|
|
1707
3829
|
export const UserCreateInputSchema = {
|
|
@@ -1736,22 +3858,16 @@ export const UserCreateInputSchema = {
|
|
|
1736
3858
|
password: {
|
|
1737
3859
|
type: 'string',
|
|
1738
3860
|
minLength: 8,
|
|
1739
|
-
description: 'User password. Must be at least 8 characters long
|
|
1740
|
-
},
|
|
1741
|
-
status: {
|
|
1742
|
-
type: 'string',
|
|
1743
|
-
description: 'Status of the user. Can be `active` or `inactive`. Inactive users cannot log in or manage organization resources.',
|
|
1744
|
-
example: 'active',
|
|
1745
|
-
enum: ['active', 'inactive']
|
|
1746
|
-
},
|
|
1747
|
-
role: {
|
|
1748
|
-
type: 'string',
|
|
1749
|
-
description: "User role. Can be 'Administrator', 'User'.",
|
|
1750
|
-
example: 'User',
|
|
1751
|
-
enum: ['Administrator', 'User']
|
|
3861
|
+
description: 'User password. Must be at least 8 characters long.'
|
|
1752
3862
|
}
|
|
1753
3863
|
},
|
|
1754
|
-
required: [
|
|
3864
|
+
required: [
|
|
3865
|
+
'email',
|
|
3866
|
+
'first_name',
|
|
3867
|
+
'last_name',
|
|
3868
|
+
'code',
|
|
3869
|
+
'password'
|
|
3870
|
+
],
|
|
1755
3871
|
additionalProperties: false
|
|
1756
3872
|
};
|
|
1757
3873
|
export const UserSchema = {
|
|
@@ -1779,15 +3895,21 @@ export const UserSchema = {
|
|
|
1779
3895
|
},
|
|
1780
3896
|
role: {
|
|
1781
3897
|
type: 'string',
|
|
1782
|
-
description:
|
|
3898
|
+
description: 'User role. Can be \'Administrator\', \'User\'.',
|
|
1783
3899
|
example: 'User',
|
|
1784
|
-
enum: [
|
|
3900
|
+
enum: [
|
|
3901
|
+
'Administrator',
|
|
3902
|
+
'User'
|
|
3903
|
+
]
|
|
1785
3904
|
},
|
|
1786
3905
|
status: {
|
|
1787
3906
|
type: 'string',
|
|
1788
3907
|
description: 'Status of the user. Can be `active` or `inactive`. Inactive users cannot log in or manage organization resources.',
|
|
1789
3908
|
example: 'active',
|
|
1790
|
-
enum: [
|
|
3909
|
+
enum: [
|
|
3910
|
+
'active',
|
|
3911
|
+
'inactive'
|
|
3912
|
+
]
|
|
1791
3913
|
},
|
|
1792
3914
|
id: {
|
|
1793
3915
|
type: 'string',
|
|
@@ -1800,31 +3922,17 @@ export const UserSchema = {
|
|
|
1800
3922
|
format: 'date-time',
|
|
1801
3923
|
description: 'Creation date of the user. ISO 8601 date string in UTC timezone',
|
|
1802
3924
|
example: '2023-11-02T16:08:14.338Z'
|
|
1803
|
-
},
|
|
1804
|
-
cluster_permissions: {
|
|
1805
|
-
type: 'array',
|
|
1806
|
-
items: {
|
|
1807
|
-
type: 'object',
|
|
1808
|
-
properties: {
|
|
1809
|
-
cluster_id: {
|
|
1810
|
-
type: 'string',
|
|
1811
|
-
format: 'uuid',
|
|
1812
|
-
description: 'Unique identifier of the cluster. UUID v4 string in canonical form',
|
|
1813
|
-
example: '035ce46d-44d8-4e58-a8a2-b0192d1c27df'
|
|
1814
|
-
},
|
|
1815
|
-
permissions: {
|
|
1816
|
-
type: 'string',
|
|
1817
|
-
description: 'User permissions to access the cluster. Can be `readwrite` or `readonly`.',
|
|
1818
|
-
example: 'readwrite',
|
|
1819
|
-
enum: ['readwrite', 'readonly']
|
|
1820
|
-
}
|
|
1821
|
-
},
|
|
1822
|
-
required: ['cluster_id', 'permissions'],
|
|
1823
|
-
additionalProperties: false
|
|
1824
|
-
}
|
|
1825
3925
|
}
|
|
1826
3926
|
},
|
|
1827
|
-
required: [
|
|
3927
|
+
required: [
|
|
3928
|
+
'email',
|
|
3929
|
+
'first_name',
|
|
3930
|
+
'last_name',
|
|
3931
|
+
'role',
|
|
3932
|
+
'status',
|
|
3933
|
+
'id',
|
|
3934
|
+
'date_created'
|
|
3935
|
+
],
|
|
1828
3936
|
additionalProperties: false
|
|
1829
3937
|
};
|
|
1830
3938
|
export const UserUpdateInputSchema = {
|
|
@@ -1852,15 +3960,21 @@ export const UserUpdateInputSchema = {
|
|
|
1852
3960
|
},
|
|
1853
3961
|
role: {
|
|
1854
3962
|
type: 'string',
|
|
1855
|
-
description:
|
|
3963
|
+
description: 'User role. Can be \'Administrator\', \'User\'.',
|
|
1856
3964
|
example: 'User',
|
|
1857
|
-
enum: [
|
|
3965
|
+
enum: [
|
|
3966
|
+
'Administrator',
|
|
3967
|
+
'User'
|
|
3968
|
+
]
|
|
1858
3969
|
},
|
|
1859
3970
|
status: {
|
|
1860
3971
|
type: 'string',
|
|
1861
3972
|
description: 'Status of the user. Can be `active` or `inactive`. Inactive users cannot log in or manage organization resources.',
|
|
1862
3973
|
example: 'active',
|
|
1863
|
-
enum: [
|
|
3974
|
+
enum: [
|
|
3975
|
+
'active',
|
|
3976
|
+
'inactive'
|
|
3977
|
+
]
|
|
1864
3978
|
}
|
|
1865
3979
|
},
|
|
1866
3980
|
additionalProperties: false
|