Class OnmsServer

Represents a remote OpenNMS server.

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.

    Parameters

    • OptionalforFragment: string

      The URL fragment to append to the server URL.

    • OptionalwithQuery: any

    Returns any

    A complete URL.

    withQuery - Query parameters to be appended to the URL.

  • A string representation of this server suitable for display.

    Returns string