Options
All
  • Public
  • Public/Protected
  • All
Menu

Client for the HTTPS API at /json/*. Call loginSession first to get a session key. iLO blocks you for some time if you fail three(?) times.

Attempting to call methods with an expired session key will result in 403.

Hierarchy

  • RestAPIClient

Index

Constructors

  • new RestAPIClient(base: string, requestOptions?: any): RestAPIClient

Properties

base: string
requestOptions: any
sessionKey?: Buffer

Methods

  • loginSession(username: string, password: string): Promise<LoginResponse>
  • Logs in, returns session info (or fails with 403)

    (also sets sessionKey internally for further requests)

    Parameters

    • username: string
    • password: string

    Returns Promise<LoginResponse>

  • rekey(): Promise<string>
  • updateConfig(configName: string): Promise<string>
  • Parameters

    • configName: string

    Returns Promise<string>

Generated using TypeDoc