@azure-rest/iot-device-update 1.0.1-alpha.20241218.1 → 1.1.0-alpha.20241220.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (133) hide show
  1. package/dist/browser/clientDefinitions.d.ts +51 -51
  2. package/dist/browser/clientDefinitions.js.map +1 -1
  3. package/dist/browser/deviceUpdate.d.ts +12 -1
  4. package/dist/browser/deviceUpdate.d.ts.map +1 -1
  5. package/dist/browser/deviceUpdate.js +31 -9
  6. package/dist/browser/deviceUpdate.js.map +1 -1
  7. package/dist/browser/isUnexpected.d.ts +51 -51
  8. package/dist/browser/isUnexpected.js +37 -30
  9. package/dist/browser/isUnexpected.js.map +1 -1
  10. package/dist/browser/logger.d.ts +2 -0
  11. package/dist/browser/logger.d.ts.map +1 -0
  12. package/dist/browser/logger.js +5 -0
  13. package/dist/browser/logger.js.map +1 -0
  14. package/dist/browser/models.d.ts +11 -10
  15. package/dist/browser/models.d.ts.map +1 -1
  16. package/dist/browser/models.js.map +1 -1
  17. package/dist/browser/outputModels.d.ts +53 -5
  18. package/dist/browser/outputModels.d.ts.map +1 -1
  19. package/dist/browser/outputModels.js.map +1 -1
  20. package/dist/browser/paginateHelper.d.ts +27 -2
  21. package/dist/browser/paginateHelper.d.ts.map +1 -1
  22. package/dist/browser/paginateHelper.js +98 -1
  23. package/dist/browser/paginateHelper.js.map +1 -1
  24. package/dist/browser/parameters.d.ts +7 -5
  25. package/dist/browser/parameters.d.ts.map +1 -1
  26. package/dist/browser/parameters.js.map +1 -1
  27. package/dist/browser/pollingHelper.d.ts +67 -2
  28. package/dist/browser/pollingHelper.d.ts.map +1 -1
  29. package/dist/browser/pollingHelper.js +65 -9
  30. package/dist/browser/pollingHelper.js.map +1 -1
  31. package/dist/browser/responses.d.ts +50 -62
  32. package/dist/browser/responses.d.ts.map +1 -1
  33. package/dist/browser/responses.js.map +1 -1
  34. package/dist/commonjs/clientDefinitions.d.ts +51 -51
  35. package/dist/commonjs/clientDefinitions.js.map +1 -1
  36. package/dist/commonjs/deviceUpdate.d.ts +12 -1
  37. package/dist/commonjs/deviceUpdate.d.ts.map +1 -1
  38. package/dist/commonjs/deviceUpdate.js +31 -9
  39. package/dist/commonjs/deviceUpdate.js.map +1 -1
  40. package/dist/commonjs/isUnexpected.d.ts +51 -51
  41. package/dist/commonjs/isUnexpected.js +37 -30
  42. package/dist/commonjs/isUnexpected.js.map +1 -1
  43. package/dist/commonjs/logger.d.ts +2 -0
  44. package/dist/commonjs/logger.d.ts.map +1 -0
  45. package/dist/commonjs/logger.js +8 -0
  46. package/dist/commonjs/logger.js.map +1 -0
  47. package/dist/commonjs/models.d.ts +11 -10
  48. package/dist/commonjs/models.d.ts.map +1 -1
  49. package/dist/commonjs/models.js.map +1 -1
  50. package/dist/commonjs/outputModels.d.ts +53 -5
  51. package/dist/commonjs/outputModels.d.ts.map +1 -1
  52. package/dist/commonjs/outputModels.js.map +1 -1
  53. package/dist/commonjs/paginateHelper.d.ts +27 -2
  54. package/dist/commonjs/paginateHelper.d.ts.map +1 -1
  55. package/dist/commonjs/paginateHelper.js +99 -2
  56. package/dist/commonjs/paginateHelper.js.map +1 -1
  57. package/dist/commonjs/parameters.d.ts +7 -5
  58. package/dist/commonjs/parameters.d.ts.map +1 -1
  59. package/dist/commonjs/parameters.js.map +1 -1
  60. package/dist/commonjs/pollingHelper.d.ts +67 -2
  61. package/dist/commonjs/pollingHelper.d.ts.map +1 -1
  62. package/dist/commonjs/pollingHelper.js +64 -8
  63. package/dist/commonjs/pollingHelper.js.map +1 -1
  64. package/dist/commonjs/responses.d.ts +50 -62
  65. package/dist/commonjs/responses.d.ts.map +1 -1
  66. package/dist/commonjs/responses.js.map +1 -1
  67. package/dist/esm/clientDefinitions.d.ts +51 -51
  68. package/dist/esm/clientDefinitions.js.map +1 -1
  69. package/dist/esm/deviceUpdate.d.ts +12 -1
  70. package/dist/esm/deviceUpdate.d.ts.map +1 -1
  71. package/dist/esm/deviceUpdate.js +31 -9
  72. package/dist/esm/deviceUpdate.js.map +1 -1
  73. package/dist/esm/isUnexpected.d.ts +51 -51
  74. package/dist/esm/isUnexpected.js +37 -30
  75. package/dist/esm/isUnexpected.js.map +1 -1
  76. package/dist/esm/logger.d.ts +2 -0
  77. package/dist/esm/logger.d.ts.map +1 -0
  78. package/dist/esm/logger.js +5 -0
  79. package/dist/esm/logger.js.map +1 -0
  80. package/dist/esm/models.d.ts +11 -10
  81. package/dist/esm/models.d.ts.map +1 -1
  82. package/dist/esm/models.js.map +1 -1
  83. package/dist/esm/outputModels.d.ts +53 -5
  84. package/dist/esm/outputModels.d.ts.map +1 -1
  85. package/dist/esm/outputModels.js.map +1 -1
  86. package/dist/esm/paginateHelper.d.ts +27 -2
  87. package/dist/esm/paginateHelper.d.ts.map +1 -1
  88. package/dist/esm/paginateHelper.js +98 -1
  89. package/dist/esm/paginateHelper.js.map +1 -1
  90. package/dist/esm/parameters.d.ts +7 -5
  91. package/dist/esm/parameters.d.ts.map +1 -1
  92. package/dist/esm/parameters.js.map +1 -1
  93. package/dist/esm/pollingHelper.d.ts +67 -2
  94. package/dist/esm/pollingHelper.d.ts.map +1 -1
  95. package/dist/esm/pollingHelper.js +65 -9
  96. package/dist/esm/pollingHelper.js.map +1 -1
  97. package/dist/esm/responses.d.ts +50 -62
  98. package/dist/esm/responses.d.ts.map +1 -1
  99. package/dist/esm/responses.js.map +1 -1
  100. package/dist/react-native/clientDefinitions.d.ts +51 -51
  101. package/dist/react-native/clientDefinitions.js.map +1 -1
  102. package/dist/react-native/deviceUpdate.d.ts +12 -1
  103. package/dist/react-native/deviceUpdate.d.ts.map +1 -1
  104. package/dist/react-native/deviceUpdate.js +31 -9
  105. package/dist/react-native/deviceUpdate.js.map +1 -1
  106. package/dist/react-native/isUnexpected.d.ts +51 -51
  107. package/dist/react-native/isUnexpected.js +37 -30
  108. package/dist/react-native/isUnexpected.js.map +1 -1
  109. package/dist/react-native/logger.d.ts +2 -0
  110. package/dist/react-native/logger.d.ts.map +1 -0
  111. package/dist/react-native/logger.js +5 -0
  112. package/dist/react-native/logger.js.map +1 -0
  113. package/dist/react-native/models.d.ts +11 -10
  114. package/dist/react-native/models.d.ts.map +1 -1
  115. package/dist/react-native/models.js.map +1 -1
  116. package/dist/react-native/outputModels.d.ts +53 -5
  117. package/dist/react-native/outputModels.d.ts.map +1 -1
  118. package/dist/react-native/outputModels.js.map +1 -1
  119. package/dist/react-native/paginateHelper.d.ts +27 -2
  120. package/dist/react-native/paginateHelper.d.ts.map +1 -1
  121. package/dist/react-native/paginateHelper.js +98 -1
  122. package/dist/react-native/paginateHelper.js.map +1 -1
  123. package/dist/react-native/parameters.d.ts +7 -5
  124. package/dist/react-native/parameters.d.ts.map +1 -1
  125. package/dist/react-native/parameters.js.map +1 -1
  126. package/dist/react-native/pollingHelper.d.ts +67 -2
  127. package/dist/react-native/pollingHelper.d.ts.map +1 -1
  128. package/dist/react-native/pollingHelper.js +65 -9
  129. package/dist/react-native/pollingHelper.js.map +1 -1
  130. package/dist/react-native/responses.d.ts +50 -62
  131. package/dist/react-native/responses.d.ts.map +1 -1
  132. package/dist/react-native/responses.js.map +1 -1
  133. package/package.json +4 -3
@@ -1,187 +1,187 @@
1
1
  import type { DeviceUpdateListUpdatesParameters, DeviceUpdateImportUpdateParameters, DeviceUpdateGetUpdateParameters, DeviceUpdateDeleteUpdateParameters, DeviceUpdateListProvidersParameters, DeviceUpdateListNamesParameters, DeviceUpdateListVersionsParameters, DeviceUpdateListFilesParameters, DeviceUpdateGetFileParameters, DeviceUpdateListOperationStatusesParameters, DeviceUpdateGetOperationStatusParameters, DeviceManagementListDeviceClassesParameters, DeviceManagementGetDeviceClassParameters, DeviceManagementUpdateDeviceClassParameters, DeviceManagementDeleteDeviceClassParameters, DeviceManagementListInstallableUpdatesForDeviceClassParameters, DeviceManagementListDevicesParameters, DeviceManagementImportDevicesParameters, DeviceManagementGetDeviceParameters, DeviceManagementGetDeviceModuleParameters, DeviceManagementGetUpdateComplianceParameters, DeviceManagementListGroupsParameters, DeviceManagementGetGroupParameters, DeviceManagementDeleteGroupParameters, DeviceManagementGetUpdateComplianceForGroupParameters, DeviceManagementListBestUpdatesForGroupParameters, DeviceManagementListDeploymentsForGroupParameters, DeviceManagementGetDeploymentParameters, DeviceManagementCreateOrUpdateDeploymentParameters, DeviceManagementDeleteDeploymentParameters, DeviceManagementGetDeploymentStatusParameters, DeviceManagementListDeviceClassSubgroupsForGroupParameters, DeviceManagementGetDeviceClassSubgroupParameters, DeviceManagementDeleteDeviceClassSubgroupParameters, DeviceManagementGetDeviceClassSubgroupUpdateComplianceParameters, DeviceManagementGetBestUpdatesForDeviceClassSubgroupParameters, DeviceManagementListDeploymentsForDeviceClassSubgroupParameters, DeviceManagementGetDeploymentForDeviceClassSubgroupParameters, DeviceManagementDeleteDeploymentForDeviceClassSubgroupParameters, DeviceManagementStopDeploymentParameters, DeviceManagementRetryDeploymentParameters, DeviceManagementGetDeviceClassSubgroupDeploymentStatusParameters, DeviceManagementListDeviceStatesForDeviceClassSubgroupDeploymentParameters, DeviceManagementGetOperationStatusParameters, DeviceManagementListOperationStatusesParameters, DeviceManagementStartLogCollectionParameters, DeviceManagementGetLogCollectionParameters, DeviceManagementListLogCollectionsParameters, DeviceManagementGetLogCollectionDetailedStatusParameters, DeviceManagementListHealthOfDevicesParameters } from "./parameters.js";
2
- import type { DeviceUpdateListUpdates200Response, DeviceUpdateListUpdatesdefaultResponse, DeviceUpdateImportUpdate200Response, DeviceUpdateImportUpdate202Response, DeviceUpdateImportUpdatedefaultResponse, DeviceUpdateGetUpdate200Response, DeviceUpdateGetUpdate304Response, DeviceUpdateGetUpdatedefaultResponse, DeviceUpdateDeleteUpdate202Response, DeviceUpdateDeleteUpdatedefaultResponse, DeviceUpdateListProviders200Response, DeviceUpdateListProvidersdefaultResponse, DeviceUpdateListNames200Response, DeviceUpdateListNamesdefaultResponse, DeviceUpdateListVersions200Response, DeviceUpdateListVersionsdefaultResponse, DeviceUpdateListFiles200Response, DeviceUpdateListFilesdefaultResponse, DeviceUpdateGetFile200Response, DeviceUpdateGetFile304Response, DeviceUpdateGetFiledefaultResponse, DeviceUpdateListOperationStatuses200Response, DeviceUpdateListOperationStatusesdefaultResponse, DeviceUpdateGetOperationStatus200Response, DeviceUpdateGetOperationStatus304Response, DeviceUpdateGetOperationStatusdefaultResponse, DeviceManagementListDeviceClasses200Response, DeviceManagementListDeviceClassesdefaultResponse, DeviceManagementGetDeviceClass200Response, DeviceManagementGetDeviceClassdefaultResponse, DeviceManagementUpdateDeviceClass200Response, DeviceManagementUpdateDeviceClassdefaultResponse, DeviceManagementDeleteDeviceClass204Response, DeviceManagementDeleteDeviceClassdefaultResponse, DeviceManagementListInstallableUpdatesForDeviceClass200Response, DeviceManagementListInstallableUpdatesForDeviceClassdefaultResponse, DeviceManagementListDevices200Response, DeviceManagementListDevicesdefaultResponse, DeviceManagementImportDevices202Response, DeviceManagementImportDevicesdefaultResponse, DeviceManagementGetDevice200Response, DeviceManagementGetDevicedefaultResponse, DeviceManagementGetDeviceModule200Response, DeviceManagementGetDeviceModuledefaultResponse, DeviceManagementGetUpdateCompliance200Response, DeviceManagementGetUpdateCompliancedefaultResponse, DeviceManagementListGroups200Response, DeviceManagementListGroupsdefaultResponse, DeviceManagementGetGroup200Response, DeviceManagementGetGroupdefaultResponse, DeviceManagementDeleteGroup204Response, DeviceManagementDeleteGroupdefaultResponse, DeviceManagementGetUpdateComplianceForGroup200Response, DeviceManagementGetUpdateComplianceForGroupdefaultResponse, DeviceManagementListBestUpdatesForGroup200Response, DeviceManagementListBestUpdatesForGroupdefaultResponse, DeviceManagementListDeploymentsForGroup200Response, DeviceManagementListDeploymentsForGroupdefaultResponse, DeviceManagementGetDeployment200Response, DeviceManagementGetDeploymentdefaultResponse, DeviceManagementCreateOrUpdateDeployment200Response, DeviceManagementCreateOrUpdateDeploymentdefaultResponse, DeviceManagementDeleteDeployment204Response, DeviceManagementDeleteDeploymentdefaultResponse, DeviceManagementGetDeploymentStatus200Response, DeviceManagementGetDeploymentStatusdefaultResponse, DeviceManagementListDeviceClassSubgroupsForGroup200Response, DeviceManagementListDeviceClassSubgroupsForGroupdefaultResponse, DeviceManagementGetDeviceClassSubgroup200Response, DeviceManagementGetDeviceClassSubgroupdefaultResponse, DeviceManagementDeleteDeviceClassSubgroup204Response, DeviceManagementDeleteDeviceClassSubgroupdefaultResponse, DeviceManagementGetDeviceClassSubgroupUpdateCompliance200Response, DeviceManagementGetDeviceClassSubgroupUpdateCompliancedefaultResponse, DeviceManagementGetBestUpdatesForDeviceClassSubgroup200Response, DeviceManagementGetBestUpdatesForDeviceClassSubgroupdefaultResponse, DeviceManagementListDeploymentsForDeviceClassSubgroup200Response, DeviceManagementListDeploymentsForDeviceClassSubgroupdefaultResponse, DeviceManagementGetDeploymentForDeviceClassSubgroup200Response, DeviceManagementGetDeploymentForDeviceClassSubgroupdefaultResponse, DeviceManagementDeleteDeploymentForDeviceClassSubgroup204Response, DeviceManagementDeleteDeploymentForDeviceClassSubgroupdefaultResponse, DeviceManagementStopDeployment200Response, DeviceManagementStopDeploymentdefaultResponse, DeviceManagementRetryDeployment200Response, DeviceManagementRetryDeploymentdefaultResponse, DeviceManagementGetDeviceClassSubgroupDeploymentStatus200Response, DeviceManagementGetDeviceClassSubgroupDeploymentStatusdefaultResponse, DeviceManagementListDeviceStatesForDeviceClassSubgroupDeployment200Response, DeviceManagementListDeviceStatesForDeviceClassSubgroupDeploymentdefaultResponse, DeviceManagementGetOperationStatus200Response, DeviceManagementGetOperationStatus304Response, DeviceManagementGetOperationStatusdefaultResponse, DeviceManagementListOperationStatuses200Response, DeviceManagementListOperationStatusesdefaultResponse, DeviceManagementStartLogCollection201Response, DeviceManagementStartLogCollectiondefaultResponse, DeviceManagementGetLogCollection200Response, DeviceManagementGetLogCollectiondefaultResponse, DeviceManagementListLogCollections200Response, DeviceManagementListLogCollectionsdefaultResponse, DeviceManagementGetLogCollectionDetailedStatus200Response, DeviceManagementGetLogCollectionDetailedStatusdefaultResponse, DeviceManagementListHealthOfDevices200Response, DeviceManagementListHealthOfDevicesdefaultResponse } from "./responses.js";
2
+ import type { DeviceUpdateListUpdates200Response, DeviceUpdateListUpdatesDefaultResponse, DeviceUpdateImportUpdate200Response, DeviceUpdateImportUpdate202Response, DeviceUpdateImportUpdateDefaultResponse, DeviceUpdateGetUpdate200Response, DeviceUpdateGetUpdate304Response, DeviceUpdateGetUpdateDefaultResponse, DeviceUpdateDeleteUpdate202Response, DeviceUpdateDeleteUpdateDefaultResponse, DeviceUpdateListProviders200Response, DeviceUpdateListProvidersDefaultResponse, DeviceUpdateListNames200Response, DeviceUpdateListNamesDefaultResponse, DeviceUpdateListVersions200Response, DeviceUpdateListVersionsDefaultResponse, DeviceUpdateListFiles200Response, DeviceUpdateListFilesDefaultResponse, DeviceUpdateGetFile200Response, DeviceUpdateGetFile304Response, DeviceUpdateGetFileDefaultResponse, DeviceUpdateListOperationStatuses200Response, DeviceUpdateListOperationStatusesDefaultResponse, DeviceUpdateGetOperationStatus200Response, DeviceUpdateGetOperationStatus304Response, DeviceUpdateGetOperationStatusDefaultResponse, DeviceManagementListDeviceClasses200Response, DeviceManagementListDeviceClassesDefaultResponse, DeviceManagementGetDeviceClass200Response, DeviceManagementGetDeviceClassDefaultResponse, DeviceManagementUpdateDeviceClass200Response, DeviceManagementUpdateDeviceClassDefaultResponse, DeviceManagementDeleteDeviceClass204Response, DeviceManagementDeleteDeviceClassDefaultResponse, DeviceManagementListInstallableUpdatesForDeviceClass200Response, DeviceManagementListInstallableUpdatesForDeviceClassDefaultResponse, DeviceManagementListDevices200Response, DeviceManagementListDevicesDefaultResponse, DeviceManagementImportDevices202Response, DeviceManagementImportDevicesDefaultResponse, DeviceManagementGetDevice200Response, DeviceManagementGetDeviceDefaultResponse, DeviceManagementGetDeviceModule200Response, DeviceManagementGetDeviceModuleDefaultResponse, DeviceManagementGetUpdateCompliance200Response, DeviceManagementGetUpdateComplianceDefaultResponse, DeviceManagementListGroups200Response, DeviceManagementListGroupsDefaultResponse, DeviceManagementGetGroup200Response, DeviceManagementGetGroupDefaultResponse, DeviceManagementDeleteGroup204Response, DeviceManagementDeleteGroupDefaultResponse, DeviceManagementGetUpdateComplianceForGroup200Response, DeviceManagementGetUpdateComplianceForGroupDefaultResponse, DeviceManagementListBestUpdatesForGroup200Response, DeviceManagementListBestUpdatesForGroupDefaultResponse, DeviceManagementListDeploymentsForGroup200Response, DeviceManagementListDeploymentsForGroupDefaultResponse, DeviceManagementGetDeployment200Response, DeviceManagementGetDeploymentDefaultResponse, DeviceManagementCreateOrUpdateDeployment200Response, DeviceManagementCreateOrUpdateDeploymentDefaultResponse, DeviceManagementDeleteDeployment204Response, DeviceManagementDeleteDeploymentDefaultResponse, DeviceManagementGetDeploymentStatus200Response, DeviceManagementGetDeploymentStatusDefaultResponse, DeviceManagementListDeviceClassSubgroupsForGroup200Response, DeviceManagementListDeviceClassSubgroupsForGroupDefaultResponse, DeviceManagementGetDeviceClassSubgroup200Response, DeviceManagementGetDeviceClassSubgroupDefaultResponse, DeviceManagementDeleteDeviceClassSubgroup204Response, DeviceManagementDeleteDeviceClassSubgroupDefaultResponse, DeviceManagementGetDeviceClassSubgroupUpdateCompliance200Response, DeviceManagementGetDeviceClassSubgroupUpdateComplianceDefaultResponse, DeviceManagementGetBestUpdatesForDeviceClassSubgroup200Response, DeviceManagementGetBestUpdatesForDeviceClassSubgroupDefaultResponse, DeviceManagementListDeploymentsForDeviceClassSubgroup200Response, DeviceManagementListDeploymentsForDeviceClassSubgroupDefaultResponse, DeviceManagementGetDeploymentForDeviceClassSubgroup200Response, DeviceManagementGetDeploymentForDeviceClassSubgroupDefaultResponse, DeviceManagementDeleteDeploymentForDeviceClassSubgroup204Response, DeviceManagementDeleteDeploymentForDeviceClassSubgroupDefaultResponse, DeviceManagementStopDeployment200Response, DeviceManagementStopDeploymentDefaultResponse, DeviceManagementRetryDeployment200Response, DeviceManagementRetryDeploymentDefaultResponse, DeviceManagementGetDeviceClassSubgroupDeploymentStatus200Response, DeviceManagementGetDeviceClassSubgroupDeploymentStatusDefaultResponse, DeviceManagementListDeviceStatesForDeviceClassSubgroupDeployment200Response, DeviceManagementListDeviceStatesForDeviceClassSubgroupDeploymentDefaultResponse, DeviceManagementGetOperationStatus200Response, DeviceManagementGetOperationStatus304Response, DeviceManagementGetOperationStatusDefaultResponse, DeviceManagementListOperationStatuses200Response, DeviceManagementListOperationStatusesDefaultResponse, DeviceManagementStartLogCollection201Response, DeviceManagementStartLogCollectionDefaultResponse, DeviceManagementGetLogCollection200Response, DeviceManagementGetLogCollectionDefaultResponse, DeviceManagementListLogCollections200Response, DeviceManagementListLogCollectionsDefaultResponse, DeviceManagementGetLogCollectionDetailedStatus200Response, DeviceManagementGetLogCollectionDetailedStatusDefaultResponse, DeviceManagementListHealthOfDevices200Response, DeviceManagementListHealthOfDevicesDefaultResponse } from "./responses.js";
3
3
  import type { Client, StreamableMethod } from "@azure-rest/core-client";
