Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • Node

Index

Constructors

Properties

behindProxy: boolean

Whether the node is behind a proxy.

client: PteroApp
createdAt: Date

The date the node was created.

daemon: DaemonData

The Wings daemon information.

description: undefined | string

The description of the server (if set).

disk: number

The amount of disk the node has.

fqdn: string

The FQDN of the node.

id: number

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

location: undefined | NodeLocation

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

locationId: number

The ID of the location the node is on.

maintenance: boolean

Whether the node is in maintenance mode.

memory: number

The amount of memory the node has.

name: string

The name of the node.

overallocatedDisk: number

The amount of disk the node has overallocated.

overallocatedMemory: number

The amount of memory the node has overallocated.

public: boolean

Whether the node is public.

scheme: string

The HTTP scheme of the node.

servers: Dict<number, ApplicationServer>

A dict of servers on the node.

uploadSize: number

The maximum upload size for the node.

uuid: string

The UUID of the node.

Accessors

  • get adminURL(): string

Methods

  • _patch(data: any): void
  • toJSON(): object
  • Converts the node into a JSON object, relative to the API response object.

    Returns object

    The JSON object.

  • toString(): string

Generated using TypeDoc