import Response from "../util/Response"; import { AxiosPromise } from "axios"; declare class ServerOperations { static listDeployments(params?: Record): AxiosPromise>; /** * Update the warm/spare/ceiling shape of a matchmaker managed instance pool. * Rejected for any build whose capacity model is not "pooled". */ static updatePolicy(title_id: string, build_id: string, data: object): AxiosPromise>; /** * Resize the Container App behind a build. Replica bounds are enforced * server side against the build's capacity model, so a singleton world * cannot be given a second replica. Pass acknowledge_outage when * deliberately setting min replicas to 0 on a singleton or replicated * deployment, which takes the game offline. */ static updateContainerAppResources(title_id: string, build_id: string, data: object): AxiosPromise>; /** * Declare how many server processes a build may run at once: singleton, * replicated, pooled, serverless, or static. Re-clamps the stored replica * shape and is honored by the next deployment. */ static updateCapacityModel(title_id: string, build_id: string, data: { capacity_model: string; }): AxiosPromise>; /** * Realms are how a singleton world scales: one process per realm, all * sharing a database. These are the site-admin views of the multiplayer * realm records. */ static listRealms(title_id: string, params?: Record): AxiosPromise>; static createRealm(title_id: string, data: object): AxiosPromise>; static updateRealm(title_id: string, realm_id: string, data: object): AxiosPromise>; static deleteRealm(title_id: string, realm_id: string): AxiosPromise>; } export default ServerOperations;