通过


你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

@azure-rest/iot-device-update package

接口

CloudInitiatedRollbackPolicy

部署的回滚策略

CloudInitiatedRollbackPolicyFailure

启动回滚策略的失败条件

CloudInitiatedRollbackPolicyFailureOutput

启动回滚策略的失败条件

CloudInitiatedRollbackPolicyOutput

部署的回滚策略

ContractModelOutput

设备更新代理协定模型。

Deployment

部署元数据。

DeploymentDeviceStateOutput

部署设备状态。

DeploymentDeviceStatesListOutput

部署设备状态的列表。

DeploymentOutput

部署元数据。

DeploymentStatusOutput

部署状态元数据。

DeploymentsListOutput

部署列表。

DeviceClassOutput

设备类元数据。

DeviceClassPropertiesOutput

用于计算设备类 ID 的设备类属性

DeviceClassSubgroupDeploymentStatusOutput

设备类子组部署状态元数据。

DeviceClassSubgroupOutput

设备类子组详细信息。 设备类子组是共享相同设备类 ID 的组中设备的子集。

DeviceClassSubgroupUpdatableDevicesListOutput

设备类子组的可更新设备列表。

DeviceClassSubgroupUpdatableDevicesOutput

设备类子组、更新信息和更新适用的设备数。

DeviceClassSubgroupsListOutput

组内的设备类子组的列表。

DeviceClassesListOutput

设备类的列表。

DeviceHealthListOutput

设备运行状况数组,支持服务器分页。

DeviceHealthOutput

设备健康状况

DeviceManagementCreateOrUpdateDeployment200Response

创建或更新部署。

DeviceManagementCreateOrUpdateDeploymentBodyParam
DeviceManagementCreateOrUpdateDeploymentDefaultResponse

创建或更新部署。

DeviceManagementCreateOrUpdateDeploymentMediaTypesParam
DeviceManagementDeleteDeployment204Response

删除部署。

DeviceManagementDeleteDeploymentDefaultResponse

删除部署。

DeviceManagementDeleteDeploymentForDeviceClassSubgroup204Response

删除设备类子组部署。

DeviceManagementDeleteDeploymentForDeviceClassSubgroupDefaultResponse

删除设备类子组部署。

DeviceManagementDeleteDeviceClass204Response

删除设备类。 当启用了设备更新的设备连接到中心但不会自动清理设备类时,设备类会自动创建,因为它们由 DeviceClassSubgroups 引用。 如果用户删除了设备类的所有 DeviceClassSubgroup,他们还可以删除设备类以从系统中删除记录,并停止检查此设备类与新更新的兼容性。 如果设备曾经为此设备类重新连接,则会重新创建该设备。

DeviceManagementDeleteDeviceClassDefaultResponse

删除设备类。 当启用了设备更新的设备连接到中心但不会自动清理设备类时,设备类会自动创建,因为它们由 DeviceClassSubgroups 引用。 如果用户删除了设备类的所有 DeviceClassSubgroup,他们还可以删除设备类以从系统中删除记录,并停止检查此设备类与新更新的兼容性。 如果设备曾经为此设备类重新连接,则会重新创建该设备。

DeviceManagementDeleteDeviceClassSubgroup204Response

删除设备类子组。 当启用了设备更新的设备连接到中心并报告其属性时,将自动创建此子组。 组、子组和部署不会自动清理,但出于历史记录目的保留。 如果用户不需要保留子组的任何历史记录,并且不再需要该子组,则可以调用此方法来删除子组。 如果删除子组后,此子组再次连接设备,则会自动重新创建,但不会有历史记录。

DeviceManagementDeleteDeviceClassSubgroupDefaultResponse

删除设备类子组。 当启用了设备更新的设备连接到中心并报告其属性时,将自动创建此子组。 组、子组和部署不会自动清理,但出于历史记录目的保留。 如果用户不需要保留子组的任何历史记录,并且不再需要该子组,则可以调用此方法来删除子组。 如果删除子组后,此子组再次连接设备,则会自动重新创建,但不会有历史记录。

DeviceManagementDeleteGroup204Response

删除设备组。 当启用了设备更新的设备连接到中心并报告其属性时,将自动创建此组。 组、子组和部署不会自动清理,但出于历史记录目的保留。 如果用户不需要保留组的任何历史记录,并且不再需要该组,则可以调用此方法来删除组。 如果设备在删除组后再次为此组连接,则会自动重新创建该设备,但不会有历史记录。

DeviceManagementDeleteGroupDefaultResponse

删除设备组。 当启用了设备更新的设备连接到中心并报告其属性时,将自动创建此组。 组、子组和部署不会自动清理,但出于历史记录目的保留。 如果用户不需要保留组的任何历史记录,并且不再需要该组,则可以调用此方法来删除组。 如果设备在删除组后再次为此组连接,则会自动重新创建该设备,但不会有历史记录。

DeviceManagementGetBestUpdatesForDeviceClassSubgroup
DeviceManagementGetBestUpdatesForDeviceClassSubgroup200Response

获取设备类子组的最佳可用更新,以及需要此更新的设备数的计数。

DeviceManagementGetBestUpdatesForDeviceClassSubgroupDefaultResponse

获取设备类子组的最佳可用更新,以及需要此更新的设备数的计数。

DeviceManagementGetDeployment
DeviceManagementGetDeployment200Response

获取部署属性。

DeviceManagementGetDeploymentDefaultResponse

获取部署属性。

DeviceManagementGetDeploymentForDeviceClassSubgroup
DeviceManagementGetDeploymentForDeviceClassSubgroup200Response

获取部署属性。

DeviceManagementGetDeploymentForDeviceClassSubgroupDefaultResponse

获取部署属性。

DeviceManagementGetDeploymentStatus
DeviceManagementGetDeploymentStatus200Response

获取部署的状态,包括部署中有多少设备正在进行、已完成或失败的细分。

DeviceManagementGetDeploymentStatusDefaultResponse

获取部署的状态,包括部署中有多少设备正在进行、已完成或失败的细分。

DeviceManagementGetDevice
DeviceManagementGetDevice200Response

获取连接到 IoT 中心设备更新的设备的设备属性和最新部署状态。

DeviceManagementGetDeviceClass
DeviceManagementGetDeviceClass200Response

获取设备类的属性。

DeviceManagementGetDeviceClassDefaultResponse

获取设备类的属性。

DeviceManagementGetDeviceClassSubgroup
DeviceManagementGetDeviceClassSubgroup200Response

