Documentation

Mistake on this page? Email us

FirmwareImage repository

Hierarchy

Index

Constructors

Properties

Methods

Constructors

constructor

Properties

client

client: Client

The repository client instance

config

config: Config

The repository configuration class

Methods

create

  • create(firmwareImageFile: ReadStream | Buffer | File | Blob, options?: object): Promise<FirmwareImage>
  • create

    Parameters

    • firmwareImageFile: ReadStream | Buffer | File | Blob

      The firmware image file to upload

    • Optional options: object
      • Optional description?: string
      • Optional name?: string

    Returns Promise<FirmwareImage>

delete

  • delete(id: string): Promise<void>
  • delete

    Parameters

    • id: string

      The firmware image ID

    Returns Promise<void>

list

read

  • read

    Parameters

    • id: string

      The firmware image ID

    Returns Promise<FirmwareImage>