@scaleway/sdk-product-catalog 2.20.0 → 2.21.0

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.
@@ -0,0 +1,859 @@
1
+ import type { Money, Region as ScwRegion, Zone as ScwZone } from '@scaleway/sdk-client';
2
+ export type ListPublicCatalogProductsRequestProductType = 'unknown_product_type' | 'instance' | 'apple_silicon' | 'elastic_metal' | 'dedibox' | 'block_storage' | 'object_storage' | 'managed_inference' | 'generative_apis' | 'load_balancer' | 'secret_manager' | 'key_manager' | 'managed_redis_database' | 'kubernetes' | 'managed_relational_database' | 'managed_mongodb' | 'serverless_functions' | 'serverless_containers' | 'serverless_jobs' | 'apache_kafka' | 'open_search' | 'instance_local_ssd_snapshot' | 'instance_local_ssd_storage';
3
+ export type ListPublicCatalogProductsRequestStatus = 'unknown_status' | 'public_beta' | 'preview' | 'general_availability' | 'end_of_new_features' | 'end_of_growth' | 'end_of_deployment' | 'end_of_support' | 'end_of_sale' | 'end_of_life' | 'retired';
4
+ export type PublicCatalogProductProductBadge = 'unknown_product_badge' | 'new_product' | 'best_seller' | 'best_value' | 'popular' | 'no_kvm';
5
+ export type PublicCatalogProductPropertiesGenerativeApisConsumptionMode = 'unknown_consumption_mode' | 'realtime' | 'batch';
6
+ export type PublicCatalogProductPropertiesGenerativeApisTask = 'unknown_task' | 'chat' | 'embeddings' | 'vision' | 'audio_transcription' | 'code';
7
+ export type PublicCatalogProductPropertiesGenerativeApisTokenType = 'unknown_token_type' | 'input_token' | 'output_token' | 'input_duration' | 'input_cached_token' | 'input_audio';
8
+ export type PublicCatalogProductPropertiesHardwareCPUArch = 'unknown_arch' | 'x64' | 'arm64' | 'riscv' | 'apple_silicon';
9
+ export type PublicCatalogProductPropertiesHardwareRAMECCType = 'unknown_ecc_type' | 'standard' | 'on_die';
10
+ export type PublicCatalogProductPropertiesManagedMongoDBStorageTypeStorageClass = 'unknown_storage_class' | 'sbs_5k' | 'sbs_5k_snapshot' | 'sbs_15k' | 'sbs_15k_snapshot';
11
+ export type PublicCatalogProductPropertiesManagedRelationalDatabaseStorageTypeStorageClass = 'unknown_storage_class' | 'block_ssd' | 'block_ssd_snapshot' | 'local_ssd' | 'sbs_5k' | 'sbs_5k_snapshot' | 'sbs_15k' | 'sbs_15k_snapshot' | 'backup';
12
+ export type PublicCatalogProductPropertiesObjectStorageClassTypeStorageClass = 'unknown_storage_class' | 'standard' | 'glacier' | 'onezone_ia';
13
+ export type PublicCatalogProductPropertiesObjectStorageInternetTrafficTypeTrafficType = 'unknown_traffic_type' | 'ingress' | 'egress';
14
+ export type PublicCatalogProductPropertiesObjectStorageRestoreTypeRestoreType = 'unknown_restore_type' | 'standard';
15
+ export type PublicCatalogProductStatus = 'unknown_status' | 'public_beta' | 'preview' | 'general_availability' | 'end_of_new_features' | 'end_of_growth' | 'end_of_deployment' | 'end_of_support' | 'end_of_sale' | 'end_of_life' | 'retired';
16
+ export type PublicCatalogProductUnitOfMeasureCountableUnit = 'unknown_countable_unit' | 'chunk' | 'core' | 'currency' | 'device' | 'domain' | 'email' | 'gb_s' | 'gigabyte' | 'hour' | 'iops_gigabyte' | 'ip' | 'month' | 'node' | 'plan' | 'query' | 'request' | 'session' | 'vcpu_s' | 'version' | 'year' | 'key' | 'token' | 'minute' | 'setup' | 'day' | 'second' | 'sample_day' | 'gigabyte_day' | 'mvcpu';
17
+ export interface PublicCatalogProductPropertiesHardwareCPUPhysical {
18
+ /**
19
+ * The number of sockets of the CPU.
20
+ */
21
+ sockets: number;
22
+ /**
23
+ * The number of cores per socket.
24
+ */
25
+ coresPerSocket: number;
26
+ /**
27
+ * The number of threads per core.
28
+ */
29
+ threadsPerCore: number;
30
+ /**
31
+ * The frequency of the CPU in Hertz.
32
+ */
33
+ frequency: number;
34
+ /**
35
+ * The benchmark score of the CPU.
36
+ */
37
+ benchmark: number;
38
+ }
39
+ export interface PublicCatalogProductPropertiesHardwareCPUVirtual {
40
+ /**
41
+ * The number of vCPUs.
42
+ */
43
+ count: number;
44
+ }
45
+ export interface PublicCatalogProductPropertiesBlockStorageSnapshotType {
46
+ }
47
+ export interface PublicCatalogProductPropertiesBlockStorageVolumeType {
48
+ /**
49
+ * The minimum size of storage volume for this product in bytes.
50
+ */
51
+ minSize: number;
52
+ /**
53
+ * The maximum size of storage volume for this product in bytes.
54
+ */
55
+ maxSize: number;
56
+ }
57
+ export interface PublicCatalogProductPropertiesHardwareCPU {
58
+ /**
59
+ * A human readable description of the CPU.
60
+ */
61
+ description: string;
62
+ /**
63
+ * The architecture of the CPU.
64
+ */
65
+ arch: PublicCatalogProductPropertiesHardwareCPUArch;
66
+ /**
67
+ * The type of the CPU.
68
+ */
69
+ type: string;
70
+ /**
71
+ * Properties if the CPU is virtual.
72
+ *
73
+ * One-of ('computeUnit'): at most one of 'virtual', 'physical' could be set.
74
+ */
75
+ virtual?: PublicCatalogProductPropertiesHardwareCPUVirtual;
76
+ /**
77
+ * Properties if the CPU is physical.
78
+ *
79
+ * One-of ('computeUnit'): at most one of 'virtual', 'physical' could be set.
80
+ */
81
+ physical?: PublicCatalogProductPropertiesHardwareCPUPhysical;
82
+ /**
83
+ * The total number of threads.
84
+ */
85
+ threads: number;
86
+ /**
87
+ * Indicates whether the CPU is shared or not.
88
+ */
89
+ shared: boolean;
90
+ }
91
+ export interface PublicCatalogProductPropertiesHardwareGPU {
92
+ /**
93
+ * A human-readable description of the GPU.
94
+ */
95
+ description: string;
96
+ /**
97
+ * The number of GPUs.
98
+ */
99
+ count: number;
100
+ /**
101
+ * The type of the GPU.
102
+ */
103
+ type: string;
104
+ }
105
+ export interface PublicCatalogProductPropertiesHardwareNetwork {
106
+ /**
107
+ * A human-readable description of the network.
108
+ */
109
+ description: string;
110
+ /**
111
+ * The internal bandwidth in bits per second.
112
+ */
113
+ internalBandwidth: number;
114
+ /**
115
+ * The default public bandwidth in bits per second.
116
+ */
117
+ publicBandwidth: number;
118
+ /**
119
+ * The maximum public bandwidth in bits per second (may require subscription to options).
120
+ */
121
+ maxPublicBandwidth: number;
122
+ }
123
+ export interface PublicCatalogProductPropertiesHardwareRAM {
124
+ /**
125
+ * A human-readable description of the RAM.
126
+ */
127
+ description: string;
128
+ /**
129
+ * The size of the RAM in bytes.
130
+ */
131
+ size: number;
132
+ /**
133
+ * The type of the RAM.
134
+ */
135
+ type: string;
136
+ /**
137
+ * ECC type.
138
+ */
139
+ eccType?: PublicCatalogProductPropertiesHardwareRAMECCType;
140
+ }
141
+ export interface PublicCatalogProductPropertiesHardwareStorage {
142
+ /**
143
+ * A human-readable description of the storage.
144
+ */
145
+ description: string;
146
+ /**
147
+ * The total size of the storage in bytes.
148
+ */
149
+ total: number;
150
+ }
151
+ export interface PublicCatalogProductPropertiesKubernetesKapsuleControlPlaneType {
152
+ }
153
+ export interface PublicCatalogProductPropertiesKubernetesKosmosControlPlaneType {
154
+ }
155
+ export interface PublicCatalogProductPropertiesKubernetesKosmosNodeType {
156
+ }
157
+ export interface PublicCatalogProductPropertiesLoadBalancerIPV4Type {
158
+ }
159
+ export interface PublicCatalogProductPropertiesLoadBalancerNodeType {
160
+ /**
161
+ * The offer ID of the Load Balancer product.
162
+ */
163
+ offerId: string;
164
+ /**
165
+ * Whether the Load Balancer product is available for multi-cloud providers.
166
+ */
167
+ multiCloudProvider: boolean;
168
+ /**
169
+ * The bandwidth of the Load Balancer product in bits per second.
170
+ */
171
+ bandwidth: number;
172
+ }
173
+ export interface PublicCatalogProductPropertiesManagedInferenceManagedInferenceCustomModelStorage {
174
+ }
175
+ export interface PublicCatalogProductPropertiesManagedInferenceManagedInferenceDeployment {
176
+ /**
177
+ * The name of the associated instance GPU to this deployment.
178
+ */
179
+ instanceGpuName: string;
180
+ }
181
+ export interface PublicCatalogProductPropertiesManagedMongoDBManagementType {
182
+ }
183
+ export interface PublicCatalogProductPropertiesManagedMongoDBNodeType {
184
+ }
185
+ export interface PublicCatalogProductPropertiesManagedMongoDBStorageType {
186
+ /**
187
+ * The type of Storage class.
188
+ */
189
+ storageClass: PublicCatalogProductPropertiesManagedMongoDBStorageTypeStorageClass;
190
+ }
191
+ export interface PublicCatalogProductPropertiesManagedRelationalDatabaseManagementType {
192
+ }
193
+ export interface PublicCatalogProductPropertiesManagedRelationalDatabaseMultiAzType {
194
+ }
195
+ export interface PublicCatalogProductPropertiesManagedRelationalDatabaseNodeType {
196
+ }
197
+ export interface PublicCatalogProductPropertiesManagedRelationalDatabaseStorageType {
198
+ /**
199
+ * The type of Storage class.
200
+ */
201
+ storageClass: PublicCatalogProductPropertiesManagedRelationalDatabaseStorageTypeStorageClass;
202
+ }
203
+ export interface PublicCatalogProductPropertiesObjectStorageClassType {
204
+ /**
205
+ * The storage class.
206
+ */
207
+ storageClass: PublicCatalogProductPropertiesObjectStorageClassTypeStorageClass;
208
+ }
209
+ export interface PublicCatalogProductPropertiesObjectStorageInternetTrafficType {
210
+ /**
211
+ * The type of internet traffic.
212
+ */
213
+ trafficType: PublicCatalogProductPropertiesObjectStorageInternetTrafficTypeTrafficType;
214
+ }
215
+ export interface PublicCatalogProductPropertiesObjectStorageRegionTrafficType {
216
+ /**
217
+ * The destination region for the region traffic.
218
+ */
219
+ regionDestination: string;
220
+ }
221
+ export interface PublicCatalogProductPropertiesObjectStorageRestoreType {
222
+ /**
223
+ * The type of restore.
224
+ */
225
+ restoreType: PublicCatalogProductPropertiesObjectStorageRestoreTypeRestoreType;
226
+ }
227
+ export interface PublicCatalogProductPropertiesServerlessContainersCPUType {
228
+ /**
229
+ * The list of available number of milli-vCPUs.
230
+ */
231
+ mvcpuCounts: number[];
232
+ }
233
+ export interface PublicCatalogProductPropertiesServerlessContainersMemoryType {
234
+ /**
235
+ * The list of available memory size in bytes.
236
+ */
237
+ sizes: number[];
238
+ }
239
+ export interface PublicCatalogProductPropertiesServerlessFunctionsConsumptionType {
240
+ }
241
+ export interface PublicCatalogProductPropertiesServerlessFunctionsFreeTierType {
242
+ }
243
+ export interface PublicCatalogProductPropertiesServerlessFunctionsProvisionType {
244
+ }
245
+ export interface PublicCatalogProductPropertiesServerlessFunctionsRequestType {
246
+ }
247
+ export interface PublicCatalogProductPropertiesServerlessFunctionsRuntimeResource {
248
+ /**
249
+ * The memory size in bytes.
250
+ */
251
+ memorySize: number;
252
+ /**
253
+ * The number of milli-vCPUs.
254
+ */
255
+ mvcpuCount: number;
256
+ }
257
+ export interface PublicCatalogProductPropertiesServerlessJobsCPUType {
258
+ /**
259
+ * The list of available number of milli-vCPUs.
260
+ */
261
+ mvcpuCounts: number[];
262
+ }
263
+ export interface PublicCatalogProductPropertiesServerlessJobsMemoryType {
264
+ /**
265
+ * The list of available memory size in bytes.
266
+ */
267
+ sizes: number[];
268
+ }
269
+ export interface PublicCatalogProductPropertiesApacheKafka {
270
+ }
271
+ export interface PublicCatalogProductPropertiesAppleSilicon {
272
+ /**
273
+ * The range of the Apple Silicon server.
274
+ */
275
+ range: string;
276
+ /**
277
+ * The server type of the Apple Silicon server.
278
+ */
279
+ serverType: string;
280
+ }
281
+ export interface PublicCatalogProductPropertiesBlockStorage {
282
+ /**
283
+ * @deprecated The minimum size of storage volume for this product in bytes. Deprecated.
284
+ */
285
+ minVolumeSize?: number;
286
+ /**
287
+ * @deprecated The maximum size of storage volume for this product in bytes. Deprecated.
288
+ */
289
+ maxVolumeSize?: number;
290
+ /**
291
+ * The properties related to Block Storage snapshot.
292
+ *
293
+ * One-of ('type'): at most one of 'snapshot', 'volume' could be set.
294
+ */
295
+ snapshot?: PublicCatalogProductPropertiesBlockStorageSnapshotType;
296
+ /**
297
+ * The properties related to Block Storage volume.
298
+ *
299
+ * One-of ('type'): at most one of 'snapshot', 'volume' could be set.
300
+ */
301
+ volume?: PublicCatalogProductPropertiesBlockStorageVolumeType;
302
+ }
303
+ export interface PublicCatalogProductPropertiesDedibox {
304
+ /**
305
+ * The range of the Dedibox server.
306
+ */
307
+ range: string;
308
+ /**
309
+ * The offer ID of the Dedibox server.
310
+ */
311
+ offerId: number;
312
+ }
313
+ export interface PublicCatalogProductPropertiesElasticMetal {
314
+ /**
315
+ * The range of the Elastic Metal server.
316
+ */
317
+ range: string;
318
+ /**
319
+ * The offer ID of the Elastic Metal server.
320
+ */
321
+ offerId: string;
322
+ }
323
+ export interface PublicCatalogProductPropertiesGenerativeApis {
324
+ reasoning: boolean;
325
+ supportedApis: string[];
326
+ consumptionMode: PublicCatalogProductPropertiesGenerativeApisConsumptionMode;
327
+ providerName: string;
328
+ tasks: PublicCatalogProductPropertiesGenerativeApisTask[];
329
+ tokenType: PublicCatalogProductPropertiesGenerativeApisTokenType;
330
+ supportedReasoningValues: string[];
331
+ defaultReasoningValue?: string;
332
+ }
333
+ export interface PublicCatalogProductPropertiesHardware {
334
+ /**
335
+ * The CPU hardware properties.
336
+ */
337
+ cpu?: PublicCatalogProductPropertiesHardwareCPU;
338
+ /**
339
+ * The RAM hardware properties.
340
+ */
341
+ ram?: PublicCatalogProductPropertiesHardwareRAM;
342
+ /**
343
+ * The storage hardware properties.
344
+ */
345
+ storage?: PublicCatalogProductPropertiesHardwareStorage;
346
+ /**
347
+ * The network hardware properties.
348
+ */
349
+ network?: PublicCatalogProductPropertiesHardwareNetwork;
350
+ /**
351
+ * The GPU hardware properties.
352
+ */
353
+ gpu?: PublicCatalogProductPropertiesHardwareGPU;
354
+ }
355
+ export interface PublicCatalogProductPropertiesInstance {
356
+ /**
357
+ * The range of the Instance server.
358
+ */
359
+ range: string;
360
+ /**
361
+ * The offer ID of the Instance server.
362
+ */
363
+ offerId: string;
364
+ /**
365
+ * The recommended replacement offer IDs of the Instance server.
366
+ */
367
+ recommendedReplacementOfferIds: string[];
368
+ }
369
+ export interface PublicCatalogProductPropertiesInstanceLocalSSDSnapshot {
370
+ }
371
+ export interface PublicCatalogProductPropertiesInstanceLocalSSDStorage {
372
+ }
373
+ export interface PublicCatalogProductPropertiesKeyManager {
374
+ }
375
+ export interface PublicCatalogProductPropertiesKubernetes {
376
+ /**
377
+ * The properties related to Kapsule Control Plane products.
378
+ *
379
+ * One-of ('type'): at most one of 'kapsuleControlPlane', 'kosmosControlPlane', 'kosmosNode' could be set.
380
+ */
381
+ kapsuleControlPlane?: PublicCatalogProductPropertiesKubernetesKapsuleControlPlaneType;
382
+ /**
383
+ * The properties related to Kosmos Control Plane products.
384
+ *
385
+ * One-of ('type'): at most one of 'kapsuleControlPlane', 'kosmosControlPlane', 'kosmosNode' could be set.
386
+ */
387
+ kosmosControlPlane?: PublicCatalogProductPropertiesKubernetesKosmosControlPlaneType;
388
+ /**
389
+ * The properties related to Kosmos nodes.
390
+ *
391
+ * One-of ('type'): at most one of 'kapsuleControlPlane', 'kosmosControlPlane', 'kosmosNode' could be set.
392
+ */
393
+ kosmosNode?: PublicCatalogProductPropertiesKubernetesKosmosNodeType;
394
+ }
395
+ export interface PublicCatalogProductPropertiesLoadBalancer {
396
+ /**
397
+ * The properties related to Load Balancer nodes.
398
+ *
399
+ * One-of ('type'): at most one of 'node', 'ipv4' could be set.
400
+ */
401
+ node?: PublicCatalogProductPropertiesLoadBalancerNodeType;
402
+ /**
403
+ * The properties related to Load Balancer IPv4.
404
+ *
405
+ * One-of ('type'): at most one of 'node', 'ipv4' could be set.
406
+ */
407
+ ipv4?: PublicCatalogProductPropertiesLoadBalancerIPV4Type;
408
+ }
409
+ export interface PublicCatalogProductPropertiesManagedInference {
410
+ /**
411
+ * @deprecated The name of the associated instance GPU to this node type. Deprecated, use `deployment.instance_gpu_name` instead.
412
+ */
413
+ instanceGpuName: string;
414
+ /**
415
+ * The properties related to Managed Inference Deployment.
416
+ *
417
+ * One-of ('type'): at most one of 'deployment', 'customModelStorage' could be set.
418
+ */
419
+ deployment?: PublicCatalogProductPropertiesManagedInferenceManagedInferenceDeployment;
420
+ /**
421
+ * The properties related to Managed Inference Custom Model Storage.
422
+ *
423
+ * One-of ('type'): at most one of 'deployment', 'customModelStorage' could be set.
424
+ */
425
+ customModelStorage?: PublicCatalogProductPropertiesManagedInferenceManagedInferenceCustomModelStorage;
426
+ }
427
+ export interface PublicCatalogProductPropertiesManagedMongoDB {
428
+ /**
429
+ * The properties related to MongoDB Management type.
430
+ *
431
+ * One-of ('type'): at most one of 'management', 'node', 'storage' could be set.
432
+ */
433
+ management?: PublicCatalogProductPropertiesManagedMongoDBManagementType;
434
+ /**
435
+ * The properties related to MongoDB Node type.
436
+ *
437
+ * One-of ('type'): at most one of 'management', 'node', 'storage' could be set.
438
+ */
439
+ node?: PublicCatalogProductPropertiesManagedMongoDBNodeType;
440
+ /**
441
+ * The properties related to MongoDB Storage type.
442
+ *
443
+ * One-of ('type'): at most one of 'management', 'node', 'storage' could be set.
444
+ */
445
+ storage?: PublicCatalogProductPropertiesManagedMongoDBStorageType;
446
+ }
447
+ export interface PublicCatalogProductPropertiesManagedRedisDatabase {
448
+ }
449
+ export interface PublicCatalogProductPropertiesManagedRelationalDatabase {
450
+ /**
451
+ * The properties related to Relational Database Management type.
452
+ *
453
+ * One-of ('type'): at most one of 'management', 'node', 'storage', 'multiAz' could be set.
454
+ */
455
+ management?: PublicCatalogProductPropertiesManagedRelationalDatabaseManagementType;
456
+ /**
457
+ * The properties related to Relational Database Nodes.
458
+ *
459
+ * One-of ('type'): at most one of 'management', 'node', 'storage', 'multiAz' could be set.
460
+ */
461
+ node?: PublicCatalogProductPropertiesManagedRelationalDatabaseNodeType;
462
+ /**
463
+ * The properties related to Relational Database Storage type.
464
+ *
465
+ * One-of ('type'): at most one of 'management', 'node', 'storage', 'multiAz' could be set.
466
+ */
467
+ storage?: PublicCatalogProductPropertiesManagedRelationalDatabaseStorageType;
468
+ /**
469
+ * The properties related to Relational Database Multi AZ type.
470
+ *
471
+ * One-of ('type'): at most one of 'management', 'node', 'storage', 'multiAz' could be set.
472
+ */
473
+ multiAz?: PublicCatalogProductPropertiesManagedRelationalDatabaseMultiAzType;
474
+ }
475
+ export interface PublicCatalogProductPropertiesObjectStorage {
476
+ /**
477
+ * The properties related to Object Storage class.
478
+ *
479
+ * One-of ('type'): at most one of 'class', 'restore', 'internetTraffic', 'regionTraffic' could be set.
480
+ */
481
+ class?: PublicCatalogProductPropertiesObjectStorageClassType;
482
+ /**
483
+ * The properties related to Object Storage restore operations.
484
+ *
485
+ * One-of ('type'): at most one of 'class', 'restore', 'internetTraffic', 'regionTraffic' could be set.
486
+ */
487
+ restore?: PublicCatalogProductPropertiesObjectStorageRestoreType;
488
+ /**
489
+ * The properties related to Object Storage internet traffic.
490
+ *
491
+ * One-of ('type'): at most one of 'class', 'restore', 'internetTraffic', 'regionTraffic' could be set.
492
+ */
493
+ internetTraffic?: PublicCatalogProductPropertiesObjectStorageInternetTrafficType;
494
+ /**
495
+ * The properties related to Object Storage region traffic.
496
+ *
497
+ * One-of ('type'): at most one of 'class', 'restore', 'internetTraffic', 'regionTraffic' could be set.
498
+ */
499
+ regionTraffic?: PublicCatalogProductPropertiesObjectStorageRegionTrafficType;
500
+ }
501
+ export interface PublicCatalogProductPropertiesOpenSearch {
502
+ }
503
+ export interface PublicCatalogProductPropertiesSecretManager {
504
+ }
505
+ export interface PublicCatalogProductPropertiesServerlessContainers {
506
+ /**
507
+ * The properties related to Serverless containers memory products.
508
+ *
509
+ * One-of ('type'): at most one of 'memory', 'cpu' could be set.
510
+ */
511
+ memory?: PublicCatalogProductPropertiesServerlessContainersMemoryType;
512
+ /**
513
+ * The properties related to Serverless containers CPU products.
514
+ *
515
+ * One-of ('type'): at most one of 'memory', 'cpu' could be set.
516
+ */
517
+ cpu?: PublicCatalogProductPropertiesServerlessContainersCPUType;
518
+ }
519
+ export interface PublicCatalogProductPropertiesServerlessFunctions {
520
+ /**
521
+ * The serverless functions runtime resources sorted by memory size and then by milli-vCPU count.
522
+ */
523
+ resources: PublicCatalogProductPropertiesServerlessFunctionsRuntimeResource[];
524
+ /**
525
+ * The properties related to Serverless functions consumption products.
526
+ *
527
+ * One-of ('type'): at most one of 'consumption', 'request', 'provision', 'freeTier' could be set.
528
+ */
529
+ consumption?: PublicCatalogProductPropertiesServerlessFunctionsConsumptionType;
530
+ /**
531
+ * The properties related to Serverless functions request products.
532
+ *
533
+ * One-of ('type'): at most one of 'consumption', 'request', 'provision', 'freeTier' could be set.
534
+ */
535
+ request?: PublicCatalogProductPropertiesServerlessFunctionsRequestType;
536
+ /**
537
+ * The properties related to Serverless functions provision products.
538
+ *
539
+ * One-of ('type'): at most one of 'consumption', 'request', 'provision', 'freeTier' could be set.
540
+ */
541
+ provision?: PublicCatalogProductPropertiesServerlessFunctionsProvisionType;
542
+ /**
543
+ * The properties related to Serverless functions free tier products.
544
+ *
545
+ * One-of ('type'): at most one of 'consumption', 'request', 'provision', 'freeTier' could be set.
546
+ */
547
+ freeTier?: PublicCatalogProductPropertiesServerlessFunctionsFreeTierType;
548
+ }
549
+ export interface PublicCatalogProductPropertiesServerlessJobs {
550
+ /**
551
+ * The properties related to Serverless containers memory products.
552
+ *
553
+ * One-of ('type'): at most one of 'memory', 'cpu' could be set.
554
+ */
555
+ memory?: PublicCatalogProductPropertiesServerlessJobsMemoryType;
556
+ /**
557
+ * The properties related to Serverless containers CPU products.
558
+ *
559
+ * One-of ('type'): at most one of 'memory', 'cpu' could be set.
560
+ */
561
+ cpu?: PublicCatalogProductPropertiesServerlessJobsCPUType;
562
+ }
563
+ export interface PublicCatalogProductEnvironmentalImpactEstimation {
564
+ kgCo2Equivalent?: number;
565
+ m3WaterUsage?: number;
566
+ }
567
+ export interface PublicCatalogProductLocality {
568
+ /**
569
+ * Whether or not the product is global.
570
+ *
571
+ * One-of ('locality'): at most one of 'global', 'region', 'zone', 'datacenter' could be set.
572
+ */
573
+ global?: boolean;
574
+ /**
575
+ * The region of the product.
576
+ *
577
+ * One-of ('locality'): at most one of 'global', 'region', 'zone', 'datacenter' could be set.
578
+ */
579
+ region?: ScwRegion;
580
+ /**
581
+ * The zone of the product.
582
+ *
583
+ * One-of ('locality'): at most one of 'global', 'region', 'zone', 'datacenter' could be set.
584
+ */
585
+ zone?: ScwZone;
586
+ /**
587
+ * The datacenter of the product.
588
+ *
589
+ * One-of ('locality'): at most one of 'global', 'region', 'zone', 'datacenter' could be set.
590
+ */
591
+ datacenter?: string;
592
+ }
593
+ export interface PublicCatalogProductPrice {
594
+ /**
595
+ * The retail price of the product.
596
+ */
597
+ retailPrice?: Money;
598
+ }
599
+ export interface PublicCatalogProductProperties {
600
+ /**
601
+ * The hardware properties of the product (if supported).
602
+ */
603
+ hardware?: PublicCatalogProductPropertiesHardware;
604
+ /**
605
+ * The properties of Dedibox products.
606
+ *
607
+ * One-of ('properties'): at most one of 'dedibox', 'elasticMetal', 'appleSilicon', 'instance', 'blockStorage', 'objectStorage', 'managedInference', 'generativeApis', 'loadBalancer', 'secretManager', 'managedRedisDatabase', 'keyManager', 'kubernetes', 'managedRelationalDatabase', 'serverlessFunctions', 'serverlessContainers', 'managedMongodb', 'serverlessJobs', 'apacheKafka', 'openSearch', 'instanceLocalSsdSnapshot', 'instanceLocalSsdStorage' could be set.
608
+ */
609
+ dedibox?: PublicCatalogProductPropertiesDedibox;
610
+ /**
611
+ * The properties of Elastic Metal products.
612
+ *
613
+ * One-of ('properties'): at most one of 'dedibox', 'elasticMetal', 'appleSilicon', 'instance', 'blockStorage', 'objectStorage', 'managedInference', 'generativeApis', 'loadBalancer', 'secretManager', 'managedRedisDatabase', 'keyManager', 'kubernetes', 'managedRelationalDatabase', 'serverlessFunctions', 'serverlessContainers', 'managedMongodb', 'serverlessJobs', 'apacheKafka', 'openSearch', 'instanceLocalSsdSnapshot', 'instanceLocalSsdStorage' could be set.
614
+ */
615
+ elasticMetal?: PublicCatalogProductPropertiesElasticMetal;
616
+ /**
617
+ * The properties of Apple Silicon products.
618
+ *
619
+ * One-of ('properties'): at most one of 'dedibox', 'elasticMetal', 'appleSilicon', 'instance', 'blockStorage', 'objectStorage', 'managedInference', 'generativeApis', 'loadBalancer', 'secretManager', 'managedRedisDatabase', 'keyManager', 'kubernetes', 'managedRelationalDatabase', 'serverlessFunctions', 'serverlessContainers', 'managedMongodb', 'serverlessJobs', 'apacheKafka', 'openSearch', 'instanceLocalSsdSnapshot', 'instanceLocalSsdStorage' could be set.
620
+ */
621
+ appleSilicon?: PublicCatalogProductPropertiesAppleSilicon;
622
+ /**
623
+ * The properties of Instance products.
624
+ *
625
+ * One-of ('properties'): at most one of 'dedibox', 'elasticMetal', 'appleSilicon', 'instance', 'blockStorage', 'objectStorage', 'managedInference', 'generativeApis', 'loadBalancer', 'secretManager', 'managedRedisDatabase', 'keyManager', 'kubernetes', 'managedRelationalDatabase', 'serverlessFunctions', 'serverlessContainers', 'managedMongodb', 'serverlessJobs', 'apacheKafka', 'openSearch', 'instanceLocalSsdSnapshot', 'instanceLocalSsdStorage' could be set.
626
+ */
627
+ instance?: PublicCatalogProductPropertiesInstance;
628
+ /**
629
+ * The properties of Block Storage products.
630
+ *
631
+ * One-of ('properties'): at most one of 'dedibox', 'elasticMetal', 'appleSilicon', 'instance', 'blockStorage', 'objectStorage', 'managedInference', 'generativeApis', 'loadBalancer', 'secretManager', 'managedRedisDatabase', 'keyManager', 'kubernetes', 'managedRelationalDatabase', 'serverlessFunctions', 'serverlessContainers', 'managedMongodb', 'serverlessJobs', 'apacheKafka', 'openSearch', 'instanceLocalSsdSnapshot', 'instanceLocalSsdStorage' could be set.
632
+ */
633
+ blockStorage?: PublicCatalogProductPropertiesBlockStorage;
634
+ /**
635
+ * The properties of Object Storage products.
636
+ *
637
+ * One-of ('properties'): at most one of 'dedibox', 'elasticMetal', 'appleSilicon', 'instance', 'blockStorage', 'objectStorage', 'managedInference', 'generativeApis', 'loadBalancer', 'secretManager', 'managedRedisDatabase', 'keyManager', 'kubernetes', 'managedRelationalDatabase', 'serverlessFunctions', 'serverlessContainers', 'managedMongodb', 'serverlessJobs', 'apacheKafka', 'openSearch', 'instanceLocalSsdSnapshot', 'instanceLocalSsdStorage' could be set.
638
+ */
639
+ objectStorage?: PublicCatalogProductPropertiesObjectStorage;
640
+ /**
641
+ * The properties of Managed Inference products.
642
+ *
643
+ * One-of ('properties'): at most one of 'dedibox', 'elasticMetal', 'appleSilicon', 'instance', 'blockStorage', 'objectStorage', 'managedInference', 'generativeApis', 'loadBalancer', 'secretManager', 'managedRedisDatabase', 'keyManager', 'kubernetes', 'managedRelationalDatabase', 'serverlessFunctions', 'serverlessContainers', 'managedMongodb', 'serverlessJobs', 'apacheKafka', 'openSearch', 'instanceLocalSsdSnapshot', 'instanceLocalSsdStorage' could be set.
644
+ */
645
+ managedInference?: PublicCatalogProductPropertiesManagedInference;
646
+ /**
647
+ * The properties of Generative APIs products.
648
+ *
649
+ * One-of ('properties'): at most one of 'dedibox', 'elasticMetal', 'appleSilicon', 'instance', 'blockStorage', 'objectStorage', 'managedInference', 'generativeApis', 'loadBalancer', 'secretManager', 'managedRedisDatabase', 'keyManager', 'kubernetes', 'managedRelationalDatabase', 'serverlessFunctions', 'serverlessContainers', 'managedMongodb', 'serverlessJobs', 'apacheKafka', 'openSearch', 'instanceLocalSsdSnapshot', 'instanceLocalSsdStorage' could be set.
650
+ */
651
+ generativeApis?: PublicCatalogProductPropertiesGenerativeApis;
652
+ /**
653
+ * The properties of Load Balancer products.
654
+ *
655
+ * One-of ('properties'): at most one of 'dedibox', 'elasticMetal', 'appleSilicon', 'instance', 'blockStorage', 'objectStorage', 'managedInference', 'generativeApis', 'loadBalancer', 'secretManager', 'managedRedisDatabase', 'keyManager', 'kubernetes', 'managedRelationalDatabase', 'serverlessFunctions', 'serverlessContainers', 'managedMongodb', 'serverlessJobs', 'apacheKafka', 'openSearch', 'instanceLocalSsdSnapshot', 'instanceLocalSsdStorage' could be set.
656
+ */
657
+ loadBalancer?: PublicCatalogProductPropertiesLoadBalancer;
658
+ /**
659
+ *
660
+ * One-of ('properties'): at most one of 'dedibox', 'elasticMetal', 'appleSilicon', 'instance', 'blockStorage', 'objectStorage', 'managedInference', 'generativeApis', 'loadBalancer', 'secretManager', 'managedRedisDatabase', 'keyManager', 'kubernetes', 'managedRelationalDatabase', 'serverlessFunctions', 'serverlessContainers', 'managedMongodb', 'serverlessJobs', 'apacheKafka', 'openSearch', 'instanceLocalSsdSnapshot', 'instanceLocalSsdStorage' could be set.
661
+ */
662
+ secretManager?: PublicCatalogProductPropertiesSecretManager;
663
+ /**
664
+ * The properties of Managed Redis Database products.
665
+ *
666
+ * One-of ('properties'): at most one of 'dedibox', 'elasticMetal', 'appleSilicon', 'instance', 'blockStorage', 'objectStorage', 'managedInference', 'generativeApis', 'loadBalancer', 'secretManager', 'managedRedisDatabase', 'keyManager', 'kubernetes', 'managedRelationalDatabase', 'serverlessFunctions', 'serverlessContainers', 'managedMongodb', 'serverlessJobs', 'apacheKafka', 'openSearch', 'instanceLocalSsdSnapshot', 'instanceLocalSsdStorage' could be set.
667
+ */
668
+ managedRedisDatabase?: PublicCatalogProductPropertiesManagedRedisDatabase;
669
+ /**
670
+ *
671
+ * One-of ('properties'): at most one of 'dedibox', 'elasticMetal', 'appleSilicon', 'instance', 'blockStorage', 'objectStorage', 'managedInference', 'generativeApis', 'loadBalancer', 'secretManager', 'managedRedisDatabase', 'keyManager', 'kubernetes', 'managedRelationalDatabase', 'serverlessFunctions', 'serverlessContainers', 'managedMongodb', 'serverlessJobs', 'apacheKafka', 'openSearch', 'instanceLocalSsdSnapshot', 'instanceLocalSsdStorage' could be set.
672
+ */
673
+ keyManager?: PublicCatalogProductPropertiesKeyManager;
674
+ /**
675
+ * The properties of Kubernetes products.
676
+ *
677
+ * One-of ('properties'): at most one of 'dedibox', 'elasticMetal', 'appleSilicon', 'instance', 'blockStorage', 'objectStorage', 'managedInference', 'generativeApis', 'loadBalancer', 'secretManager', 'managedRedisDatabase', 'keyManager', 'kubernetes', 'managedRelationalDatabase', 'serverlessFunctions', 'serverlessContainers', 'managedMongodb', 'serverlessJobs', 'apacheKafka', 'openSearch', 'instanceLocalSsdSnapshot', 'instanceLocalSsdStorage' could be set.
678
+ */
679
+ kubernetes?: PublicCatalogProductPropertiesKubernetes;
680
+ /**
681
+ * The properties of Managed Relational Database products.
682
+ *
683
+ * One-of ('properties'): at most one of 'dedibox', 'elasticMetal', 'appleSilicon', 'instance', 'blockStorage', 'objectStorage', 'managedInference', 'generativeApis', 'loadBalancer', 'secretManager', 'managedRedisDatabase', 'keyManager', 'kubernetes', 'managedRelationalDatabase', 'serverlessFunctions', 'serverlessContainers', 'managedMongodb', 'serverlessJobs', 'apacheKafka', 'openSearch', 'instanceLocalSsdSnapshot', 'instanceLocalSsdStorage' could be set.
684
+ */
685
+ managedRelationalDatabase?: PublicCatalogProductPropertiesManagedRelationalDatabase;
686
+ /**
687
+ * The properties of Serverless Functions products.
688
+ *
689
+ * One-of ('properties'): at most one of 'dedibox', 'elasticMetal', 'appleSilicon', 'instance', 'blockStorage', 'objectStorage', 'managedInference', 'generativeApis', 'loadBalancer', 'secretManager', 'managedRedisDatabase', 'keyManager', 'kubernetes', 'managedRelationalDatabase', 'serverlessFunctions', 'serverlessContainers', 'managedMongodb', 'serverlessJobs', 'apacheKafka', 'openSearch', 'instanceLocalSsdSnapshot', 'instanceLocalSsdStorage' could be set.
690
+ */
691
+ serverlessFunctions?: PublicCatalogProductPropertiesServerlessFunctions;
692
+ /**
693
+ * The properties of Serverless Containers products.
694
+ *
695
+ * One-of ('properties'): at most one of 'dedibox', 'elasticMetal', 'appleSilicon', 'instance', 'blockStorage', 'objectStorage', 'managedInference', 'generativeApis', 'loadBalancer', 'secretManager', 'managedRedisDatabase', 'keyManager', 'kubernetes', 'managedRelationalDatabase', 'serverlessFunctions', 'serverlessContainers', 'managedMongodb', 'serverlessJobs', 'apacheKafka', 'openSearch', 'instanceLocalSsdSnapshot', 'instanceLocalSsdStorage' could be set.
696
+ */
697
+ serverlessContainers?: PublicCatalogProductPropertiesServerlessContainers;
698
+ /**
699
+ *
700
+ * One-of ('properties'): at most one of 'dedibox', 'elasticMetal', 'appleSilicon', 'instance', 'blockStorage', 'objectStorage', 'managedInference', 'generativeApis', 'loadBalancer', 'secretManager', 'managedRedisDatabase', 'keyManager', 'kubernetes', 'managedRelationalDatabase', 'serverlessFunctions', 'serverlessContainers', 'managedMongodb', 'serverlessJobs', 'apacheKafka', 'openSearch', 'instanceLocalSsdSnapshot', 'instanceLocalSsdStorage' could be set.
701
+ */
702
+ managedMongodb?: PublicCatalogProductPropertiesManagedMongoDB;
703
+ /**
704
+ * The properties of Serverless Jobs products.
705
+ *
706
+ * One-of ('properties'): at most one of 'dedibox', 'elasticMetal', 'appleSilicon', 'instance', 'blockStorage', 'objectStorage', 'managedInference', 'generativeApis', 'loadBalancer', 'secretManager', 'managedRedisDatabase', 'keyManager', 'kubernetes', 'managedRelationalDatabase', 'serverlessFunctions', 'serverlessContainers', 'managedMongodb', 'serverlessJobs', 'apacheKafka', 'openSearch', 'instanceLocalSsdSnapshot', 'instanceLocalSsdStorage' could be set.
707
+ */
708
+ serverlessJobs?: PublicCatalogProductPropertiesServerlessJobs;
709
+ /**
710
+ * The properties of Apache Kafka products.
711
+ *
712
+ * One-of ('properties'): at most one of 'dedibox', 'elasticMetal', 'appleSilicon', 'instance', 'blockStorage', 'objectStorage', 'managedInference', 'generativeApis', 'loadBalancer', 'secretManager', 'managedRedisDatabase', 'keyManager', 'kubernetes', 'managedRelationalDatabase', 'serverlessFunctions', 'serverlessContainers', 'managedMongodb', 'serverlessJobs', 'apacheKafka', 'openSearch', 'instanceLocalSsdSnapshot', 'instanceLocalSsdStorage' could be set.
713
+ */
714
+ apacheKafka?: PublicCatalogProductPropertiesApacheKafka;
715
+ /**
716
+ * The properties of OpenSearch DB products.
717
+ *
718
+ * One-of ('properties'): at most one of 'dedibox', 'elasticMetal', 'appleSilicon', 'instance', 'blockStorage', 'objectStorage', 'managedInference', 'generativeApis', 'loadBalancer', 'secretManager', 'managedRedisDatabase', 'keyManager', 'kubernetes', 'managedRelationalDatabase', 'serverlessFunctions', 'serverlessContainers', 'managedMongodb', 'serverlessJobs', 'apacheKafka', 'openSearch', 'instanceLocalSsdSnapshot', 'instanceLocalSsdStorage' could be set.
719
+ */
720
+ openSearch?: PublicCatalogProductPropertiesOpenSearch;
721
+ /**
722
+ * The properties of Instance Local SSD Snapshot products.
723
+ *
724
+ * One-of ('properties'): at most one of 'dedibox', 'elasticMetal', 'appleSilicon', 'instance', 'blockStorage', 'objectStorage', 'managedInference', 'generativeApis', 'loadBalancer', 'secretManager', 'managedRedisDatabase', 'keyManager', 'kubernetes', 'managedRelationalDatabase', 'serverlessFunctions', 'serverlessContainers', 'managedMongodb', 'serverlessJobs', 'apacheKafka', 'openSearch', 'instanceLocalSsdSnapshot', 'instanceLocalSsdStorage' could be set.
725
+ */
726
+ instanceLocalSsdSnapshot?: PublicCatalogProductPropertiesInstanceLocalSSDSnapshot;
727
+ /**
728
+ * The properties of Instance Local SSD Storage products.
729
+ *
730
+ * One-of ('properties'): at most one of 'dedibox', 'elasticMetal', 'appleSilicon', 'instance', 'blockStorage', 'objectStorage', 'managedInference', 'generativeApis', 'loadBalancer', 'secretManager', 'managedRedisDatabase', 'keyManager', 'kubernetes', 'managedRelationalDatabase', 'serverlessFunctions', 'serverlessContainers', 'managedMongodb', 'serverlessJobs', 'apacheKafka', 'openSearch', 'instanceLocalSsdSnapshot', 'instanceLocalSsdStorage' could be set.
731
+ */
732
+ instanceLocalSsdStorage?: PublicCatalogProductPropertiesInstanceLocalSSDStorage;
733
+ }
734
+ export interface PublicCatalogProductUnitOfMeasure {
735
+ unit: PublicCatalogProductUnitOfMeasureCountableUnit;
736
+ size: number;
737
+ }
738
+ export interface PublicCatalogProduct {
739
+ /**
740
+ * The unique identifier of the product.
741
+ */
742
+ sku: string;
743
+ /**
744
+ * The category of the product.
745
+ */
746
+ serviceCategory: string;
747
+ /**
748
+ * The product category of the product.
749
+ */
750
+ productCategory: string;
751
+ /**
752
+ * The product name.
753
+ */
754
+ product: string;
755
+ /**
756
+ * The product variant.
757
+ */
758
+ variant: string;
759
+ /**
760
+ * The product description.
761
+ */
762
+ description: string;
763
+ /**
764
+ * The locality of the product.
765
+ */
766
+ locality?: PublicCatalogProductLocality;
767
+ /**
768
+ * The price of the product.
769
+ */
770
+ price?: PublicCatalogProductPrice;
771
+ /**
772
+ * The properties of the product.
773
+ */
774
+ properties?: PublicCatalogProductProperties;
775
+ /**
776
+ * The environmental impact estimation of the product.
777
+ */
778
+ environmentalImpactEstimation?: PublicCatalogProductEnvironmentalImpactEstimation;
779
+ /**
780
+ * The unit of measure of the product.
781
+ */
782
+ unitOfMeasure?: PublicCatalogProductUnitOfMeasure;
783
+ /**
784
+ * The status of the product.
785
+ */
786
+ status: PublicCatalogProductStatus;
787
+ /**
788
+ * The end of life date of the product.
789
+ */
790
+ endOfLifeAt?: Date;
791
+ /**
792
+ * The end of growth date of the product.
793
+ */
794
+ endOfGrowthAt?: Date;
795
+ /**
796
+ * The end of sale date of the product.
797
+ */
798
+ endOfSaleAt?: Date;
799
+ /**
800
+ * Different badges that can be associated with the product.
801
+ */
802
+ badges: PublicCatalogProductProductBadge[];
803
+ }
804
+ export interface ListPublicCatalogProductsResponse {
805
+ /**
806
+ * The list of products.
807
+ */
808
+ products: PublicCatalogProduct[];
809
+ /**
810
+ * The total number of products in the catalog.
811
+ */
812
+ totalCount: number;
813
+ }
814
+ export type PublicCatalogApiListPublicCatalogProductsRequest = {
815
+ /**
816
+ * Number of the page. Value must be greater or equal to 1.
817
+ */
818
+ page?: number;
819
+ /**
820
+ * The number of products per page. Value must be greater or equal to 1.
821
+ */
822
+ pageSize?: number;
823
+ /**
824
+ * The list of filtered product categories.
825
+ */
826
+ productTypes?: ListPublicCatalogProductsRequestProductType[];
827
+ /**
828
+ * Filter global products.
829
+ *
830
+ * One-of ('locality'): at most one of 'global', 'region', 'zone', 'datacenter' could be set.
831
+ */
832
+ global?: boolean;
833
+ /**
834
+ * Filter products by region.
835
+ *
836
+ * One-of ('locality'): at most one of 'global', 'region', 'zone', 'datacenter' could be set.
837
+ */
838
+ region?: ScwRegion;
839
+ /**
840
+ * Filter products by zone.
841
+ *
842
+ * One-of ('locality'): at most one of 'global', 'region', 'zone', 'datacenter' could be set.
843
+ */
844
+ zone?: ScwZone;
845
+ /**
846
+ * Filter products by datacenter.
847
+ *
848
+ * One-of ('locality'): at most one of 'global', 'region', 'zone', 'datacenter' could be set.
849
+ */
850
+ datacenter?: string;
851
+ /**
852
+ * The lists of filtered product status, if empty only products with status public_beta, general_availability, preview, end_of_new_features, end_of_growth, end_of_deployment, end_of_support, end_of_sale, end_of_life or retired will be returned.
853
+ */
854
+ status?: ListPublicCatalogProductsRequestStatus[];
855
+ /**
856
+ * Filter products by API IDs. Each ID is matched against product-specific identifiers: `dedibox.offer_id` (converted to string), `elastic_metal.offer_id`, `apple_silicon.server_type`, `instance.offer_id`, and `load_balancer.node.offer_id`. Products that do not support API ID filtering are excluded from the results. If empty, no filtering is applied.
857
+ */
858
+ apiIds?: string[];
859
+ };