获取设备类子组详细信息。 设备类子组是共享同一设备类的组中的设备集。 同一设备类中的所有设备都与相同的更新兼容。

DeviceManagementGetDeviceClassSubgroupDefaultResponse

获取设备类子组详细信息。 设备类子组是共享同一设备类的组中的设备集。 同一设备类中的所有设备都与相同的更新兼容。

DeviceManagementGetDeviceClassSubgroupDeploymentStatus
DeviceManagementGetDeviceClassSubgroupDeploymentStatus200Response

获取部署的状态,包括部署中有多少设备正在进行、已完成或失败的细分。

DeviceManagementGetDeviceClassSubgroupDeploymentStatusDefaultResponse

获取部署的状态,包括部署中有多少设备正在进行、已完成或失败的细分。

DeviceManagementGetDeviceClassSubgroupUpdateCompliance
DeviceManagementGetDeviceClassSubgroupUpdateCompliance200Response

获取设备类子组更新符合性信息,例如最新更新中的设备数、需要多少新更新,以及接收新更新时正在进行多少个设备。

DeviceManagementGetDeviceClassSubgroupUpdateComplianceDefaultResponse

获取设备类子组更新符合性信息,例如最新更新中的设备数、需要多少新更新,以及接收新更新时正在进行多少个设备。

DeviceManagementGetDeviceDefaultResponse

获取连接到 IoT 中心设备更新的设备的设备属性和最新部署状态。

DeviceManagementGetDeviceModule
DeviceManagementGetDeviceModule200Response

获取连接到 IoT 中心设备更新的设备模块的设备模块属性和最新部署状态。

DeviceManagementGetDeviceModuleDefaultResponse

获取连接到 IoT 中心设备更新的设备模块的设备模块属性和最新部署状态。

DeviceManagementGetGroup
DeviceManagementGetGroup200Response

获取设备组属性。

DeviceManagementGetGroupDefaultResponse

获取设备组属性。

DeviceManagementGetLogCollection200Response

获取设备诊断日志收集

DeviceManagementGetLogCollectionDefaultResponse

获取设备诊断日志收集

DeviceManagementGetLogCollectionDetailedStatus
DeviceManagementGetLogCollectionDetailedStatus200Response

获取具有详细状态的日志收集

DeviceManagementGetLogCollectionDetailedStatusDefaultResponse

获取具有详细状态的日志收集

DeviceManagementGetOperationStatus
DeviceManagementGetOperationStatus200Headers
DeviceManagementGetOperationStatus200Response

检索作状态。

DeviceManagementGetOperationStatus304Response

检索作状态。

DeviceManagementGetOperationStatusDefaultResponse

检索作状态。

DeviceManagementGetOperationStatusHeaderParam
DeviceManagementGetOperationStatusHeaders
DeviceManagementGetUpdateCompliance
DeviceManagementGetUpdateCompliance200Response

获取最新更新、有可用新更新或正在进行接收新更新的设备数的细分。

DeviceManagementGetUpdateComplianceDefaultResponse

获取最新更新、有可用新更新或正在进行接收新更新的设备数的细分。

DeviceManagementGetUpdateComplianceForGroup
DeviceManagementGetUpdateComplianceForGroup200Response

获取设备组更新符合性信息,例如最新更新中的设备数、需要多少新更新,以及接收新更新时正在进行多少个更新。

DeviceManagementGetUpdateComplianceForGroupDefaultResponse

获取设备组更新符合性信息,例如最新更新中的设备数、需要多少新更新,以及接收新更新时正在进行多少个更新。

DeviceManagementImportDevices
DeviceManagementImportDevices202Headers
DeviceManagementImportDevices202Response

从 IoT 中心导入现有设备。 这是长时间运行的作;使用 Operation-Location 响应标头值检查作状态。

DeviceManagementImportDevicesBodyParam
DeviceManagementImportDevicesDefaultResponse

从 IoT 中心导入现有设备。 这是长时间运行的作;使用 Operation-Location 响应标头值检查作状态。

DeviceManagementImportDevicesMediaTypesParam
DeviceManagementListBestUpdatesForGroup
DeviceManagementListBestUpdatesForGroup200Response

获取设备组的最佳可用更新,以及每个更新需要多少台设备的计数。

DeviceManagementListBestUpdatesForGroupDefaultResponse

获取设备组的最佳可用更新,以及每个更新需要多少台设备的计数。

DeviceManagementListDeploymentsForDeviceClassSubgroup
DeviceManagementListDeploymentsForDeviceClassSubgroup200Response

获取设备类子组的部署列表。

DeviceManagementListDeploymentsForDeviceClassSubgroupDefaultResponse

获取设备类子组的部署列表。

DeviceManagementListDeploymentsForDeviceClassSubgroupQueryParam
DeviceManagementListDeploymentsForDeviceClassSubgroupQueryParamProperties
DeviceManagementListDeploymentsForGroup
DeviceManagementListDeploymentsForGroup200Response

获取设备组的部署列表。

DeviceManagementListDeploymentsForGroupDefaultResponse

获取设备组的部署列表。

DeviceManagementListDeploymentsForGroupQueryParam
DeviceManagementListDeploymentsForGroupQueryParamProperties
DeviceManagementListDeviceClassSubgroupsForGroup
DeviceManagementListDeviceClassSubgroupsForGroup200Response

获取组的设备类子组。 设备类子组是共享同一设备类的组中的设备集。 同一设备类中的所有设备都与相同的更新兼容。

DeviceManagementListDeviceClassSubgroupsForGroupDefaultResponse

获取组的设备类子组。 设备类子组是共享同一设备类的组中的设备集。 同一设备类中的所有设备都与相同的更新兼容。

DeviceManagementListDeviceClassSubgroupsForGroupQueryParam
DeviceManagementListDeviceClassSubgroupsForGroupQueryParamProperties
DeviceManagementListDeviceClasses
DeviceManagementListDeviceClasses200Response

获取连接到 IoT 中心设备更新的所有设备的所有设备(基于设备更新 PnP 接口中报告的模型 ID 和兼容性属性)的所有设备类的列表。

DeviceManagementListDeviceClassesDefaultResponse

获取连接到 IoT 中心设备更新的所有设备的所有设备(基于设备更新 PnP 接口中报告的模型 ID 和兼容性属性)的所有设备类的列表。