4
4
  export interface DeviceUpdateListUpdates {
5
5
  /** Get a list of all updates that have been imported to Device Update for IoT Hub. */
6
- get(options?: DeviceUpdateListUpdatesParameters): StreamableMethod<DeviceUpdateListUpdates200Response | DeviceUpdateListUpdatesdefaultResponse>;
6
+ get(options?: DeviceUpdateListUpdatesParameters): StreamableMethod<DeviceUpdateListUpdates200Response | DeviceUpdateListUpdatesDefaultResponse>;
7
7
  }
8
8
  export interface DeviceUpdateImportUpdate {
9
9
  /** Import new update version. This is a long-running-operation; use Operation-Location response header value to check for operation status. */
10
- post(options: DeviceUpdateImportUpdateParameters): StreamableMethod<DeviceUpdateImportUpdate200Response | DeviceUpdateImportUpdate202Response | DeviceUpdateImportUpdatedefaultResponse>;
10
+ post(options: DeviceUpdateImportUpdateParameters): StreamableMethod<DeviceUpdateImportUpdate200Response | DeviceUpdateImportUpdate202Response | DeviceUpdateImportUpdateDefaultResponse>;
11
11
  }
12
12
  export interface DeviceUpdateGetUpdate {
13
13
  /** Get a specific update version. */
14
- get(options?: DeviceUpdateGetUpdateParameters): StreamableMethod<DeviceUpdateGetUpdate200Response | DeviceUpdateGetUpdate304Response | DeviceUpdateGetUpdatedefaultResponse>;
14
+ get(options?: DeviceUpdateGetUpdateParameters): StreamableMethod<DeviceUpdateGetUpdate200Response | DeviceUpdateGetUpdate304Response | DeviceUpdateGetUpdateDefaultResponse>;
15
15
  /** Delete a specific update version. This is a long-running-operation; use Operation-Location response header value to check for operation status. */
16
- delete(options?: DeviceUpdateDeleteUpdateParameters): StreamableMethod<DeviceUpdateDeleteUpdate202Response | DeviceUpdateDeleteUpdatedefaultResponse>;
16
+ delete(options?: DeviceUpdateDeleteUpdateParameters): StreamableMethod<DeviceUpdateDeleteUpdate202Response | DeviceUpdateDeleteUpdateDefaultResponse>;
17
17
  }
18
18
  export interface DeviceUpdateListProviders {
19
19
  /** Get a list of all update providers that have been imported to Device Update for IoT Hub. */
20
- get(options?: DeviceUpdateListProvidersParameters): StreamableMethod<DeviceUpdateListProviders200Response | DeviceUpdateListProvidersdefaultResponse>;
20
+ get(options?: DeviceUpdateListProvidersParameters): StreamableMethod<DeviceUpdateListProviders200Response | DeviceUpdateListProvidersDefaultResponse>;
21
21
  }
22
22
  export interface DeviceUpdateListNames {
23
23
  /** Get a list of all update names that match the specified provider. */
24
- get(options?: DeviceUpdateListNamesParameters): StreamableMethod<DeviceUpdateListNames200Response | DeviceUpdateListNamesdefaultResponse>;
24
+ get(options?: DeviceUpdateListNamesParameters): StreamableMethod<DeviceUpdateListNames200Response | DeviceUpdateListNamesDefaultResponse>;
25
25
  }
26
26
  export interface DeviceUpdateListVersions {
27
27
  /** Get a list of all update versions that match the specified provider and name. */
28
- get(options?: DeviceUpdateListVersionsParameters): StreamableMethod<DeviceUpdateListVersions200Response | DeviceUpdateListVersionsdefaultResponse>;
28
+ get(options?: DeviceUpdateListVersionsParameters): StreamableMethod<DeviceUpdateListVersions200Response | DeviceUpdateListVersionsDefaultResponse>;
29
29
  }
30
30
  export interface DeviceUpdateListFiles {
31
31
  /** Get a list of all update file identifiers for the specified version. */
32
- get(options?: DeviceUpdateListFilesParameters): StreamableMethod<DeviceUpdateListFiles200Response | DeviceUpdateListFilesdefaultResponse>;
32
+ get(options?: DeviceUpdateListFilesParameters): StreamableMethod<DeviceUpdateListFiles200Response | DeviceUpdateListFilesDefaultResponse>;
33
33
  }
34
34
  export interface DeviceUpdateGetFile {
35
35
  /** Get a specific update file from the version. */
36
- get(options?: DeviceUpdateGetFileParameters): StreamableMethod<DeviceUpdateGetFile200Response | DeviceUpdateGetFile304Response | DeviceUpdateGetFiledefaultResponse>;
36
+ get(options?: DeviceUpdateGetFileParameters): StreamableMethod<DeviceUpdateGetFile200Response | DeviceUpdateGetFile304Response | DeviceUpdateGetFileDefaultResponse>;
37
37
  }
38
38
  export interface DeviceUpdateListOperationStatuses {
39
39
  /** 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. */
40
- get(options?: DeviceUpdateListOperationStatusesParameters): StreamableMethod<DeviceUpdateListOperationStatuses200Response | DeviceUpdateListOperationStatusesdefaultResponse>;
40
+ get(options?: DeviceUpdateListOperationStatusesParameters): StreamableMethod<DeviceUpdateListOperationStatuses200Response | DeviceUpdateListOperationStatusesDefaultResponse>;
41
41
  }
42
42
  export interface DeviceUpdateGetOperationStatus {
43
43
  /** Retrieve operation status. */
44
- get(options?: DeviceUpdateGetOperationStatusParameters): StreamableMethod<DeviceUpdateGetOperationStatus200Response | DeviceUpdateGetOperationStatus304Response | DeviceUpdateGetOperationStatusdefaultResponse>;
44
+ get(options?: DeviceUpdateGetOperationStatusParameters): StreamableMethod<DeviceUpdateGetOperationStatus200Response | DeviceUpdateGetOperationStatus304Response | DeviceUpdateGetOperationStatusDefaultResponse>;
45
45
  }
46
46
  export interface DeviceManagementListDeviceClasses {
47
47
  /** Gets a list of all device classes (sets of devices compatible with the same updates based on the model Id and compat properties reported in the Device Update PnP interface in IoT Hub) for all devices connected to Device Update for IoT Hub. */
48
- get(options?: DeviceManagementListDeviceClassesParameters): StreamableMethod<DeviceManagementListDeviceClasses200Response | DeviceManagementListDeviceClassesdefaultResponse>;
48
+ get(options?: DeviceManagementListDeviceClassesParameters): StreamableMethod<DeviceManagementListDeviceClasses200Response | DeviceManagementListDeviceClassesDefaultResponse>;
49
49
  }
50
50
  export interface DeviceManagementGetDeviceClass {
51
51
  /** Gets the properties of a device class. */
52
- get(options?: DeviceManagementGetDeviceClassParameters): StreamableMethod<DeviceManagementGetDeviceClass200Response | DeviceManagementGetDeviceClassdefaultResponse>;
52
+ get(options?: DeviceManagementGetDeviceClassParameters): StreamableMethod<DeviceManagementGetDeviceClass200Response | DeviceManagementGetDeviceClassDefaultResponse>;
53
53
  /** Update device class details. */
54
- patch(options: DeviceManagementUpdateDeviceClassParameters): StreamableMethod<DeviceManagementUpdateDeviceClass200Response | DeviceManagementUpdateDeviceClassdefaultResponse>;
54
+ patch(options: DeviceManagementUpdateDeviceClassParameters): StreamableMethod<DeviceManagementUpdateDeviceClass200Response | DeviceManagementUpdateDeviceClassDefaultResponse>;
55
55
  /** Deletes a device class. Device classes are created automatically when Device Update-enabled devices are connected to the hub but are not automatically cleaned up since they are referenced by DeviceClassSubgroups. If the user has deleted all DeviceClassSubgroups for a device class they can also delete the device class to remove the records from the system and to stop checking the compatibility of this device class with new updates. If a device is ever reconnected for this device class it will be re-created. */
56
- delete(options?: DeviceManagementDeleteDeviceClassParameters): StreamableMethod<DeviceManagementDeleteDeviceClass204Response | DeviceManagementDeleteDeviceClassdefaultResponse>;
56
+ delete(options?: DeviceManagementDeleteDeviceClassParameters): StreamableMethod<DeviceManagementDeleteDeviceClass204Response | DeviceManagementDeleteDeviceClassDefaultResponse>;
57
57
  }
58
58
  export interface DeviceManagementListInstallableUpdatesForDeviceClass {
59
59
  /** Gets a list of installable updates for a device class. */
60
- get(options?: DeviceManagementListInstallableUpdatesForDeviceClassParameters): StreamableMethod<DeviceManagementListInstallableUpdatesForDeviceClass200Response | DeviceManagementListInstallableUpdatesForDeviceClassdefaultResponse>;
60
+ get(options?: DeviceManagementListInstallableUpdatesForDeviceClassParameters): StreamableMethod<DeviceManagementListInstallableUpdatesForDeviceClass200Response | DeviceManagementListInstallableUpdatesForDeviceClassDefaultResponse>;
61
61
  }
62
62
  export interface DeviceManagementListDevices {
63
63
  /** Gets a list of devices connected to Device Update for IoT Hub. */
64
- get(options?: DeviceManagementListDevicesParameters): StreamableMethod<DeviceManagementListDevices200Response | DeviceManagementListDevicesdefaultResponse>;
64
+ get(options?: DeviceManagementListDevicesParameters): StreamableMethod<DeviceManagementListDevices200Response | DeviceManagementListDevicesDefaultResponse>;
65
65
  }
66
66
  export interface DeviceManagementImportDevices {
67
67
  /** Import existing devices from IoT Hub. This is a long-running-operation; use Operation-Location response header value to check for operation status. */
68
- post(options: DeviceManagementImportDevicesParameters): StreamableMethod<DeviceManagementImportDevices202Response | DeviceManagementImportDevicesdefaultResponse>;
68
+ post(options: DeviceManagementImportDevicesParameters): StreamableMethod<DeviceManagementImportDevices202Response | DeviceManagementImportDevicesDefaultResponse>;
69
69
  }
70
70
  export interface DeviceManagementGetDevice {
71
71
  /** Gets the device properties and latest deployment status for a device connected to Device Update for IoT Hub. */
72
- get(options?: DeviceManagementGetDeviceParameters): StreamableMethod<DeviceManagementGetDevice200Response | DeviceManagementGetDevicedefaultResponse>;
72
+ get(options?: DeviceManagementGetDeviceParameters): StreamableMethod<DeviceManagementGetDevice200Response | DeviceManagementGetDeviceDefaultResponse>;
73
73
  }
74
74
  export interface DeviceManagementGetDeviceModule {
75
75
  /** Gets the device module properties and latest deployment status for a device module connected to Device Update for IoT Hub. */
76
- get(options?: DeviceManagementGetDeviceModuleParameters): StreamableMethod<DeviceManagementGetDeviceModule200Response | DeviceManagementGetDeviceModuledefaultResponse>;
76
+ get(options?: DeviceManagementGetDeviceModuleParameters): StreamableMethod<DeviceManagementGetDeviceModule200Response | DeviceManagementGetDeviceModuleDefaultResponse>;
77
77
  }
78
78
  export interface DeviceManagementGetUpdateCompliance {
79
79
  /** Gets the breakdown of how many devices are on their latest update, have new updates available, or are in progress receiving new updates. */
80
- get(options?: DeviceManagementGetUpdateComplianceParameters): StreamableMethod<DeviceManagementGetUpdateCompliance200Response | DeviceManagementGetUpdateCompliancedefaultResponse>;
80
+ get(options?: DeviceManagementGetUpdateComplianceParameters): StreamableMethod<DeviceManagementGetUpdateCompliance200Response | DeviceManagementGetUpdateComplianceDefaultResponse>;
81
81
  }
82
82
  export interface DeviceManagementListGroups {
83
83
  /** Gets a list of all device groups. The $default group will always be returned first. */
84
- get(options?: DeviceManagementListGroupsParameters): StreamableMethod<DeviceManagementListGroups200Response | DeviceManagementListGroupsdefaultResponse>;
84
+ get(options?: DeviceManagementListGroupsParameters): StreamableMethod<DeviceManagementListGroups200Response | DeviceManagementListGroupsDefaultResponse>;
85
85
  }
86
86
  export interface DeviceManagementGetGroup {
87
87
  /** Gets the device group properties. */
88
- get(options?: DeviceManagementGetGroupParameters): StreamableMethod<DeviceManagementGetGroup200Response | DeviceManagementGetGroupdefaultResponse>;
88
+ get(options?: DeviceManagementGetGroupParameters): StreamableMethod<DeviceManagementGetGroup200Response | DeviceManagementGetGroupDefaultResponse>;
89
89
  /** Deletes a device group. This group is automatically created when a Device Update-enabled device is connected to the hub and reports its properties. Groups, subgroups, and deployments are not automatically cleaned up but are retained for history purposes. Users can call this method to delete a group if they do not need to retain any of the history of the group and no longer need it. If a device is ever connected again for this group after the group was deleted it will be automatically re-created but there will be no history. */
90
- delete(options?: DeviceManagementDeleteGroupParameters): StreamableMethod<DeviceManagementDeleteGroup204Response | DeviceManagementDeleteGroupdefaultResponse>;
90
+ delete(options?: DeviceManagementDeleteGroupParameters): StreamableMethod<DeviceManagementDeleteGroup204Response | DeviceManagementDeleteGroupDefaultResponse>;
91
91
  }
