Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ServerMetadata

Hierarchy

  • ServerMetadata

Index

Constructors

constructor

  • Construct a ServerMetadata object.

    constructor

    Parameters

    • Optional version: string | OnmsVersion

      the version of the server

    • Optional type: ServerType

      the type of server (Horizon, Meridian)

    Returns ServerMetadata

Properties

type

the type of server (Horizon, Meridian)

version

version: OnmsVersion

the version of the server

Methods

ackAlarms

  • ackAlarms(): any
  • can you ack alarms through ReST

    Returns any

apiVersion

  • apiVersion(): 1 | 2
  • what version of the ReST API does this server support

    Returns 1 | 2

capabilities

  • capabilities(): object
  • a convenient data structure with all capabilities listed

    Returns object

    • ackAlarms: any
    • apiVersion: number
    • graphs: any
    • outageSummaries: any
    • setNodeLocation: any
    • type: string

clone

graphs

  • graphs(): any
  • does this server support graphs (ie, the measurements API)

    Returns any

outageSummaries

  • outageSummaries(): any
  • does this server support outage summaries

    Returns any

setNodeLocation

  • setNodeLocation(): any
  • does this server support setting the location on a node

    Returns any

toString

  • toString(): string
  • a human-readable representation of this version

    Returns string

Generated using TypeDoc