DeviceManagementListDeviceClassesQueryParam
DeviceManagementListDeviceClassesQueryParamProperties
DeviceManagementListDeviceStatesForDeviceClassSubgroupDeployment
DeviceManagementListDeviceStatesForDeviceClassSubgroupDeployment200Response

获取部署中的设备及其状态的列表。 可用于获取失败的设备列表。

DeviceManagementListDeviceStatesForDeviceClassSubgroupDeploymentDefaultResponse

获取部署中的设备及其状态的列表。 可用于获取失败的设备列表。

DeviceManagementListDeviceStatesForDeviceClassSubgroupDeploymentQueryParam
DeviceManagementListDeviceStatesForDeviceClassSubgroupDeploymentQueryParamProperties
DeviceManagementListDevices
DeviceManagementListDevices200Response

获取连接到 IoT 中心设备更新的设备的列表。

DeviceManagementListDevicesDefaultResponse

获取连接到 IoT 中心设备更新的设备的列表。

DeviceManagementListDevicesQueryParam
DeviceManagementListDevicesQueryParamProperties
DeviceManagementListGroups
DeviceManagementListGroups200Response

获取所有设备组的列表。 $default组将始终首先返回。

DeviceManagementListGroupsDefaultResponse

获取所有设备组的列表。 $default组将始终首先返回。

DeviceManagementListGroupsQueryParam
DeviceManagementListGroupsQueryParamProperties
DeviceManagementListHealthOfDevices
DeviceManagementListHealthOfDevices200Response

获取设备运行状况列表

DeviceManagementListHealthOfDevicesDefaultResponse

获取设备运行状况列表

DeviceManagementListHealthOfDevicesQueryParam
DeviceManagementListHealthOfDevicesQueryParamProperties
DeviceManagementListInstallableUpdatesForDeviceClass
DeviceManagementListInstallableUpdatesForDeviceClass200Response

获取设备类的可安装更新的列表。

DeviceManagementListInstallableUpdatesForDeviceClassDefaultResponse

获取设备类的可安装更新的列表。

DeviceManagementListLogCollections
DeviceManagementListLogCollections200Response

获取所有设备诊断日志集合

DeviceManagementListLogCollectionsDefaultResponse

获取所有设备诊断日志集合

DeviceManagementListOperationStatuses
DeviceManagementListOperationStatuses200Response

获取所有设备导入作的列表。 自动删除之前,已完成的作将保留 7 天。

DeviceManagementListOperationStatusesDefaultResponse

获取所有设备导入作的列表。 自动删除之前,已完成的作将保留 7 天。

DeviceManagementListOperationStatusesQueryParam
DeviceManagementListOperationStatusesQueryParamProperties
DeviceManagementRetryDeployment
DeviceManagementRetryDeployment200Response

重试具有失败设备的部署。

DeviceManagementRetryDeploymentDefaultResponse

重试具有失败设备的部署。

DeviceManagementStartLogCollection
DeviceManagementStartLogCollection201Response

在指定的设备上启动设备诊断日志收集。

DeviceManagementStartLogCollectionBodyParam
DeviceManagementStartLogCollectionDefaultResponse

在指定的设备上启动设备诊断日志收集。

DeviceManagementStartLogCollectionMediaTypesParam
DeviceManagementStopDeployment
DeviceManagementStopDeployment200Response

停止部署。

DeviceManagementStopDeploymentDefaultResponse

停止部署。

DeviceManagementUpdateDeviceClass200Response

更新设备类详细信息。

DeviceManagementUpdateDeviceClassBodyParam
DeviceManagementUpdateDeviceClassDefaultResponse

更新设备类详细信息。

DeviceManagementUpdateDeviceClassMediaTypesParam
DeviceOperationOutput

作元数据。

DeviceOperationsListOutput

具有服务器分页支持的设备作列表。

DeviceOutput

设备元数据。

DeviceUpdateAgentId

设备更新代理 ID

DeviceUpdateAgentIdOutput

设备更新代理 ID

DeviceUpdateClientOptions

客户端的可选参数

DeviceUpdateDeleteUpdate202Headers
DeviceUpdateDeleteUpdate202Response

删除特定更新版本。 这是长时间运行的作;使用 Operation-Location 响应标头值检查作状态。

DeviceUpdateDeleteUpdateDefaultResponse

删除特定更新版本。 这是长时间运行的作;使用 Operation-Location 响应标头值检查作状态。

DeviceUpdateGetFile
DeviceUpdateGetFile200Response

从版本获取特定的更新文件。

DeviceUpdateGetFile304Response

从版本获取特定的更新文件。

DeviceUpdateGetFileDefaultResponse

从版本获取特定的更新文件。

DeviceUpdateGetFileHeaderParam
DeviceUpdateGetFileHeaders
DeviceUpdateGetOperationStatus
DeviceUpdateGetOperationStatus200Headers
DeviceUpdateGetOperationStatus200Response

检索作状态。

DeviceUpdateGetOperationStatus304Response

检索作状态。

DeviceUpdateGetOperationStatusDefaultResponse

检索作状态。

DeviceUpdateGetOperationStatusHeaderParam
DeviceUpdateGetOperationStatusHeaders
DeviceUpdateGetUpdate
DeviceUpdateGetUpdate200Response

获取特定的更新版本。

DeviceUpdateGetUpdate304Response

获取特定的更新版本。

DeviceUpdateGetUpdateDefaultResponse

获取特定的更新版本。

DeviceUpdateGetUpdateHeaderParam
DeviceUpdateGetUpdateHeaders
DeviceUpdateImportUpdate
DeviceUpdateImportUpdate200Response

导入新的更新版本。 这是长时间运行的作;使用 Operation-Location 响应标头值检查作状态。

DeviceUpdateImportUpdate202Headers
DeviceUpdateImportUpdate202Response

导入新的更新版本。 这是长时间运行的作;使用 Operation-Location 响应标头值检查作状态。

DeviceUpdateImportUpdateBodyParam
DeviceUpdateImportUpdateDefaultResponse

导入新的更新版本。 这是长时间运行的作;使用 Operation-Location 响应标头值检查作状态。

DeviceUpdateImportUpdateMediaTypesParam
DeviceUpdateListFiles
DeviceUpdateListFiles200Response

获取指定版本的所有更新文件标识符的列表。

DeviceUpdateListFilesDefaultResponse

获取指定版本的所有更新文件标识符的列表。

DeviceUpdateListNames
DeviceUpdateListNames200Response

获取与指定提供程序匹配的所有更新名称的列表。

