import * as z from "zod/v3"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { ContainerPort } from "./containerport.js"; export type DeploymentV3Env = { value: string; name: string; }; export type DeploymentV3 = { /** * The id of the fleet. */ fleetId?: string | undefined; /** * Arbitrary metadata associated with a deployment. */ deploymentTag?: string | undefined; /** * Option to shut down processes that have had no new connections or rooms * * @remarks * for five minutes. */ idleTimeoutEnabled: boolean; /** * The environment variable that our process will have access to at runtime. */ env: Array; /** * Governs how many [rooms](https://hathora.dev/docs/concepts/hathora-entities#room) can be scheduled in a process. */ roomsPerProcess: number; /** * Additional ports your server listens on. */ additionalContainerPorts: Array; /** * A container port object represents the transport configruations for how your server will listen. */ defaultContainerPort: ContainerPort; /** * When the deployment was created. */ createdAt: Date; createdBy: string; /** * The number of GPUs allocated to your process. Must be an integer. * * @remarks * If not provided, the requested GPU is 0. */ requestedGPU?: number | undefined; /** * EXPERIMENTAL - this feature is in closed beta. * * @remarks * The number of GPUs allocated to your process. Must be an integer. * If not provided, the requested GPU is 0. */ experimentalRequestedGPU?: number | undefined; /** * The amount of memory allocated to your process. By default, this is capped * * @remarks * at 8192 MB, but can be increased further on the Enterprise tier. */ requestedMemoryMB: number; /** * The number of cores allocated to your process. */ requestedCPU: number; /** * System generated id for a deployment. */ deploymentId: string; /** * Tag to associate an external version with a build. It is accessible via [`GetBuild()`](https://hathora.dev/api#tag/BuildsV3/operation/GetBuild). */ buildTag?: string | undefined; /** * System generated id for a build. Can also be user defined when creating a build. */ buildId: string; /** * System generated unique identifier for an application. */ appId: string; }; /** @internal */ export declare const DeploymentV3Env$inboundSchema: z.ZodType; export declare function deploymentV3EnvFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const DeploymentV3$inboundSchema: z.ZodType; export declare function deploymentV3FromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=deploymentv3.d.ts.map