diff --git a/packages_generated/container/src/v1beta1/marshalling.gen.ts b/packages_generated/container/src/v1beta1/marshalling.gen.ts index 30ebb8db8..e76cd4f04 100644 --- a/packages_generated/container/src/v1beta1/marshalling.gen.ts +++ b/packages_generated/container/src/v1beta1/marshalling.gen.ts @@ -130,6 +130,8 @@ export const unmarshalContainer = (data: unknown): Container => { } return { + args: data.args, + command: data.command, cpuLimit: data.cpu_limit, createdAt: unmarshalDate(data.created_at), description: data.description, @@ -484,6 +486,8 @@ export const marshalCreateContainerRequest = ( request: CreateContainerRequest, defaults: DefaultValues, ): Record => ({ + args: request.args, + command: request.command, cpu_limit: request.cpuLimit, description: request.description, environment_variables: request.environmentVariables, @@ -641,6 +645,8 @@ export const marshalUpdateContainerRequest = ( request: UpdateContainerRequest, defaults: DefaultValues, ): Record => ({ + args: request.args, + command: request.command, cpu_limit: request.cpuLimit, description: request.description, environment_variables: request.environmentVariables, diff --git a/packages_generated/container/src/v1beta1/types.gen.ts b/packages_generated/container/src/v1beta1/types.gen.ts index cc2cd18bf..8bae3987e 100644 --- a/packages_generated/container/src/v1beta1/types.gen.ts +++ b/packages_generated/container/src/v1beta1/types.gen.ts @@ -369,6 +369,14 @@ export interface Container { */ tags: string[] privateNetworkId?: string + /** + * Command executed when the container starts. This overrides the default command defined in the container image. This is usually the main executable, or entry point script to run. + */ + command: string[] + /** + * Arguments passed to the command specified in the "command" field. These override the default arguments from the container image, and behave like command-line parameters. + */ + args: string[] } export interface Cron { @@ -680,6 +688,14 @@ export type CreateContainerRequest = { */ tags?: string[] privateNetworkId?: string + /** + * Command executed when the container starts. This overrides the default command defined in the container image. This is usually the main executable, or entry point script to run. + */ + command?: string[] + /** + * Arguments passed to the command specified in the "command" field. These override the default arguments from the container image, and behave like command-line parameters. + */ + args?: string[] } export type CreateCronRequest = { @@ -1281,6 +1297,14 @@ export type UpdateContainerRequest = { */ tags?: string[] privateNetworkId?: string + /** + * Command executed when the container starts. This overrides the default command defined in the container image. This is usually the main executable, or entry point script to run. + */ + command?: string[] + /** + * Arguments passed to the command specified in the "command" field. These override the default arguments from the container image, and behave like command-line parameters. + */ + args?: string[] } export type UpdateCronRequest = {