DeviceUpdateListNamesDefaultResponse

获取与指定提供程序匹配的所有更新名称的列表。

DeviceUpdateListOperationStatuses
DeviceUpdateListOperationStatuses200Response

获取所有导入更新作的列表。 自动删除之前,已完成的作将保留 7 天。 此 API 版本不返回删除作。

DeviceUpdateListOperationStatusesDefaultResponse

获取所有导入更新作的列表。 自动删除之前,已完成的作将保留 7 天。 此 API 版本不返回删除作。

DeviceUpdateListOperationStatusesQueryParam
DeviceUpdateListOperationStatusesQueryParamProperties
DeviceUpdateListProviders
DeviceUpdateListProviders200Response

获取已导入到 IoT 中心设备更新的所有更新提供程序的列表。

DeviceUpdateListProvidersDefaultResponse

获取已导入到 IoT 中心设备更新的所有更新提供程序的列表。

DeviceUpdateListUpdates
DeviceUpdateListUpdates200Response

获取已导入到 IoT 中心设备更新的所有更新的列表。

DeviceUpdateListUpdatesDefaultResponse

获取已导入到 IoT 中心设备更新的所有更新的列表。

DeviceUpdateListUpdatesQueryParam
DeviceUpdateListUpdatesQueryParamProperties
DeviceUpdateListVersions
DeviceUpdateListVersions200Response

获取与指定提供程序和名称匹配的所有更新版本的列表。

DeviceUpdateListVersionsDefaultResponse

获取与指定提供程序和名称匹配的所有更新版本的列表。

DeviceUpdateListVersionsQueryParam
DeviceUpdateListVersionsQueryParamProperties
DevicesListOutput

设备列表。

ErrorModelOutput

错误详细信息。

ErrorResponseOutput

常见的错误响应。

FileImportMetadata

描述更新文件的元数据。

GroupOutput

组详细信息。

GroupsListOutput

组列表。

HealthCheckOutput

运行状况检查

ImportManifestMetadata

描述导入清单的元数据,描述有关更新版本的文件和其他元数据的文档。

ImportUpdateInputItem

导入更新输入项元数据。

InnerErrorOutput

包含与当前对象有关错误的更具体信息的对象。

InstallResultOutput

更新的安装结果及其下的任何步骤结果。

InstructionsOutput
LogCollection

诊断请求正文

LogCollectionListOutput

具有服务器分页支持的日志集合列表。

LogCollectionOperationDetailedStatusOutput

设备诊断作详细状态

LogCollectionOperationDeviceStatusOutput

诊断作设备状态

LogCollectionOutput

诊断请求正文

PageSettings

跟踪分页迭代设置的接口

PagedAsyncIterableIterator

允许异步迭代到完成和逐页迭代的接口。

PagingOptions

分页帮助程序的选项

PatchBody

设备类 JSON 合并修补请求正文

Routes
SimplePollerLike

可用于轮询长时间运行的作的简单轮询程序。

StepOutput

更新安装说明步骤。

StepResultOutput

更新下的步骤结果。

StringsListOutput

支持服务器分页的字符串列表。

UpdateComplianceOutput

更新符合性信息。

UpdateFileBaseOutput

更新文件基本元数据。

UpdateFileDownloadHandlerOutput

下载处理程序,用于利用相关文件下载有效负载文件。

UpdateFileOutput

更新文件元数据。

UpdateId

更新标识符。

UpdateIdOutput

更新标识符。

UpdateInfo

更新信息。

UpdateInfoListOutput

更新信息列表。

UpdateInfoOutput

更新信息。

UpdateListOutput

更新列表。

UpdateOperationOutput

作元数据。

UpdateOperationsListOutput

具有服务器分页支持的作列表。

UpdateOutput

更新元数据。

类型别名

DeviceManagementCreateOrUpdateDeploymentParameters
DeviceManagementDeleteDeploymentForDeviceClassSubgroupParameters
DeviceManagementDeleteDeploymentParameters
DeviceManagementDeleteDeviceClassParameters
DeviceManagementDeleteDeviceClassSubgroupParameters
DeviceManagementDeleteGroupParameters
DeviceManagementGetBestUpdatesForDeviceClassSubgroupParameters
DeviceManagementGetDeploymentForDeviceClassSubgroupParameters
DeviceManagementGetDeploymentParameters
DeviceManagementGetDeploymentStatusParameters
DeviceManagementGetDeviceClassParameters
DeviceManagementGetDeviceClassSubgroupDeploymentStatusParameters
DeviceManagementGetDeviceClassSubgroupParameters
DeviceManagementGetDeviceClassSubgroupUpdateComplianceParameters
DeviceManagementGetDeviceModuleParameters
DeviceManagementGetDeviceParameters
DeviceManagementGetGroupParameters
DeviceManagementGetLogCollectionDetailedStatusParameters
DeviceManagementGetLogCollectionParameters
DeviceManagementGetOperationStatusParameters
DeviceManagementGetUpdateComplianceForGroupParameters
DeviceManagementGetUpdateComplianceParameters
DeviceManagementImportDevicesParameters
DeviceManagementListBestUpdatesForGroupParameters
DeviceManagementListDeploymentsForDeviceClassSubgroupParameters
DeviceManagementListDeploymentsForGroupParameters
DeviceManagementListDeviceClassSubgroupsForGroupParameters
DeviceManagementListDeviceClassesParameters
DeviceManagementListDeviceStatesForDeviceClassSubgroupDeploymentParameters
DeviceManagementListDevicesParameters
DeviceManagementListGroupsParameters
DeviceManagementListHealthOfDevicesParameters
DeviceManagementListInstallableUpdatesForDeviceClassParameters
DeviceManagementListLogCollectionsParameters
DeviceManagementListOperationStatusesParameters
DeviceManagementRetryDeploymentParameters
DeviceManagementStartLogCollectionParameters
DeviceManagementStopDeploymentParameters
DeviceManagementUpdateDeviceClassParameters
DeviceUpdateClient
DeviceUpdateDeleteUpdateParameters
DeviceUpdateGetFileParameters
DeviceUpdateGetOperationStatusParameters
DeviceUpdateGetUpdateParameters
DeviceUpdateImportUpdateParameters
DeviceUpdateListFilesParameters
DeviceUpdateListNamesParameters
DeviceUpdateListOperationStatusesParameters
DeviceUpdateListProvidersParameters
DeviceUpdateListUpdatesParameters
DeviceUpdateListVersionsParameters
GetArrayType

