Skip to main content
Module

x/arubaos_cx/mod.ts>ClientInit

Authenticate and interact with the ArubaOS-CX REST API using Deno.
Go to Latest
interface ClientInit
import { type ClientInit } from "https://deno.land/x/arubaos_cx@v0.0.7/mod.ts";

Client initialisation parameters.

Properties

host: string

Switch IP address or host.

optional
version:
| "v1"
| "v10.04"
| "v10.08"
| "v10.09"
| "v10.10"
| "latest"

Switch REST API version. If not defined in-code, defaults to ARUBAOS_CX_VERSION environment variable. If not defined as an environment variable, defaults to latest.

optional
username: string

Switch login username. If not defined in-code, defaults to ARUBAOS_CX_USERNAME environment variable. If not defined as an environment variable, defaults to admin.

optional
password: string

Switch login password. If not defined in-code, defaults to ARUBAOS_CX_PASSWORD environment variable. If not defined as an environment variable, defaults to an empty string.