Represents a remote OpenNMS server.

Hierarchy

  • OnmsServer

Constructors

Properties

Accessors

Methods

Constructors

Properties

The authorization configuration associated with the server.

id: string

A unique identifier for this server.

The capabilities of the server

name?: string

An optional name associated with this server.

url: string

The base URL to the server.

Accessors

  • get host(): any
  • Get the hostname portion of the URL associated with this server.

    Returns any

Methods

  • Given a relative URL fragment, construct a URL for that fragment on the server.

    Parm

    withQuery - Query parameters to be appended to the URL.

    Returns

    A complete URL.

    Parameters

    • Optional forFragment: string

      The URL fragment to append to the server URL.

    • Optional withQuery: any

    Returns any

  • A string representation of this server suitable for display.

    Returns string

Generated using TypeDoc