用于提取数组类型的帮助程序类型

GetPage

自定义函数的类型,用于定义如何获取页面和指向下一个页面的链接(如果有)。

PaginateReturn

用于推断响应类型中分页元素的帮助程序类型。此类型基于特定于 itemName 属性的 x-ms-pageable 的 swagger 信息生成,该属性指示在其中找到页面项的响应的属性。 默认值为 value。 此类型将允许我们根据作为第二个参数获取的响应提供强类型迭代器

PatchBodyResourceMergeAndPatch

设备类 json 合并修补正文。 目前仅支持修补 friendlyName。

函数

default(string, TokenCredential, DeviceUpdateClientOptions)

初始化 DeviceUpdateClient 的新实例

getLongRunningPoller<TResult>(Client, TResult, CreateHttpPollerOptions<TResult, OperationState<TResult>>)

生成 Poller 对象的帮助程序函数,以帮助轮询长时间运行的作。

isUnexpected(DeviceUpdateListUpdates200Response | DeviceUpdateListUpdatesDefaultResponse)
isUnexpected(DeviceUpdateImportUpdate200Response | DeviceUpdateImportUpdate202Response | DeviceUpdateImportUpdateDefaultResponse)
isUnexpected(DeviceUpdateGetUpdate200Response | DeviceUpdateGetUpdate304Response | DeviceUpdateGetUpdateDefaultResponse)
isUnexpected(DeviceUpdateDeleteUpdate202Response | DeviceUpdateDeleteUpdateDefaultResponse)
isUnexpected(DeviceUpdateListProviders200Response | DeviceUpdateListProvidersDefaultResponse)
isUnexpected(DeviceUpdateListNames200Response | DeviceUpdateListNamesDefaultResponse)
isUnexpected(DeviceUpdateListVersions200Response | DeviceUpdateListVersionsDefaultResponse)
isUnexpected(DeviceUpdateListFiles200Response | DeviceUpdateListFilesDefaultResponse)
isUnexpected(DeviceUpdateGetFile200Response | DeviceUpdateGetFile304Response | DeviceUpdateGetFileDefaultResponse)
isUnexpected(DeviceUpdateListOperationStatuses200Response | DeviceUpdateListOperationStatusesDefaultResponse)
isUnexpected(DeviceUpdateGetOperationStatus200Response | DeviceUpdateGetOperationStatus304Response | DeviceUpdateGetOperationStatusDefaultResponse)
isUnexpected(DeviceManagementListDeviceClasses200Response | DeviceManagementListDeviceClassesDefaultResponse)
isUnexpected(DeviceManagementGetDeviceClass200Response | DeviceManagementGetDeviceClassDefaultResponse)
isUnexpected(DeviceManagementUpdateDeviceClass200Response | DeviceManagementUpdateDeviceClassDefaultResponse)
isUnexpected(DeviceManagementDeleteDeviceClass204Response | DeviceManagementDeleteDeviceClassDefaultResponse)
isUnexpected(DeviceManagementListInstallableUpdatesForDeviceClass200Response | DeviceManagementListInstallableUpdatesForDeviceClassDefaultResponse)
isUnexpected(DeviceManagementListDevices200Response | DeviceManagementListDevicesDefaultResponse)
isUnexpected(DeviceManagementImportDevices202Response | DeviceManagementImportDevicesDefaultResponse)
isUnexpected(DeviceManagementGetDevice200Response | DeviceManagementGetDeviceDefaultResponse)
isUnexpected(DeviceManagementGetDeviceModule200Response | DeviceManagementGetDeviceModuleDefaultResponse)
isUnexpected(DeviceManagementGetUpdateCompliance200Response | DeviceManagementGetUpdateComplianceDefaultResponse)
isUnexpected(DeviceManagementListGroups200Response | DeviceManagementListGroupsDefaultResponse)
isUnexpected(DeviceManagementGetGroup200Response | DeviceManagementGetGroupDefaultResponse)
isUnexpected(DeviceManagementDeleteGroup204Response | DeviceManagementDeleteGroupDefaultResponse)
isUnexpected(DeviceManagementGetUpdateComplianceForGroup200Response | DeviceManagementGetUpdateComplianceForGroupDefaultResponse)
isUnexpected(DeviceManagementListBestUpdatesForGroup200Response | DeviceManagementListBestUpdatesForGroupDefaultResponse)
isUnexpected(DeviceManagementListDeploymentsForGroup200Response | DeviceManagementListDeploymentsForGroupDefaultResponse)
isUnexpected(DeviceManagementGetDeployment200Response | DeviceManagementGetDeploymentDefaultResponse)
isUnexpected(DeviceManagementCreateOrUpdateDeployment200Response | DeviceManagementCreateOrUpdateDeploymentDefaultResponse)
isUnexpected(DeviceManagementDeleteDeployment204Response | DeviceManagementDeleteDeploymentDefaultResponse)
isUnexpected(DeviceManagementGetDeploymentStatus200Response | DeviceManagementGetDeploymentStatusDefaultResponse)
isUnexpected(DeviceManagementListDeviceClassSubgroupsForGroup200Response | DeviceManagementListDeviceClassSubgroupsForGroupDefaultResponse)
isUnexpected(DeviceManagementGetDeviceClassSubgroup200Response | DeviceManagementGetDeviceClassSubgroupDefaultResponse)
isUnexpected(DeviceManagementDeleteDeviceClassSubgroup204Response | DeviceManagementDeleteDeviceClassSubgroupDefaultResponse)
isUnexpected(DeviceManagementGetDeviceClassSubgroupUpdateCompliance200Response | DeviceManagementGetDeviceClassSubgroupUpdateComplianceDefaultResponse)
isUnexpected(DeviceManagementGetBestUpdatesForDeviceClassSubgroup200Response | DeviceManagementGetBestUpdatesForDeviceClassSubgroupDefaultResponse)
isUnexpected(DeviceManagementListDeploymentsForDeviceClassSubgroup200Response | DeviceManagementListDeploymentsForDeviceClassSubgroupDefaultResponse)
isUnexpected(DeviceManagementGetDeploymentForDeviceClassSubgroup200Response | DeviceManagementGetDeploymentForDeviceClassSubgroupDefaultResponse)
isUnexpected(DeviceManagementDeleteDeploymentForDeviceClassSubgroup204Response | DeviceManagementDeleteDeploymentForDeviceClassSubgroupDefaultResponse)
isUnexpected(DeviceManagementStopDeployment200Response | DeviceManagementStopDeploymentDefaultResponse)
isUnexpected(DeviceManagementRetryDeployment200Response | DeviceManagementRetryDeploymentDefaultResponse)
isUnexpected(DeviceManagementGetDeviceClassSubgroupDeploymentStatus200Response | DeviceManagementGetDeviceClassSubgroupDeploymentStatusDefaultResponse)
isUnexpected(DeviceManagementListDeviceStatesForDeviceClassSubgroupDeployment200Response | DeviceManagementListDeviceStatesForDeviceClassSubgroupDeploymentDefaultResponse)
isUnexpected(DeviceManagementGetOperationStatus200Response | DeviceManagementGetOperationStatus304Response | DeviceManagementGetOperationStatusDefaultResponse)
isUnexpected(DeviceManagementListOperationStatuses200Response | DeviceManagementListOperationStatusesDefaultResponse)
isUnexpected(DeviceManagementStartLogCollection201Response | DeviceManagementStartLogCollectionDefaultResponse)
isUnexpected(DeviceManagementGetLogCollection200Response | DeviceManagementGetLogCollectionDefaultResponse)
isUnexpected(DeviceManagementListLogCollections200Response | DeviceManagementListLogCollectionsDefaultResponse)
isUnexpected(DeviceManagementGetLogCollectionDetailedStatus200Response | DeviceManagementGetLogCollectionDetailedStatusDefaultResponse)
isUnexpected(DeviceManagementListHealthOfDevices200Response | DeviceManagementListHealthOfDevicesDefaultResponse)
paginate<TResponse>(Client, TResponse, PagingOptions<TResponse>)

