From 779b763c918898aa1721af87a3b5a5d83c7c91c4 Mon Sep 17 00:00:00 2001 From: scaleway-bot Date: Tue, 30 Jul 2024 14:15:53 +0000 Subject: [PATCH] feat: update generated APIs --- .../clients/src/api/container/v1beta1/marshalling.gen.ts | 3 +++ packages/clients/src/api/container/v1beta1/types.gen.ts | 6 ++++++ 2 files changed, 9 insertions(+) diff --git a/packages/clients/src/api/container/v1beta1/marshalling.gen.ts b/packages/clients/src/api/container/v1beta1/marshalling.gen.ts index feec2f063..ac7fa9b22 100644 --- a/packages/clients/src/api/container/v1beta1/marshalling.gen.ts +++ b/packages/clients/src/api/container/v1beta1/marshalling.gen.ts @@ -70,6 +70,7 @@ export const unmarshalContainer = (data: unknown): Container => { errorMessage: data.error_message, httpOption: data.http_option, id: data.id, + localStorageLimit: data.local_storage_limit, maxConcurrency: data.max_concurrency, maxScale: data.max_scale, memoryLimit: data.memory_limit, @@ -355,6 +356,7 @@ export const marshalCreateContainerRequest = ( description: request.description, environment_variables: request.environmentVariables, http_option: request.httpOption, + local_storage_limit: request.localStorageLimit, max_concurrency: request.maxConcurrency, max_scale: request.maxScale, memory_limit: request.memoryLimit, @@ -499,6 +501,7 @@ export const marshalUpdateContainerRequest = ( description: request.description, environment_variables: request.environmentVariables, http_option: request.httpOption, + local_storage_limit: request.localStorageLimit, max_concurrency: request.maxConcurrency, max_scale: request.maxScale, memory_limit: request.memoryLimit, diff --git a/packages/clients/src/api/container/v1beta1/types.gen.ts b/packages/clients/src/api/container/v1beta1/types.gen.ts index af4acee10..bf51d0d92 100644 --- a/packages/clients/src/api/container/v1beta1/types.gen.ts +++ b/packages/clients/src/api/container/v1beta1/types.gen.ts @@ -221,6 +221,8 @@ export interface Container { httpOption: ContainerHttpOption /** Execution environment of the container. */ sandbox: ContainerSandbox + /** Local storage limit of the container (in MB). */ + localStorageLimit: number /** Region in which the container will be deployed. */ region: Region } @@ -401,6 +403,8 @@ export type CreateContainerRequest = { httpOption?: ContainerHttpOption /** Execution environment of the container. */ sandbox?: ContainerSandbox + /** Local storage limit of the container (in MB). */ + localStorageLimit?: number } export type CreateCronRequest = { @@ -864,6 +868,8 @@ export type UpdateContainerRequest = { httpOption?: ContainerHttpOption /** Execution environment of the container. */ sandbox?: ContainerSandbox + /** Local storage limit of the container (in MB). */ + localStorageLimit?: number } export type UpdateCronRequest = {