@scaleway/sdk-product-catalog 2.16.0 → 2.18.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.
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
export { PublicCatalogAPI, } from './api.gen.js';
|
|
2
2
|
export * from './marshalling.gen.js';
|
|
3
|
-
export type { ListPublicCatalogProductsRequestProductType, ListPublicCatalogProductsRequestStatus, ListPublicCatalogProductsResponse, PublicCatalogApiListPublicCatalogProductsRequest, PublicCatalogProduct, PublicCatalogProductEnvironmentalImpactEstimation, PublicCatalogProductLocality, PublicCatalogProductPrice, PublicCatalogProductProductBadge, PublicCatalogProductProperties, PublicCatalogProductPropertiesApacheKafka, PublicCatalogProductPropertiesAppleSilicon, PublicCatalogProductPropertiesBlockStorage, PublicCatalogProductPropertiesDedibox, PublicCatalogProductPropertiesElasticMetal, PublicCatalogProductPropertiesGenerativeApis, PublicCatalogProductPropertiesGenerativeApisConsumptionMode, PublicCatalogProductPropertiesGenerativeApisTask, PublicCatalogProductPropertiesGenerativeApisTokenType, PublicCatalogProductPropertiesHardware, PublicCatalogProductPropertiesHardwareCPU, PublicCatalogProductPropertiesHardwareCPUArch, PublicCatalogProductPropertiesHardwareCPUPhysical, PublicCatalogProductPropertiesHardwareCPUVirtual, PublicCatalogProductPropertiesHardwareGPU, PublicCatalogProductPropertiesHardwareNetwork, PublicCatalogProductPropertiesHardwareRAM, PublicCatalogProductPropertiesHardwareRAMECCType, PublicCatalogProductPropertiesHardwareStorage, PublicCatalogProductPropertiesInstance, PublicCatalogProductPropertiesKeyManager, PublicCatalogProductPropertiesKubernetes, PublicCatalogProductPropertiesKubernetesKapsuleControlPlaneType, PublicCatalogProductPropertiesKubernetesKosmosControlPlaneType, PublicCatalogProductPropertiesKubernetesKosmosNodeType, PublicCatalogProductPropertiesLoadBalancer, PublicCatalogProductPropertiesLoadBalancerIPV4Type, PublicCatalogProductPropertiesLoadBalancerNodeType, PublicCatalogProductPropertiesManagedInference, PublicCatalogProductPropertiesManagedInferenceManagedInferenceCustomModelStorage, PublicCatalogProductPropertiesManagedInferenceManagedInferenceDeployment, PublicCatalogProductPropertiesManagedMongoDB, PublicCatalogProductPropertiesManagedMongoDBManagementType, PublicCatalogProductPropertiesManagedMongoDBNodeType, PublicCatalogProductPropertiesManagedMongoDBStorageType, PublicCatalogProductPropertiesManagedMongoDBStorageTypeStorageClass, PublicCatalogProductPropertiesManagedRedisDatabase, PublicCatalogProductPropertiesManagedRelationalDatabase, PublicCatalogProductPropertiesManagedRelationalDatabaseManagementType, PublicCatalogProductPropertiesManagedRelationalDatabaseMultiAzType, PublicCatalogProductPropertiesManagedRelationalDatabaseNodeType, PublicCatalogProductPropertiesManagedRelationalDatabaseStorageType, PublicCatalogProductPropertiesManagedRelationalDatabaseStorageTypeStorageClass, PublicCatalogProductPropertiesObjectStorage, PublicCatalogProductPropertiesObjectStorageClassType, PublicCatalogProductPropertiesObjectStorageClassTypeStorageClass, PublicCatalogProductPropertiesObjectStorageInternetTrafficType, PublicCatalogProductPropertiesObjectStorageInternetTrafficTypeTrafficType, PublicCatalogProductPropertiesObjectStorageRegionTrafficType, PublicCatalogProductPropertiesObjectStorageRestoreType, PublicCatalogProductPropertiesObjectStorageRestoreTypeRestoreType, PublicCatalogProductPropertiesOpenSearch, PublicCatalogProductPropertiesSecretManager, PublicCatalogProductPropertiesServerlessContainers, PublicCatalogProductPropertiesServerlessFunctions, PublicCatalogProductPropertiesServerlessJobs, PublicCatalogProductStatus, PublicCatalogProductUnitOfMeasure, PublicCatalogProductUnitOfMeasureCountableUnit, } from './types.gen.js';
|
|
3
|
+
export type { ListPublicCatalogProductsRequestProductType, ListPublicCatalogProductsRequestStatus, ListPublicCatalogProductsResponse, PublicCatalogApiListPublicCatalogProductsRequest, PublicCatalogProduct, PublicCatalogProductEnvironmentalImpactEstimation, PublicCatalogProductLocality, PublicCatalogProductPrice, PublicCatalogProductProductBadge, PublicCatalogProductProperties, PublicCatalogProductPropertiesApacheKafka, PublicCatalogProductPropertiesAppleSilicon, PublicCatalogProductPropertiesBlockStorage, PublicCatalogProductPropertiesDedibox, PublicCatalogProductPropertiesElasticMetal, PublicCatalogProductPropertiesGenerativeApis, PublicCatalogProductPropertiesGenerativeApisConsumptionMode, PublicCatalogProductPropertiesGenerativeApisTask, PublicCatalogProductPropertiesGenerativeApisTokenType, PublicCatalogProductPropertiesHardware, PublicCatalogProductPropertiesHardwareCPU, PublicCatalogProductPropertiesHardwareCPUArch, PublicCatalogProductPropertiesHardwareCPUPhysical, PublicCatalogProductPropertiesHardwareCPUVirtual, PublicCatalogProductPropertiesHardwareGPU, PublicCatalogProductPropertiesHardwareNetwork, PublicCatalogProductPropertiesHardwareRAM, PublicCatalogProductPropertiesHardwareRAMECCType, PublicCatalogProductPropertiesHardwareStorage, PublicCatalogProductPropertiesInstance, PublicCatalogProductPropertiesKeyManager, PublicCatalogProductPropertiesKubernetes, PublicCatalogProductPropertiesKubernetesKapsuleControlPlaneType, PublicCatalogProductPropertiesKubernetesKosmosControlPlaneType, PublicCatalogProductPropertiesKubernetesKosmosNodeType, PublicCatalogProductPropertiesLoadBalancer, PublicCatalogProductPropertiesLoadBalancerIPV4Type, PublicCatalogProductPropertiesLoadBalancerNodeType, PublicCatalogProductPropertiesManagedInference, PublicCatalogProductPropertiesManagedInferenceManagedInferenceCustomModelStorage, PublicCatalogProductPropertiesManagedInferenceManagedInferenceDeployment, PublicCatalogProductPropertiesManagedMongoDB, PublicCatalogProductPropertiesManagedMongoDBManagementType, PublicCatalogProductPropertiesManagedMongoDBNodeType, PublicCatalogProductPropertiesManagedMongoDBStorageType, PublicCatalogProductPropertiesManagedMongoDBStorageTypeStorageClass, PublicCatalogProductPropertiesManagedRedisDatabase, PublicCatalogProductPropertiesManagedRelationalDatabase, PublicCatalogProductPropertiesManagedRelationalDatabaseManagementType, PublicCatalogProductPropertiesManagedRelationalDatabaseMultiAzType, PublicCatalogProductPropertiesManagedRelationalDatabaseNodeType, PublicCatalogProductPropertiesManagedRelationalDatabaseStorageType, PublicCatalogProductPropertiesManagedRelationalDatabaseStorageTypeStorageClass, PublicCatalogProductPropertiesObjectStorage, PublicCatalogProductPropertiesObjectStorageClassType, PublicCatalogProductPropertiesObjectStorageClassTypeStorageClass, PublicCatalogProductPropertiesObjectStorageInternetTrafficType, PublicCatalogProductPropertiesObjectStorageInternetTrafficTypeTrafficType, PublicCatalogProductPropertiesObjectStorageRegionTrafficType, PublicCatalogProductPropertiesObjectStorageRestoreType, PublicCatalogProductPropertiesObjectStorageRestoreTypeRestoreType, PublicCatalogProductPropertiesOpenSearch, PublicCatalogProductPropertiesSecretManager, PublicCatalogProductPropertiesServerlessContainers, PublicCatalogProductPropertiesServerlessContainersCPUType, PublicCatalogProductPropertiesServerlessContainersMemoryType, PublicCatalogProductPropertiesServerlessFunctions, PublicCatalogProductPropertiesServerlessFunctionsConsumptionType, PublicCatalogProductPropertiesServerlessFunctionsFreeTierType, PublicCatalogProductPropertiesServerlessFunctionsProvisionType, PublicCatalogProductPropertiesServerlessFunctionsRequestType, PublicCatalogProductPropertiesServerlessFunctionsRuntimeResource, PublicCatalogProductPropertiesServerlessJobs, PublicCatalogProductPropertiesServerlessJobsCPUType, PublicCatalogProductPropertiesServerlessJobsMemoryType, PublicCatalogProductStatus, PublicCatalogProductUnitOfMeasure, PublicCatalogProductUnitOfMeasureCountableUnit, } from './types.gen.js';
|
|
4
4
|
export * as ValidationRules from './validation-rules.gen.js';
|
|
@@ -135,6 +135,45 @@ const unmarshalPublicCatalogProductPropertiesObjectStorageRestoreType = (data) =
|
|
|
135
135
|
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'PublicCatalogProductPropertiesObjectStorageRestoreType' failed as data isn't a dictionary.`);
|
|
136
136
|
return { restoreType: data.restore_type };
|
|
137
137
|
};
|
|
138
|
+
const unmarshalPublicCatalogProductPropertiesServerlessContainersCPUType = (data) => {
|
|
139
|
+
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'PublicCatalogProductPropertiesServerlessContainersCPUType' failed as data isn't a dictionary.`);
|
|
140
|
+
return { mvcpuCounts: data.mvcpu_counts };
|
|
141
|
+
};
|
|
142
|
+
const unmarshalPublicCatalogProductPropertiesServerlessContainersMemoryType = (data) => {
|
|
143
|
+
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'PublicCatalogProductPropertiesServerlessContainersMemoryType' failed as data isn't a dictionary.`);
|
|
144
|
+
return { sizes: data.sizes };
|
|
145
|
+
};
|
|
146
|
+
const unmarshalPublicCatalogProductPropertiesServerlessFunctionsConsumptionType = (data) => {
|
|
147
|
+
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'PublicCatalogProductPropertiesServerlessFunctionsConsumptionType' failed as data isn't a dictionary.`);
|
|
148
|
+
return {};
|
|
149
|
+
};
|
|
150
|
+
const unmarshalPublicCatalogProductPropertiesServerlessFunctionsFreeTierType = (data) => {
|
|
151
|
+
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'PublicCatalogProductPropertiesServerlessFunctionsFreeTierType' failed as data isn't a dictionary.`);
|
|
152
|
+
return {};
|
|
153
|
+
};
|
|
154
|
+
const unmarshalPublicCatalogProductPropertiesServerlessFunctionsProvisionType = (data) => {
|
|
155
|
+
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'PublicCatalogProductPropertiesServerlessFunctionsProvisionType' failed as data isn't a dictionary.`);
|
|
156
|
+
return {};
|
|
157
|
+
};
|
|
158
|
+
const unmarshalPublicCatalogProductPropertiesServerlessFunctionsRequestType = (data) => {
|
|
159
|
+
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'PublicCatalogProductPropertiesServerlessFunctionsRequestType' failed as data isn't a dictionary.`);
|
|
160
|
+
return {};
|
|
161
|
+
};
|
|
162
|
+
const unmarshalPublicCatalogProductPropertiesServerlessFunctionsRuntimeResource = (data) => {
|
|
163
|
+
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'PublicCatalogProductPropertiesServerlessFunctionsRuntimeResource' failed as data isn't a dictionary.`);
|
|
164
|
+
return {
|
|
165
|
+
memorySize: data.memory_size,
|
|
166
|
+
mvcpuCount: data.mvcpu_count
|
|
167
|
+
};
|
|
168
|
+
};
|
|
169
|
+
const unmarshalPublicCatalogProductPropertiesServerlessJobsCPUType = (data) => {
|
|
170
|
+
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'PublicCatalogProductPropertiesServerlessJobsCPUType' failed as data isn't a dictionary.`);
|
|
171
|
+
return { mvcpuCounts: data.mvcpu_counts };
|
|
172
|
+
};
|
|
173
|
+
const unmarshalPublicCatalogProductPropertiesServerlessJobsMemoryType = (data) => {
|
|
174
|
+
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'PublicCatalogProductPropertiesServerlessJobsMemoryType' failed as data isn't a dictionary.`);
|
|
175
|
+
return { sizes: data.sizes };
|
|
176
|
+
};
|
|
138
177
|
const unmarshalPublicCatalogProductPropertiesApacheKafka = (data) => {
|
|
139
178
|
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'PublicCatalogProductPropertiesApacheKafka' failed as data isn't a dictionary.`);
|
|
140
179
|
return {};
|
|
@@ -171,6 +210,7 @@ const unmarshalPublicCatalogProductPropertiesGenerativeApis = (data) => {
|
|
|
171
210
|
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'PublicCatalogProductPropertiesGenerativeApis' failed as data isn't a dictionary.`);
|
|
172
211
|
return {
|
|
173
212
|
consumptionMode: data.consumption_mode,
|
|
213
|
+
defaultReasoningValue: data.default_reasoning_value,
|
|
174
214
|
providerName: data.provider_name,
|
|
175
215
|
reasoning: data.reasoning,
|
|
176
216
|
supportedApis: data.supported_apis,
|
|
@@ -264,15 +304,27 @@ const unmarshalPublicCatalogProductPropertiesSecretManager = (data) => {
|
|
|
264
304
|
};
|
|
265
305
|
const unmarshalPublicCatalogProductPropertiesServerlessContainers = (data) => {
|
|
266
306
|
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'PublicCatalogProductPropertiesServerlessContainers' failed as data isn't a dictionary.`);
|
|
267
|
-
return {
|
|
307
|
+
return {
|
|
308
|
+
cpu: data.cpu ? unmarshalPublicCatalogProductPropertiesServerlessContainersCPUType(data.cpu) : void 0,
|
|
309
|
+
memory: data.memory ? unmarshalPublicCatalogProductPropertiesServerlessContainersMemoryType(data.memory) : void 0
|
|
310
|
+
};
|
|
268
311
|
};
|
|
269
312
|
const unmarshalPublicCatalogProductPropertiesServerlessFunctions = (data) => {
|
|
270
313
|
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'PublicCatalogProductPropertiesServerlessFunctions' failed as data isn't a dictionary.`);
|
|
271
|
-
return {
|
|
314
|
+
return {
|
|
315
|
+
consumption: data.consumption ? unmarshalPublicCatalogProductPropertiesServerlessFunctionsConsumptionType(data.consumption) : void 0,
|
|
316
|
+
freeTier: data.free_tier ? unmarshalPublicCatalogProductPropertiesServerlessFunctionsFreeTierType(data.free_tier) : void 0,
|
|
317
|
+
provision: data.provision ? unmarshalPublicCatalogProductPropertiesServerlessFunctionsProvisionType(data.provision) : void 0,
|
|
318
|
+
request: data.request ? unmarshalPublicCatalogProductPropertiesServerlessFunctionsRequestType(data.request) : void 0,
|
|
319
|
+
resources: unmarshalArrayOfObject(data.resources, unmarshalPublicCatalogProductPropertiesServerlessFunctionsRuntimeResource)
|
|
320
|
+
};
|
|
272
321
|
};
|
|
273
322
|
const unmarshalPublicCatalogProductPropertiesServerlessJobs = (data) => {
|
|
274
323
|
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'PublicCatalogProductPropertiesServerlessJobs' failed as data isn't a dictionary.`);
|
|
275
|
-
return {
|
|
324
|
+
return {
|
|
325
|
+
cpu: data.cpu ? unmarshalPublicCatalogProductPropertiesServerlessJobsCPUType(data.cpu) : void 0,
|
|
326
|
+
memory: data.memory ? unmarshalPublicCatalogProductPropertiesServerlessJobsMemoryType(data.memory) : void 0
|
|
327
|
+
};
|
|
276
328
|
};
|
|
277
329
|
const unmarshalPublicCatalogProductEnvironmentalImpactEstimation = (data) => {
|
|
278
330
|
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'PublicCatalogProductEnvironmentalImpactEstimation' failed as data isn't a dictionary.`);
|
|
@@ -4,7 +4,7 @@ export type ListPublicCatalogProductsRequestStatus = 'unknown_status' | 'public_
|
|
|
4
4
|
export type PublicCatalogProductProductBadge = 'unknown_product_badge' | 'new_product' | 'best_seller' | 'best_value' | 'popular' | 'no_kvm';
|
|
5
5
|
export type PublicCatalogProductPropertiesGenerativeApisConsumptionMode = 'unknown_consumption_mode' | 'realtime' | 'batch';
|
|
6
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';
|
|
7
|
+
export type PublicCatalogProductPropertiesGenerativeApisTokenType = 'unknown_token_type' | 'input_token' | 'output_token' | 'input_duration' | 'input_cached_token';
|
|
8
8
|
export type PublicCatalogProductPropertiesHardwareCPUArch = 'unknown_arch' | 'x64' | 'arm64' | 'riscv' | 'apple_silicon';
|
|
9
9
|
export type PublicCatalogProductPropertiesHardwareRAMECCType = 'unknown_ecc_type' | 'standard' | 'on_die';
|
|
10
10
|
export type PublicCatalogProductPropertiesManagedMongoDBStorageTypeStorageClass = 'unknown_storage_class' | 'sbs_5k' | 'sbs_5k_snapshot' | 'sbs_15k' | 'sbs_15k_snapshot';
|
|
@@ -212,6 +212,48 @@ export interface PublicCatalogProductPropertiesObjectStorageRestoreType {
|
|
|
212
212
|
*/
|
|
213
213
|
restoreType: PublicCatalogProductPropertiesObjectStorageRestoreTypeRestoreType;
|
|
214
214
|
}
|
|
215
|
+
export interface PublicCatalogProductPropertiesServerlessContainersCPUType {
|
|
216
|
+
/**
|
|
217
|
+
* The list of available number of milli-vCPUs.
|
|
218
|
+
*/
|
|
219
|
+
mvcpuCounts: number[];
|
|
220
|
+
}
|
|
221
|
+
export interface PublicCatalogProductPropertiesServerlessContainersMemoryType {
|
|
222
|
+
/**
|
|
223
|
+
* The list of available memory size in bytes.
|
|
224
|
+
*/
|
|
225
|
+
sizes: number[];
|
|
226
|
+
}
|
|
227
|
+
export interface PublicCatalogProductPropertiesServerlessFunctionsConsumptionType {
|
|
228
|
+
}
|
|
229
|
+
export interface PublicCatalogProductPropertiesServerlessFunctionsFreeTierType {
|
|
230
|
+
}
|
|
231
|
+
export interface PublicCatalogProductPropertiesServerlessFunctionsProvisionType {
|
|
232
|
+
}
|
|
233
|
+
export interface PublicCatalogProductPropertiesServerlessFunctionsRequestType {
|
|
234
|
+
}
|
|
235
|
+
export interface PublicCatalogProductPropertiesServerlessFunctionsRuntimeResource {
|
|
236
|
+
/**
|
|
237
|
+
* The memory size in bytes.
|
|
238
|
+
*/
|
|
239
|
+
memorySize: number;
|
|
240
|
+
/**
|
|
241
|
+
* The number of milli-vCPUs.
|
|
242
|
+
*/
|
|
243
|
+
mvcpuCount: number;
|
|
244
|
+
}
|
|
245
|
+
export interface PublicCatalogProductPropertiesServerlessJobsCPUType {
|
|
246
|
+
/**
|
|
247
|
+
* The list of available number of milli-vCPUs.
|
|
248
|
+
*/
|
|
249
|
+
mvcpuCounts: number[];
|
|
250
|
+
}
|
|
251
|
+
export interface PublicCatalogProductPropertiesServerlessJobsMemoryType {
|
|
252
|
+
/**
|
|
253
|
+
* The list of available memory size in bytes.
|
|
254
|
+
*/
|
|
255
|
+
sizes: number[];
|
|
256
|
+
}
|
|
215
257
|
export interface PublicCatalogProductPropertiesApacheKafka {
|
|
216
258
|
}
|
|
217
259
|
export interface PublicCatalogProductPropertiesAppleSilicon {
|
|
@@ -262,6 +304,7 @@ export interface PublicCatalogProductPropertiesGenerativeApis {
|
|
|
262
304
|
tasks: PublicCatalogProductPropertiesGenerativeApisTask[];
|
|
263
305
|
tokenType: PublicCatalogProductPropertiesGenerativeApisTokenType;
|
|
264
306
|
supportedReasoningValues: string[];
|
|
307
|
+
defaultReasoningValue?: string;
|
|
265
308
|
}
|
|
266
309
|
export interface PublicCatalogProductPropertiesHardware {
|
|
267
310
|
/**
|
|
@@ -432,10 +475,62 @@ export interface PublicCatalogProductPropertiesOpenSearch {
|
|
|
432
475
|
export interface PublicCatalogProductPropertiesSecretManager {
|
|
433
476
|
}
|
|
434
477
|
export interface PublicCatalogProductPropertiesServerlessContainers {
|
|
478
|
+
/**
|
|
479
|
+
* The properties related to Serverless containers memory products.
|
|
480
|
+
*
|
|
481
|
+
* One-of ('type'): at most one of 'memory', 'cpu' could be set.
|
|
482
|
+
*/
|
|
483
|
+
memory?: PublicCatalogProductPropertiesServerlessContainersMemoryType;
|
|
484
|
+
/**
|
|
485
|
+
* The properties related to Serverless containers CPU products.
|
|
486
|
+
*
|
|
487
|
+
* One-of ('type'): at most one of 'memory', 'cpu' could be set.
|
|
488
|
+
*/
|
|
489
|
+
cpu?: PublicCatalogProductPropertiesServerlessContainersCPUType;
|
|
435
490
|
}
|
|
436
491
|
export interface PublicCatalogProductPropertiesServerlessFunctions {
|
|
492
|
+
/**
|
|
493
|
+
* The serverless functions runtime resources sorted by memory size and then by milli-vCPU count.
|
|
494
|
+
*/
|
|
495
|
+
resources: PublicCatalogProductPropertiesServerlessFunctionsRuntimeResource[];
|
|
496
|
+
/**
|
|
497
|
+
* The properties related to Serverless functions consumption products.
|
|
498
|
+
*
|
|
499
|
+
* One-of ('type'): at most one of 'consumption', 'request', 'provision', 'freeTier' could be set.
|
|
500
|
+
*/
|
|
501
|
+
consumption?: PublicCatalogProductPropertiesServerlessFunctionsConsumptionType;
|
|
502
|
+
/**
|
|
503
|
+
* The properties related to Serverless functions request products.
|
|
504
|
+
*
|
|
505
|
+
* One-of ('type'): at most one of 'consumption', 'request', 'provision', 'freeTier' could be set.
|
|
506
|
+
*/
|
|
507
|
+
request?: PublicCatalogProductPropertiesServerlessFunctionsRequestType;
|
|
508
|
+
/**
|
|
509
|
+
* The properties related to Serverless functions provision products.
|
|
510
|
+
*
|
|
511
|
+
* One-of ('type'): at most one of 'consumption', 'request', 'provision', 'freeTier' could be set.
|
|
512
|
+
*/
|
|
513
|
+
provision?: PublicCatalogProductPropertiesServerlessFunctionsProvisionType;
|
|
514
|
+
/**
|
|
515
|
+
* The properties related to Serverless functions free tier products.
|
|
516
|
+
*
|
|
517
|
+
* One-of ('type'): at most one of 'consumption', 'request', 'provision', 'freeTier' could be set.
|
|
518
|
+
*/
|
|
519
|
+
freeTier?: PublicCatalogProductPropertiesServerlessFunctionsFreeTierType;
|
|
437
520
|
}
|
|
438
521
|
export interface PublicCatalogProductPropertiesServerlessJobs {
|
|
522
|
+
/**
|
|
523
|
+
* The properties related to Serverless containers memory products.
|
|
524
|
+
*
|
|
525
|
+
* One-of ('type'): at most one of 'memory', 'cpu' could be set.
|
|
526
|
+
*/
|
|
527
|
+
memory?: PublicCatalogProductPropertiesServerlessJobsMemoryType;
|
|
528
|
+
/**
|
|
529
|
+
* The properties related to Serverless containers CPU products.
|
|
530
|
+
*
|
|
531
|
+
* One-of ('type'): at most one of 'memory', 'cpu' could be set.
|
|
532
|
+
*/
|
|
533
|
+
cpu?: PublicCatalogProductPropertiesServerlessJobsCPUType;
|
|
439
534
|
}
|
|
440
535
|
export interface PublicCatalogProductEnvironmentalImpactEstimation {
|
|
441
536
|
kgCo2Equivalent?: number;
|