帮助程序根据 Autorest x-ms-pageable 扩展规范对初始响应的结果进行分页

函数详细信息

default(string, TokenCredential, DeviceUpdateClientOptions)

初始化 DeviceUpdateClient 的新实例

function default(endpoint: string, credentials: TokenCredential, options?: DeviceUpdateClientOptions): DeviceUpdateClient

参数

endpoint

string

IoT 中心帐户终结点的设备更新(仅主机名,无协议)。

credentials
TokenCredential

唯一标识客户端凭据

options
DeviceUpdateClientOptions

所有可选参数的参数

返回

getLongRunningPoller<TResult>(Client, TResult, CreateHttpPollerOptions<TResult, OperationState<TResult>>)

生成 Poller 对象的帮助程序函数,以帮助轮询长时间运行的作。

function getLongRunningPoller<TResult>(client: Client, initialResponse: TResult, options?: CreateHttpPollerOptions<TResult, OperationState<TResult>>): Promise<SimplePollerLike<OperationState<TResult>, TResult>>

参数

client
Client

用于发送请求以获取其他页面的客户端。

initialResponse

TResult

初始响应。

options

CreateHttpPollerOptions<TResult, OperationState<TResult>>

设置恢复状态或自定义轮询间隔的选项。

返回

Promise<SimplePollerLike<OperationState<TResult>, TResult>>

  • 用于轮询作状态更新的轮询程序对象,并最终获取最终响应。

isUnexpected(DeviceUpdateListUpdates200Response | DeviceUpdateListUpdatesDefaultResponse)

function isUnexpected(response: DeviceUpdateListUpdates200Response | DeviceUpdateListUpdatesDefaultResponse): response

参数

返回

response

isUnexpected(DeviceUpdateImportUpdate200Response | DeviceUpdateImportUpdate202Response | DeviceUpdateImportUpdateDefaultResponse)

function isUnexpected(response: DeviceUpdateImportUpdate200Response | DeviceUpdateImportUpdate202Response | DeviceUpdateImportUpdateDefaultResponse): response

参数

返回

response

isUnexpected(DeviceUpdateGetUpdate200Response | DeviceUpdateGetUpdate304Response | DeviceUpdateGetUpdateDefaultResponse)

function isUnexpected(response: DeviceUpdateGetUpdate200Response | DeviceUpdateGetUpdate304Response | DeviceUpdateGetUpdateDefaultResponse): response

参数

返回

response

isUnexpected(DeviceUpdateDeleteUpdate202Response | DeviceUpdateDeleteUpdateDefaultResponse)

function isUnexpected(response: DeviceUpdateDeleteUpdate202Response | DeviceUpdateDeleteUpdateDefaultResponse): response

参数

返回

response

isUnexpected(DeviceUpdateListProviders200Response | DeviceUpdateListProvidersDefaultResponse)

function isUnexpected(response: DeviceUpdateListProviders200Response | DeviceUpdateListProvidersDefaultResponse): response

参数

返回

response

isUnexpected(DeviceUpdateListNames200Response | DeviceUpdateListNamesDefaultResponse)

function isUnexpected(response: DeviceUpdateListNames200Response | DeviceUpdateListNamesDefaultResponse): response

参数

返回

response

isUnexpected(DeviceUpdateListVersions200Response | DeviceUpdateListVersionsDefaultResponse)

function isUnexpected(response: DeviceUpdateListVersions200Response | DeviceUpdateListVersionsDefaultResponse): response

参数

返回

response

isUnexpected(DeviceUpdateListFiles200Response | DeviceUpdateListFilesDefaultResponse)

function isUnexpected(response: DeviceUpdateListFiles200Response | DeviceUpdateListFilesDefaultResponse): response

参数

返回

response

isUnexpected(DeviceUpdateGetFile200Response | DeviceUpdateGetFile304Response | DeviceUpdateGetFileDefaultResponse)

function isUnexpected(response: DeviceUpdateGetFile200Response | DeviceUpdateGetFile304Response | DeviceUpdateGetFileDefaultResponse): response

参数

返回

response

isUnexpected(DeviceUpdateListOperationStatuses200Response | DeviceUpdateListOperationStatusesDefaultResponse)

function isUnexpected(response: DeviceUpdateListOperationStatuses200Response | DeviceUpdateListOperationStatusesDefaultResponse): response

参数

返回

response

isUnexpected(DeviceUpdateGetOperationStatus200Response | DeviceUpdateGetOperationStatus304Response | DeviceUpdateGetOperationStatusDefaultResponse)

function isUnexpected(response: DeviceUpdateGetOperationStatus200Response | DeviceUpdateGetOperationStatus304Response | DeviceUpdateGetOperationStatusDefaultResponse): response

参数

返回

response

