共用方式為


DeviceUpdateClient Class

Definition

The DeviceUpdate service client.

public class DeviceUpdateClient
type DeviceUpdateClient = class
Public Class DeviceUpdateClient
Inheritance
DeviceUpdateClient

Constructors

DeviceUpdateClient()

Initializes a new instance of DeviceUpdateClient for mocking.

DeviceUpdateClient(Uri, String, TokenCredential, DeviceUpdateClientOptions)

Initializes a new instance of DeviceUpdateClient.

DeviceUpdateClient(Uri, String, TokenCredential)

Initializes a new instance of DeviceUpdateClient.

Properties

Pipeline

The HTTP pipeline for sending and receiving REST requests and responses.

Methods

DeleteUpdate(WaitUntil, String, String, String, RequestContext)

Delete a specific update version. This is a long-running-operation; use Operation-Location response header value to check for operation status.

DeleteUpdateAsync(WaitUntil, String, String, String, RequestContext)

Delete a specific update version. This is a long-running-operation; use Operation-Location response header value to check for operation status.

GetFile(String, String, String, String, Nullable<ETag>, RequestContext)

Get a specific update file from the version.

GetFileAsync(String, String, String, String, Nullable<ETag>, RequestContext)

Get a specific update file from the version.

GetFiles(String, String, String, RequestContext)

Get a list of all update file identifiers for the specified version.

GetFilesAsync(String, String, String, RequestContext)

Get a list of all update file identifiers for the specified version.

GetNames(String, RequestContext)

Get a list of all update names that match the specified provider.

GetNamesAsync(String, RequestContext)

Get a list of all update names that match the specified provider.

GetOperationStatus(String, Nullable<ETag>, RequestContext)

Retrieve operation status.

GetOperationStatusAsync(String, Nullable<ETag>, RequestContext)

Retrieve operation status.

GetOperationStatuses(String, Nullable<Int32>, RequestContext)

Get a list of all import update operations. Completed operations are kept for 7 days before auto-deleted. Delete operations are not returned by this API version.

GetOperationStatusesAsync(String, Nullable<Int32>, RequestContext)

Get a list of all import update operations. Completed operations are kept for 7 days before auto-deleted. Delete operations are not returned by this API version.

GetProviders(RequestContext)

Get a list of all update providers that have been imported to Device Update for IoT Hub.

GetProvidersAsync(RequestContext)

Get a list of all update providers that have been imported to Device Update for IoT Hub.

GetUpdate(String, String, String, Nullable<ETag>, RequestContext)

Get a specific update version.

GetUpdateAsync(String, String, String, Nullable<ETag>, RequestContext)

Get a specific update version.

GetUpdates(String, String, RequestContext)

Get a list of all updates that have been imported to Device Update for IoT Hub.

GetUpdatesAsync(String, String, RequestContext)

Get a list of all updates that have been imported to Device Update for IoT Hub.

GetVersions(String, String, String, RequestContext)

Get a list of all update versions that match the specified provider and name.

GetVersionsAsync(String, String, String, RequestContext)

Get a list of all update versions that match the specified provider and name.

StartImportUpdate(WaitUntil, RequestContent, RequestContext)

Import new update version. This is a long-running-operation; use Operation-Location response header value to check for operation status.

StartImportUpdateAsync(WaitUntil, RequestContent, RequestContext)

Import new update version. This is a long-running-operation; use Operation-Location response header value to check for operation status.

Applies to