/** * 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 { PlanName } from './PlanName'; import type { TransportType } from './TransportType'; /** * User specified deployment configuration for your application at runtime. * @export * @interface DeploymentConfig */ export interface DeploymentConfig { /** * Option to shut down processes that have had no new connections or rooms * for five minutes. * @type {boolean} * @memberof DeploymentConfig */ idleTimeoutEnabled?: boolean; /** * The environment variable that our process will have access to at runtime. * @type {Array} * @memberof DeploymentConfig */ env: Array; /** * Governs how many [rooms](https://hathora.dev/docs/concepts/hathora-entities#room) can be scheduled in a process. * @type {number} * @memberof DeploymentConfig */ roomsPerProcess: number; /** * * @type {PlanName} * @memberof DeploymentConfig */ planName: PlanName; /** * Additional ports your server listens on. * @type {Array} * @memberof DeploymentConfig */ additionalContainerPorts?: Array; /** * * @type {TransportType} * @memberof DeploymentConfig */ transportType: TransportType; /** * Default port the server listens on. * @type {number} * @memberof DeploymentConfig */ containerPort: number; } /** * Check if a given object implements the DeploymentConfig interface. */ export declare function instanceOfDeploymentConfig(value: object): boolean; export declare function DeploymentConfigFromJSON(json: any): DeploymentConfig; export declare function DeploymentConfigFromJSONTyped(json: any, ignoreDiscriminator: boolean): DeploymentConfig; export declare function DeploymentConfigToJSON(value?: DeploymentConfig | null): any;