isUnexpected(DeviceManagementListDeviceClasses200Response | DeviceManagementListDeviceClassesDefaultResponse)

function isUnexpected(response: DeviceManagementListDeviceClasses200Response | DeviceManagementListDeviceClassesDefaultResponse): response

参数

返回

response

isUnexpected(DeviceManagementGetDeviceClass200Response | DeviceManagementGetDeviceClassDefaultResponse)

function isUnexpected(response: DeviceManagementGetDeviceClass200Response | DeviceManagementGetDeviceClassDefaultResponse): response

参数

返回

response

isUnexpected(DeviceManagementUpdateDeviceClass200Response | DeviceManagementUpdateDeviceClassDefaultResponse)

function isUnexpected(response: DeviceManagementUpdateDeviceClass200Response | DeviceManagementUpdateDeviceClassDefaultResponse): response

参数

返回

response

isUnexpected(DeviceManagementDeleteDeviceClass204Response | DeviceManagementDeleteDeviceClassDefaultResponse)

function isUnexpected(response: DeviceManagementDeleteDeviceClass204Response | DeviceManagementDeleteDeviceClassDefaultResponse): response

参数

返回

response

isUnexpected(DeviceManagementListInstallableUpdatesForDeviceClass200Response | DeviceManagementListInstallableUpdatesForDeviceClassDefaultResponse)

function isUnexpected(response: DeviceManagementListInstallableUpdatesForDeviceClass200Response | DeviceManagementListInstallableUpdatesForDeviceClassDefaultResponse): response

参数

返回

response

isUnexpected(DeviceManagementListDevices200Response | DeviceManagementListDevicesDefaultResponse)

function isUnexpected(response: DeviceManagementListDevices200Response | DeviceManagementListDevicesDefaultResponse): response

参数

返回

response

isUnexpected(DeviceManagementImportDevices202Response | DeviceManagementImportDevicesDefaultResponse)

function isUnexpected(response: DeviceManagementImportDevices202Response | DeviceManagementImportDevicesDefaultResponse): response

参数

返回

response

isUnexpected(DeviceManagementGetDevice200Response | DeviceManagementGetDeviceDefaultResponse)

function isUnexpected(response: DeviceManagementGetDevice200Response | DeviceManagementGetDeviceDefaultResponse): response

参数

返回

response

isUnexpected(DeviceManagementGetDeviceModule200Response | DeviceManagementGetDeviceModuleDefaultResponse)

function isUnexpected(response: DeviceManagementGetDeviceModule200Response | DeviceManagementGetDeviceModuleDefaultResponse): response

参数

返回

response

isUnexpected(DeviceManagementGetUpdateCompliance200Response | DeviceManagementGetUpdateComplianceDefaultResponse)

function isUnexpected(response: DeviceManagementGetUpdateCompliance200Response | DeviceManagementGetUpdateComplianceDefaultResponse): response

参数

返回

response

isUnexpected(DeviceManagementListGroups200Response | DeviceManagementListGroupsDefaultResponse)

function isUnexpected(response: DeviceManagementListGroups200Response | DeviceManagementListGroupsDefaultResponse): response

参数

返回

response

isUnexpected(DeviceManagementGetGroup200Response | DeviceManagementGetGroupDefaultResponse)

function isUnexpected(response: DeviceManagementGetGroup200Response | DeviceManagementGetGroupDefaultResponse): response

参数

返回

response

isUnexpected(DeviceManagementDeleteGroup204Response | DeviceManagementDeleteGroupDefaultResponse)

function isUnexpected(response: DeviceManagementDeleteGroup204Response | DeviceManagementDeleteGroupDefaultResponse): response

参数

返回

response

isUnexpected(DeviceManagementGetUpdateComplianceForGroup200Response | DeviceManagementGetUpdateComplianceForGroupDefaultResponse)

function isUnexpected(response: DeviceManagementGetUpdateComplianceForGroup200Response | DeviceManagementGetUpdateComplianceForGroupDefaultResponse): response

参数

返回

response

isUnexpected(DeviceManagementListBestUpdatesForGroup200Response | DeviceManagementListBestUpdatesForGroupDefaultResponse)

function isUnexpected(response: DeviceManagementListBestUpdatesForGroup200Response | DeviceManagementListBestUpdatesForGroupDefaultResponse): response

参数

返回

response

isUnexpected(DeviceManagementListDeploymentsForGroup200Response | DeviceManagementListDeploymentsForGroupDefaultResponse)

function isUnexpected(response: DeviceManagementListDeploymentsForGroup200Response | DeviceManagementListDeploymentsForGroupDefaultResponse): response

参数

返回

response

isUnexpected(DeviceManagementGetDeployment200Response | DeviceManagementGetDeploymentDefaultResponse)

function isUnexpected(response: DeviceManagementGetDeployment200Response | DeviceManagementGetDeploymentDefaultResponse): response

参数

返回

response

isUnexpected(DeviceManagementCreateOrUpdateDeployment200Response | DeviceManagementCreateOrUpdateDeploymentDefaultResponse)

function isUnexpected(response: DeviceManagementCreateOrUpdateDeployment200Response | DeviceManagementCreateOrUpdateDeploymentDefaultResponse): response

参数

返回

response

isUnexpected(DeviceManagementDeleteDeployment204Response | DeviceManagementDeleteDeploymentDefaultResponse)

function isUnexpected(response: DeviceManagementDeleteDeployment204Response | DeviceManagementDeleteDeploymentDefaultResponse): response

参数

返回

response

isUnexpected(DeviceManagementGetDeploymentStatus200Response | DeviceManagementGetDeploymentStatusDefaultResponse)

function isUnexpected(response: DeviceManagementGetDeploymentStatus200Response | DeviceManagementGetDeploymentStatusDefaultResponse): response

参数

返回

response

isUnexpected(DeviceManagementListDeviceClassSubgroupsForGroup200Response | DeviceManagementListDeviceClassSubgroupsForGroupDefaultResponse)

function isUnexpected(response: DeviceManagementListDeviceClassSubgroupsForGroup200Response | DeviceManagementListDeviceClassSubgroupsForGroupDefaultResponse): response

参数

返回

response

isUnexpected(DeviceManagementGetDeviceClassSubgroup200Response | DeviceManagementGetDeviceClassSubgroupDefaultResponse)

function isUnexpected(response: DeviceManagementGetDeviceClassSubgroup200Response | DeviceManagementGetDeviceClassSubgroupDefaultResponse): response

参数

返回

response

