Package version:

Interface representing a Devices.

Hierarchy

  • Devices

Methods

  • Deactivates the device.

    Parameters

    • deviceName: string

      The device name.

    • resourceGroupName: string

      The resource group name

    • managerName: string

      The manager name

    • Optional options: DevicesDeactivateOptionalParams

      The options parameters.

    Returns Promise<PollerLike<PollOperationState<void>, void>>

  • Deletes the device.

    Parameters

    • deviceName: string

      The device name.

    • resourceGroupName: string

      The resource group name

    • managerName: string

      The manager name

    • Optional options: DevicesDeleteOptionalParams

      The options parameters.

    Returns Promise<PollerLike<PollOperationState<void>, void>>

  • Downloads updates on the device.

    Parameters

    • deviceName: string

      The device name.

    • resourceGroupName: string

      The resource group name

    • managerName: string

      The manager name

    • Optional options: DevicesDownloadUpdatesOptionalParams

      The options parameters.

    Returns Promise<PollerLike<PollOperationState<void>, void>>

  • Fails over the device to another device.

    Parameters

    • deviceName: string

      The device name.

    • resourceGroupName: string

      The resource group name

    • managerName: string

      The manager name

    • failoverRequest: FailoverRequest

      The failover request.

    • Optional options: DevicesFailoverOptionalParams

      The options parameters.

    Returns Promise<PollerLike<PollOperationState<void>, void>>

  • Installs the updates on the device.

    Parameters

    • deviceName: string

      The device name.

    • resourceGroupName: string

      The resource group name

    • managerName: string

      The manager name

    • Optional options: DevicesInstallUpdatesOptionalParams

      The options parameters.

    Returns Promise<PollerLike<PollOperationState<void>, void>>

  • Scans for updates on the device.

    Parameters

    • deviceName: string

      The device name.

    • resourceGroupName: string

      The resource group name

    • managerName: string

      The manager name

    • Optional options: DevicesScanForUpdatesOptionalParams

      The options parameters.

    Returns Promise<PollerLike<PollOperationState<void>, void>>

Generated using TypeDoc