Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • ApplicationServer

Index

Constructors

Properties

allocation: number

The ID of the allocation for the server.

client: PteroApp
container: { environment: Record<string, string>; image: string; installed: boolean; startupCommand: string }

Type declaration

  • environment: Record<string, string>
  • image: string
  • installed: boolean
  • startupCommand: string
createdAt: Date

The date the server was created.

createdTimestamp: number
description: undefined | string

The description of the server (if set).

egg: number

The ID of the egg the server uses.

externalId: undefined | string

The external ID of the server (if set).

featureLimits: FeatureLimits

An object containing the server's feature limits.

id: number

The internal ID of the server (separate from UUID).

identifier: string

A substring of the server's UUID.

limits: Limits

An object containing the server's limits.

name: string

The name of the server.

nest: number

The ID of the nest the server is part of.

node: undefined | Node

The node the server is on. This is not fetched by default and must be retrieved by including 'node' in ApplicationServerManager#fetch.

nodeId: number

The ID of the node the server is on.

owner: undefined | User

The owner of the server. This is not fetched by default and must be retrieved by including 'user' in ApplicationServerManager#fetch.

ownerId: number

The ID of the server owner.

status: null | string

The current processing status of the server.

suspended: boolean

Whether the server is suspended from action.

uuid: string

The UUID of the server.

Accessors

  • get adminURL(): string
  • get panelURL(): string

Methods

  • _patch(data: any): void
  • fetchOwner(): Promise<User>
  • reinstall(): Promise<void>
  • suspend(): Promise<void>
  • toJSON(): object
  • toString(): string
  • unsuspend(): Promise<void>

Generated using TypeDoc