/** * Hathora Cloud API * Welcome to the Hathora Cloud API documentation! Learn how to use the Hathora Cloud APIs to build and scale your game servers globally. * * The version of the OpenAPI document: 0.0.1 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ import type { ContainerPort } from './ContainerPort'; import type { DeploymentV2EnvInner } from './DeploymentV2EnvInner'; import type { TransportType } from './TransportType'; /** * * @export * @interface DeploymentConfigV2 */ export interface DeploymentConfigV2 { /** * Option to shut down processes that have had no new connections or rooms * for five minutes. * @type {boolean} * @memberof DeploymentConfigV2 */ idleTimeoutEnabled: boolean; /** * The environment variable that our process will have access to at runtime. * @type {Array} * @memberof DeploymentConfigV2 */ env: Array; /** * Governs how many [rooms](https://hathora.dev/docs/concepts/hathora-entities#room) can be scheduled in a process. * @type {number} * @memberof DeploymentConfigV2 */ roomsPerProcess: number; /** * Additional ports your server listens on. * @type {Array} * @memberof DeploymentConfigV2 */ additionalContainerPorts?: Array; /** * * @type {TransportType} * @memberof DeploymentConfigV2 */ transportType: TransportType; /** * Default port the server listens on. * @type {number} * @memberof DeploymentConfigV2 */ containerPort: number; /** * The amount of memory allocated to your process. * @type {number} * @memberof DeploymentConfigV2 */ requestedMemoryMB: number; /** * The number of cores allocated to your process. * @type {number} * @memberof DeploymentConfigV2 */ requestedCPU: number; } /** * Check if a given object implements the DeploymentConfigV2 interface. */ export declare function instanceOfDeploymentConfigV2(value: object): boolean; export declare function DeploymentConfigV2FromJSON(json: any): DeploymentConfigV2; export declare function DeploymentConfigV2FromJSONTyped(json: any, ignoreDiscriminator: boolean): DeploymentConfigV2; export declare function DeploymentConfigV2ToJSON(value?: DeploymentConfigV2 | null): any;