DeviceUpdateOperations interface

DeviceUpdate操作を表すインターフェース。

プロパティ

deleteUpdate

特定の更新バージョンを削除します。 これは実行時間の長い操作です。応答ヘッダー値 Operation-Location 使用して、操作の状態を確認します。

getFile

バージョンから特定の更新ファイルを取得します。

getOperationStatus

操作の状態を取得します。

getUpdate

特定の更新プログラムのバージョンを取得します。

importUpdate

新しい更新プログラムのバージョンをインポートします。 これは実行時間の長い操作です。応答ヘッダー値 Operation-Location 使用して、操作の状態を確認します。

listFiles

指定したバージョンのすべての更新ファイル識別子の一覧を取得します。

listNames

指定したプロバイダーと一致するすべての更新プログラム名の一覧を取得します。

listOperationStatuses

すべてのインポート更新操作の一覧を取得します。 完了した操作は、自動削除の前に 7 日間保持されます。 このAPIバージョンでは削除操作は返されません。

listProviders

Device Update for IoT Hub にインポートされたすべての更新プロバイダーの一覧を取得します。

listUpdates

Device Update for IoT Hub にインポートされたすべての更新プログラムの一覧を取得します。

listVersions

指定したプロバイダーと名前に一致するすべての更新バージョンの一覧を取得します。

プロパティの詳細

deleteUpdate

特定の更新バージョンを削除します。 これは実行時間の長い操作です。応答ヘッダー値 Operation-Location 使用して、操作の状態を確認します。

deleteUpdate: (provider: string, name: string, version: string, options?: DeviceUpdateDeleteUpdateOptionalParams) => PollerLike<OperationState<void>, void>

プロパティ値

(provider: string, name: string, version: string, options?: DeviceUpdateDeleteUpdateOptionalParams) => PollerLike<OperationState<void>, void>

getFile

バージョンから特定の更新ファイルを取得します。

getFile: (provider: string, name: string, version: string, fileId: string, options?: DeviceUpdateGetFileOptionalParams) => Promise<UpdateFile>

プロパティ値

(provider: string, name: string, version: string, fileId: string, options?: DeviceUpdateGetFileOptionalParams) => Promise<UpdateFile>

getOperationStatus

操作の状態を取得します。

getOperationStatus: (operationId: string, options?: DeviceUpdateGetOperationStatusOptionalParams) => Promise<UpdateOperation>

プロパティ値

(operationId: string, options?: DeviceUpdateGetOperationStatusOptionalParams) => Promise<UpdateOperation>

getUpdate

特定の更新プログラムのバージョンを取得します。

getUpdate: (provider: string, name: string, version: string, options?: DeviceUpdateGetUpdateOptionalParams) => Promise<Update>

プロパティ値

(provider: string, name: string, version: string, options?: DeviceUpdateGetUpdateOptionalParams) => Promise<Update>

importUpdate

新しい更新プログラムのバージョンをインポートします。 これは実行時間の長い操作です。応答ヘッダー値 Operation-Location 使用して、操作の状態を確認します。

importUpdate: (updateToImport: ImportUpdateInputItem[], options?: DeviceUpdateImportUpdateOptionalParams) => PollerLike<OperationState<void>, void>

プロパティ値

(updateToImport: ImportUpdateInputItem[], options?: DeviceUpdateImportUpdateOptionalParams) => PollerLike<OperationState<void>, void>

listFiles

指定したバージョンのすべての更新ファイル識別子の一覧を取得します。

listFiles: (provider: string, name: string, version: string, options?: DeviceUpdateListFilesOptionalParams) => PagedAsyncIterableIterator<string, string[], PageSettings>

プロパティ値

(provider: string, name: string, version: string, options?: DeviceUpdateListFilesOptionalParams) => PagedAsyncIterableIterator<string, string[], PageSettings>

listNames

指定したプロバイダーと一致するすべての更新プログラム名の一覧を取得します。

listNames: (provider: string, options?: DeviceUpdateListNamesOptionalParams) => PagedAsyncIterableIterator<string, string[], PageSettings>

プロパティ値

(provider: string, options?: DeviceUpdateListNamesOptionalParams) => PagedAsyncIterableIterator<string, string[], PageSettings>

listOperationStatuses

すべてのインポート更新操作の一覧を取得します。 完了した操作は、自動削除の前に 7 日間保持されます。 このAPIバージョンでは削除操作は返されません。

listOperationStatuses: (options?: DeviceUpdateListOperationStatusesOptionalParams) => PagedAsyncIterableIterator<UpdateOperation, UpdateOperation[], PageSettings>

プロパティ値

(options?: DeviceUpdateListOperationStatusesOptionalParams) => PagedAsyncIterableIterator<UpdateOperation, UpdateOperation[], PageSettings>

listProviders

Device Update for IoT Hub にインポートされたすべての更新プロバイダーの一覧を取得します。

listProviders: (options?: DeviceUpdateListProvidersOptionalParams) => PagedAsyncIterableIterator<string, string[], PageSettings>

プロパティ値

(options?: DeviceUpdateListProvidersOptionalParams) => PagedAsyncIterableIterator<string, string[], PageSettings>

listUpdates

Device Update for IoT Hub にインポートされたすべての更新プログラムの一覧を取得します。

listUpdates: (options?: DeviceUpdateListUpdatesOptionalParams) => PagedAsyncIterableIterator<Update, Update[], PageSettings>

プロパティ値

(options?: DeviceUpdateListUpdatesOptionalParams) => PagedAsyncIterableIterator<Update, Update[], PageSettings>

listVersions

指定したプロバイダーと名前に一致するすべての更新バージョンの一覧を取得します。

listVersions: (provider: string, name: string, options?: DeviceUpdateListVersionsOptionalParams) => PagedAsyncIterableIterator<string, string[], PageSettings>

プロパティ値

(provider: string, name: string, options?: DeviceUpdateListVersionsOptionalParams) => PagedAsyncIterableIterator<string, string[], PageSettings>