92
92
  export interface DeviceManagementGetUpdateComplianceForGroup {
93
93
  /** Get device group update compliance information such as how many devices are on their latest update, how many need new updates, and how many are in progress on receiving a new update. */
94
- get(options?: DeviceManagementGetUpdateComplianceForGroupParameters): StreamableMethod<DeviceManagementGetUpdateComplianceForGroup200Response | DeviceManagementGetUpdateComplianceForGroupdefaultResponse>;
94
+ get(options?: DeviceManagementGetUpdateComplianceForGroupParameters): StreamableMethod<DeviceManagementGetUpdateComplianceForGroup200Response | DeviceManagementGetUpdateComplianceForGroupDefaultResponse>;
95
95
  }
96
96
  export interface DeviceManagementListBestUpdatesForGroup {
97
97
  /** Get the best available updates for a device group and a count of how many devices need each update. */
98
- get(options?: DeviceManagementListBestUpdatesForGroupParameters): StreamableMethod<DeviceManagementListBestUpdatesForGroup200Response | DeviceManagementListBestUpdatesForGroupdefaultResponse>;
98
+ get(options?: DeviceManagementListBestUpdatesForGroupParameters): StreamableMethod<DeviceManagementListBestUpdatesForGroup200Response | DeviceManagementListBestUpdatesForGroupDefaultResponse>;
99
99
  }
100
100
  export interface DeviceManagementListDeploymentsForGroup {
101
101
  /** Gets a list of deployments for a device group. */
102
- get(options?: DeviceManagementListDeploymentsForGroupParameters): StreamableMethod<DeviceManagementListDeploymentsForGroup200Response | DeviceManagementListDeploymentsForGroupdefaultResponse>;
102
+ get(options?: DeviceManagementListDeploymentsForGroupParameters): StreamableMethod<DeviceManagementListDeploymentsForGroup200Response | DeviceManagementListDeploymentsForGroupDefaultResponse>;
103
103
  }
104
104
  export interface DeviceManagementGetDeployment {
105
105
  /** Gets the deployment properties. */
106
- get(options?: DeviceManagementGetDeploymentParameters): StreamableMethod<DeviceManagementGetDeployment200Response | DeviceManagementGetDeploymentdefaultResponse>;
106
+ get(options?: DeviceManagementGetDeploymentParameters): StreamableMethod<DeviceManagementGetDeployment200Response | DeviceManagementGetDeploymentDefaultResponse>;
107
107
  /** Creates or updates a deployment. */
108
- put(options: DeviceManagementCreateOrUpdateDeploymentParameters): StreamableMethod<DeviceManagementCreateOrUpdateDeployment200Response | DeviceManagementCreateOrUpdateDeploymentdefaultResponse>;
108
+ put(options: DeviceManagementCreateOrUpdateDeploymentParameters): StreamableMethod<DeviceManagementCreateOrUpdateDeployment200Response | DeviceManagementCreateOrUpdateDeploymentDefaultResponse>;
109
109
  /** Deletes a deployment. */
110
- delete(options?: DeviceManagementDeleteDeploymentParameters): StreamableMethod<DeviceManagementDeleteDeployment204Response | DeviceManagementDeleteDeploymentdefaultResponse>;
110
+ delete(options?: DeviceManagementDeleteDeploymentParameters): StreamableMethod<DeviceManagementDeleteDeployment204Response | DeviceManagementDeleteDeploymentDefaultResponse>;
111
111
  }
112
112
  export interface DeviceManagementGetDeploymentStatus {
113
113
  /** Gets the status of a deployment including a breakdown of how many devices in the deployment are in progress, completed, or failed. */
114
- get(options?: DeviceManagementGetDeploymentStatusParameters): StreamableMethod<DeviceManagementGetDeploymentStatus200Response | DeviceManagementGetDeploymentStatusdefaultResponse>;
114
+ get(options?: DeviceManagementGetDeploymentStatusParameters): StreamableMethod<DeviceManagementGetDeploymentStatus200Response | DeviceManagementGetDeploymentStatusDefaultResponse>;
115
115
  }
116
116
  export interface DeviceManagementListDeviceClassSubgroupsForGroup {
117
117
  /** Get the device class subgroups for the group. A device class subgroup is the set of devices within the group that share the same device class. All devices within the same device class are compatible with the same updates. */
118
- get(options?: DeviceManagementListDeviceClassSubgroupsForGroupParameters): StreamableMethod<DeviceManagementListDeviceClassSubgroupsForGroup200Response | DeviceManagementListDeviceClassSubgroupsForGroupdefaultResponse>;
118
+ get(options?: DeviceManagementListDeviceClassSubgroupsForGroupParameters): StreamableMethod<DeviceManagementListDeviceClassSubgroupsForGroup200Response | DeviceManagementListDeviceClassSubgroupsForGroupDefaultResponse>;
119
119
  }
120
120
  export interface DeviceManagementGetDeviceClassSubgroup {
121
121
  /** Gets device class subgroup details. A device class subgroup is the set of devices within the group that share the same device class. All devices within the same device class are compatible with the same updates. */
122
- get(options?: DeviceManagementGetDeviceClassSubgroupParameters): StreamableMethod<DeviceManagementGetDeviceClassSubgroup200Response | DeviceManagementGetDeviceClassSubgroupdefaultResponse>;
122
+ get(options?: DeviceManagementGetDeviceClassSubgroupParameters): StreamableMethod<DeviceManagementGetDeviceClassSubgroup200Response | DeviceManagementGetDeviceClassSubgroupDefaultResponse>;
123
123
  /** Deletes a device class subgroup. This subgroup is automatically created when a Device Update-enabled device is connected to the hub and reports its properties. Groups, subgroups, and deployments are not automatically cleaned up but are retained for history purposes. Users can call this method to delete a subgroup if they do not need to retain any of the history of the subgroup and no longer need it. If a device is ever connected again for this subgroup after the subgroup was deleted it will be automatically re-created but there will be no history. */
124
- delete(options?: DeviceManagementDeleteDeviceClassSubgroupParameters): StreamableMethod<DeviceManagementDeleteDeviceClassSubgroup204Response | DeviceManagementDeleteDeviceClassSubgroupdefaultResponse>;
124
+ delete(options?: DeviceManagementDeleteDeviceClassSubgroupParameters): StreamableMethod<DeviceManagementDeleteDeviceClassSubgroup204Response | DeviceManagementDeleteDeviceClassSubgroupDefaultResponse>;
125
125
  }
126
126
  export interface DeviceManagementGetDeviceClassSubgroupUpdateCompliance {
127
127
  /** Get device class subgroup update compliance information such as how many devices are on their latest update, how many need new updates, and how many are in progress on receiving a new update. */
128
- get(options?: DeviceManagementGetDeviceClassSubgroupUpdateComplianceParameters): StreamableMethod<DeviceManagementGetDeviceClassSubgroupUpdateCompliance200Response | DeviceManagementGetDeviceClassSubgroupUpdateCompliancedefaultResponse>;
128
+ get(options?: DeviceManagementGetDeviceClassSubgroupUpdateComplianceParameters): StreamableMethod<DeviceManagementGetDeviceClassSubgroupUpdateCompliance200Response | DeviceManagementGetDeviceClassSubgroupUpdateComplianceDefaultResponse>;
129
129
  }
130
130
  export interface DeviceManagementGetBestUpdatesForDeviceClassSubgroup {
131
131
  /** Get the best available update for a device class subgroup and a count of how many devices need this update. */
132
- get(options?: DeviceManagementGetBestUpdatesForDeviceClassSubgroupParameters): StreamableMethod<DeviceManagementGetBestUpdatesForDeviceClassSubgroup200Response | DeviceManagementGetBestUpdatesForDeviceClassSubgroupdefaultResponse>;
132
+ get(options?: DeviceManagementGetBestUpdatesForDeviceClassSubgroupParameters): StreamableMethod<DeviceManagementGetBestUpdatesForDeviceClassSubgroup200Response | DeviceManagementGetBestUpdatesForDeviceClassSubgroupDefaultResponse>;
133
133
  }
134
134
  export interface DeviceManagementListDeploymentsForDeviceClassSubgroup {
135
135
  /** Gets a list of deployments for a device class subgroup. */
136
- get(options?: DeviceManagementListDeploymentsForDeviceClassSubgroupParameters): StreamableMethod<DeviceManagementListDeploymentsForDeviceClassSubgroup200Response | DeviceManagementListDeploymentsForDeviceClassSubgroupdefaultResponse>;
136
+ get(options?: DeviceManagementListDeploymentsForDeviceClassSubgroupParameters): StreamableMethod<DeviceManagementListDeploymentsForDeviceClassSubgroup200Response | DeviceManagementListDeploymentsForDeviceClassSubgroupDefaultResponse>;
137
137
  }
138
138
  export interface DeviceManagementGetDeploymentForDeviceClassSubgroup {
139
139
  /** Gets the deployment properties. */
140
- get(options?: DeviceManagementGetDeploymentForDeviceClassSubgroupParameters): StreamableMethod<DeviceManagementGetDeploymentForDeviceClassSubgroup200Response | DeviceManagementGetDeploymentForDeviceClassSubgroupdefaultResponse>;
140
+ get(options?: DeviceManagementGetDeploymentForDeviceClassSubgroupParameters): StreamableMethod<DeviceManagementGetDeploymentForDeviceClassSubgroup200Response | DeviceManagementGetDeploymentForDeviceClassSubgroupDefaultResponse>;
141
141
  /** Deletes a device class subgroup deployment. */
142
- delete(options?: DeviceManagementDeleteDeploymentForDeviceClassSubgroupParameters): StreamableMethod<DeviceManagementDeleteDeploymentForDeviceClassSubgroup204Response | DeviceManagementDeleteDeploymentForDeviceClassSubgroupdefaultResponse>;
142
+ delete(options?: DeviceManagementDeleteDeploymentForDeviceClassSubgroupParameters): StreamableMethod<DeviceManagementDeleteDeploymentForDeviceClassSubgroup204Response | DeviceManagementDeleteDeploymentForDeviceClassSubgroupDefaultResponse>;
143
143
  }
144
144
  export interface DeviceManagementStopDeployment {
145
145
  /** Stops a deployment. */
146
- post(options?: DeviceManagementStopDeploymentParameters): StreamableMethod<DeviceManagementStopDeployment200Response | DeviceManagementStopDeploymentdefaultResponse>;
146
+ post(options?: DeviceManagementStopDeploymentParameters): StreamableMethod<DeviceManagementStopDeployment200Response | DeviceManagementStopDeploymentDefaultResponse>;
147
147
  }
148
148
  export interface DeviceManagementRetryDeployment {
149
149
  /** Retries a deployment with failed devices. */
150
- post(options?: DeviceManagementRetryDeploymentParameters): StreamableMethod<DeviceManagementRetryDeployment200Response | DeviceManagementRetryDeploymentdefaultResponse>;
150
+ post(options?: DeviceManagementRetryDeploymentParameters): StreamableMethod<DeviceManagementRetryDeployment200Response | DeviceManagementRetryDeploymentDefaultResponse>;
151
151
  }
152
152
  export interface DeviceManagementGetDeviceClassSubgroupDeploymentStatus {
153
153
  /** Gets the status of a deployment including a breakdown of how many devices in the deployment are in progress, completed, or failed. */
154
- get(options?: DeviceManagementGetDeviceClassSubgroupDeploymentStatusParameters): StreamableMethod<DeviceManagementGetDeviceClassSubgroupDeploymentStatus200Response | DeviceManagementGetDeviceClassSubgroupDeploymentStatusdefaultResponse>;
154
+ get(options?: DeviceManagementGetDeviceClassSubgroupDeploymentStatusParameters): StreamableMethod<DeviceManagementGetDeviceClassSubgroupDeploymentStatus200Response | DeviceManagementGetDeviceClassSubgroupDeploymentStatusDefaultResponse>;
155
155
  }
156
156
  export interface DeviceManagementListDeviceStatesForDeviceClassSubgroupDeployment {
157
157
  /** Gets a list of devices in a deployment along with their state. Useful for getting a list of failed devices. */
158
- get(options?: DeviceManagementListDeviceStatesForDeviceClassSubgroupDeploymentParameters): StreamableMethod<DeviceManagementListDeviceStatesForDeviceClassSubgroupDeployment200Response | DeviceManagementListDeviceStatesForDeviceClassSubgroupDeploymentdefaultResponse>;
158
+ get(options?: DeviceManagementListDeviceStatesForDeviceClassSubgroupDeploymentParameters): StreamableMethod<DeviceManagementListDeviceStatesForDeviceClassSubgroupDeployment200Response | DeviceManagementListDeviceStatesForDeviceClassSubgroupDeploymentDefaultResponse>;
159
159
  }
160
160
  export interface DeviceManagementGetOperationStatus {
161
161
  /** Retrieve operation status. */
162
- get(options?: DeviceManagementGetOperationStatusParameters): StreamableMethod<DeviceManagementGetOperationStatus200Response | DeviceManagementGetOperationStatus304Response | DeviceManagementGetOperationStatusdefaultResponse>;
162
+ get(options?: DeviceManagementGetOperationStatusParameters): StreamableMethod<DeviceManagementGetOperationStatus200Response | DeviceManagementGetOperationStatus304Response | DeviceManagementGetOperationStatusDefaultResponse>;
163
163
  }
164
164
  export interface DeviceManagementListOperationStatuses {
165
165
  /** Get a list of all device import operations. Completed operations are kept for 7 days before auto-deleted. */
166
- get(options?: DeviceManagementListOperationStatusesParameters): StreamableMethod<DeviceManagementListOperationStatuses200Response | DeviceManagementListOperationStatusesdefaultResponse>;
166
+ get(options?: DeviceManagementListOperationStatusesParameters): StreamableMethod<DeviceManagementListOperationStatuses200Response | DeviceManagementListOperationStatusesDefaultResponse>;
167
167
  }
168
168
  export interface DeviceManagementStartLogCollection {
169
169
  /** Start the device diagnostics log collection on specified devices. */
170
- put(options: DeviceManagementStartLogCollectionParameters): StreamableMethod<DeviceManagementStartLogCollection201Response | DeviceManagementStartLogCollectiondefaultResponse>;
170
+ put(options: DeviceManagementStartLogCollectionParameters): StreamableMethod<DeviceManagementStartLogCollection201Response | DeviceManagementStartLogCollectionDefaultResponse>;
171
171
  /** Get the device diagnostics log collection */
172
- get(options?: DeviceManagementGetLogCollectionParameters): StreamableMethod<DeviceManagementGetLogCollection200Response | DeviceManagementGetLogCollectiondefaultResponse>;
172
+ get(options?: DeviceManagementGetLogCollectionParameters): StreamableMethod<DeviceManagementGetLogCollection200Response | DeviceManagementGetLogCollectionDefaultResponse>;
173
173
  }
174
174
  export interface DeviceManagementListLogCollections {
175
175
  /** Get all device diagnostics log collections */
176
- get(options?: DeviceManagementListLogCollectionsParameters): StreamableMethod<DeviceManagementListLogCollections200Response | DeviceManagementListLogCollectionsdefaultResponse>;
176
+ get(options?: DeviceManagementListLogCollectionsParameters): StreamableMethod<DeviceManagementListLogCollections200Response | DeviceManagementListLogCollectionsDefaultResponse>;
177
177
  }
178
178
  export interface DeviceManagementGetLogCollectionDetailedStatus {
179
179
  /** Get log collection with detailed status */
180
- get(options?: DeviceManagementGetLogCollectionDetailedStatusParameters): StreamableMethod<DeviceManagementGetLogCollectionDetailedStatus200Response | DeviceManagementGetLogCollectionDetailedStatusdefaultResponse>;
180
+ get(options?: DeviceManagementGetLogCollectionDetailedStatusParameters): StreamableMethod<DeviceManagementGetLogCollectionDetailedStatus200Response | DeviceManagementGetLogCollectionDetailedStatusDefaultResponse>;
181
181
  }
182
182
  export interface DeviceManagementListHealthOfDevices {
183
183
  /** Get list of device health */
184
- get(options: DeviceManagementListHealthOfDevicesParameters): StreamableMethod<DeviceManagementListHealthOfDevices200Response | DeviceManagementListHealthOfDevicesdefaultResponse>;
184
+ get(options: DeviceManagementListHealthOfDevicesParameters): StreamableMethod<DeviceManagementListHealthOfDevices200Response | DeviceManagementListHealthOfDevicesDefaultResponse>;
185
185
  }
