Constructors
constructor
- new RestAPIClient(base: string, requestOptions?: any): RestAPIClient
Parameters
base: string
Optional requestOptions: any
Properties
requestOptions
requestOptions: any
Optional sessionKey
sessionKey?: Buffer
Methods
loginSession
- loginSession(username: string, password: string): Promise<LoginResponse>
Parameters
username: string
password: string
updateConfig
- updateConfig(configName: string): Promise<string>
Parameters
Returns Promise<string>
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.