Class ProxmoxEngine

Default Proxmox doRequest provider, this Class will be used if you provide Proxmox authentification options to the Proxy generator

Hierarchy

  • ProxmoxEngine

Implements

Constructors

Properties

CSRFPreventionToken?: string
authTimeout: number
host: string
password: string
port: number
queryTimeout: number
schema: "http" | "https"
ticket?: string
username: string

Methods

  • Returns

    Parameters

    • httpMethod: string
    • path: string
    • pathTemplate: string
    • Optional params: { [key: string]: any }
      • [key: string]: any
    • Optional retries: number

    Returns Promise<any>

  • return the current ticket/token, or create new ones, is previous one had been discared, or missing.

    Returns

    Proxmox API ticket and CSRFPreventionToken

    Returns Promise<{ CSRFPreventionToken: string; ticket: string }>

Generated using TypeDoc