186
186
  export interface Routes {
187
187
  /** Resource for '/deviceUpdate/\{instanceId\}/updates' has methods for the following verbs: get */
@@ -1 +1 @@
1
- {"version":3,"file":"clientDefinitions.js","sourceRoot":"","sources":["../../src/clientDefinitions.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport type {\n DeviceUpdateListUpdatesParameters,\n DeviceUpdateImportUpdateParameters,\n DeviceUpdateGetUpdateParameters,\n DeviceUpdateDeleteUpdateParameters,\n DeviceUpdateListProvidersParameters,\n DeviceUpdateListNamesParameters,\n DeviceUpdateListVersionsParameters,\n DeviceUpdateListFilesParameters,\n DeviceUpdateGetFileParameters,\n DeviceUpdateListOperationStatusesParameters,\n DeviceUpdateGetOperationStatusParameters,\n DeviceManagementListDeviceClassesParameters,\n DeviceManagementGetDeviceClassParameters,\n DeviceManagementUpdateDeviceClassParameters,\n DeviceManagementDeleteDeviceClassParameters,\n DeviceManagementListInstallableUpdatesForDeviceClassParameters,\n DeviceManagementListDevicesParameters,\n DeviceManagementImportDevicesParameters,\n DeviceManagementGetDeviceParameters,\n DeviceManagementGetDeviceModuleParameters,\n DeviceManagementGetUpdateComplianceParameters,\n DeviceManagementListGroupsParameters,\n DeviceManagementGetGroupParameters,\n DeviceManagementDeleteGroupParameters,\n DeviceManagementGetUpdateComplianceForGroupParameters,\n DeviceManagementListBestUpdatesForGroupParameters,\n DeviceManagementListDeploymentsForGroupParameters,\n DeviceManagementGetDeploymentParameters,\n DeviceManagementCreateOrUpdateDeploymentParameters,\n DeviceManagementDeleteDeploymentParameters,\n DeviceManagementGetDeploymentStatusParameters,\n DeviceManagementListDeviceClassSubgroupsForGroupParameters,\n DeviceManagementGetDeviceClassSubgroupParameters,\n DeviceManagementDeleteDeviceClassSubgroupParameters,\n DeviceManagementGetDeviceClassSubgroupUpdateComplianceParameters,\n DeviceManagementGetBestUpdatesForDeviceClassSubgroupParameters,\n DeviceManagementListDeploymentsForDeviceClassSubgroupParameters,\n DeviceManagementGetDeploymentForDeviceClassSubgroupParameters,\n DeviceManagementDeleteDeploymentForDeviceClassSubgroupParameters,\n DeviceManagementStopDeploymentParameters,\n DeviceManagementRetryDeploymentParameters,\n DeviceManagementGetDeviceClassSubgroupDeploymentStatusParameters,\n DeviceManagementListDeviceStatesForDeviceClassSubgroupDeploymentParameters,\n DeviceManagementGetOperationStatusParameters,\n DeviceManagementListOperationStatusesParameters,\n DeviceManagementStartLogCollectionParameters,\n DeviceManagementGetLogCollectionParameters,\n DeviceManagementListLogCollectionsParameters,\n DeviceManagementGetLogCollectionDetailedStatusParameters,\n DeviceManagementListHealthOfDevicesParameters,\n} from \"./parameters.js\";\nimport type {\n DeviceUpdateListUpdates200Response,\n DeviceUpdateListUpdatesdefaultResponse,\n DeviceUpdateImportUpdate200Response,\n DeviceUpdateImportUpdate202Response,\n DeviceUpdateImportUpdatedefaultResponse,\n DeviceUpdateGetUpdate200Response,\n DeviceUpdateGetUpdate304Response,\n DeviceUpdateGetUpdatedefaultResponse,\n DeviceUpdateDeleteUpdate202Response,\n DeviceUpdateDeleteUpdatedefaultResponse,\n DeviceUpdateListProviders200Response,\n DeviceUpdateListProvidersdefaultResponse,\n DeviceUpdateListNames200Response,\n DeviceUpdateListNamesdefaultResponse,\n DeviceUpdateListVersions200Response,\n DeviceUpdateListVersionsdefaultResponse,\n DeviceUpdateListFiles200Response,\n DeviceUpdateListFilesdefaultResponse,\n DeviceUpdateGetFile200Response,\n DeviceUpdateGetFile304Response,\n DeviceUpdateGetFiledefaultResponse,\n DeviceUpdateListOperationStatuses200Response,\n DeviceUpdateListOperationStatusesdefaultResponse,\n DeviceUpdateGetOperationStatus200Response,\n DeviceUpdateGetOperationStatus304Response,\n DeviceUpdateGetOperationStatusdefaultResponse,\n DeviceManagementListDeviceClasses200Response,\n DeviceManagementListDeviceClassesdefaultResponse,\n DeviceManagementGetDeviceClass200Response,\n DeviceManagementGetDeviceClassdefaultResponse,\n DeviceManagementUpdateDeviceClass200Response,\n DeviceManagementUpdateDeviceClassdefaultResponse,\n DeviceManagementDeleteDeviceClass204Response,\n DeviceManagementDeleteDeviceClassdefaultResponse,\n DeviceManagementListInstallableUpdatesForDeviceClass200Response,\n DeviceManagementListInstallableUpdatesForDeviceClassdefaultResponse,\n DeviceManagementListDevices200Response,\n DeviceManagementListDevicesdefaultResponse,\n DeviceManagementImportDevices202Response,\n DeviceManagementImportDevicesdefaultResponse,\n DeviceManagementGetDevice200Response,\n DeviceManagementGetDevicedefaultResponse,\n DeviceManagementGetDeviceModule200Response,\n DeviceManagementGetDeviceModuledefaultResponse,\n DeviceManagementGetUpdateCompliance200Response,\n DeviceManagementGetUpdateCompliancedefaultResponse,\n DeviceManagementListGroups200Response,\n DeviceManagementListGroupsdefaultResponse,\n DeviceManagementGetGroup200Response,\n DeviceManagementGetGroupdefaultResponse,\n DeviceManagementDeleteGroup204Response,\n DeviceManagementDeleteGroupdefaultResponse,\n DeviceManagementGetUpdateComplianceForGroup200Response,\n DeviceManagementGetUpdateComplianceForGroupdefaultResponse,\n DeviceManagementListBestUpdatesForGroup200Response,\n DeviceManagementListBestUpdatesForGroupdefaultResponse,\n DeviceManagementListDeploymentsForGroup200Response,\n DeviceManagementListDeploymentsForGroupdefaultResponse,\n DeviceManagementGetDeployment200Response,\n DeviceManagementGetDeploymentdefaultResponse,\n DeviceManagementCreateOrUpdateDeployment200Response,\n DeviceManagementCreateOrUpdateDeploymentdefaultResponse,\n DeviceManagementDeleteDeployment204Response,\n DeviceManagementDeleteDeploymentdefaultResponse,\n DeviceManagementGetDeploymentStatus200Response,\n DeviceManagementGetDeploymentStatusdefaultResponse,\n DeviceManagementListDeviceClassSubgroupsForGroup200Response,\n DeviceManagementListDeviceClassSubgroupsForGroupdefaultResponse,\n DeviceManagementGetDeviceClassSubgroup200Response,\n DeviceManagementGetDeviceClassSubgroupdefaultResponse,\n DeviceManagementDeleteDeviceClassSubgroup204Response,\n DeviceManagementDeleteDeviceClassSubgroupdefaultResponse,\n DeviceManagementGetDeviceClassSubgroupUpdateCompliance200Response,\n DeviceManagementGetDeviceClassSubgroupUpdateCompliancedefaultResponse,\n DeviceManagementGetBestUpdatesForDeviceClassSubgroup200Response,\n DeviceManagementGetBestUpdatesForDeviceClassSubgroupdefaultResponse,\n DeviceManagementListDeploymentsForDeviceClassSubgroup200Response,\n DeviceManagementListDeploymentsForDeviceClassSubgroupdefaultResponse,\n DeviceManagementGetDeploymentForDeviceClassSubgroup200Response,\n DeviceManagementGetDeploymentForDeviceClassSubgroupdefaultResponse,\n DeviceManagementDeleteDeploymentForDeviceClassSubgroup204Response,\n DeviceManagementDeleteDeploymentForDeviceClassSubgroupdefaultResponse,\n DeviceManagementStopDeployment200Response,\n DeviceManagementStopDeploymentdefaultResponse,\n DeviceManagementRetryDeployment200Response,\n DeviceManagementRetryDeploymentdefaultResponse,\n DeviceManagementGetDeviceClassSubgroupDeploymentStatus200Response,\n DeviceManagementGetDeviceClassSubgroupDeploymentStatusdefaultResponse,\n DeviceManagementListDeviceStatesForDeviceClassSubgroupDeployment200Response,\n DeviceManagementListDeviceStatesForDeviceClassSubgroupDeploymentdefaultResponse,\n DeviceManagementGetOperationStatus200Response,\n DeviceManagementGetOperationStatus304Response,\n DeviceManagementGetOperationStatusdefaultResponse,\n DeviceManagementListOperationStatuses200Response,\n DeviceManagementListOperationStatusesdefaultResponse,\n DeviceManagementStartLogCollection201Response,\n DeviceManagementStartLogCollectiondefaultResponse,\n DeviceManagementGetLogCollection200Response,\n DeviceManagementGetLogCollectiondefaultResponse,\n DeviceManagementListLogCollections200Response,\n DeviceManagementListLogCollectionsdefaultResponse,\n DeviceManagementGetLogCollectionDetailedStatus200Response,\n DeviceManagementGetLogCollectionDetailedStatusdefaultResponse,\n DeviceManagementListHealthOfDevices200Response,\n DeviceManagementListHealthOfDevicesdefaultResponse,\n} from \"./responses.js\";\nimport type { Client, StreamableMethod } from \"@azure-rest/core-client\";\n\nexport interface DeviceUpdateListUpdates {\n /** Get a list of all updates that have been imported to Device Update for IoT Hub. */\n get(\n options?: DeviceUpdateListUpdatesParameters,\n ): StreamableMethod<DeviceUpdateListUpdates200Response | DeviceUpdateListUpdatesdefaultResponse>;\n}\n\nexport interface DeviceUpdateImportUpdate {\n /** Import new update version. This is a long-running-operation; use Operation-Location response header value to check for operation status. */\n post(\n options: DeviceUpdateImportUpdateParameters,\n ): StreamableMethod<\n | DeviceUpdateImportUpdate200Response\n | DeviceUpdateImportUpdate202Response\n | DeviceUpdateImportUpdatedefaultResponse\n >;\n}\n\nexport interface DeviceUpdateGetUpdate {\n /** Get a specific update version. */\n get(\n options?: DeviceUpdateGetUpdateParameters,\n ): StreamableMethod<\n | DeviceUpdateGetUpdate200Response\n | DeviceUpdateGetUpdate304Response\n | DeviceUpdateGetUpdatedefaultResponse\n >;\n /** Delete a specific update version. This is a long-running-operation; use Operation-Location response header value to check for operation status. */\n delete(\n options?: DeviceUpdateDeleteUpdateParameters,\n ): StreamableMethod<\n DeviceUpdateDeleteUpdate202Response | DeviceUpdateDeleteUpdatedefaultResponse\n >;\n}\n\nexport interface DeviceUpdateListProviders {\n /** Get a list of all update providers that have been imported to Device Update for IoT Hub. */\n get(\n options?: DeviceUpdateListProvidersParameters,\n ): StreamableMethod<\n DeviceUpdateListProviders200Response | DeviceUpdateListProvidersdefaultResponse\n >;\n}\n\nexport interface DeviceUpdateListNames {\n /** Get a list of all update names that match the specified provider. */\n get(\n options?: DeviceUpdateListNamesParameters,\n ): StreamableMethod<DeviceUpdateListNames200Response | DeviceUpdateListNamesdefaultResponse>;\n}\n\nexport interface DeviceUpdateListVersions {\n /** Get a list of all update versions that match the specified provider and name. */\n get(\n options?: DeviceUpdateListVersionsParameters,\n ): StreamableMethod<\n DeviceUpdateListVersions200Response | DeviceUpdateListVersionsdefaultResponse\n >;\n}\n\nexport interface DeviceUpdateListFiles {\n /** Get a list of all update file identifiers for the specified version. */\n get(\n options?: DeviceUpdateListFilesParameters,\n ): StreamableMethod<DeviceUpdateListFiles200Response | DeviceUpdateListFilesdefaultResponse>;\n}\n\nexport interface DeviceUpdateGetFile {\n /** Get a specific update file from the version. */\n get(\n options?: DeviceUpdateGetFileParameters,\n ): StreamableMethod<\n | DeviceUpdateGetFile200Response\n | DeviceUpdateGetFile304Response\n | DeviceUpdateGetFiledefaultResponse\n >;\n}\n\nexport interface DeviceUpdateListOperationStatuses {\n /** 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. */\n get(\n options?: DeviceUpdateListOperationStatusesParameters,\n ): StreamableMethod<\n DeviceUpdateListOperationStatuses200Response | DeviceUpdateListOperationStatusesdefaultResponse\n >;\n}\n\nexport interface DeviceUpdateGetOperationStatus {\n /** Retrieve operation status. */\n get(\n options?: DeviceUpdateGetOperationStatusParameters,\n ): StreamableMethod<\n | DeviceUpdateGetOperationStatus200Response\n | DeviceUpdateGetOperationStatus304Response\n | DeviceUpdateGetOperationStatusdefaultResponse\n >;\n}\n\nexport interface DeviceManagementListDeviceClasses {\n /** Gets a list of all device classes (sets of devices compatible with the same updates based on the model Id and compat properties reported in the Device Update PnP interface in IoT Hub) for all devices connected to Device Update for IoT Hub. */\n get(\n options?: DeviceManagementListDeviceClassesParameters,\n ): StreamableMethod<\n DeviceManagementListDeviceClasses200Response | DeviceManagementListDeviceClassesdefaultResponse\n >;\n}\n\nexport interface DeviceManagementGetDeviceClass {\n /** Gets the properties of a device class. */\n get(\n options?: DeviceManagementGetDeviceClassParameters,\n ): StreamableMethod<\n DeviceManagementGetDeviceClass200Response | DeviceManagementGetDeviceClassdefaultResponse\n >;\n /** Update device class details. */\n patch(\n options: DeviceManagementUpdateDeviceClassParameters,\n ): StreamableMethod<\n DeviceManagementUpdateDeviceClass200Response | DeviceManagementUpdateDeviceClassdefaultResponse\n >;\n /** Deletes a device class. Device classes are created automatically when Device Update-enabled devices are connected to the hub but are not automatically cleaned up since they are referenced by DeviceClassSubgroups. If the user has deleted all DeviceClassSubgroups for a device class they can also delete the device class to remove the records from the system and to stop checking the compatibility of this device class with new updates. If a device is ever reconnected for this device class it will be re-created. */\n delete(\n options?: DeviceManagementDeleteDeviceClassParameters,\n ): StreamableMethod<\n DeviceManagementDeleteDeviceClass204Response | DeviceManagementDeleteDeviceClassdefaultResponse\n >;\n}\n\nexport interface DeviceManagementListInstallableUpdatesForDeviceClass {\n /** Gets a list of installable updates for a device class. */\n get(\n options?: DeviceManagementListInstallableUpdatesForDeviceClassParameters,\n ): StreamableMethod<\n | DeviceManagementListInstallableUpdatesForDeviceClass200Response\n | DeviceManagementListInstallableUpdatesForDeviceClassdefaultResponse\n >;\n}\n\nexport interface DeviceManagementListDevices {\n /** Gets a list of devices connected to Device Update for IoT Hub. */\n get(\n options?: DeviceManagementListDevicesParameters,\n ): StreamableMethod<\n DeviceManagementListDevices200Response | DeviceManagementListDevicesdefaultResponse\n >;\n}\n\nexport interface DeviceManagementImportDevices {\n /** Import existing devices from IoT Hub. This is a long-running-operation; use Operation-Location response header value to check for operation status. */\n post(\n options: DeviceManagementImportDevicesParameters,\n ): StreamableMethod<\n DeviceManagementImportDevices202Response | DeviceManagementImportDevicesdefaultResponse\n >;\n}\n\nexport interface DeviceManagementGetDevice {\n /** Gets the device properties and latest deployment status for a device connected to Device Update for IoT Hub. */\n get(\n options?: DeviceManagementGetDeviceParameters,\n ): StreamableMethod<\n DeviceManagementGetDevice200Response | DeviceManagementGetDevicedefaultResponse\n >;\n}\n\nexport interface DeviceManagementGetDeviceModule {\n /** Gets the device module properties and latest deployment status for a device module connected to Device Update for IoT Hub. */\n get(\n options?: DeviceManagementGetDeviceModuleParameters,\n ): StreamableMethod<\n DeviceManagementGetDeviceModule200Response | DeviceManagementGetDeviceModuledefaultResponse\n >;\n}\n\nexport interface DeviceManagementGetUpdateCompliance {\n /** Gets the breakdown of how many devices are on their latest update, have new updates available, or are in progress receiving new updates. */\n get(\n options?: DeviceManagementGetUpdateComplianceParameters,\n ): StreamableMethod<\n | DeviceManagementGetUpdateCompliance200Response\n | DeviceManagementGetUpdateCompliancedefaultResponse\n >;\n}\n\nexport interface DeviceManagementListGroups {\n /** Gets a list of all device groups. The $default group will always be returned first. */\n get(\n options?: DeviceManagementListGroupsParameters,\n ): StreamableMethod<\n DeviceManagementListGroups200Response | DeviceManagementListGroupsdefaultResponse\n >;\n}\n\nexport interface DeviceManagementGetGroup {\n /** Gets the device group properties. */\n get(\n options?: DeviceManagementGetGroupParameters,\n ): StreamableMethod<\n DeviceManagementGetGroup200Response | DeviceManagementGetGroupdefaultResponse\n >;\n /** Deletes a device group. This group is automatically created when a Device Update-enabled device is connected to the hub and reports its properties. Groups, subgroups, and deployments are not automatically cleaned up but are retained for history purposes. Users can call this method to delete a group if they do not need to retain any of the history of the group and no longer need it. If a device is ever connected again for this group after the group was deleted it will be automatically re-created but there will be no history. */\n delete(\n options?: DeviceManagementDeleteGroupParameters,\n ): StreamableMethod<\n DeviceManagementDeleteGroup204Response | DeviceManagementDeleteGroupdefaultResponse\n >;\n}\n\nexport interface DeviceManagementGetUpdateComplianceForGroup {\n /** Get device group update compliance information such as how many devices are on their latest update, how many need new updates, and how many are in progress on receiving a new update. */\n get(\n options?: DeviceManagementGetUpdateComplianceForGroupParameters,\n ): StreamableMethod<\n | DeviceManagementGetUpdateComplianceForGroup200Response\n | DeviceManagementGetUpdateComplianceForGroupdefaultResponse\n >;\n}\n\nexport interface DeviceManagementListBestUpdatesForGroup {\n /** Get the best available updates for a device group and a count of how many devices need each update. */\n get(\n options?: DeviceManagementListBestUpdatesForGroupParameters,\n ): StreamableMethod<\n | DeviceManagementListBestUpdatesForGroup200Response\n | DeviceManagementListBestUpdatesForGroupdefaultResponse\n >;\n}\n\nexport interface DeviceManagementListDeploymentsForGroup {\n /** Gets a list of deployments for a device group. */\n get(\n options?: DeviceManagementListDeploymentsForGroupParameters,\n ): StreamableMethod<\n | DeviceManagementListDeploymentsForGroup200Response\n | DeviceManagementListDeploymentsForGroupdefaultResponse\n >;\n}\n\nexport interface DeviceManagementGetDeployment {\n /** Gets the deployment properties. */\n get(\n options?: DeviceManagementGetDeploymentParameters,\n ): StreamableMethod<\n DeviceManagementGetDeployment200Response | DeviceManagementGetDeploymentdefaultResponse\n >;\n /** Creates or updates a deployment. */\n put(\n options: DeviceManagementCreateOrUpdateDeploymentParameters,\n ): StreamableMethod<\n | DeviceManagementCreateOrUpdateDeployment200Response\n | DeviceManagementCreateOrUpdateDeploymentdefaultResponse\n >;\n /** Deletes a deployment. */\n delete(\n options?: DeviceManagementDeleteDeploymentParameters,\n ): StreamableMethod<\n DeviceManagementDeleteDeployment204Response | DeviceManagementDeleteDeploymentdefaultResponse\n >;\n}\n\nexport interface DeviceManagementGetDeploymentStatus {\n /** Gets the status of a deployment including a breakdown of how many devices in the deployment are in progress, completed, or failed. */\n get(\n options?: DeviceManagementGetDeploymentStatusParameters,\n ): StreamableMethod<\n | DeviceManagementGetDeploymentStatus200Response\n | DeviceManagementGetDeploymentStatusdefaultResponse\n >;\n}\n\nexport interface DeviceManagementListDeviceClassSubgroupsForGroup {\n /** Get the device class subgroups for the group. A device class subgroup is the set of devices within the group that share the same device class. All devices within the same device class are compatible with the same updates. */\n get(\n options?: DeviceManagementListDeviceClassSubgroupsForGroupParameters,\n ): StreamableMethod<\n | DeviceManagementListDeviceClassSubgroupsForGroup200Response\n | DeviceManagementListDeviceClassSubgroupsForGroupdefaultResponse\n >;\n}\n\nexport interface DeviceManagementGetDeviceClassSubgroup {\n /** Gets device class subgroup details. A device class subgroup is the set of devices within the group that share the same device class. All devices within the same device class are compatible with the same updates. */\n get(\n options?: DeviceManagementGetDeviceClassSubgroupParameters,\n ): StreamableMethod<\n | DeviceManagementGetDeviceClassSubgroup200Response\n | DeviceManagementGetDeviceClassSubgroupdefaultResponse\n >;\n /** Deletes a device class subgroup. This subgroup is automatically created when a Device Update-enabled device is connected to the hub and reports its properties. Groups, subgroups, and deployments are not automatically cleaned up but are retained for history purposes. Users can call this method to delete a subgroup if they do not need to retain any of the history of the subgroup and no longer need it. If a device is ever connected again for this subgroup after the subgroup was deleted it will be automatically re-created but there will be no history. */\n delete(\n options?: DeviceManagementDeleteDeviceClassSubgroupParameters,\n ): StreamableMethod<\n | DeviceManagementDeleteDeviceClassSubgroup204Response\n | DeviceManagementDeleteDeviceClassSubgroupdefaultResponse\n >;\n}\n\nexport interface DeviceManagementGetDeviceClassSubgroupUpdateCompliance {\n /** Get device class subgroup update compliance information such as how many devices are on their latest update, how many need new updates, and how many are in progress on receiving a new update. */\n get(\n options?: DeviceManagementGetDeviceClassSubgroupUpdateComplianceParameters,\n ): StreamableMethod<\n | DeviceManagementGetDeviceClassSubgroupUpdateCompliance200Response\n | DeviceManagementGetDeviceClassSubgroupUpdateCompliancedefaultResponse\n >;\n}\n\nexport interface DeviceManagementGetBestUpdatesForDeviceClassSubgroup {\n /** Get the best available update for a device class subgroup and a count of how many devices need this update. */\n get(\n options?: DeviceManagementGetBestUpdatesForDeviceClassSubgroupParameters,\n ): StreamableMethod<\n | DeviceManagementGetBestUpdatesForDeviceClassSubgroup200Response\n | DeviceManagementGetBestUpdatesForDeviceClassSubgroupdefaultResponse\n >;\n}\n\nexport interface DeviceManagementListDeploymentsForDeviceClassSubgroup {\n /** Gets a list of deployments for a device class subgroup. */\n get(\n options?: DeviceManagementListDeploymentsForDeviceClassSubgroupParameters,\n ): StreamableMethod<\n | DeviceManagementListDeploymentsForDeviceClassSubgroup200Response\n | DeviceManagementListDeploymentsForDeviceClassSubgroupdefaultResponse\n >;\n}\n\nexport interface DeviceManagementGetDeploymentForDeviceClassSubgroup {\n /** Gets the deployment properties. */\n get(\n options?: DeviceManagementGetDeploymentForDeviceClassSubgroupParameters,\n ): StreamableMethod<\n | DeviceManagementGetDeploymentForDeviceClassSubgroup200Response\n | DeviceManagementGetDeploymentForDeviceClassSubgroupdefaultResponse\n >;\n /** Deletes a device class subgroup deployment. */\n delete(\n options?: DeviceManagementDeleteDeploymentForDeviceClassSubgroupParameters,\n ): StreamableMethod<\n | DeviceManagementDeleteDeploymentForDeviceClassSubgroup204Response\n | DeviceManagementDeleteDeploymentForDeviceClassSubgroupdefaultResponse\n >;\n}\n\nexport interface DeviceManagementStopDeployment {\n /** Stops a deployment. */\n post(\n options?: DeviceManagementStopDeploymentParameters,\n ): StreamableMethod<\n DeviceManagementStopDeployment200Response | DeviceManagementStopDeploymentdefaultResponse\n >;\n}\n\nexport interface DeviceManagementRetryDeployment {\n /** Retries a deployment with failed devices. */\n post(\n options?: DeviceManagementRetryDeploymentParameters,\n ): StreamableMethod<\n DeviceManagementRetryDeployment200Response | DeviceManagementRetryDeploymentdefaultResponse\n >;\n}\n\nexport interface DeviceManagementGetDeviceClassSubgroupDeploymentStatus {\n /** Gets the status of a deployment including a breakdown of how many devices in the deployment are in progress, completed, or failed. */\n get(\n options?: DeviceManagementGetDeviceClassSubgroupDeploymentStatusParameters,\n ): StreamableMethod<\n | DeviceManagementGetDeviceClassSubgroupDeploymentStatus200Response\n | DeviceManagementGetDeviceClassSubgroupDeploymentStatusdefaultResponse\n >;\n}\n\nexport interface DeviceManagementListDeviceStatesForDeviceClassSubgroupDeployment {\n /** Gets a list of devices in a deployment along with their state. Useful for getting a list of failed devices. */\n get(\n options?: DeviceManagementListDeviceStatesForDeviceClassSubgroupDeploymentParameters,\n ): StreamableMethod<\n | DeviceManagementListDeviceStatesForDeviceClassSubgroupDeployment200Response\n | DeviceManagementListDeviceStatesForDeviceClassSubgroupDeploymentdefaultResponse\n >;\n}\n\nexport interface DeviceManagementGetOperationStatus {\n /** Retrieve operation status. */\n get(\n options?: DeviceManagementGetOperationStatusParameters,\n ): StreamableMethod<\n | DeviceManagementGetOperationStatus200Response\n | DeviceManagementGetOperationStatus304Response\n | DeviceManagementGetOperationStatusdefaultResponse\n >;\n}\n\nexport interface DeviceManagementListOperationStatuses {\n /** Get a list of all device import operations. Completed operations are kept for 7 days before auto-deleted. */\n get(\n options?: DeviceManagementListOperationStatusesParameters,\n ): StreamableMethod<\n | DeviceManagementListOperationStatuses200Response\n | DeviceManagementListOperationStatusesdefaultResponse\n >;\n}\n\nexport interface DeviceManagementStartLogCollection {\n /** Start the device diagnostics log collection on specified devices. */\n put(\n options: DeviceManagementStartLogCollectionParameters,\n ): StreamableMethod<\n | DeviceManagementStartLogCollection201Response\n | DeviceManagementStartLogCollectiondefaultResponse\n >;\n /** Get the device diagnostics log collection */\n get(\n options?: DeviceManagementGetLogCollectionParameters,\n ): StreamableMethod<\n DeviceManagementGetLogCollection200Response | DeviceManagementGetLogCollectiondefaultResponse\n >;\n}\n\nexport interface DeviceManagementListLogCollections {\n /** Get all device diagnostics log collections */\n get(\n options?: DeviceManagementListLogCollectionsParameters,\n ): StreamableMethod<\n | DeviceManagementListLogCollections200Response\n | DeviceManagementListLogCollectionsdefaultResponse\n >;\n}\n\nexport interface DeviceManagementGetLogCollectionDetailedStatus {\n /** Get log collection with detailed status */\n get(\n options?: DeviceManagementGetLogCollectionDetailedStatusParameters,\n ): StreamableMethod<\n | DeviceManagementGetLogCollectionDetailedStatus200Response\n | DeviceManagementGetLogCollectionDetailedStatusdefaultResponse\n >;\n}\n\nexport interface DeviceManagementListHealthOfDevices {\n /** Get list of device health */\n get(\n options: DeviceManagementListHealthOfDevicesParameters,\n ): StreamableMethod<\n | DeviceManagementListHealthOfDevices200Response\n | DeviceManagementListHealthOfDevicesdefaultResponse\n >;\n}\n\nexport interface Routes {\n /** Resource for '/deviceUpdate/\\{instanceId\\}/updates' has methods for the following verbs: get */\n (path: \"/deviceUpdate/{instanceId}/updates\", instanceId: string): DeviceUpdateListUpdates;\n /** Resource for '/deviceUpdate/\\{instanceId\\}/updates:import' has methods for the following verbs: post */\n (path: \"/deviceUpdate/{instanceId}/updates:import\", instanceId: string): DeviceUpdateImportUpdate;\n /** Resource for '/deviceUpdate/\\{instanceId\\}/updates/providers/\\{provider\\}/names/\\{name\\}/versions/\\{version\\}' has methods for the following verbs: get, delete */\n (\n path: \"/deviceUpdate/{instanceId}/updates/providers/{provider}/names/{name}/versions/{version}\",\n instanceId: string,\n provider: string,\n name: string,\n version: string,\n ): DeviceUpdateGetUpdate;\n /** Resource for '/deviceUpdate/\\{instanceId\\}/updates/providers' has methods for the following verbs: get */\n (\n path: \"/deviceUpdate/{instanceId}/updates/providers\",\n instanceId: string,\n ): DeviceUpdateListProviders;\n /** Resource for '/deviceUpdate/\\{instanceId\\}/updates/providers/\\{provider\\}/names' has methods for the following verbs: get */\n (\n path: \"/deviceUpdate/{instanceId}/updates/providers/{provider}/names\",\n instanceId: string,\n provider: string,\n ): DeviceUpdateListNames;\n /** Resource for '/deviceUpdate/\\{instanceId\\}/updates/providers/\\{provider\\}/names/\\{name\\}/versions' has methods for the following verbs: get */\n (\n path: \"/deviceUpdate/{instanceId}/updates/providers/{provider}/names/{name}/versions\",\n instanceId: string,\n provider: string,\n name: string,\n ): DeviceUpdateListVersions;\n /** Resource for '/deviceUpdate/\\{instanceId\\}/updates/providers/\\{provider\\}/names/\\{name\\}/versions/\\{version\\}/files' has methods for the following verbs: get */\n (\n path: \"/deviceUpdate/{instanceId}/updates/providers/{provider}/names/{name}/versions/{version}/files\",\n instanceId: string,\n provider: string,\n name: string,\n version: string,\n ): DeviceUpdateListFiles;\n /** Resource for '/deviceUpdate/\\{instanceId\\}/updates/providers/\\{provider\\}/names/\\{name\\}/versions/\\{version\\}/files/\\{fileId\\}' has methods for the following verbs: get */\n (\n path: \"/deviceUpdate/{instanceId}/updates/providers/{provider}/names/{name}/versions/{version}/files/{fileId}\",\n instanceId: string,\n provider: string,\n name: string,\n version: string,\n fileId: string,\n ): DeviceUpdateGetFile;\n /** Resource for '/deviceUpdate/\\{instanceId\\}/updates/operations' has methods for the following verbs: get */\n (\n path: \"/deviceUpdate/{instanceId}/updates/operations\",\n instanceId: string,\n ): DeviceUpdateListOperationStatuses;\n /** Resource for '/deviceUpdate/\\{instanceId\\}/updates/operations/\\{operationId\\}' has methods for the following verbs: get */\n (\n path: \"/deviceUpdate/{instanceId}/updates/operations/{operationId}\",\n instanceId: string,\n operationId: string,\n ): DeviceUpdateGetOperationStatus;\n /** Resource for '/deviceUpdate/\\{instanceId\\}/management/deviceClasses' has methods for the following verbs: get */\n (\n path: \"/deviceUpdate/{instanceId}/management/deviceClasses\",\n instanceId: string,\n ): DeviceManagementListDeviceClasses;\n /** Resource for '/deviceUpdate/\\{instanceId\\}/management/deviceClasses/\\{deviceClassId\\}' has methods for the following verbs: get, patch, delete */\n (\n path: \"/deviceUpdate/{instanceId}/management/deviceClasses/{deviceClassId}\",\n instanceId: string,\n deviceClassId: string,\n ): DeviceManagementGetDeviceClass;\n /** Resource for '/deviceUpdate/\\{instanceId\\}/management/deviceClasses/\\{deviceClassId\\}/installableUpdates' has methods for the following verbs: get */\n (\n path: \"/deviceUpdate/{instanceId}/management/deviceClasses/{deviceClassId}/installableUpdates\",\n instanceId: string,\n deviceClassId: string,\n ): DeviceManagementListInstallableUpdatesForDeviceClass;\n /** Resource for '/deviceUpdate/\\{instanceId\\}/management/devices' has methods for the following verbs: get */\n (\n path: \"/deviceUpdate/{instanceId}/management/devices\",\n instanceId: string,\n ): DeviceManagementListDevices;\n /** Resource for '/deviceUpdate/\\{instanceId\\}/management/devices:import' has methods for the following verbs: post */\n (\n path: \"/deviceUpdate/{instanceId}/management/devices:import\",\n instanceId: string,\n ): DeviceManagementImportDevices;\n /** Resource for '/deviceUpdate/\\{instanceId\\}/management/devices/\\{deviceId\\}' has methods for the following verbs: get */\n (\n path: \"/deviceUpdate/{instanceId}/management/devices/{deviceId}\",\n instanceId: string,\n deviceId: string,\n ): DeviceManagementGetDevice;\n /** Resource for '/deviceUpdate/\\{instanceId\\}/management/devices/\\{deviceId\\}/modules/\\{moduleId\\}' has methods for the following verbs: get */\n (\n path: \"/deviceUpdate/{instanceId}/management/devices/{deviceId}/modules/{moduleId}\",\n instanceId: string,\n deviceId: string,\n moduleId: string,\n ): DeviceManagementGetDeviceModule;\n /** Resource for '/deviceUpdate/\\{instanceId\\}/management/updateCompliance' has methods for the following verbs: get */\n (\n path: \"/deviceUpdate/{instanceId}/management/updateCompliance\",\n instanceId: string,\n ): DeviceManagementGetUpdateCompliance;\n /** Resource for '/deviceUpdate/\\{instanceId\\}/management/groups' has methods for the following verbs: get */\n (\n path: \"/deviceUpdate/{instanceId}/management/groups\",\n instanceId: string,\n ): DeviceManagementListGroups;\n /** Resource for '/deviceUpdate/\\{instanceId\\}/management/groups/\\{groupId\\}' has methods for the following verbs: get, delete */\n (\n path: \"/deviceUpdate/{instanceId}/management/groups/{groupId}\",\n instanceId: string,\n groupId: string,\n ): DeviceManagementGetGroup;\n /** Resource for '/deviceUpdate/\\{instanceId\\}/management/groups/\\{groupId\\}/updateCompliance' has methods for the following verbs: get */\n (\n path: \"/deviceUpdate/{instanceId}/management/groups/{groupId}/updateCompliance\",\n instanceId: string,\n groupId: string,\n ): DeviceManagementGetUpdateComplianceForGroup;\n /** Resource for '/deviceUpdate/\\{instanceId\\}/management/groups/\\{groupId\\}/bestUpdates' has methods for the following verbs: get */\n (\n path: \"/deviceUpdate/{instanceId}/management/groups/{groupId}/bestUpdates\",\n instanceId: string,\n groupId: string,\n ): DeviceManagementListBestUpdatesForGroup;\n /** Resource for '/deviceUpdate/\\{instanceId\\}/management/groups/\\{groupId\\}/deployments' has methods for the following verbs: get */\n (\n path: \"/deviceUpdate/{instanceId}/management/groups/{groupId}/deployments\",\n instanceId: string,\n groupId: string,\n ): DeviceManagementListDeploymentsForGroup;\n /** Resource for '/deviceUpdate/\\{instanceId\\}/management/groups/\\{groupId\\}/deployments/\\{deploymentId\\}' has methods for the following verbs: get, put, delete */\n (\n path: \"/deviceUpdate/{instanceId}/management/groups/{groupId}/deployments/{deploymentId}\",\n instanceId: string,\n groupId: string,\n deploymentId: string,\n ): DeviceManagementGetDeployment;\n /** Resource for '/deviceUpdate/\\{instanceId\\}/management/groups/\\{groupId\\}/deployments/\\{deploymentId\\}/status' has methods for the following verbs: get */\n (\n path: \"/deviceUpdate/{instanceId}/management/groups/{groupId}/deployments/{deploymentId}/status\",\n instanceId: string,\n groupId: string,\n deploymentId: string,\n ): DeviceManagementGetDeploymentStatus;\n /** Resource for '/deviceUpdate/\\{instanceId\\}/management/groups/\\{groupId\\}/deviceClassSubgroups' has methods for the following verbs: get */\n (\n path: \"/deviceUpdate/{instanceId}/management/groups/{groupId}/deviceClassSubgroups\",\n instanceId: string,\n groupId: string,\n ): DeviceManagementListDeviceClassSubgroupsForGroup;\n /** Resource for '/deviceUpdate/\\{instanceId\\}/management/groups/\\{groupId\\}/deviceClassSubgroups/\\{deviceClassId\\}' has methods for the following verbs: get, delete */\n (\n path: \"/deviceUpdate/{instanceId}/management/groups/{groupId}/deviceClassSubgroups/{deviceClassId}\",\n instanceId: string,\n groupId: string,\n deviceClassId: string,\n ): DeviceManagementGetDeviceClassSubgroup;\n /** Resource for '/deviceUpdate/\\{instanceId\\}/management/groups/\\{groupId\\}/deviceClassSubgroups/\\{deviceClassId\\}/updateCompliance' has methods for the following verbs: get */\n (\n path: \"/deviceUpdate/{instanceId}/management/groups/{groupId}/deviceClassSubgroups/{deviceClassId}/updateCompliance\",\n instanceId: string,\n groupId: string,\n deviceClassId: string,\n ): DeviceManagementGetDeviceClassSubgroupUpdateCompliance;\n /** Resource for '/deviceUpdate/\\{instanceId\\}/management/groups/\\{groupId\\}/deviceClassSubgroups/\\{deviceClassId\\}/bestUpdates' has methods for the following verbs: get */\n (\n path: \"/deviceUpdate/{instanceId}/management/groups/{groupId}/deviceClassSubgroups/{deviceClassId}/bestUpdates\",\n instanceId: string,\n groupId: string,\n deviceClassId: string,\n ): DeviceManagementGetBestUpdatesForDeviceClassSubgroup;\n /** Resource for '/deviceUpdate/\\{instanceId\\}/management/groups/\\{groupId\\}/deviceClassSubgroups/\\{deviceClassId\\}/deployments' has methods for the following verbs: get */\n (\n path: \"/deviceUpdate/{instanceId}/management/groups/{groupId}/deviceClassSubgroups/{deviceClassId}/deployments\",\n instanceId: string,\n groupId: string,\n deviceClassId: string,\n ): DeviceManagementListDeploymentsForDeviceClassSubgroup;\n /** Resource for '/deviceUpdate/\\{instanceId\\}/management/groups/\\{groupId\\}/deviceClassSubgroups/\\{deviceClassId\\}/deployments/\\{deploymentId\\}' has methods for the following verbs: get, delete */\n (\n path: \"/deviceUpdate/{instanceId}/management/groups/{groupId}/deviceClassSubgroups/{deviceClassId}/deployments/{deploymentId}\",\n instanceId: string,\n groupId: string,\n deviceClassId: string,\n deploymentId: string,\n ): DeviceManagementGetDeploymentForDeviceClassSubgroup;\n /** Resource for '/deviceUpdate/\\{instanceId\\}/management/groups/\\{groupId\\}/deviceClassSubgroups/\\{deviceClassId\\}/deployments/\\{deploymentId\\}:cancel' has methods for the following verbs: post */\n (\n path: \"/deviceUpdate/{instanceId}/management/groups/{groupId}/deviceClassSubgroups/{deviceClassId}/deployments/{deploymentId}:cancel\",\n instanceId: string,\n groupId: string,\n deviceClassId: string,\n deploymentId: string,\n ): DeviceManagementStopDeployment;\n /** Resource for '/deviceUpdate/\\{instanceId\\}/management/groups/\\{groupId\\}/deviceClassSubgroups/\\{deviceClassId\\}/deployments/\\{deploymentId\\}:retry' has methods for the following verbs: post */\n (\n path: \"/deviceUpdate/{instanceId}/management/groups/{groupId}/deviceClassSubgroups/{deviceClassId}/deployments/{deploymentId}:retry\",\n instanceId: string,\n groupId: string,\n deviceClassId: string,\n deploymentId: string,\n ): DeviceManagementRetryDeployment;\n /** Resource for '/deviceUpdate/\\{instanceId\\}/management/groups/\\{groupId\\}/deviceClassSubgroups/\\{deviceClassId\\}/deployments/\\{deploymentId\\}/status' has methods for the following verbs: get */\n (\n path: \"/deviceUpdate/{instanceId}/management/groups/{groupId}/deviceClassSubgroups/{deviceClassId}/deployments/{deploymentId}/status\",\n instanceId: string,\n groupId: string,\n deviceClassId: string,\n deploymentId: string,\n ): DeviceManagementGetDeviceClassSubgroupDeploymentStatus;\n /** Resource for '/deviceUpdate/\\{instanceId\\}/management/groups/\\{groupId\\}/deviceClassSubgroups/\\{deviceClassId\\}/deployments/\\{deploymentId\\}/devicestates' has methods for the following verbs: get */\n (\n path: \"/deviceUpdate/{instanceId}/management/groups/{groupId}/deviceClassSubgroups/{deviceClassId}/deployments/{deploymentId}/devicestates\",\n instanceId: string,\n groupId: string,\n deviceClassId: string,\n deploymentId: string,\n ): DeviceManagementListDeviceStatesForDeviceClassSubgroupDeployment;\n /** Resource for '/deviceUpdate/\\{instanceId\\}/management/operations/\\{operationId\\}' has methods for the following verbs: get */\n (\n path: \"/deviceUpdate/{instanceId}/management/operations/{operationId}\",\n instanceId: string,\n operationId: string,\n ): DeviceManagementGetOperationStatus;\n /** Resource for '/deviceUpdate/\\{instanceId\\}/management/operations' has methods for the following verbs: get */\n (\n path: \"/deviceUpdate/{instanceId}/management/operations\",\n instanceId: string,\n ): DeviceManagementListOperationStatuses;\n /** Resource for '/deviceUpdate/\\{instanceId\\}/management/deviceDiagnostics/logCollections/\\{operationId\\}' has methods for the following verbs: put, get */\n (\n path: \"/deviceUpdate/{instanceId}/management/deviceDiagnostics/logCollections/{operationId}\",\n instanceId: string,\n operationId: string,\n ): DeviceManagementStartLogCollection;\n /** Resource for '/deviceUpdate/\\{instanceId\\}/management/deviceDiagnostics/logCollections' has methods for the following verbs: get */\n (\n path: \"/deviceUpdate/{instanceId}/management/deviceDiagnostics/logCollections\",\n instanceId: string,\n ): DeviceManagementListLogCollections;\n /** Resource for '/deviceUpdate/\\{instanceId\\}/management/deviceDiagnostics/logCollections/\\{operationId\\}/detailedStatus' has methods for the following verbs: get */\n (\n path: \"/deviceUpdate/{instanceId}/management/deviceDiagnostics/logCollections/{operationId}/detailedStatus\",\n instanceId: string,\n operationId: string,\n ): DeviceManagementGetLogCollectionDetailedStatus;\n /** Resource for '/deviceUpdate/\\{instanceId\\}/management/deviceDiagnostics/deviceHealth' has methods for the following verbs: get */\n (\n path: \"/deviceUpdate/{instanceId}/management/deviceDiagnostics/deviceHealth\",\n instanceId: string,\n ): DeviceManagementListHealthOfDevices;\n}\n\nexport type DeviceUpdateClient = Client & {\n path: Routes;\n};\n"]}
1
+ {"version":3,"file":"clientDefinitions.js","sourceRoot":"","sources":["../../src/clientDefinitions.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport type {\n DeviceUpdateListUpdatesParameters,\n DeviceUpdateImportUpdateParameters,\n DeviceUpdateGetUpdateParameters,\n DeviceUpdateDeleteUpdateParameters,\n DeviceUpdateListProvidersParameters,\n DeviceUpdateListNamesParameters,\n DeviceUpdateListVersionsParameters,\n DeviceUpdateListFilesParameters,\n DeviceUpdateGetFileParameters,\n DeviceUpdateListOperationStatusesParameters,\n DeviceUpdateGetOperationStatusParameters,\n DeviceManagementListDeviceClassesParameters,\n DeviceManagementGetDeviceClassParameters,\n DeviceManagementUpdateDeviceClassParameters,\n DeviceManagementDeleteDeviceClassParameters,\n DeviceManagementListInstallableUpdatesForDeviceClassParameters,\n DeviceManagementListDevicesParameters,\n DeviceManagementImportDevicesParameters,\n DeviceManagementGetDeviceParameters,\n DeviceManagementGetDeviceModuleParameters,\n DeviceManagementGetUpdateComplianceParameters,\n DeviceManagementListGroupsParameters,\n DeviceManagementGetGroupParameters,\n DeviceManagementDeleteGroupParameters,\n DeviceManagementGetUpdateComplianceForGroupParameters,\n DeviceManagementListBestUpdatesForGroupParameters,\n DeviceManagementListDeploymentsForGroupParameters,\n DeviceManagementGetDeploymentParameters,\n DeviceManagementCreateOrUpdateDeploymentParameters,\n DeviceManagementDeleteDeploymentParameters,\n DeviceManagementGetDeploymentStatusParameters,\n DeviceManagementListDeviceClassSubgroupsForGroupParameters,\n DeviceManagementGetDeviceClassSubgroupParameters,\n DeviceManagementDeleteDeviceClassSubgroupParameters,\n DeviceManagementGetDeviceClassSubgroupUpdateComplianceParameters,\n DeviceManagementGetBestUpdatesForDeviceClassSubgroupParameters,\n DeviceManagementListDeploymentsForDeviceClassSubgroupParameters,\n DeviceManagementGetDeploymentForDeviceClassSubgroupParameters,\n DeviceManagementDeleteDeploymentForDeviceClassSubgroupParameters,\n DeviceManagementStopDeploymentParameters,\n DeviceManagementRetryDeploymentParameters,\n DeviceManagementGetDeviceClassSubgroupDeploymentStatusParameters,\n DeviceManagementListDeviceStatesForDeviceClassSubgroupDeploymentParameters,\n DeviceManagementGetOperationStatusParameters,\n DeviceManagementListOperationStatusesParameters,\n DeviceManagementStartLogCollectionParameters,\n DeviceManagementGetLogCollectionParameters,\n DeviceManagementListLogCollectionsParameters,\n DeviceManagementGetLogCollectionDetailedStatusParameters,\n DeviceManagementListHealthOfDevicesParameters,\n} from \"./parameters.js\";\nimport type {\n DeviceUpdateListUpdates200Response,\n DeviceUpdateListUpdatesDefaultResponse,\n DeviceUpdateImportUpdate200Response,\n DeviceUpdateImportUpdate202Response,\n DeviceUpdateImportUpdateDefaultResponse,\n DeviceUpdateGetUpdate200Response,\n DeviceUpdateGetUpdate304Response,\n DeviceUpdateGetUpdateDefaultResponse,\n DeviceUpdateDeleteUpdate202Response,\n DeviceUpdateDeleteUpdateDefaultResponse,\n DeviceUpdateListProviders200Response,\n DeviceUpdateListProvidersDefaultResponse,\n DeviceUpdateListNames200Response,\n DeviceUpdateListNamesDefaultResponse,\n DeviceUpdateListVersions200Response,\n DeviceUpdateListVersionsDefaultResponse,\n DeviceUpdateListFiles200Response,\n DeviceUpdateListFilesDefaultResponse,\n DeviceUpdateGetFile200Response,\n DeviceUpdateGetFile304Response,\n DeviceUpdateGetFileDefaultResponse,\n DeviceUpdateListOperationStatuses200Response,\n DeviceUpdateListOperationStatusesDefaultResponse,\n DeviceUpdateGetOperationStatus200Response,\n DeviceUpdateGetOperationStatus304Response,\n DeviceUpdateGetOperationStatusDefaultResponse,\n DeviceManagementListDeviceClasses200Response,\n DeviceManagementListDeviceClassesDefaultResponse,\n DeviceManagementGetDeviceClass200Response,\n DeviceManagementGetDeviceClassDefaultResponse,\n DeviceManagementUpdateDeviceClass200Response,\n DeviceManagementUpdateDeviceClassDefaultResponse,\n DeviceManagementDeleteDeviceClass204Response,\n DeviceManagementDeleteDeviceClassDefaultResponse,\n DeviceManagementListInstallableUpdatesForDeviceClass200Response,\n DeviceManagementListInstallableUpdatesForDeviceClassDefaultResponse,\n DeviceManagementListDevices200Response,\n DeviceManagementListDevicesDefaultResponse,\n DeviceManagementImportDevices202Response,\n DeviceManagementImportDevicesDefaultResponse,\n DeviceManagementGetDevice200Response,\n DeviceManagementGetDeviceDefaultResponse,\n DeviceManagementGetDeviceModule200Response,\n DeviceManagementGetDeviceModuleDefaultResponse,\n DeviceManagementGetUpdateCompliance200Response,\n DeviceManagementGetUpdateComplianceDefaultResponse,\n DeviceManagementListGroups200Response,\n DeviceManagementListGroupsDefaultResponse,\n DeviceManagementGetGroup200Response,\n DeviceManagementGetGroupDefaultResponse,\n DeviceManagementDeleteGroup204Response,\n DeviceManagementDeleteGroupDefaultResponse,\n DeviceManagementGetUpdateComplianceForGroup200Response,\n DeviceManagementGetUpdateComplianceForGroupDefaultResponse,\n DeviceManagementListBestUpdatesForGroup200Response,\n DeviceManagementListBestUpdatesForGroupDefaultResponse,\n DeviceManagementListDeploymentsForGroup200Response,\n DeviceManagementListDeploymentsForGroupDefaultResponse,\n DeviceManagementGetDeployment200Response,\n DeviceManagementGetDeploymentDefaultResponse,\n DeviceManagementCreateOrUpdateDeployment200Response,\n DeviceManagementCreateOrUpdateDeploymentDefaultResponse,\n DeviceManagementDeleteDeployment204Response,\n DeviceManagementDeleteDeploymentDefaultResponse,\n DeviceManagementGetDeploymentStatus200Response,\n DeviceManagementGetDeploymentStatusDefaultResponse,\n DeviceManagementListDeviceClassSubgroupsForGroup200Response,\n DeviceManagementListDeviceClassSubgroupsForGroupDefaultResponse,\n DeviceManagementGetDeviceClassSubgroup200Response,\n DeviceManagementGetDeviceClassSubgroupDefaultResponse,\n DeviceManagementDeleteDeviceClassSubgroup204Response,\n DeviceManagementDeleteDeviceClassSubgroupDefaultResponse,\n DeviceManagementGetDeviceClassSubgroupUpdateCompliance200Response,\n DeviceManagementGetDeviceClassSubgroupUpdateComplianceDefaultResponse,\n DeviceManagementGetBestUpdatesForDeviceClassSubgroup200Response,\n DeviceManagementGetBestUpdatesForDeviceClassSubgroupDefaultResponse,\n DeviceManagementListDeploymentsForDeviceClassSubgroup200Response,\n DeviceManagementListDeploymentsForDeviceClassSubgroupDefaultResponse,\n DeviceManagementGetDeploymentForDeviceClassSubgroup200Response,\n DeviceManagementGetDeploymentForDeviceClassSubgroupDefaultResponse,\n DeviceManagementDeleteDeploymentForDeviceClassSubgroup204Response,\n DeviceManagementDeleteDeploymentForDeviceClassSubgroupDefaultResponse,\n DeviceManagementStopDeployment200Response,\n DeviceManagementStopDeploymentDefaultResponse,\n DeviceManagementRetryDeployment200Response,\n DeviceManagementRetryDeploymentDefaultResponse,\n DeviceManagementGetDeviceClassSubgroupDeploymentStatus200Response,\n DeviceManagementGetDeviceClassSubgroupDeploymentStatusDefaultResponse,\n DeviceManagementListDeviceStatesForDeviceClassSubgroupDeployment200Response,\n DeviceManagementListDeviceStatesForDeviceClassSubgroupDeploymentDefaultResponse,\n DeviceManagementGetOperationStatus200Response,\n DeviceManagementGetOperationStatus304Response,\n DeviceManagementGetOperationStatusDefaultResponse,\n DeviceManagementListOperationStatuses200Response,\n DeviceManagementListOperationStatusesDefaultResponse,\n DeviceManagementStartLogCollection201Response,\n DeviceManagementStartLogCollectionDefaultResponse,\n DeviceManagementGetLogCollection200Response,\n DeviceManagementGetLogCollectionDefaultResponse,\n DeviceManagementListLogCollections200Response,\n DeviceManagementListLogCollectionsDefaultResponse,\n DeviceManagementGetLogCollectionDetailedStatus200Response,\n DeviceManagementGetLogCollectionDetailedStatusDefaultResponse,\n DeviceManagementListHealthOfDevices200Response,\n DeviceManagementListHealthOfDevicesDefaultResponse,\n} from \"./responses.js\";\nimport type { Client, StreamableMethod } from \"@azure-rest/core-client\";\n\nexport interface DeviceUpdateListUpdates {\n /** Get a list of all updates that have been imported to Device Update for IoT Hub. */\n get(\n options?: DeviceUpdateListUpdatesParameters,\n ): StreamableMethod<DeviceUpdateListUpdates200Response | DeviceUpdateListUpdatesDefaultResponse>;\n}\n\nexport interface DeviceUpdateImportUpdate {\n /** Import new update version. This is a long-running-operation; use Operation-Location response header value to check for operation status. */\n post(\n options: DeviceUpdateImportUpdateParameters,\n ): StreamableMethod<\n | DeviceUpdateImportUpdate200Response\n | DeviceUpdateImportUpdate202Response\n | DeviceUpdateImportUpdateDefaultResponse\n >;\n}\n\nexport interface DeviceUpdateGetUpdate {\n /** Get a specific update version. */\n get(\n options?: DeviceUpdateGetUpdateParameters,\n ): StreamableMethod<\n | DeviceUpdateGetUpdate200Response\n | DeviceUpdateGetUpdate304Response\n | DeviceUpdateGetUpdateDefaultResponse\n >;\n /** Delete a specific update version. This is a long-running-operation; use Operation-Location response header value to check for operation status. */\n delete(\n options?: DeviceUpdateDeleteUpdateParameters,\n ): StreamableMethod<\n DeviceUpdateDeleteUpdate202Response | DeviceUpdateDeleteUpdateDefaultResponse\n >;\n}\n\nexport interface DeviceUpdateListProviders {\n /** Get a list of all update providers that have been imported to Device Update for IoT Hub. */\n get(\n options?: DeviceUpdateListProvidersParameters,\n ): StreamableMethod<\n DeviceUpdateListProviders200Response | DeviceUpdateListProvidersDefaultResponse\n >;\n}\n\nexport interface DeviceUpdateListNames {\n /** Get a list of all update names that match the specified provider. */\n get(\n options?: DeviceUpdateListNamesParameters,\n ): StreamableMethod<DeviceUpdateListNames200Response | DeviceUpdateListNamesDefaultResponse>;\n}\n\nexport interface DeviceUpdateListVersions {\n /** Get a list of all update versions that match the specified provider and name. */\n get(\n options?: DeviceUpdateListVersionsParameters,\n ): StreamableMethod<\n DeviceUpdateListVersions200Response | DeviceUpdateListVersionsDefaultResponse\n >;\n}\n\nexport interface DeviceUpdateListFiles {\n /** Get a list of all update file identifiers for the specified version. */\n get(\n options?: DeviceUpdateListFilesParameters,\n ): StreamableMethod<DeviceUpdateListFiles200Response | DeviceUpdateListFilesDefaultResponse>;\n}\n\nexport interface DeviceUpdateGetFile {\n /** Get a specific update file from the version. */\n get(\n options?: DeviceUpdateGetFileParameters,\n ): StreamableMethod<\n | DeviceUpdateGetFile200Response\n | DeviceUpdateGetFile304Response\n | DeviceUpdateGetFileDefaultResponse\n >;\n}\n\nexport interface DeviceUpdateListOperationStatuses {\n /** 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. */\n get(\n options?: DeviceUpdateListOperationStatusesParameters,\n ): StreamableMethod<\n DeviceUpdateListOperationStatuses200Response | DeviceUpdateListOperationStatusesDefaultResponse\n >;\n}\n\nexport interface DeviceUpdateGetOperationStatus {\n /** Retrieve operation status. */\n get(\n options?: DeviceUpdateGetOperationStatusParameters,\n ): StreamableMethod<\n | DeviceUpdateGetOperationStatus200Response\n | DeviceUpdateGetOperationStatus304Response\n | DeviceUpdateGetOperationStatusDefaultResponse\n >;\n}\n\nexport interface DeviceManagementListDeviceClasses {\n /** Gets a list of all device classes (sets of devices compatible with the same updates based on the model Id and compat properties reported in the Device Update PnP interface in IoT Hub) for all devices connected to Device Update for IoT Hub. */\n get(\n options?: DeviceManagementListDeviceClassesParameters,\n ): StreamableMethod<\n DeviceManagementListDeviceClasses200Response | DeviceManagementListDeviceClassesDefaultResponse\n >;\n}\n\nexport interface DeviceManagementGetDeviceClass {\n /** Gets the properties of a device class. */\n get(\n options?: DeviceManagementGetDeviceClassParameters,\n ): StreamableMethod<\n DeviceManagementGetDeviceClass200Response | DeviceManagementGetDeviceClassDefaultResponse\n >;\n /** Update device class details. */\n patch(\n options: DeviceManagementUpdateDeviceClassParameters,\n ): StreamableMethod<\n DeviceManagementUpdateDeviceClass200Response | DeviceManagementUpdateDeviceClassDefaultResponse\n >;\n /** Deletes a device class. Device classes are created automatically when Device Update-enabled devices are connected to the hub but are not automatically cleaned up since they are referenced by DeviceClassSubgroups. If the user has deleted all DeviceClassSubgroups for a device class they can also delete the device class to remove the records from the system and to stop checking the compatibility of this device class with new updates. If a device is ever reconnected for this device class it will be re-created. */\n delete(\n options?: DeviceManagementDeleteDeviceClassParameters,\n ): StreamableMethod<\n DeviceManagementDeleteDeviceClass204Response | DeviceManagementDeleteDeviceClassDefaultResponse\n >;\n}\n\nexport interface DeviceManagementListInstallableUpdatesForDeviceClass {\n /** Gets a list of installable updates for a device class. */\n get(\n options?: DeviceManagementListInstallableUpdatesForDeviceClassParameters,\n ): StreamableMethod<\n | DeviceManagementListInstallableUpdatesForDeviceClass200Response\n | DeviceManagementListInstallableUpdatesForDeviceClassDefaultResponse\n >;\n}\n\nexport interface DeviceManagementListDevices {\n /** Gets a list of devices connected to Device Update for IoT Hub. */\n get(\n options?: DeviceManagementListDevicesParameters,\n ): StreamableMethod<\n DeviceManagementListDevices200Response | DeviceManagementListDevicesDefaultResponse\n >;\n}\n\nexport interface DeviceManagementImportDevices {\n /** Import existing devices from IoT Hub. This is a long-running-operation; use Operation-Location response header value to check for operation status. */\n post(\n options: DeviceManagementImportDevicesParameters,\n ): StreamableMethod<\n DeviceManagementImportDevices202Response | DeviceManagementImportDevicesDefaultResponse\n >;\n}\n\nexport interface DeviceManagementGetDevice {\n /** Gets the device properties and latest deployment status for a device connected to Device Update for IoT Hub. */\n get(\n options?: DeviceManagementGetDeviceParameters,\n ): StreamableMethod<\n DeviceManagementGetDevice200Response | DeviceManagementGetDeviceDefaultResponse\n >;\n}\n\nexport interface DeviceManagementGetDeviceModule {\n /** Gets the device module properties and latest deployment status for a device module connected to Device Update for IoT Hub. */\n get(\n options?: DeviceManagementGetDeviceModuleParameters,\n ): StreamableMethod<\n DeviceManagementGetDeviceModule200Response | DeviceManagementGetDeviceModuleDefaultResponse\n >;\n}\n\nexport interface DeviceManagementGetUpdateCompliance {\n /** Gets the breakdown of how many devices are on their latest update, have new updates available, or are in progress receiving new updates. */\n get(\n options?: DeviceManagementGetUpdateComplianceParameters,\n ): StreamableMethod<\n | DeviceManagementGetUpdateCompliance200Response\n | DeviceManagementGetUpdateComplianceDefaultResponse\n >;\n}\n\nexport interface DeviceManagementListGroups {\n /** Gets a list of all device groups. The $default group will always be returned first. */\n get(\n options?: DeviceManagementListGroupsParameters,\n ): StreamableMethod<\n DeviceManagementListGroups200Response | DeviceManagementListGroupsDefaultResponse\n >;\n}\n\nexport interface DeviceManagementGetGroup {\n /** Gets the device group properties. */\n get(\n options?: DeviceManagementGetGroupParameters,\n ): StreamableMethod<\n DeviceManagementGetGroup200Response | DeviceManagementGetGroupDefaultResponse\n >;\n /** Deletes a device group. This group is automatically created when a Device Update-enabled device is connected to the hub and reports its properties. Groups, subgroups, and deployments are not automatically cleaned up but are retained for history purposes. Users can call this method to delete a group if they do not need to retain any of the history of the group and no longer need it. If a device is ever connected again for this group after the group was deleted it will be automatically re-created but there will be no history. */\n delete(\n options?: DeviceManagementDeleteGroupParameters,\n ): StreamableMethod<\n DeviceManagementDeleteGroup204Response | DeviceManagementDeleteGroupDefaultResponse\n >;\n}\n\nexport interface DeviceManagementGetUpdateComplianceForGroup {\n /** Get device group update compliance information such as how many devices are on their latest update, how many need new updates, and how many are in progress on receiving a new update. */\n get(\n options?: DeviceManagementGetUpdateComplianceForGroupParameters,\n ): StreamableMethod<\n | DeviceManagementGetUpdateComplianceForGroup200Response\n | DeviceManagementGetUpdateComplianceForGroupDefaultResponse\n >;\n}\n\nexport interface DeviceManagementListBestUpdatesForGroup {\n /** Get the best available updates for a device group and a count of how many devices need each update. */\n get(\n options?: DeviceManagementListBestUpdatesForGroupParameters,\n ): StreamableMethod<\n | DeviceManagementListBestUpdatesForGroup200Response\n | DeviceManagementListBestUpdatesForGroupDefaultResponse\n >;\n}\n\nexport interface DeviceManagementListDeploymentsForGroup {\n /** Gets a list of deployments for a device group. */\n get(\n options?: DeviceManagementListDeploymentsForGroupParameters,\n ): StreamableMethod<\n | DeviceManagementListDeploymentsForGroup200Response\n | DeviceManagementListDeploymentsForGroupDefaultResponse\n >;\n}\n\nexport interface DeviceManagementGetDeployment {\n /** Gets the deployment properties. */\n get(\n options?: DeviceManagementGetDeploymentParameters,\n ): StreamableMethod<\n DeviceManagementGetDeployment200Response | DeviceManagementGetDeploymentDefaultResponse\n >;\n /** Creates or updates a deployment. */\n put(\n options: DeviceManagementCreateOrUpdateDeploymentParameters,\n ): StreamableMethod<\n | DeviceManagementCreateOrUpdateDeployment200Response\n | DeviceManagementCreateOrUpdateDeploymentDefaultResponse\n >;\n /** Deletes a deployment. */\n delete(\n options?: DeviceManagementDeleteDeploymentParameters,\n ): StreamableMethod<\n DeviceManagementDeleteDeployment204Response | DeviceManagementDeleteDeploymentDefaultResponse\n >;\n}\n\nexport interface DeviceManagementGetDeploymentStatus {\n /** Gets the status of a deployment including a breakdown of how many devices in the deployment are in progress, completed, or failed. */\n get(\n options?: DeviceManagementGetDeploymentStatusParameters,\n ): StreamableMethod<\n | DeviceManagementGetDeploymentStatus200Response\n | DeviceManagementGetDeploymentStatusDefaultResponse\n >;\n}\n\nexport interface DeviceManagementListDeviceClassSubgroupsForGroup {\n /** Get the device class subgroups for the group. A device class subgroup is the set of devices within the group that share the same device class. All devices within the same device class are compatible with the same updates. */\n get(\n options?: DeviceManagementListDeviceClassSubgroupsForGroupParameters,\n ): StreamableMethod<\n | DeviceManagementListDeviceClassSubgroupsForGroup200Response\n | DeviceManagementListDeviceClassSubgroupsForGroupDefaultResponse\n >;\n}\n\nexport interface DeviceManagementGetDeviceClassSubgroup {\n /** Gets device class subgroup details. A device class subgroup is the set of devices within the group that share the same device class. All devices within the same device class are compatible with the same updates. */\n get(\n options?: DeviceManagementGetDeviceClassSubgroupParameters,\n ): StreamableMethod<\n | DeviceManagementGetDeviceClassSubgroup200Response\n | DeviceManagementGetDeviceClassSubgroupDefaultResponse\n >;\n /** Deletes a device class subgroup. This subgroup is automatically created when a Device Update-enabled device is connected to the hub and reports its properties. Groups, subgroups, and deployments are not automatically cleaned up but are retained for history purposes. Users can call this method to delete a subgroup if they do not need to retain any of the history of the subgroup and no longer need it. If a device is ever connected again for this subgroup after the subgroup was deleted it will be automatically re-created but there will be no history. */\n delete(\n options?: DeviceManagementDeleteDeviceClassSubgroupParameters,\n ): StreamableMethod<\n | DeviceManagementDeleteDeviceClassSubgroup204Response\n | DeviceManagementDeleteDeviceClassSubgroupDefaultResponse\n >;\n}\n\nexport interface DeviceManagementGetDeviceClassSubgroupUpdateCompliance {\n /** Get device class subgroup update compliance information such as how many devices are on their latest update, how many need new updates, and how many are in progress on receiving a new update. */\n get(\n options?: DeviceManagementGetDeviceClassSubgroupUpdateComplianceParameters,\n ): StreamableMethod<\n | DeviceManagementGetDeviceClassSubgroupUpdateCompliance200Response\n | DeviceManagementGetDeviceClassSubgroupUpdateComplianceDefaultResponse\n >;\n}\n\nexport interface DeviceManagementGetBestUpdatesForDeviceClassSubgroup {\n /** Get the best available update for a device class subgroup and a count of how many devices need this update. */\n get(\n options?: DeviceManagementGetBestUpdatesForDeviceClassSubgroupParameters,\n ): StreamableMethod<\n | DeviceManagementGetBestUpdatesForDeviceClassSubgroup200Response\n | DeviceManagementGetBestUpdatesForDeviceClassSubgroupDefaultResponse\n >;\n}\n\nexport interface DeviceManagementListDeploymentsForDeviceClassSubgroup {\n /** Gets a list of deployments for a device class subgroup. */\n get(\n options?: DeviceManagementListDeploymentsForDeviceClassSubgroupParameters,\n ): StreamableMethod<\n | DeviceManagementListDeploymentsForDeviceClassSubgroup200Response\n | DeviceManagementListDeploymentsForDeviceClassSubgroupDefaultResponse\n >;\n}\n\nexport interface DeviceManagementGetDeploymentForDeviceClassSubgroup {\n /** Gets the deployment properties. */\n get(\n options?: DeviceManagementGetDeploymentForDeviceClassSubgroupParameters,\n ): StreamableMethod<\n | DeviceManagementGetDeploymentForDeviceClassSubgroup200Response\n | DeviceManagementGetDeploymentForDeviceClassSubgroupDefaultResponse\n >;\n /** Deletes a device class subgroup deployment. */\n delete(\n options?: DeviceManagementDeleteDeploymentForDeviceClassSubgroupParameters,\n ): StreamableMethod<\n | DeviceManagementDeleteDeploymentForDeviceClassSubgroup204Response\n | DeviceManagementDeleteDeploymentForDeviceClassSubgroupDefaultResponse\n >;\n}\n\nexport interface DeviceManagementStopDeployment {\n /** Stops a deployment. */\n post(\n options?: DeviceManagementStopDeploymentParameters,\n ): StreamableMethod<\n DeviceManagementStopDeployment200Response | DeviceManagementStopDeploymentDefaultResponse\n >;\n}\n\nexport interface DeviceManagementRetryDeployment {\n /** Retries a deployment with failed devices. */\n post(\n options?: DeviceManagementRetryDeploymentParameters,\n ): StreamableMethod<\n DeviceManagementRetryDeployment200Response | DeviceManagementRetryDeploymentDefaultResponse\n >;\n}\n\nexport interface DeviceManagementGetDeviceClassSubgroupDeploymentStatus {\n /** Gets the status of a deployment including a breakdown of how many devices in the deployment are in progress, completed, or failed. */\n get(\n options?: DeviceManagementGetDeviceClassSubgroupDeploymentStatusParameters,\n ): StreamableMethod<\n | DeviceManagementGetDeviceClassSubgroupDeploymentStatus200Response\n | DeviceManagementGetDeviceClassSubgroupDeploymentStatusDefaultResponse\n >;\n}\n\nexport interface DeviceManagementListDeviceStatesForDeviceClassSubgroupDeployment {\n /** Gets a list of devices in a deployment along with their state. Useful for getting a list of failed devices. */\n get(\n options?: DeviceManagementListDeviceStatesForDeviceClassSubgroupDeploymentParameters,\n ): StreamableMethod<\n | DeviceManagementListDeviceStatesForDeviceClassSubgroupDeployment200Response\n | DeviceManagementListDeviceStatesForDeviceClassSubgroupDeploymentDefaultResponse\n >;\n}\n\nexport interface DeviceManagementGetOperationStatus {\n /** Retrieve operation status. */\n get(\n options?: DeviceManagementGetOperationStatusParameters,\n ): StreamableMethod<\n | DeviceManagementGetOperationStatus200Response\n | DeviceManagementGetOperationStatus304Response\n | DeviceManagementGetOperationStatusDefaultResponse\n >;\n}\n\nexport interface DeviceManagementListOperationStatuses {\n /** Get a list of all device import operations. Completed operations are kept for 7 days before auto-deleted. */\n get(\n options?: DeviceManagementListOperationStatusesParameters,\n ): StreamableMethod<\n | DeviceManagementListOperationStatuses200Response\n | DeviceManagementListOperationStatusesDefaultResponse\n >;\n}\n\nexport interface DeviceManagementStartLogCollection {\n /** Start the device diagnostics log collection on specified devices. */\n put(\n options: DeviceManagementStartLogCollectionParameters,\n ): StreamableMethod<\n | DeviceManagementStartLogCollection201Response\n | DeviceManagementStartLogCollectionDefaultResponse\n >;\n /** Get the device diagnostics log collection */\n get(\n options?: DeviceManagementGetLogCollectionParameters,\n ): StreamableMethod<\n DeviceManagementGetLogCollection200Response | DeviceManagementGetLogCollectionDefaultResponse\n >;\n}\n\nexport interface DeviceManagementListLogCollections {\n /** Get all device diagnostics log collections */\n get(\n options?: DeviceManagementListLogCollectionsParameters,\n ): StreamableMethod<\n | DeviceManagementListLogCollections200Response\n | DeviceManagementListLogCollectionsDefaultResponse\n >;\n}\n\nexport interface DeviceManagementGetLogCollectionDetailedStatus {\n /** Get log collection with detailed status */\n get(\n options?: DeviceManagementGetLogCollectionDetailedStatusParameters,\n ): StreamableMethod<\n | DeviceManagementGetLogCollectionDetailedStatus200Response\n | DeviceManagementGetLogCollectionDetailedStatusDefaultResponse\n >;\n}\n\nexport interface DeviceManagementListHealthOfDevices {\n /** Get list of device health */\n get(\n options: DeviceManagementListHealthOfDevicesParameters,\n ): StreamableMethod<\n | DeviceManagementListHealthOfDevices200Response\n | DeviceManagementListHealthOfDevicesDefaultResponse\n >;\n}\n\nexport interface Routes {\n /** Resource for '/deviceUpdate/\\{instanceId\\}/updates' has methods for the following verbs: get */\n (path: \"/deviceUpdate/{instanceId}/updates\", instanceId: string): DeviceUpdateListUpdates;\n /** Resource for '/deviceUpdate/\\{instanceId\\}/updates:import' has methods for the following verbs: post */\n (path: \"/deviceUpdate/{instanceId}/updates:import\", instanceId: string): DeviceUpdateImportUpdate;\n /** Resource for '/deviceUpdate/\\{instanceId\\}/updates/providers/\\{provider\\}/names/\\{name\\}/versions/\\{version\\}' has methods for the following verbs: get, delete */\n (\n path: \"/deviceUpdate/{instanceId}/updates/providers/{provider}/names/{name}/versions/{version}\",\n instanceId: string,\n provider: string,\n name: string,\n version: string,\n ): DeviceUpdateGetUpdate;\n /** Resource for '/deviceUpdate/\\{instanceId\\}/updates/providers' has methods for the following verbs: get */\n (\n path: \"/deviceUpdate/{instanceId}/updates/providers\",\n instanceId: string,\n ): DeviceUpdateListProviders;\n /** Resource for '/deviceUpdate/\\{instanceId\\}/updates/providers/\\{provider\\}/names' has methods for the following verbs: get */\n (\n path: \"/deviceUpdate/{instanceId}/updates/providers/{provider}/names\",\n instanceId: string,\n provider: string,\n ): DeviceUpdateListNames;\n /** Resource for '/deviceUpdate/\\{instanceId\\}/updates/providers/\\{provider\\}/names/\\{name\\}/versions' has methods for the following verbs: get */\n (\n path: \"/deviceUpdate/{instanceId}/updates/providers/{provider}/names/{name}/versions\",\n instanceId: string,\n provider: string,\n name: string,\n ): DeviceUpdateListVersions;\n /** Resource for '/deviceUpdate/\\{instanceId\\}/updates/providers/\\{provider\\}/names/\\{name\\}/versions/\\{version\\}/files' has methods for the following verbs: get */\n (\n path: \"/deviceUpdate/{instanceId}/updates/providers/{provider}/names/{name}/versions/{version}/files\",\n instanceId: string,\n provider: string,\n name: string,\n version: string,\n ): DeviceUpdateListFiles;\n /** Resource for '/deviceUpdate/\\{instanceId\\}/updates/providers/\\{provider\\}/names/\\{name\\}/versions/\\{version\\}/files/\\{fileId\\}' has methods for the following verbs: get */\n (\n path: \"/deviceUpdate/{instanceId}/updates/providers/{provider}/names/{name}/versions/{version}/files/{fileId}\",\n instanceId: string,\n provider: string,\n name: string,\n version: string,\n fileId: string,\n ): DeviceUpdateGetFile;\n /** Resource for '/deviceUpdate/\\{instanceId\\}/updates/operations' has methods for the following verbs: get */\n (\n path: \"/deviceUpdate/{instanceId}/updates/operations\",\n instanceId: string,\n ): DeviceUpdateListOperationStatuses;\n /** Resource for '/deviceUpdate/\\{instanceId\\}/updates/operations/\\{operationId\\}' has methods for the following verbs: get */\n (\n path: \"/deviceUpdate/{instanceId}/updates/operations/{operationId}\",\n instanceId: string,\n operationId: string,\n ): DeviceUpdateGetOperationStatus;\n /** Resource for '/deviceUpdate/\\{instanceId\\}/management/deviceClasses' has methods for the following verbs: get */\n (\n path: \"/deviceUpdate/{instanceId}/management/deviceClasses\",\n instanceId: string,\n ): DeviceManagementListDeviceClasses;\n /** Resource for '/deviceUpdate/\\{instanceId\\}/management/deviceClasses/\\{deviceClassId\\}' has methods for the following verbs: get, patch, delete */\n (\n path: \"/deviceUpdate/{instanceId}/management/deviceClasses/{deviceClassId}\",\n instanceId: string,\n deviceClassId: string,\n ): DeviceManagementGetDeviceClass;\n /** Resource for '/deviceUpdate/\\{instanceId\\}/management/deviceClasses/\\{deviceClassId\\}/installableUpdates' has methods for the following verbs: get */\n (\n path: \"/deviceUpdate/{instanceId}/management/deviceClasses/{deviceClassId}/installableUpdates\",\n instanceId: string,\n deviceClassId: string,\n ): DeviceManagementListInstallableUpdatesForDeviceClass;\n /** Resource for '/deviceUpdate/\\{instanceId\\}/management/devices' has methods for the following verbs: get */\n (\n path: \"/deviceUpdate/{instanceId}/management/devices\",\n instanceId: string,\n ): DeviceManagementListDevices;\n /** Resource for '/deviceUpdate/\\{instanceId\\}/management/devices:import' has methods for the following verbs: post */\n (\n path: \"/deviceUpdate/{instanceId}/management/devices:import\",\n instanceId: string,\n ): DeviceManagementImportDevices;\n /** Resource for '/deviceUpdate/\\{instanceId\\}/management/devices/\\{deviceId\\}' has methods for the following verbs: get */\n (\n path: \"/deviceUpdate/{instanceId}/management/devices/{deviceId}\",\n instanceId: string,\n deviceId: string,\n ): DeviceManagementGetDevice;\n /** Resource for '/deviceUpdate/\\{instanceId\\}/management/devices/\\{deviceId\\}/modules/\\{moduleId\\}' has methods for the following verbs: get */\n (\n path: \"/deviceUpdate/{instanceId}/management/devices/{deviceId}/modules/{moduleId}\",\n instanceId: string,\n deviceId: string,\n moduleId: string,\n ): DeviceManagementGetDeviceModule;\n /** Resource for '/deviceUpdate/\\{instanceId\\}/management/updateCompliance' has methods for the following verbs: get */\n (\n path: \"/deviceUpdate/{instanceId}/management/updateCompliance\",\n instanceId: string,\n ): DeviceManagementGetUpdateCompliance;\n /** Resource for '/deviceUpdate/\\{instanceId\\}/management/groups' has methods for the following verbs: get */\n (\n path: \"/deviceUpdate/{instanceId}/management/groups\",\n instanceId: string,\n ): DeviceManagementListGroups;\n /** Resource for '/deviceUpdate/\\{instanceId\\}/management/groups/\\{groupId\\}' has methods for the following verbs: get, delete */\n (\n path: \"/deviceUpdate/{instanceId}/management/groups/{groupId}\",\n instanceId: string,\n groupId: string,\n ): DeviceManagementGetGroup;\n /** Resource for '/deviceUpdate/\\{instanceId\\}/management/groups/\\{groupId\\}/updateCompliance' has methods for the following verbs: get */\n (\n path: \"/deviceUpdate/{instanceId}/management/groups/{groupId}/updateCompliance\",\n instanceId: string,\n groupId: string,\n ): DeviceManagementGetUpdateComplianceForGroup;\n /** Resource for '/deviceUpdate/\\{instanceId\\}/management/groups/\\{groupId\\}/bestUpdates' has methods for the following verbs: get */\n (\n path: \"/deviceUpdate/{instanceId}/management/groups/{groupId}/bestUpdates\",\n instanceId: string,\n groupId: string,\n ): DeviceManagementListBestUpdatesForGroup;\n /** Resource for '/deviceUpdate/\\{instanceId\\}/management/groups/\\{groupId\\}/deployments' has methods for the following verbs: get */\n (\n path: \"/deviceUpdate/{instanceId}/management/groups/{groupId}/deployments\",\n instanceId: string,\n groupId: string,\n ): DeviceManagementListDeploymentsForGroup;\n /** Resource for '/deviceUpdate/\\{instanceId\\}/management/groups/\\{groupId\\}/deployments/\\{deploymentId\\}' has methods for the following verbs: get, put, delete */\n (\n path: \"/deviceUpdate/{instanceId}/management/groups/{groupId}/deployments/{deploymentId}\",\n instanceId: string,\n groupId: string,\n deploymentId: string,\n ): DeviceManagementGetDeployment;\n /** Resource for '/deviceUpdate/\\{instanceId\\}/management/groups/\\{groupId\\}/deployments/\\{deploymentId\\}/status' has methods for the following verbs: get */\n (\n path: \"/deviceUpdate/{instanceId}/management/groups/{groupId}/deployments/{deploymentId}/status\",\n instanceId: string,\n groupId: string,\n deploymentId: string,\n ): DeviceManagementGetDeploymentStatus;\n /** Resource for '/deviceUpdate/\\{instanceId\\}/management/groups/\\{groupId\\}/deviceClassSubgroups' has methods for the following verbs: get */\n (\n path: \"/deviceUpdate/{instanceId}/management/groups/{groupId}/deviceClassSubgroups\",\n instanceId: string,\n groupId: string,\n ): DeviceManagementListDeviceClassSubgroupsForGroup;\n /** Resource for '/deviceUpdate/\\{instanceId\\}/management/groups/\\{groupId\\}/deviceClassSubgroups/\\{deviceClassId\\}' has methods for the following verbs: get, delete */\n (\n path: \"/deviceUpdate/{instanceId}/management/groups/{groupId}/deviceClassSubgroups/{deviceClassId}\",\n instanceId: string,\n groupId: string,\n deviceClassId: string,\n ): DeviceManagementGetDeviceClassSubgroup;\n /** Resource for '/deviceUpdate/\\{instanceId\\}/management/groups/\\{groupId\\}/deviceClassSubgroups/\\{deviceClassId\\}/updateCompliance' has methods for the following verbs: get */\n (\n path: \"/deviceUpdate/{instanceId}/management/groups/{groupId}/deviceClassSubgroups/{deviceClassId}/updateCompliance\",\n instanceId: string,\n groupId: string,\n deviceClassId: string,\n ): DeviceManagementGetDeviceClassSubgroupUpdateCompliance;\n /** Resource for '/deviceUpdate/\\{instanceId\\}/management/groups/\\{groupId\\}/deviceClassSubgroups/\\{deviceClassId\\}/bestUpdates' has methods for the following verbs: get */\n (\n path: \"/deviceUpdate/{instanceId}/management/groups/{groupId}/deviceClassSubgroups/{deviceClassId}/bestUpdates\",\n instanceId: string,\n groupId: string,\n deviceClassId: string,\n ): DeviceManagementGetBestUpdatesForDeviceClassSubgroup;\n /** Resource for '/deviceUpdate/\\{instanceId\\}/management/groups/\\{groupId\\}/deviceClassSubgroups/\\{deviceClassId\\}/deployments' has methods for the following verbs: get */\n (\n path: \"/deviceUpdate/{instanceId}/management/groups/{groupId}/deviceClassSubgroups/{deviceClassId}/deployments\",\n instanceId: string,\n groupId: string,\n deviceClassId: string,\n ): DeviceManagementListDeploymentsForDeviceClassSubgroup;\n /** Resource for '/deviceUpdate/\\{instanceId\\}/management/groups/\\{groupId\\}/deviceClassSubgroups/\\{deviceClassId\\}/deployments/\\{deploymentId\\}' has methods for the following verbs: get, delete */\n (\n path: \"/deviceUpdate/{instanceId}/management/groups/{groupId}/deviceClassSubgroups/{deviceClassId}/deployments/{deploymentId}\",\n instanceId: string,\n groupId: string,\n deviceClassId: string,\n deploymentId: string,\n ): DeviceManagementGetDeploymentForDeviceClassSubgroup;\n /** Resource for '/deviceUpdate/\\{instanceId\\}/management/groups/\\{groupId\\}/deviceClassSubgroups/\\{deviceClassId\\}/deployments/\\{deploymentId\\}:cancel' has methods for the following verbs: post */\n (\n path: \"/deviceUpdate/{instanceId}/management/groups/{groupId}/deviceClassSubgroups/{deviceClassId}/deployments/{deploymentId}:cancel\",\n instanceId: string,\n groupId: string,\n deviceClassId: string,\n deploymentId: string,\n ): DeviceManagementStopDeployment;\n /** Resource for '/deviceUpdate/\\{instanceId\\}/management/groups/\\{groupId\\}/deviceClassSubgroups/\\{deviceClassId\\}/deployments/\\{deploymentId\\}:retry' has methods for the following verbs: post */\n (\n path: \"/deviceUpdate/{instanceId}/management/groups/{groupId}/deviceClassSubgroups/{deviceClassId}/deployments/{deploymentId}:retry\",\n instanceId: string,\n groupId: string,\n deviceClassId: string,\n deploymentId: string,\n ): DeviceManagementRetryDeployment;\n /** Resource for '/deviceUpdate/\\{instanceId\\}/management/groups/\\{groupId\\}/deviceClassSubgroups/\\{deviceClassId\\}/deployments/\\{deploymentId\\}/status' has methods for the following verbs: get */\n (\n path: \"/deviceUpdate/{instanceId}/management/groups/{groupId}/deviceClassSubgroups/{deviceClassId}/deployments/{deploymentId}/status\",\n instanceId: string,\n groupId: string,\n deviceClassId: string,\n deploymentId: string,\n ): DeviceManagementGetDeviceClassSubgroupDeploymentStatus;\n /** Resource for '/deviceUpdate/\\{instanceId\\}/management/groups/\\{groupId\\}/deviceClassSubgroups/\\{deviceClassId\\}/deployments/\\{deploymentId\\}/devicestates' has methods for the following verbs: get */\n (\n path: \"/deviceUpdate/{instanceId}/management/groups/{groupId}/deviceClassSubgroups/{deviceClassId}/deployments/{deploymentId}/devicestates\",\n instanceId: string,\n groupId: string,\n deviceClassId: string,\n deploymentId: string,\n ): DeviceManagementListDeviceStatesForDeviceClassSubgroupDeployment;\n /** Resource for '/deviceUpdate/\\{instanceId\\}/management/operations/\\{operationId\\}' has methods for the following verbs: get */\n (\n path: \"/deviceUpdate/{instanceId}/management/operations/{operationId}\",\n instanceId: string,\n operationId: string,\n ): DeviceManagementGetOperationStatus;\n /** Resource for '/deviceUpdate/\\{instanceId\\}/management/operations' has methods for the following verbs: get */\n (\n path: \"/deviceUpdate/{instanceId}/management/operations\",\n instanceId: string,\n ): DeviceManagementListOperationStatuses;\n /** Resource for '/deviceUpdate/\\{instanceId\\}/management/deviceDiagnostics/logCollections/\\{operationId\\}' has methods for the following verbs: put, get */\n (\n path: \"/deviceUpdate/{instanceId}/management/deviceDiagnostics/logCollections/{operationId}\",\n instanceId: string,\n operationId: string,\n ): DeviceManagementStartLogCollection;\n /** Resource for '/deviceUpdate/\\{instanceId\\}/management/deviceDiagnostics/logCollections' has methods for the following verbs: get */\n (\n path: \"/deviceUpdate/{instanceId}/management/deviceDiagnostics/logCollections\",\n instanceId: string,\n ): DeviceManagementListLogCollections;\n /** Resource for '/deviceUpdate/\\{instanceId\\}/management/deviceDiagnostics/logCollections/\\{operationId\\}/detailedStatus' has methods for the following verbs: get */\n (\n path: \"/deviceUpdate/{instanceId}/management/deviceDiagnostics/logCollections/{operationId}/detailedStatus\",\n instanceId: string,\n operationId: string,\n ): DeviceManagementGetLogCollectionDetailedStatus;\n /** Resource for '/deviceUpdate/\\{instanceId\\}/management/deviceDiagnostics/deviceHealth' has methods for the following verbs: get */\n (\n path: \"/deviceUpdate/{instanceId}/management/deviceDiagnostics/deviceHealth\",\n instanceId: string,\n ): DeviceManagementListHealthOfDevices;\n}\n\nexport type DeviceUpdateClient = Client & {\n path: Routes;\n};\n"]}
@@ -1,5 +1,16 @@
1
1
  import type { ClientOptions } from "@azure-rest/core-client";
2
2
  import type { TokenCredential } from "@azure/core-auth";
3
3
  import type { DeviceUpdateClient } from "./clientDefinitions.js";
4
- export default function createClient(endpoint: string, credentials: TokenCredential, options?: ClientOptions): DeviceUpdateClient;
4
+ /** The optional parameters for the client */
5
+ export interface DeviceUpdateClientOptions extends ClientOptions {
6
+ /** The api version option of the client */
7
+ apiVersion?: string;
8
+ }
9
+ /**
10
+ * Initialize a new instance of `DeviceUpdateClient`
11
+ * @param endpoint - The Device Update for IoT Hub account endpoint (hostname only, no protocol).
12
+ * @param credentials - uniquely identify client credential
13
+ * @param options - the parameter for all optional parameters
14
+ */
15
+ export default function createClient(endpoint: string, credentials: TokenCredential, { apiVersion, ...options }?: DeviceUpdateClientOptions): DeviceUpdateClient;
5
16
  //# sourceMappingURL=deviceUpdate.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"deviceUpdate.d.ts","sourceRoot":"","sources":["../../src/deviceUpdate.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAC;AAE7D,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;AACxD,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,wBAAwB,CAAC;AAEjE,MAAM,CAAC,OAAO,UAAU,YAAY,CAClC,QAAQ,EAAE,MAAM,EAChB,WAAW,EAAE,eAAe,EAC5B,OAAO,GAAE,aAAkB,GAC1B,kBAAkB,CAyBpB"}
1
+ {"version":3,"file":"deviceUpdate.d.ts","sourceRoot":"","sources":["../../src/deviceUpdate.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAC;AAG7D,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;AACxD,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,wBAAwB,CAAC;AAEjE,6CAA6C;AAC7C,MAAM,WAAW,yBAA0B,SAAQ,aAAa;IAC9D,2CAA2C;IAC3C,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAED;;;;;GAKG;AACH,MAAM,CAAC,OAAO,UAAU,YAAY,CAClC,QAAQ,EAAE,MAAM,EAChB,WAAW,EAAE,eAAe,EAC5B,EAAE,UAAyB,EAAE,GAAG,OAAO,EAAE,GAAE,yBAA8B,GACxE,kBAAkB,CAuCpB"}
@@ -1,21 +1,43 @@
1
1
  // Copyright (c) Microsoft Corporation.
2
2
  // Licensed under the MIT License.
3
+ import { __rest } from "tslib";
3
4
  import { getClient } from "@azure-rest/core-client";
4
- export default function createClient(endpoint, credentials, options = {}) {
5
- var _a, _b;
6
- const baseUrl = (_a = options.baseUrl) !== null && _a !== void 0 ? _a : `https://${endpoint}`;
7
- options.apiVersion = (_b = options.apiVersion) !== null && _b !== void 0 ? _b : "2022-10-01";
8
- options = Object.assign(Object.assign({}, options), { credentials: {
9
- scopes: ["https://api.adu.microsoft.com/.default"],
10
- } });
11
- const userAgentInfo = `azsdk-js-iot-device-update-rest/1.0.0`;
5
+ import { logger } from "./logger.js";
6
+ /**
7
+ * Initialize a new instance of `DeviceUpdateClient`
8
+ * @param endpoint - The Device Update for IoT Hub account endpoint (hostname only, no protocol).
9
+ * @param credentials - uniquely identify client credential
10
+ * @param options - the parameter for all optional parameters
11
+ */
12
+ export default function createClient(endpoint, credentials, _a = {}) {
13
+ var _b, _c, _d, _e, _f, _g;
14
+ var { apiVersion = "2022-10-01" } = _a, options = __rest(_a, ["apiVersion"]);
15
+ const endpointUrl = (_c = (_b = options.endpoint) !== null && _b !== void 0 ? _b : options.baseUrl) !== null && _c !== void 0 ? _c : `https://${endpoint}`;
16
+ const userAgentInfo = `azsdk-js-iot-device-update-rest/1.1.0`;
12
17
  const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix
13
18
  ? `${options.userAgentOptions.userAgentPrefix} ${userAgentInfo}`
14
19
  : `${userAgentInfo}`;
15
20
  options = Object.assign(Object.assign({}, options), { userAgentOptions: {
16
21
  userAgentPrefix,
22
+ }, loggingOptions: {
23
+ logger: (_e = (_d = options.loggingOptions) === null || _d === void 0 ? void 0 : _d.logger) !== null && _e !== void 0 ? _e : logger.info,
24
+ }, credentials: {
25
+ scopes: (_g = (_f = options.credentials) === null || _f === void 0 ? void 0 : _f.scopes) !== null && _g !== void 0 ? _g : ["https://api.adu.microsoft.com/.default"],
17
26
  } });
18
- const client = getClient(baseUrl, credentials, options);
27
+ const client = getClient(endpointUrl, credentials, options);
28
+ client.pipeline.removePolicy({ name: "ApiVersionPolicy" });
29
+ client.pipeline.addPolicy({
30
+ name: "ClientApiVersionPolicy",
31
+ sendRequest: (req, next) => {
32
+ // Use the apiVersion defined in request url directly
33
+ // Append one if there is no apiVersion and we have one at client options
34
+ const url = new URL(req.url);
35
+ if (!url.searchParams.get("api-version") && apiVersion) {
36
+ req.url = `${req.url}${Array.from(url.searchParams.keys()).length > 0 ? "&" : "?"}api-version=${apiVersion}`;
37
+ }
38
+ return next(req);
39
+ },
40
+ });
19
41
  return client;
20
42
  }
21
43
  //# sourceMappingURL=deviceUpdate.js.map