isUnexpected(DeviceManagementDeleteDeviceClassSubgroup204Response | DeviceManagementDeleteDeviceClassSubgroupDefaultResponse)

function isUnexpected(response: DeviceManagementDeleteDeviceClassSubgroup204Response | DeviceManagementDeleteDeviceClassSubgroupDefaultResponse): response

参数

返回

response

isUnexpected(DeviceManagementGetDeviceClassSubgroupUpdateCompliance200Response | DeviceManagementGetDeviceClassSubgroupUpdateComplianceDefaultResponse)

function isUnexpected(response: DeviceManagementGetDeviceClassSubgroupUpdateCompliance200Response | DeviceManagementGetDeviceClassSubgroupUpdateComplianceDefaultResponse): response

参数

返回

response

isUnexpected(DeviceManagementGetBestUpdatesForDeviceClassSubgroup200Response | DeviceManagementGetBestUpdatesForDeviceClassSubgroupDefaultResponse)

function isUnexpected(response: DeviceManagementGetBestUpdatesForDeviceClassSubgroup200Response | DeviceManagementGetBestUpdatesForDeviceClassSubgroupDefaultResponse): response

参数

返回

response

isUnexpected(DeviceManagementListDeploymentsForDeviceClassSubgroup200Response | DeviceManagementListDeploymentsForDeviceClassSubgroupDefaultResponse)

function isUnexpected(response: DeviceManagementListDeploymentsForDeviceClassSubgroup200Response | DeviceManagementListDeploymentsForDeviceClassSubgroupDefaultResponse): response

参数

返回

response

isUnexpected(DeviceManagementGetDeploymentForDeviceClassSubgroup200Response | DeviceManagementGetDeploymentForDeviceClassSubgroupDefaultResponse)

function isUnexpected(response: DeviceManagementGetDeploymentForDeviceClassSubgroup200Response | DeviceManagementGetDeploymentForDeviceClassSubgroupDefaultResponse): response

参数

返回

response

isUnexpected(DeviceManagementDeleteDeploymentForDeviceClassSubgroup204Response | DeviceManagementDeleteDeploymentForDeviceClassSubgroupDefaultResponse)

function isUnexpected(response: DeviceManagementDeleteDeploymentForDeviceClassSubgroup204Response | DeviceManagementDeleteDeploymentForDeviceClassSubgroupDefaultResponse): response

参数

返回

response

isUnexpected(DeviceManagementStopDeployment200Response | DeviceManagementStopDeploymentDefaultResponse)

function isUnexpected(response: DeviceManagementStopDeployment200Response | DeviceManagementStopDeploymentDefaultResponse): response

参数

返回

response

isUnexpected(DeviceManagementRetryDeployment200Response | DeviceManagementRetryDeploymentDefaultResponse)

function isUnexpected(response: DeviceManagementRetryDeployment200Response | DeviceManagementRetryDeploymentDefaultResponse): response

参数

返回

response

isUnexpected(DeviceManagementGetDeviceClassSubgroupDeploymentStatus200Response | DeviceManagementGetDeviceClassSubgroupDeploymentStatusDefaultResponse)

function isUnexpected(response: DeviceManagementGetDeviceClassSubgroupDeploymentStatus200Response | DeviceManagementGetDeviceClassSubgroupDeploymentStatusDefaultResponse): response

参数

返回

response

isUnexpected(DeviceManagementListDeviceStatesForDeviceClassSubgroupDeployment200Response | DeviceManagementListDeviceStatesForDeviceClassSubgroupDeploymentDefaultResponse)

function isUnexpected(response: DeviceManagementListDeviceStatesForDeviceClassSubgroupDeployment200Response | DeviceManagementListDeviceStatesForDeviceClassSubgroupDeploymentDefaultResponse): response

参数

返回

response

isUnexpected(DeviceManagementGetOperationStatus200Response | DeviceManagementGetOperationStatus304Response | DeviceManagementGetOperationStatusDefaultResponse)

function isUnexpected(response: DeviceManagementGetOperationStatus200Response | DeviceManagementGetOperationStatus304Response | DeviceManagementGetOperationStatusDefaultResponse): response

参数

返回

response

isUnexpected(DeviceManagementListOperationStatuses200Response | DeviceManagementListOperationStatusesDefaultResponse)

function isUnexpected(response: DeviceManagementListOperationStatuses200Response | DeviceManagementListOperationStatusesDefaultResponse): response

参数

返回

response

isUnexpected(DeviceManagementStartLogCollection201Response | DeviceManagementStartLogCollectionDefaultResponse)

function isUnexpected(response: DeviceManagementStartLogCollection201Response | DeviceManagementStartLogCollectionDefaultResponse): response

参数

返回

response

isUnexpected(DeviceManagementGetLogCollection200Response | DeviceManagementGetLogCollectionDefaultResponse)

function isUnexpected(response: DeviceManagementGetLogCollection200Response | DeviceManagementGetLogCollectionDefaultResponse): response

参数

返回

response

isUnexpected(DeviceManagementListLogCollections200Response | DeviceManagementListLogCollectionsDefaultResponse)

function isUnexpected(response: DeviceManagementListLogCollections200Response | DeviceManagementListLogCollectionsDefaultResponse): response

参数

返回

response

isUnexpected(DeviceManagementGetLogCollectionDetailedStatus200Response | DeviceManagementGetLogCollectionDetailedStatusDefaultResponse)

function isUnexpected(response: DeviceManagementGetLogCollectionDetailedStatus200Response | DeviceManagementGetLogCollectionDetailedStatusDefaultResponse): response

参数

返回

response

isUnexpected(DeviceManagementListHealthOfDevices200Response | DeviceManagementListHealthOfDevicesDefaultResponse)

function isUnexpected(response: DeviceManagementListHealthOfDevices200Response | DeviceManagementListHealthOfDevicesDefaultResponse): response

参数

返回

response

paginate<TResponse>(Client, TResponse, PagingOptions<TResponse>)

帮助程序根据 Autorest x-ms-pageable 扩展规范对初始响应的结果进行分页

function paginate<TResponse>(client: Client, initialResponse: TResponse, options?: PagingOptions<TResponse>): PagedAsyncIterableIterator<PaginateReturn<TResponse>>

参数

client
Client

用于发送下一页请求的客户端

initialResponse

TResponse

包含 nextLink 和元素当前页的初始响应

options

PagingOptions<TResponse>

返回

  • PagedAsyncIterableIterator 循环访问元素