Documentation

Mistake on this page? Email us

Device repository

Hierarchy

Index

Constructors

constructor

Properties

client

client: Client

The repository client instance

config

config: Config

The repository configuration class

Methods

addToGroup

  • addToGroup

    Parameters

    Returns Promise<void>

create

delete

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

    Parameters

    • id: string

      id

    Returns Promise<void>

list

read

  • read(id: string): Promise<Device>
  • read

    Parameters

    • id: string

      The ID of the device. The device ID is used across all Device Management APIs.

    Returns Promise<Device>

removeFromGroup

  • removeFromGroup

    Parameters

    Returns Promise<void>

renewCertificate

  • renewCertificate

    Parameters

    • certificateName: string

      The certificate name.

    • id: string

      The certificate enrollment ID.

    Returns Promise<CertificateEnrollment>

update

  • update

    Parameters

    • request: DeviceUpdateRequest

      The entity to perform action on.

    • id: string

      The ID of the device. The device ID is used across all Device Management APIs.

    Returns Promise<Device>