import { default } from "https://deno.land/x/ptereno@v1.0.1/lib/models/Application.ts";
Properties
private
http: HTTPClientMethods
createAllocation(node: number, options: NewAllocationOptions)
Creates a new allocation.
If more than one port is provided, multiple allocations will be created.
forceDeleteServer(id: number)
ForcefullY deletes a server.
This method may leave dangling files if an error is encountered.
getExternalServer(id: string, params?: ServerParameters)
Retrieves information for a given server by external id.
getExternalUser(externalID: string, params?: UserParameters)
Retrieves a user based on an external id.
reinstallServer(id: number)
Triggers a server to reinstall.
WARNING: This can potentially delete preexisting server files, use this method with caution.
updateServerBuild(id: number, unnamed 1: UpdateServerBuildOptions)
Updates build information for a specific server.
updateServerDetails(id: number, unnamed 1: UpdateServerDetailsOptions)
Updates details for a specific server.
updateServerStartup(id: number, unnamed 1: UpdateServerStartupOptions)
Updates startup configuration for a specific server.