@cloudfleet/sdk 0.0.1-2564786 → 0.0.1-2bdeb58
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client.gen.d.ts +13 -0
- package/dist/client.gen.d.ts.map +1 -0
- package/dist/client.gen.js +6 -0
- package/dist/client.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 +466 -578
- package/dist/schemas.gen.d.ts.map +1 -1
- package/dist/schemas.gen.js +461 -560
- package/dist/schemas.gen.js.map +1 -1
- package/dist/sdk.gen.d.ts +105 -92
- package/dist/sdk.gen.d.ts.map +1 -1
- package/dist/sdk.gen.js +196 -130
- 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 +491 -707
- package/dist/types.gen.d.ts.map +1 -1
- package/dist/zod.gen.d.ts +712 -1246
- package/dist/zod.gen.d.ts.map +1 -1
- package/dist/zod.gen.js +241 -157
- package/dist/zod.gen.js.map +1 -1
- package/package.json +9 -5
package/dist/schemas.gen.js
CHANGED
|
@@ -1,4 +1,274 @@
|
|
|
1
1
|
// This file is auto-generated by @hey-api/openapi-ts
|
|
2
|
+
export const BillingContactSchema = {
|
|
3
|
+
type: 'object',
|
|
4
|
+
properties: {
|
|
5
|
+
company: {
|
|
6
|
+
type: 'string',
|
|
7
|
+
maxLength: 120,
|
|
8
|
+
minLength: 2,
|
|
9
|
+
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,}$',
|
|
10
|
+
description: 'Name of the legal entity. This name will be used in invoices. Use your first and last name for individual accounts.',
|
|
11
|
+
example: 'ACME Corp.'
|
|
12
|
+
},
|
|
13
|
+
address1: {
|
|
14
|
+
type: 'string',
|
|
15
|
+
nullable: true,
|
|
16
|
+
description: 'Street address, P.O. box, c/o',
|
|
17
|
+
example: '123 Main St.'
|
|
18
|
+
},
|
|
19
|
+
address2: {
|
|
20
|
+
type: 'string',
|
|
21
|
+
nullable: true,
|
|
22
|
+
description: 'Apartment, suite, unit, building, floor, etc.',
|
|
23
|
+
example: 'Suite 100'
|
|
24
|
+
},
|
|
25
|
+
postalCode: {
|
|
26
|
+
type: 'string',
|
|
27
|
+
nullable: true,
|
|
28
|
+
description: 'Postal code as a string.',
|
|
29
|
+
example: '94105'
|
|
30
|
+
},
|
|
31
|
+
city: {
|
|
32
|
+
type: 'string',
|
|
33
|
+
nullable: true,
|
|
34
|
+
description: 'City or town name.',
|
|
35
|
+
example: 'San Francisco'
|
|
36
|
+
},
|
|
37
|
+
state: {
|
|
38
|
+
type: 'string',
|
|
39
|
+
nullable: true,
|
|
40
|
+
description: 'State, province, or region name.',
|
|
41
|
+
example: 'CA'
|
|
42
|
+
},
|
|
43
|
+
country: {
|
|
44
|
+
type: 'string',
|
|
45
|
+
nullable: true,
|
|
46
|
+
description: 'Country as a ISO 3166-1 alpha-2 country code.',
|
|
47
|
+
example: 'US'
|
|
48
|
+
},
|
|
49
|
+
phone: {
|
|
50
|
+
type: 'string',
|
|
51
|
+
nullable: true,
|
|
52
|
+
description: 'Phone number as a string.',
|
|
53
|
+
example: '+1 555 555 5555'
|
|
54
|
+
},
|
|
55
|
+
email: {
|
|
56
|
+
type: 'string',
|
|
57
|
+
format: 'email',
|
|
58
|
+
description: 'Email address used for billing as a string.',
|
|
59
|
+
example: 'email@example.com'
|
|
60
|
+
},
|
|
61
|
+
first_name: {
|
|
62
|
+
type: 'string',
|
|
63
|
+
description: 'First name of the billing contact person.',
|
|
64
|
+
example: 'John'
|
|
65
|
+
},
|
|
66
|
+
last_name: {
|
|
67
|
+
type: 'string',
|
|
68
|
+
description: 'Last name of the billing contact person.',
|
|
69
|
+
example: 'Doe'
|
|
70
|
+
},
|
|
71
|
+
tax_id: {
|
|
72
|
+
type: 'string',
|
|
73
|
+
nullable: true,
|
|
74
|
+
description: 'Tax ID of the organization.',
|
|
75
|
+
example: 'DE123456789'
|
|
76
|
+
},
|
|
77
|
+
tax_id_type: {
|
|
78
|
+
type: 'string',
|
|
79
|
+
description: 'Type of the tax ID.',
|
|
80
|
+
example: 'de_vat',
|
|
81
|
+
enum: ['ad_nrt', 'ae_trn', 'al_tin', 'am_tin', 'ao_tin', 'ar_cuit', 'au_abn', 'au_arn', 'ba_tin', 'bb_tin', 'bg_uic', 'bh_vat', 'bo_tin', 'br_cnpj', 'br_cpf', 'bs_tin', 'by_tin', 'ca_bn', 'ca_gst_hst', 'ca_pst_bc', 'ca_pst_mb', 'ca_pst_sk', 'ca_qst', 'cd_nif', 'ch_uid', 'ch_vat', 'cl_tin', 'cn_tin', 'co_nit', 'cr_tin', 'de_stn', 'do_rcn', 'ec_ruc', 'eg_tin', 'es_cif', 'eu_oss_vat', 'eu_vat', 'gb_vat', 'ge_vat', 'gn_nif', 'hk_br', 'hr_oib', 'hu_tin', 'id_npwp', 'il_vat', 'in_gst', 'is_vat', 'jp_cn', 'jp_rn', 'jp_trn', 'ke_pin', 'kh_tin', 'kr_brn', 'kz_bin', 'li_uid', 'li_vat', 'ma_vat', 'md_vat', 'me_pib', 'mk_vat', 'mr_nif', 'mx_rfc', 'my_frp', 'my_itn', 'my_sst', 'ng_tin', 'no_vat', 'no_voec', 'np_pan', 'nz_gst', 'om_vat', 'pe_ruc', 'ph_tin', 'ro_tin', 'rs_pib', 'ru_inn', 'ru_kpp', 'sa_vat', 'sg_gst', 'sg_uen', 'si_tin', 'sn_ninea', 'sr_fin', 'sv_nit', 'th_vat', 'tj_tin', 'tr_tin', 'tw_vat', 'tz_vat', 'ua_vat', 'ug_tin', 'us_ein', 'uy_ruc', 'uz_tin', 'uz_vat', 've_rif', 'vn_tin', 'za_vat', 'zm_tin', 'zw_tin']
|
|
82
|
+
}
|
|
83
|
+
},
|
|
84
|
+
required: ['email', 'first_name', 'last_name'],
|
|
85
|
+
additionalProperties: false
|
|
86
|
+
};
|
|
87
|
+
export const BillingCreditsSchema = {
|
|
88
|
+
type: 'object',
|
|
89
|
+
properties: {
|
|
90
|
+
id: {
|
|
91
|
+
type: 'string',
|
|
92
|
+
description: 'Generated unique identifier of the promotional code.',
|
|
93
|
+
example: '7kUZnH7nnKUFfvc4NK2KQF'
|
|
94
|
+
},
|
|
95
|
+
date_created: {
|
|
96
|
+
type: 'string',
|
|
97
|
+
format: 'date-time',
|
|
98
|
+
description: 'Date of the credit application. ISO 8601 date string in the UTC timezone.',
|
|
99
|
+
example: '2023-12-20T13:53:32.000Z'
|
|
100
|
+
},
|
|
101
|
+
code: {
|
|
102
|
+
type: 'string',
|
|
103
|
+
description: 'Promotional code used by the customer.',
|
|
104
|
+
example: 'VQ4SCMB'
|
|
105
|
+
},
|
|
106
|
+
description: {
|
|
107
|
+
type: 'string',
|
|
108
|
+
description: 'Description of the promotional code.',
|
|
109
|
+
example: '10% off on all products'
|
|
110
|
+
},
|
|
111
|
+
products: {
|
|
112
|
+
type: 'array',
|
|
113
|
+
items: {
|
|
114
|
+
type: 'string'
|
|
115
|
+
},
|
|
116
|
+
description: 'List of product SKUs that the promotional code can be used on.',
|
|
117
|
+
example: ['SKU123', 'SKU456']
|
|
118
|
+
},
|
|
119
|
+
type: {
|
|
120
|
+
type: 'string',
|
|
121
|
+
description: 'Type of the promotional code.',
|
|
122
|
+
example: 'credit',
|
|
123
|
+
enum: ['credit', 'discount']
|
|
124
|
+
},
|
|
125
|
+
value: {
|
|
126
|
+
type: 'number',
|
|
127
|
+
format: 'float',
|
|
128
|
+
description: 'Value of the promotional code.',
|
|
129
|
+
example: 10
|
|
130
|
+
},
|
|
131
|
+
billing_period: {
|
|
132
|
+
type: 'string',
|
|
133
|
+
format: 'date-time',
|
|
134
|
+
description: 'Date of the billing cycle. An ISO 8601 date string in the UTC timezone.',
|
|
135
|
+
example: '2023-12-20T13:53:32.000Z'
|
|
136
|
+
},
|
|
137
|
+
value_remaining: {
|
|
138
|
+
type: 'number',
|
|
139
|
+
format: 'float',
|
|
140
|
+
description: 'Value of the promotional code.',
|
|
141
|
+
example: 10
|
|
142
|
+
}
|
|
143
|
+
},
|
|
144
|
+
required: ['date_created', 'code', 'type', 'value', 'billing_period'],
|
|
145
|
+
additionalProperties: false
|
|
146
|
+
};
|
|
147
|
+
export const ChartCreateInputSchema = {
|
|
148
|
+
type: 'object',
|
|
149
|
+
properties: {
|
|
150
|
+
values: {
|
|
151
|
+
type: 'string',
|
|
152
|
+
description: 'Values to be used in the chart.'
|
|
153
|
+
},
|
|
154
|
+
version_channel: {
|
|
155
|
+
type: 'string',
|
|
156
|
+
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-]+)*))?$',
|
|
157
|
+
description: 'Version of the chart.',
|
|
158
|
+
example: '2.x.x-cfke.x'
|
|
159
|
+
},
|
|
160
|
+
name: {
|
|
161
|
+
type: 'string',
|
|
162
|
+
maxLength: 63,
|
|
163
|
+
minLength: 1,
|
|
164
|
+
pattern: '^[a-z0-9]([-a-z0-9]*[a-z0-9])?$',
|
|
165
|
+
description: 'Unique identifier of the chart deployment aka name of the helm release.',
|
|
166
|
+
example: 'postgresql-0'
|
|
167
|
+
},
|
|
168
|
+
namespace: {
|
|
169
|
+
type: 'string',
|
|
170
|
+
maxLength: 63,
|
|
171
|
+
minLength: 1,
|
|
172
|
+
pattern: '^[a-z0-9]([-a-z0-9]*[a-z0-9])?$',
|
|
173
|
+
description: 'Namespace of the chart deployment',
|
|
174
|
+
example: 'default'
|
|
175
|
+
},
|
|
176
|
+
chart: {
|
|
177
|
+
type: 'string',
|
|
178
|
+
maxLength: 63,
|
|
179
|
+
minLength: 1,
|
|
180
|
+
pattern: '^[a-z0-9]([-a-z0-9]*[a-z0-9])?$',
|
|
181
|
+
description: 'Name of the chart listing',
|
|
182
|
+
example: 'postgresql'
|
|
183
|
+
}
|
|
184
|
+
},
|
|
185
|
+
required: ['values', 'version_channel', 'name', 'namespace', 'chart'],
|
|
186
|
+
additionalProperties: false
|
|
187
|
+
};
|
|
188
|
+
export const ChartSchema = {
|
|
189
|
+
type: 'object',
|
|
190
|
+
properties: {
|
|
191
|
+
values: {
|
|
192
|
+
type: 'string',
|
|
193
|
+
description: 'Values to be used in the chart.'
|
|
194
|
+
},
|
|
195
|
+
version_channel: {
|
|
196
|
+
type: 'string',
|
|
197
|
+
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-]+)*))?$',
|
|
198
|
+
description: 'Version of the chart.',
|
|
199
|
+
example: '2.x.x-cfke.x'
|
|
200
|
+
},
|
|
201
|
+
name: {
|
|
202
|
+
type: 'string',
|
|
203
|
+
maxLength: 63,
|
|
204
|
+
minLength: 1,
|
|
205
|
+
pattern: '^[a-z0-9]([-a-z0-9]*[a-z0-9])?$',
|
|
206
|
+
description: 'Unique identifier of the chart deployment aka name of the helm release.',
|
|
207
|
+
example: 'postgresql-0'
|
|
208
|
+
},
|
|
209
|
+
namespace: {
|
|
210
|
+
type: 'string',
|
|
211
|
+
maxLength: 63,
|
|
212
|
+
minLength: 1,
|
|
213
|
+
pattern: '^[a-z0-9]([-a-z0-9]*[a-z0-9])?$',
|
|
214
|
+
description: 'Namespace of the chart deployment',
|
|
215
|
+
example: 'default'
|
|
216
|
+
},
|
|
217
|
+
chart: {
|
|
218
|
+
type: 'string',
|
|
219
|
+
maxLength: 63,
|
|
220
|
+
minLength: 1,
|
|
221
|
+
pattern: '^[a-z0-9]([-a-z0-9]*[a-z0-9])?$',
|
|
222
|
+
description: 'Name of the chart listing',
|
|
223
|
+
example: 'postgresql'
|
|
224
|
+
},
|
|
225
|
+
status: {
|
|
226
|
+
type: 'string',
|
|
227
|
+
description: 'Status of the chart deployment.',
|
|
228
|
+
example: 'active',
|
|
229
|
+
enum: ['InstallSucceeded', 'InstallFailed', 'UpgradeSucceeded', 'UpgradeFailed', 'TestSucceeded', 'TestFailed', 'RollbackSucceeded', 'RollbackFailed', 'UninstallSucceeded', 'UninstallFailed', 'ArtifactFailed', 'DependencyNotReady', 'Progressing']
|
|
230
|
+
},
|
|
231
|
+
version_current: {
|
|
232
|
+
type: 'string',
|
|
233
|
+
description: 'Current version of the chart deployment.',
|
|
234
|
+
example: '2.1.33-cfke.11'
|
|
235
|
+
},
|
|
236
|
+
created_at: {
|
|
237
|
+
type: 'string',
|
|
238
|
+
description: 'Creation date and time of the chart deployment.',
|
|
239
|
+
example: '2024-09-12T09:11:27Z'
|
|
240
|
+
},
|
|
241
|
+
updated_at: {
|
|
242
|
+
type: 'string',
|
|
243
|
+
description: 'Last update date and time of the chart deployment.',
|
|
244
|
+
example: '2024-09-12T09:11:27Z'
|
|
245
|
+
},
|
|
246
|
+
ready: {
|
|
247
|
+
type: 'boolean',
|
|
248
|
+
description: 'Indicates if the chart deployment is ready to be used.',
|
|
249
|
+
example: true
|
|
250
|
+
}
|
|
251
|
+
},
|
|
252
|
+
required: ['values', 'version_channel', 'name', 'namespace', 'chart', 'status', 'version_current', 'created_at', 'updated_at', 'ready'],
|
|
253
|
+
additionalProperties: false
|
|
254
|
+
};
|
|
255
|
+
export const ChartUpdateInputSchema = {
|
|
256
|
+
type: 'object',
|
|
257
|
+
properties: {
|
|
258
|
+
values: {
|
|
259
|
+
type: 'string',
|
|
260
|
+
description: 'Values to be used in the chart.'
|
|
261
|
+
},
|
|
262
|
+
version_channel: {
|
|
263
|
+
type: 'string',
|
|
264
|
+
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-]+)*))?$',
|
|
265
|
+
description: 'Version of the chart.',
|
|
266
|
+
example: '2.x.x-cfke.x'
|
|
267
|
+
}
|
|
268
|
+
},
|
|
269
|
+
required: ['values', 'version_channel'],
|
|
270
|
+
additionalProperties: false
|
|
271
|
+
};
|
|
2
272
|
export const ClusterCreateInputSchema = {
|
|
3
273
|
type: 'object',
|
|
4
274
|
properties: {
|
|
@@ -81,9 +351,32 @@ MIIC0DCCAbigAwIBAgI...`
|
|
|
81
351
|
required: ['kubernetes', 'tailscale', 'containerd'],
|
|
82
352
|
additionalProperties: false,
|
|
83
353
|
description: 'Versions of the different components of the cluster.'
|
|
354
|
+
},
|
|
355
|
+
third_party_api_access_config: {
|
|
356
|
+
type: 'object',
|
|
357
|
+
properties: {
|
|
358
|
+
metadata_url: {
|
|
359
|
+
type: 'string',
|
|
360
|
+
description: 'Kubernetes metadata server.',
|
|
361
|
+
example: 'https://10.31.64.4'
|
|
362
|
+
},
|
|
363
|
+
aws_role_arn: {
|
|
364
|
+
type: 'string',
|
|
365
|
+
description: 'AWS Role ARN.',
|
|
366
|
+
example: 'arn:aws:iam::891376988828:role/0371f8fd-e164-48e1-b9e7-c3bdc3b4f403'
|
|
367
|
+
},
|
|
368
|
+
gcp_workload_identity_provider: {
|
|
369
|
+
type: 'string',
|
|
370
|
+
description: 'GCP Workload Identity provider.',
|
|
371
|
+
example: '//iam.googleapis.com/projects/89014267864/locations/global/workloadIdentityPools/cfke/providers/oidc'
|
|
372
|
+
}
|
|
373
|
+
},
|
|
374
|
+
required: ['metadata_url', 'aws_role_arn', 'gcp_workload_identity_provider'],
|
|
375
|
+
additionalProperties: false,
|
|
376
|
+
description: "OIDC Information for hosts to access to third party API's."
|
|
84
377
|
}
|
|
85
378
|
},
|
|
86
|
-
required: ['certificate_authority', 'endpoint', 'auth_key', 'bootstrap_token', 'versions'],
|
|
379
|
+
required: ['certificate_authority', 'endpoint', 'auth_key', 'bootstrap_token', 'versions', 'third_party_api_access_config'],
|
|
87
380
|
additionalProperties: false
|
|
88
381
|
};
|
|
89
382
|
export const ClusterSchema = {
|
|
@@ -454,281 +747,11 @@ export const FleetUpdateInputSchema = {
|
|
|
454
747
|
type: 'string',
|
|
455
748
|
description: 'ControllerRoleArn is the AWS IAM role that Karpenter uses to manage resources.'
|
|
456
749
|
}
|
|
457
|
-
},
|
|
458
|
-
required: ['controllerRoleArn'],
|
|
459
|
-
additionalProperties: false
|
|
460
|
-
}
|
|
461
|
-
},
|
|
462
|
-
additionalProperties: false
|
|
463
|
-
};
|
|
464
|
-
export const InfrastructureFilterSchema = {
|
|
465
|
-
type: 'object',
|
|
466
|
-
properties: {
|
|
467
|
-
version: {
|
|
468
|
-
type: 'integer',
|
|
469
|
-
description: 'Version of the infrastructure filter definition. Currently only version 1 is supported.',
|
|
470
|
-
default: 1,
|
|
471
|
-
example: 1,
|
|
472
|
-
enum: [1]
|
|
473
|
-
},
|
|
474
|
-
provider: {
|
|
475
|
-
type: 'array',
|
|
476
|
-
items: {
|
|
477
|
-
type: 'string'
|
|
478
|
-
},
|
|
479
|
-
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/)',
|
|
480
|
-
example: 'AWS'
|
|
481
|
-
},
|
|
482
|
-
region: {
|
|
483
|
-
type: 'array',
|
|
484
|
-
items: {
|
|
485
|
-
type: 'string'
|
|
486
|
-
},
|
|
487
|
-
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/)',
|
|
488
|
-
example: 'northamerica'
|
|
489
|
-
},
|
|
490
|
-
sub_region: {
|
|
491
|
-
type: 'array',
|
|
492
|
-
items: {
|
|
493
|
-
type: 'string'
|
|
494
|
-
},
|
|
495
|
-
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/)',
|
|
496
|
-
example: 'west'
|
|
497
|
-
},
|
|
498
|
-
csp_region: {
|
|
499
|
-
type: 'array',
|
|
500
|
-
items: {
|
|
501
|
-
type: 'string'
|
|
502
|
-
},
|
|
503
|
-
description: 'Limits selection of cloud regions to this list of canonical provider regions',
|
|
504
|
-
example: 'eu-west-1'
|
|
505
|
-
},
|
|
506
|
-
instance_type: {
|
|
507
|
-
type: 'array',
|
|
508
|
-
items: {
|
|
509
|
-
type: 'string'
|
|
510
|
-
},
|
|
511
|
-
description: 'Limits selection of instance types to this list. Instance / VM type as defined by the cloud service provider',
|
|
512
|
-
example: 'p4d.24xlarge'
|
|
513
|
-
},
|
|
514
|
-
accelerator_name: {
|
|
515
|
-
type: 'array',
|
|
516
|
-
items: {
|
|
517
|
-
type: 'string'
|
|
518
|
-
},
|
|
519
|
-
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",
|
|
520
|
-
example: 'A100'
|
|
521
|
-
},
|
|
522
|
-
accelerator_manufacturer: {
|
|
523
|
-
type: 'array',
|
|
524
|
-
items: {
|
|
525
|
-
type: 'string'
|
|
526
|
-
},
|
|
527
|
-
description: "List of normalized accelerator manufacturer names. For example, all Nvidia GPUs will have 'NVIDIA' as accelerator manufacturer",
|
|
528
|
-
example: 'NVIDIA'
|
|
529
|
-
},
|
|
530
|
-
accelerator_count_min: {
|
|
531
|
-
type: 'integer',
|
|
532
|
-
minimum: 0,
|
|
533
|
-
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.',
|
|
534
|
-
example: 1
|
|
535
|
-
},
|
|
536
|
-
accelerator_count_max: {
|
|
537
|
-
type: 'integer',
|
|
538
|
-
minimum: 0,
|
|
539
|
-
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.',
|
|
540
|
-
example: 8
|
|
541
|
-
},
|
|
542
|
-
accelerator_memory_min: {
|
|
543
|
-
type: 'number',
|
|
544
|
-
format: 'float',
|
|
545
|
-
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",
|
|
546
|
-
example: 40
|
|
547
|
-
},
|
|
548
|
-
accelerator_memory_max: {
|
|
549
|
-
type: 'number',
|
|
550
|
-
format: 'float',
|
|
551
|
-
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",
|
|
552
|
-
example: 80
|
|
553
|
-
},
|
|
554
|
-
memory_min: {
|
|
555
|
-
type: 'integer',
|
|
556
|
-
minimum: 0,
|
|
557
|
-
description: 'Minimum amount of RAM in gibibytes (GiB)',
|
|
558
|
-
example: 32
|
|
559
|
-
},
|
|
560
|
-
memory_max: {
|
|
561
|
-
type: 'integer',
|
|
562
|
-
minimum: 0,
|
|
563
|
-
description: 'Maximum amount of RAM in gibibytes (GiB)',
|
|
564
|
-
example: 64
|
|
565
|
-
},
|
|
566
|
-
vcpu_min: {
|
|
567
|
-
type: 'integer',
|
|
568
|
-
minimum: 1,
|
|
569
|
-
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.',
|
|
570
|
-
example: 32
|
|
571
|
-
},
|
|
572
|
-
vcpu_max: {
|
|
573
|
-
type: 'integer',
|
|
574
|
-
minimum: 1,
|
|
575
|
-
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.',
|
|
576
|
-
example: 128
|
|
577
|
-
},
|
|
578
|
-
storage_total_min: {
|
|
579
|
-
type: 'number',
|
|
580
|
-
format: 'float',
|
|
581
|
-
minimum: 10,
|
|
582
|
-
description: 'Minimum total storage in GiB (attached and local)',
|
|
583
|
-
example: 128
|
|
584
|
-
},
|
|
585
|
-
storage_total_max: {
|
|
586
|
-
type: 'number',
|
|
587
|
-
format: 'float',
|
|
588
|
-
minimum: 10,
|
|
589
|
-
description: 'Maximum total storage in GiB (attached and local)',
|
|
590
|
-
example: 256
|
|
591
|
-
},
|
|
592
|
-
storage_local_min: {
|
|
593
|
-
type: 'number',
|
|
594
|
-
format: 'float',
|
|
595
|
-
description: 'Minimum volume of directly attached, block-device local storage in gibibytes (GiB)',
|
|
596
|
-
example: 24
|
|
597
|
-
},
|
|
598
|
-
storage_local_max: {
|
|
599
|
-
type: 'number',
|
|
600
|
-
format: 'float',
|
|
601
|
-
description: 'Maximum volume of directly attached, block-device local storage in gibibytes (GiB)',
|
|
602
|
-
example: 128
|
|
603
|
-
},
|
|
604
|
-
price_min: {
|
|
605
|
-
type: 'number',
|
|
606
|
-
format: 'float',
|
|
607
|
-
description: 'Minimum price of running the inctance per hour in USD as defined by the cloud service provider. The cheapest instance will be selected.',
|
|
608
|
-
example: 10
|
|
609
|
-
},
|
|
610
|
-
price_max: {
|
|
611
|
-
type: 'number',
|
|
612
|
-
format: 'float',
|
|
613
|
-
description: 'Maximum price of running the inctance per hour in USD as defined by the cloud service provider. The cheapest instance will be selected.',
|
|
614
|
-
example: 50
|
|
615
|
-
}
|
|
616
|
-
},
|
|
617
|
-
additionalProperties: false
|
|
618
|
-
};
|
|
619
|
-
export const InfrastructureInstanceSchema = {
|
|
620
|
-
type: 'object',
|
|
621
|
-
properties: {
|
|
622
|
-
sku: {
|
|
623
|
-
type: 'string',
|
|
624
|
-
description: 'Cloudfleet instance SKU. Has a format of <provider>-<csp_region>-<instance_type>.',
|
|
625
|
-
example: 'AWS-EU-WEST-1C-P4D.24XLARGE'
|
|
626
|
-
},
|
|
627
|
-
provider: {
|
|
628
|
-
type: 'string',
|
|
629
|
-
description: 'Normalized cloud service provider name. For the full list of supported providers, see [Providers](https://cloudfleet.ai/docs/cloud-infrastructure/providers/)',
|
|
630
|
-
example: 'AWS'
|
|
631
|
-
},
|
|
632
|
-
region: {
|
|
633
|
-
type: 'string',
|
|
634
|
-
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/)',
|
|
635
|
-
example: 'europe'
|
|
636
|
-
},
|
|
637
|
-
sub_region: {
|
|
638
|
-
type: 'string',
|
|
639
|
-
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/)',
|
|
640
|
-
example: 'west'
|
|
641
|
-
},
|
|
642
|
-
csp_region: {
|
|
643
|
-
type: 'string',
|
|
644
|
-
description: 'Region as defined by the cloud service provider',
|
|
645
|
-
example: 'eu-west-1'
|
|
646
|
-
},
|
|
647
|
-
csp_zone: {
|
|
648
|
-
type: 'string',
|
|
649
|
-
description: 'Availability zone as defined by the cloud service provider',
|
|
650
|
-
example: 'eu-west-1a'
|
|
651
|
-
},
|
|
652
|
-
instance_type: {
|
|
653
|
-
type: 'string',
|
|
654
|
-
description: 'Instance / VM type as defined by the cloud service provider',
|
|
655
|
-
example: 'p4d.24xlarge'
|
|
656
|
-
},
|
|
657
|
-
architecture: {
|
|
658
|
-
type: 'string',
|
|
659
|
-
description: 'Instance CPU architecture',
|
|
660
|
-
example: 'amd64'
|
|
661
|
-
},
|
|
662
|
-
os: {
|
|
663
|
-
type: 'string',
|
|
664
|
-
description: 'Instance operating system',
|
|
665
|
-
example: 'linux'
|
|
666
|
-
},
|
|
667
|
-
vcpu: {
|
|
668
|
-
type: 'number',
|
|
669
|
-
format: 'float',
|
|
670
|
-
minimum: 1,
|
|
671
|
-
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.',
|
|
672
|
-
example: 96
|
|
673
|
-
},
|
|
674
|
-
memory: {
|
|
675
|
-
type: 'number',
|
|
676
|
-
format: 'float',
|
|
677
|
-
minimum: 1,
|
|
678
|
-
description: 'Total amount of RAM in gibibytes (GiB)',
|
|
679
|
-
example: 1152
|
|
680
|
-
},
|
|
681
|
-
local_storage: {
|
|
682
|
-
type: 'number',
|
|
683
|
-
format: 'float',
|
|
684
|
-
description: 'Volume of directly attached, block-device local storage in gibibytes (GiB)',
|
|
685
|
-
example: 8000
|
|
686
|
-
},
|
|
687
|
-
accelerator_name: {
|
|
688
|
-
type: 'string',
|
|
689
|
-
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",
|
|
690
|
-
example: 'A100'
|
|
691
|
-
},
|
|
692
|
-
accelerator_manufacturer: {
|
|
693
|
-
type: 'string',
|
|
694
|
-
description: "Normalized manufacturer name of accelerator. For example, all Nvidia GPUs will have 'NVIDIA' as accelerator manufacturer",
|
|
695
|
-
example: 'NVIDIA'
|
|
696
|
-
},
|
|
697
|
-
accelerator_count: {
|
|
698
|
-
type: 'integer',
|
|
699
|
-
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.',
|
|
700
|
-
example: 8
|
|
701
|
-
},
|
|
702
|
-
accelerator_memory: {
|
|
703
|
-
type: 'number',
|
|
704
|
-
format: 'float',
|
|
705
|
-
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",
|
|
706
|
-
example: 40
|
|
707
|
-
},
|
|
708
|
-
pods_capacity: {
|
|
709
|
-
type: 'number',
|
|
710
|
-
format: 'float',
|
|
711
|
-
description: 'Maximum number of pods that can be run on this instance type.',
|
|
712
|
-
example: 110
|
|
713
|
-
},
|
|
714
|
-
capacity_type: {
|
|
715
|
-
type: 'string',
|
|
716
|
-
description: 'Capacity type of the instance. E.g. `on-demand`, `spot`.',
|
|
717
|
-
example: 'on-demand'
|
|
718
|
-
},
|
|
719
|
-
price: {
|
|
720
|
-
type: 'number',
|
|
721
|
-
format: 'float',
|
|
722
|
-
description: 'Price of running the inctance per hour in USD as defined by the cloud service provider',
|
|
723
|
-
example: 35.39655
|
|
724
|
-
},
|
|
725
|
-
available: {
|
|
726
|
-
type: 'boolean',
|
|
727
|
-
description: 'Whether this instance type is available.',
|
|
728
|
-
example: true
|
|
750
|
+
},
|
|
751
|
+
required: ['controllerRoleArn'],
|
|
752
|
+
additionalProperties: false
|
|
729
753
|
}
|
|
730
754
|
},
|
|
731
|
-
required: ['sku', 'provider', 'region', 'sub_region', 'csp_region', 'csp_zone', 'instance_type', 'architecture', 'os', 'vcpu', 'memory', 'local_storage', 'price'],
|
|
732
755
|
additionalProperties: false
|
|
733
756
|
};
|
|
734
757
|
export const InviteSchema = {
|
|
@@ -1122,51 +1145,92 @@ export const InvoiceSchema = {
|
|
|
1122
1145
|
},
|
|
1123
1146
|
additionalProperties: false
|
|
1124
1147
|
};
|
|
1125
|
-
export const
|
|
1148
|
+
export const MarketplaceListingSchema = {
|
|
1126
1149
|
type: 'object',
|
|
1127
1150
|
properties: {
|
|
1128
|
-
|
|
1151
|
+
id: {
|
|
1129
1152
|
type: 'string',
|
|
1130
|
-
|
|
1131
|
-
|
|
1132
|
-
|
|
1153
|
+
maxLength: 63,
|
|
1154
|
+
minLength: 1,
|
|
1155
|
+
pattern: '^[a-z0-9]([-a-z0-9]*[a-z0-9])?$',
|
|
1156
|
+
description: 'Id of the chart listing',
|
|
1157
|
+
example: 'portworx-enterprise-disaster-recovery-baremetal'
|
|
1133
1158
|
},
|
|
1134
|
-
|
|
1159
|
+
name: {
|
|
1135
1160
|
type: 'string',
|
|
1136
|
-
|
|
1137
|
-
|
|
1138
|
-
example: 'Suite 100'
|
|
1161
|
+
description: 'Name of the chart listing',
|
|
1162
|
+
example: 'Portworx Enterprise + Disaster Recovery - Baremetal'
|
|
1139
1163
|
},
|
|
1140
|
-
|
|
1164
|
+
developer: {
|
|
1141
1165
|
type: 'string',
|
|
1142
|
-
|
|
1143
|
-
|
|
1144
|
-
example: '94105'
|
|
1166
|
+
description: 'Author of the chart listing',
|
|
1167
|
+
example: 'Portworx'
|
|
1145
1168
|
},
|
|
1146
|
-
|
|
1169
|
+
description: {
|
|
1147
1170
|
type: 'string',
|
|
1148
|
-
|
|
1149
|
-
|
|
1150
|
-
example: 'San Francisco'
|
|
1171
|
+
description: 'Short description of the chart listing',
|
|
1172
|
+
example: 'Run Kubernetes with unmatched scalability, availability, and self-service access to any storage'
|
|
1151
1173
|
},
|
|
1152
|
-
|
|
1174
|
+
logoUrl: {
|
|
1153
1175
|
type: 'string',
|
|
1154
|
-
|
|
1155
|
-
|
|
1156
|
-
example: 'CA'
|
|
1176
|
+
description: 'Logo of the chart listing',
|
|
1177
|
+
example: 'https://portworx.com/wp-content/themes/portworx/assets/images/header/portworx-logo.png'
|
|
1157
1178
|
},
|
|
1158
|
-
|
|
1179
|
+
longDescription: {
|
|
1159
1180
|
type: 'string',
|
|
1160
|
-
|
|
1161
|
-
|
|
1162
|
-
example: 'US'
|
|
1181
|
+
description: 'Long description of the chart listing',
|
|
1182
|
+
example: 'Portworx-Enterprise is the complete multi-cloud ready Kubernetes storage platform for running mission-critical apps in production....'
|
|
1163
1183
|
},
|
|
1164
|
-
|
|
1165
|
-
type: '
|
|
1166
|
-
|
|
1167
|
-
|
|
1168
|
-
|
|
1184
|
+
categories: {
|
|
1185
|
+
type: 'array',
|
|
1186
|
+
items: {
|
|
1187
|
+
type: 'string',
|
|
1188
|
+
example: 'AI & Machine Learning'
|
|
1189
|
+
},
|
|
1190
|
+
description: 'Tags of the chart'
|
|
1191
|
+
},
|
|
1192
|
+
version_channels: {
|
|
1193
|
+
type: 'array',
|
|
1194
|
+
items: {
|
|
1195
|
+
type: 'string',
|
|
1196
|
+
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-]+)*))?$',
|
|
1197
|
+
description: 'Version of the chart.',
|
|
1198
|
+
example: '2.x.x-cfke.x'
|
|
1199
|
+
}
|
|
1169
1200
|
},
|
|
1201
|
+
value_schemas: {
|
|
1202
|
+
type: 'array',
|
|
1203
|
+
items: {
|
|
1204
|
+
type: 'object',
|
|
1205
|
+
properties: {
|
|
1206
|
+
version: {
|
|
1207
|
+
type: 'string',
|
|
1208
|
+
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-]+)*))?$',
|
|
1209
|
+
description: 'Version of the chart.',
|
|
1210
|
+
example: '2.1.1-cfke.123'
|
|
1211
|
+
},
|
|
1212
|
+
schema: {
|
|
1213
|
+
type: 'string',
|
|
1214
|
+
description: 'Schema of the chart values. JSON Schema as string'
|
|
1215
|
+
},
|
|
1216
|
+
placeholder: {
|
|
1217
|
+
type: 'string',
|
|
1218
|
+
description: 'Schema of the chart values',
|
|
1219
|
+
example: `foo: 1
|
|
1220
|
+
bar: example`
|
|
1221
|
+
}
|
|
1222
|
+
},
|
|
1223
|
+
required: ['version', 'schema', 'placeholder'],
|
|
1224
|
+
additionalProperties: false
|
|
1225
|
+
}
|
|
1226
|
+
}
|
|
1227
|
+
},
|
|
1228
|
+
required: ['id', 'name', 'developer', 'description', 'logoUrl', 'longDescription', 'categories', 'version_channels', 'value_schemas'],
|
|
1229
|
+
additionalProperties: false
|
|
1230
|
+
};
|
|
1231
|
+
export const OrganizationCreateInputSchema = {
|
|
1232
|
+
type: 'object',
|
|
1233
|
+
properties: {
|
|
1170
1234
|
email: {
|
|
1171
1235
|
type: 'string',
|
|
1172
1236
|
format: 'email',
|
|
@@ -1182,15 +1246,8 @@ export const OrganizationContactInfoSchema = {
|
|
|
1182
1246
|
type: 'string',
|
|
1183
1247
|
description: 'Last name of the billing contact person.',
|
|
1184
1248
|
example: 'Doe'
|
|
1185
|
-
}
|
|
1186
|
-
|
|
1187
|
-
required: ['email', 'first_name', 'last_name'],
|
|
1188
|
-
additionalProperties: false
|
|
1189
|
-
};
|
|
1190
|
-
export const OrganizationCreateInputSchema = {
|
|
1191
|
-
type: 'object',
|
|
1192
|
-
properties: {
|
|
1193
|
-
name: {
|
|
1249
|
+
},
|
|
1250
|
+
company_name: {
|
|
1194
1251
|
type: 'string',
|
|
1195
1252
|
maxLength: 120,
|
|
1196
1253
|
minLength: 2,
|
|
@@ -1198,150 +1255,31 @@ export const OrganizationCreateInputSchema = {
|
|
|
1198
1255
|
description: 'Name of the legal entity. This name will be used in invoices. Use your first and last name for individual accounts.',
|
|
1199
1256
|
example: 'ACME Corp.'
|
|
1200
1257
|
},
|
|
1201
|
-
contactInfo: {
|
|
1202
|
-
type: 'object',
|
|
1203
|
-
properties: {
|
|
1204
|
-
address1: {
|
|
1205
|
-
type: 'string',
|
|
1206
|
-
description: 'Street address, P.O. box, c/o',
|
|
1207
|
-
example: '123 Main St.'
|
|
1208
|
-
},
|
|
1209
|
-
address2: {
|
|
1210
|
-
type: 'string',
|
|
1211
|
-
description: 'Apartment, suite, unit, building, floor, etc.',
|
|
1212
|
-
example: 'Suite 100'
|
|
1213
|
-
},
|
|
1214
|
-
postalCode: {
|
|
1215
|
-
type: 'string',
|
|
1216
|
-
description: 'Postal code as a string.',
|
|
1217
|
-
example: '94105'
|
|
1218
|
-
},
|
|
1219
|
-
city: {
|
|
1220
|
-
type: 'string',
|
|
1221
|
-
description: 'City or town name.',
|
|
1222
|
-
example: 'San Francisco'
|
|
1223
|
-
},
|
|
1224
|
-
state: {
|
|
1225
|
-
type: 'string',
|
|
1226
|
-
description: 'State, province, or region name.',
|
|
1227
|
-
example: 'CA'
|
|
1228
|
-
},
|
|
1229
|
-
country: {
|
|
1230
|
-
type: 'string',
|
|
1231
|
-
description: 'Country as a ISO 3166-1 alpha-2 country code.',
|
|
1232
|
-
example: 'US'
|
|
1233
|
-
},
|
|
1234
|
-
phone: {
|
|
1235
|
-
type: 'string',
|
|
1236
|
-
description: 'Phone number as a string.',
|
|
1237
|
-
example: '+1 555 555 5555'
|
|
1238
|
-
},
|
|
1239
|
-
email: {
|
|
1240
|
-
type: 'string',
|
|
1241
|
-
format: 'email',
|
|
1242
|
-
description: 'Email address used for billing as a string.',
|
|
1243
|
-
example: 'email@example.com'
|
|
1244
|
-
},
|
|
1245
|
-
first_name: {
|
|
1246
|
-
type: 'string',
|
|
1247
|
-
description: 'First name of the billing contact person.',
|
|
1248
|
-
example: 'John'
|
|
1249
|
-
},
|
|
1250
|
-
last_name: {
|
|
1251
|
-
type: 'string',
|
|
1252
|
-
description: 'Last name of the billing contact person.',
|
|
1253
|
-
example: 'Doe'
|
|
1254
|
-
}
|
|
1255
|
-
},
|
|
1256
|
-
required: ['email', 'first_name', 'last_name'],
|
|
1257
|
-
additionalProperties: false,
|
|
1258
|
-
description: 'Organization contact information and billing address.'
|
|
1259
|
-
},
|
|
1260
1258
|
password: {
|
|
1261
1259
|
type: 'string',
|
|
1262
1260
|
minLength: 8,
|
|
1263
1261
|
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.'
|
|
1264
1262
|
}
|
|
1265
1263
|
},
|
|
1266
|
-
required: ['
|
|
1264
|
+
required: ['email', 'first_name', 'last_name', 'company_name', 'password'],
|
|
1267
1265
|
additionalProperties: false
|
|
1268
1266
|
};
|
|
1269
1267
|
export const OrganizationSchema = {
|
|
1270
1268
|
type: 'object',
|
|
1271
1269
|
properties: {
|
|
1270
|
+
id: {
|
|
1271
|
+
type: 'string',
|
|
1272
|
+
format: 'uuid',
|
|
1273
|
+
description: 'Unique identifier of the organization. UUID v4 string in canonical form',
|
|
1274
|
+
example: 'e94d30ec-a2dd-4dcb-832c-ac2be144ba91'
|
|
1275
|
+
},
|
|
1272
1276
|
name: {
|
|
1273
1277
|
type: 'string',
|
|
1274
1278
|
maxLength: 120,
|
|
1275
1279
|
minLength: 2,
|
|
1276
|
-
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,}$',
|
|
1277
1280
|
description: 'Name of the legal entity. This name will be used in invoices. Use your first and last name for individual accounts.',
|
|
1278
1281
|
example: 'ACME Corp.'
|
|
1279
1282
|
},
|
|
1280
|
-
contactInfo: {
|
|
1281
|
-
type: 'object',
|
|
1282
|
-
properties: {
|
|
1283
|
-
address1: {
|
|
1284
|
-
type: 'string',
|
|
1285
|
-
description: 'Street address, P.O. box, c/o',
|
|
1286
|
-
example: '123 Main St.'
|
|
1287
|
-
},
|
|
1288
|
-
address2: {
|
|
1289
|
-
type: 'string',
|
|
1290
|
-
description: 'Apartment, suite, unit, building, floor, etc.',
|
|
1291
|
-
example: 'Suite 100'
|
|
1292
|
-
},
|
|
1293
|
-
postalCode: {
|
|
1294
|
-
type: 'string',
|
|
1295
|
-
description: 'Postal code as a string.',
|
|
1296
|
-
example: '94105'
|
|
1297
|
-
},
|
|
1298
|
-
city: {
|
|
1299
|
-
type: 'string',
|
|
1300
|
-
description: 'City or town name.',
|
|
1301
|
-
example: 'San Francisco'
|
|
1302
|
-
},
|
|
1303
|
-
state: {
|
|
1304
|
-
type: 'string',
|
|
1305
|
-
description: 'State, province, or region name.',
|
|
1306
|
-
example: 'CA'
|
|
1307
|
-
},
|
|
1308
|
-
country: {
|
|
1309
|
-
type: 'string',
|
|
1310
|
-
description: 'Country as a ISO 3166-1 alpha-2 country code.',
|
|
1311
|
-
example: 'US'
|
|
1312
|
-
},
|
|
1313
|
-
phone: {
|
|
1314
|
-
type: 'string',
|
|
1315
|
-
description: 'Phone number as a string.',
|
|
1316
|
-
example: '+1 555 555 5555'
|
|
1317
|
-
},
|
|
1318
|
-
email: {
|
|
1319
|
-
type: 'string',
|
|
1320
|
-
format: 'email',
|
|
1321
|
-
description: 'Email address used for billing as a string.',
|
|
1322
|
-
example: 'email@example.com'
|
|
1323
|
-
},
|
|
1324
|
-
first_name: {
|
|
1325
|
-
type: 'string',
|
|
1326
|
-
description: 'First name of the billing contact person.',
|
|
1327
|
-
example: 'John'
|
|
1328
|
-
},
|
|
1329
|
-
last_name: {
|
|
1330
|
-
type: 'string',
|
|
1331
|
-
description: 'Last name of the billing contact person.',
|
|
1332
|
-
example: 'Doe'
|
|
1333
|
-
}
|
|
1334
|
-
},
|
|
1335
|
-
required: ['email', 'first_name', 'last_name'],
|
|
1336
|
-
additionalProperties: false,
|
|
1337
|
-
description: 'Organization contact information and billing address.'
|
|
1338
|
-
},
|
|
1339
|
-
id: {
|
|
1340
|
-
type: 'string',
|
|
1341
|
-
format: 'uuid',
|
|
1342
|
-
description: 'Unique identifier of the organization. UUID v4 string in canonical form',
|
|
1343
|
-
example: 'e94d30ec-a2dd-4dcb-832c-ac2be144ba91'
|
|
1344
|
-
},
|
|
1345
1283
|
date_created: {
|
|
1346
1284
|
type: 'string',
|
|
1347
1285
|
format: 'date-time',
|
|
@@ -1430,96 +1368,13 @@ export const OrganizationSchema = {
|
|
|
1430
1368
|
additionalProperties: false,
|
|
1431
1369
|
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.'
|
|
1432
1370
|
},
|
|
1433
|
-
pending_actions: {
|
|
1434
|
-
type: 'array',
|
|
1435
|
-
items: {
|
|
1436
|
-
type: 'string',
|
|
1437
|
-
example: 'signup-payment-method',
|
|
1438
|
-
enum: ['signup-billing-address', 'signup-payment-method', 'signup-invite-team', 'signup-create-cluster']
|
|
1439
|
-
},
|
|
1440
|
-
description: 'List of pending actions that the user needs to complete. Used in Cloudfleet console to guide the user through the onboarding process.'
|
|
1441
|
-
},
|
|
1442
1371
|
status: {
|
|
1443
1372
|
type: 'string',
|
|
1444
1373
|
description: 'Status of the organization. Can be `active` or `closed`, or `suspended`.',
|
|
1445
1374
|
enum: ['active', 'closed', 'suspended']
|
|
1446
1375
|
}
|
|
1447
1376
|
},
|
|
1448
|
-
required: ['
|
|
1449
|
-
additionalProperties: false
|
|
1450
|
-
};
|
|
1451
|
-
export const OrganizationUpdateInputSchema = {
|
|
1452
|
-
type: 'object',
|
|
1453
|
-
properties: {
|
|
1454
|
-
name: {
|
|
1455
|
-
type: 'string',
|
|
1456
|
-
maxLength: 120,
|
|
1457
|
-
minLength: 2,
|
|
1458
|
-
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,}$',
|
|
1459
|
-
description: 'Name of the legal entity. This name will be used in invoices. Use your first and last name for individual accounts.',
|
|
1460
|
-
example: 'ACME Corp.'
|
|
1461
|
-
},
|
|
1462
|
-
contactInfo: {
|
|
1463
|
-
type: 'object',
|
|
1464
|
-
properties: {
|
|
1465
|
-
address1: {
|
|
1466
|
-
type: 'string',
|
|
1467
|
-
description: 'Street address, P.O. box, c/o',
|
|
1468
|
-
example: '123 Main St.'
|
|
1469
|
-
},
|
|
1470
|
-
address2: {
|
|
1471
|
-
type: 'string',
|
|
1472
|
-
description: 'Apartment, suite, unit, building, floor, etc.',
|
|
1473
|
-
example: 'Suite 100'
|
|
1474
|
-
},
|
|
1475
|
-
postalCode: {
|
|
1476
|
-
type: 'string',
|
|
1477
|
-
description: 'Postal code as a string.',
|
|
1478
|
-
example: '94105'
|
|
1479
|
-
},
|
|
1480
|
-
city: {
|
|
1481
|
-
type: 'string',
|
|
1482
|
-
description: 'City or town name.',
|
|
1483
|
-
example: 'San Francisco'
|
|
1484
|
-
},
|
|
1485
|
-
state: {
|
|
1486
|
-
type: 'string',
|
|
1487
|
-
description: 'State, province, or region name.',
|
|
1488
|
-
example: 'CA'
|
|
1489
|
-
},
|
|
1490
|
-
country: {
|
|
1491
|
-
type: 'string',
|
|
1492
|
-
description: 'Country as a ISO 3166-1 alpha-2 country code.',
|
|
1493
|
-
example: 'US'
|
|
1494
|
-
},
|
|
1495
|
-
phone: {
|
|
1496
|
-
type: 'string',
|
|
1497
|
-
description: 'Phone number as a string.',
|
|
1498
|
-
example: '+1 555 555 5555'
|
|
1499
|
-
},
|
|
1500
|
-
email: {
|
|
1501
|
-
type: 'string',
|
|
1502
|
-
format: 'email',
|
|
1503
|
-
description: 'Email address used for billing as a string.',
|
|
1504
|
-
example: 'email@example.com'
|
|
1505
|
-
},
|
|
1506
|
-
first_name: {
|
|
1507
|
-
type: 'string',
|
|
1508
|
-
description: 'First name of the billing contact person.',
|
|
1509
|
-
example: 'John'
|
|
1510
|
-
},
|
|
1511
|
-
last_name: {
|
|
1512
|
-
type: 'string',
|
|
1513
|
-
description: 'Last name of the billing contact person.',
|
|
1514
|
-
example: 'Doe'
|
|
1515
|
-
}
|
|
1516
|
-
},
|
|
1517
|
-
required: ['email', 'first_name', 'last_name'],
|
|
1518
|
-
additionalProperties: false,
|
|
1519
|
-
description: 'Organization contact information and billing address.'
|
|
1520
|
-
}
|
|
1521
|
-
},
|
|
1522
|
-
required: ['contactInfo'],
|
|
1377
|
+
required: ['id', 'date_created', 'quota', 'status'],
|
|
1523
1378
|
additionalProperties: false
|
|
1524
1379
|
};
|
|
1525
1380
|
export const PaymentMethodSchema = {
|
|
@@ -1656,29 +1511,97 @@ export const TokenUpdateInputSchema = {
|
|
|
1656
1511
|
export const UsageSchema = {
|
|
1657
1512
|
type: 'object',
|
|
1658
1513
|
properties: {
|
|
1659
|
-
|
|
1514
|
+
hour: {
|
|
1660
1515
|
type: 'string',
|
|
1661
|
-
|
|
1662
|
-
|
|
1663
|
-
example: '8897e84c-2ba1-42fa-9d35-964c80a4ff0f'
|
|
1516
|
+
description: 'Hour of the usage',
|
|
1517
|
+
example: '2019-01-01T00:00:00.000Z'
|
|
1664
1518
|
},
|
|
1665
|
-
|
|
1519
|
+
cluster_id: {
|
|
1666
1520
|
type: 'string',
|
|
1667
1521
|
format: 'uuid',
|
|
1668
|
-
description: 'Unique identifier of the
|
|
1669
|
-
example: '
|
|
1522
|
+
description: 'Unique identifier of the kubernetes cluster. UUID v4 string in canonical form',
|
|
1523
|
+
example: '6b5439b1-923a-4f2b-a371-d554e5ea23fa'
|
|
1670
1524
|
},
|
|
1671
|
-
|
|
1525
|
+
cluster_tier: {
|
|
1672
1526
|
type: 'string',
|
|
1673
|
-
description: '
|
|
1674
|
-
example: '
|
|
1527
|
+
description: 'Tier of the cluster.',
|
|
1528
|
+
example: 'pro',
|
|
1529
|
+
enum: ['']
|
|
1675
1530
|
},
|
|
1676
|
-
|
|
1677
|
-
type: '
|
|
1678
|
-
|
|
1531
|
+
product: {
|
|
1532
|
+
type: 'string',
|
|
1533
|
+
description: 'The product the usage is associated with',
|
|
1534
|
+
example: 'cfke_infra_compute',
|
|
1535
|
+
enum: ['cfke_infra_compute', 'cfke_nodes', 'cfke_controlplane']
|
|
1536
|
+
},
|
|
1537
|
+
node_name: {
|
|
1538
|
+
type: 'string',
|
|
1539
|
+
description: 'Name of the Kubernetes node',
|
|
1540
|
+
example: 'flexible-moth-956037384'
|
|
1541
|
+
},
|
|
1542
|
+
sku: {
|
|
1543
|
+
type: 'string',
|
|
1544
|
+
description: 'SKU of the Kubernetes node',
|
|
1545
|
+
example: 'GCP-NORTHAMERICA-NORTHEAST1-A-G1-SMALL-SPOT'
|
|
1546
|
+
},
|
|
1547
|
+
cpu: {
|
|
1548
|
+
anyOf: [
|
|
1549
|
+
{
|
|
1550
|
+
type: 'number',
|
|
1551
|
+
format: 'float',
|
|
1552
|
+
description: 'CPU core count of the node',
|
|
1553
|
+
example: 4
|
|
1554
|
+
},
|
|
1555
|
+
{
|
|
1556
|
+
type: 'string',
|
|
1557
|
+
enum: ['']
|
|
1558
|
+
}
|
|
1559
|
+
]
|
|
1560
|
+
},
|
|
1561
|
+
price: {
|
|
1562
|
+
anyOf: [
|
|
1563
|
+
{
|
|
1564
|
+
type: 'number',
|
|
1565
|
+
format: 'float',
|
|
1566
|
+
description: 'Price',
|
|
1567
|
+
example: 4
|
|
1568
|
+
},
|
|
1569
|
+
{
|
|
1570
|
+
type: 'string',
|
|
1571
|
+
enum: ['']
|
|
1572
|
+
}
|
|
1573
|
+
]
|
|
1574
|
+
},
|
|
1575
|
+
value: {
|
|
1576
|
+
anyOf: [
|
|
1577
|
+
{
|
|
1578
|
+
type: 'number',
|
|
1579
|
+
format: 'float',
|
|
1580
|
+
description: 'Value',
|
|
1581
|
+
example: 4
|
|
1582
|
+
},
|
|
1583
|
+
{
|
|
1584
|
+
type: 'string',
|
|
1585
|
+
enum: ['']
|
|
1586
|
+
}
|
|
1587
|
+
]
|
|
1588
|
+
},
|
|
1589
|
+
total: {
|
|
1590
|
+
anyOf: [
|
|
1591
|
+
{
|
|
1592
|
+
type: 'number',
|
|
1593
|
+
format: 'float',
|
|
1594
|
+
description: 'Total',
|
|
1595
|
+
example: 4
|
|
1596
|
+
},
|
|
1597
|
+
{
|
|
1598
|
+
type: 'string',
|
|
1599
|
+
enum: ['']
|
|
1600
|
+
}
|
|
1601
|
+
]
|
|
1679
1602
|
}
|
|
1680
1603
|
},
|
|
1681
|
-
required: ['
|
|
1604
|
+
required: ['cluster_id', 'cluster_tier', 'product', 'node_name', 'sku', 'cpu', 'price', 'value', 'total'],
|
|
1682
1605
|
additionalProperties: false
|
|
1683
1606
|
};
|
|
1684
1607
|
export const UserCreateInputSchema = {
|
|
@@ -1713,7 +1636,7 @@ export const UserCreateInputSchema = {
|
|
|
1713
1636
|
password: {
|
|
1714
1637
|
type: 'string',
|
|
1715
1638
|
minLength: 8,
|
|
1716
|
-
description: 'User password. Must be at least 8 characters long
|
|
1639
|
+
description: 'User password. Must be at least 8 characters long.'
|
|
1717
1640
|
},
|
|
1718
1641
|
status: {
|
|
1719
1642
|
type: 'string',
|
|
@@ -1777,28 +1700,6 @@ export const UserSchema = {
|
|
|
1777
1700
|
format: 'date-time',
|
|
1778
1701
|
description: 'Creation date of the user. ISO 8601 date string in UTC timezone',
|
|
1779
1702
|
example: '2023-11-02T16:08:14.338Z'
|
|
1780
|
-
},
|
|
1781
|
-
cluster_permissions: {
|
|
1782
|
-
type: 'array',
|
|
1783
|
-
items: {
|
|
1784
|
-
type: 'object',
|
|
1785
|
-
properties: {
|
|
1786
|
-
cluster_id: {
|
|
1787
|
-
type: 'string',
|
|
1788
|
-
format: 'uuid',
|
|
1789
|
-
description: 'Unique identifier of the cluster. UUID v4 string in canonical form',
|
|
1790
|
-
example: '035ce46d-44d8-4e58-a8a2-b0192d1c27df'
|
|
1791
|
-
},
|
|
1792
|
-
permissions: {
|
|
1793
|
-
type: 'string',
|
|
1794
|
-
description: 'User permissions to access the cluster. Can be `readwrite` or `readonly`.',
|
|
1795
|
-
example: 'readwrite',
|
|
1796
|
-
enum: ['readwrite', 'readonly']
|
|
1797
|
-
}
|
|
1798
|
-
},
|
|
1799
|
-
required: ['cluster_id', 'permissions'],
|
|
1800
|
-
additionalProperties: false
|
|
1801
|
-
}
|
|
1802
1703
|
}
|
|
1803
1704
|
},
|
|
1804
1705
|
required: ['email', 'first_name', 'last_name', 'role', 'status', 'id', 'date_created'],
|