@azure-rest/iot-device-update 1.0.1-alpha.20241219.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 +3 -2
@@ -1 +1 @@
1
- {"version":3,"file":"responses.js","sourceRoot":"","sources":["../../src/responses.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport type { RawHttpHeaders } from \"@azure/core-rest-pipeline\";\nimport type { HttpResponse } from \"@azure-rest/core-client\";\nimport type {\n UpdateListOutput,\n ErrorResponseOutput,\n UpdateOutput,\n StringsListOutput,\n UpdateFileOutput,\n UpdateOperationsListOutput,\n UpdateOperationOutput,\n DeviceClassesListOutput,\n DeviceClassOutput,\n UpdateInfoListOutput,\n DevicesListOutput,\n DeviceOutput,\n UpdateComplianceOutput,\n GroupsListOutput,\n GroupOutput,\n DeviceClassSubgroupUpdatableDevicesListOutput,\n DeploymentsListOutput,\n DeploymentOutput,\n DeploymentStatusOutput,\n DeviceClassSubgroupsListOutput,\n DeviceClassSubgroupOutput,\n DeviceClassSubgroupUpdatableDevicesOutput,\n DeviceClassSubgroupDeploymentStatusOutput,\n DeploymentDeviceStatesListOutput,\n DeviceOperationOutput,\n DeviceOperationsListOutput,\n LogCollectionOutput,\n LogCollectionListOutput,\n LogCollectionOperationDetailedStatusOutput,\n DeviceHealthListOutput,\n} from \"./outputModels.js\";\n\n/** Get a list of all updates that have been imported to Device Update for IoT Hub. */\nexport interface DeviceUpdateListUpdates200Response extends HttpResponse {\n status: \"200\";\n body: UpdateListOutput;\n}\n\n/** Get a list of all updates that have been imported to Device Update for IoT Hub. */\nexport interface DeviceUpdateListUpdatesdefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponseOutput;\n}\n\n/** Import new update version. This is a long-running-operation; use Operation-Location response header value to check for operation status. */\nexport interface DeviceUpdateImportUpdate200Response extends HttpResponse {\n status: \"200\";\n body: UpdateOutput;\n}\n\nexport interface DeviceUpdateImportUpdate202Headers {\n /** Url to retrieve the import operation status. */\n \"operation-location\"?: string;\n}\n\n/** Import new update version. This is a long-running-operation; use Operation-Location response header value to check for operation status. */\nexport interface DeviceUpdateImportUpdate202Response extends HttpResponse {\n status: \"202\";\n body: Record<string, unknown>;\n headers: RawHttpHeaders & DeviceUpdateImportUpdate202Headers;\n}\n\n/** Import new update version. This is a long-running-operation; use Operation-Location response header value to check for operation status. */\nexport interface DeviceUpdateImportUpdatedefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponseOutput;\n}\n\n/** Get a specific update version. */\nexport interface DeviceUpdateGetUpdate200Response extends HttpResponse {\n status: \"200\";\n body: UpdateOutput;\n}\n\n/** Get a specific update version. */\nexport interface DeviceUpdateGetUpdate304Response extends HttpResponse {\n status: \"304\";\n body: Record<string, unknown>;\n}\n\n/** Get a specific update version. */\nexport interface DeviceUpdateGetUpdatedefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponseOutput;\n}\n\nexport interface DeviceUpdateDeleteUpdate202Headers {\n /** Url to retrieve the operation status */\n \"operation-location\"?: string;\n}\n\n/** Delete a specific update version. This is a long-running-operation; use Operation-Location response header value to check for operation status. */\nexport interface DeviceUpdateDeleteUpdate202Response extends HttpResponse {\n status: \"202\";\n body: Record<string, unknown>;\n headers: RawHttpHeaders & DeviceUpdateDeleteUpdate202Headers;\n}\n\n/** Delete a specific update version. This is a long-running-operation; use Operation-Location response header value to check for operation status. */\nexport interface DeviceUpdateDeleteUpdatedefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponseOutput;\n}\n\n/** Get a list of all update providers that have been imported to Device Update for IoT Hub. */\nexport interface DeviceUpdateListProviders200Response extends HttpResponse {\n status: \"200\";\n body: StringsListOutput;\n}\n\n/** Get a list of all update providers that have been imported to Device Update for IoT Hub. */\nexport interface DeviceUpdateListProvidersdefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponseOutput;\n}\n\n/** Get a list of all update names that match the specified provider. */\nexport interface DeviceUpdateListNames200Response extends HttpResponse {\n status: \"200\";\n body: StringsListOutput;\n}\n\n/** Get a list of all update names that match the specified provider. */\nexport interface DeviceUpdateListNamesdefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponseOutput;\n}\n\n/** Get a list of all update versions that match the specified provider and name. */\nexport interface DeviceUpdateListVersions200Response extends HttpResponse {\n status: \"200\";\n body: StringsListOutput;\n}\n\n/** Get a list of all update versions that match the specified provider and name. */\nexport interface DeviceUpdateListVersionsdefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponseOutput;\n}\n\n/** Get a list of all update file identifiers for the specified version. */\nexport interface DeviceUpdateListFiles200Response extends HttpResponse {\n status: \"200\";\n body: StringsListOutput;\n}\n\n/** Get a list of all update file identifiers for the specified version. */\nexport interface DeviceUpdateListFilesdefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponseOutput;\n}\n\n/** Get a specific update file from the version. */\nexport interface DeviceUpdateGetFile200Response extends HttpResponse {\n status: \"200\";\n body: UpdateFileOutput;\n}\n\n/** Get a specific update file from the version. */\nexport interface DeviceUpdateGetFile304Response extends HttpResponse {\n status: \"304\";\n body: Record<string, unknown>;\n}\n\n/** Get a specific update file from the version. */\nexport interface DeviceUpdateGetFiledefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponseOutput;\n}\n\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. */\nexport interface DeviceUpdateListOperationStatuses200Response extends HttpResponse {\n status: \"200\";\n body: UpdateOperationsListOutput;\n}\n\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. */\nexport interface DeviceUpdateListOperationStatusesdefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponseOutput;\n}\n\nexport interface DeviceUpdateGetOperationStatus200Headers {\n /** Number of seconds to wait before checking the operation status again. */\n \"retry-after\"?: string;\n}\n\n/** Retrieve operation status. */\nexport interface DeviceUpdateGetOperationStatus200Response extends HttpResponse {\n status: \"200\";\n body: UpdateOperationOutput;\n headers: RawHttpHeaders & DeviceUpdateGetOperationStatus200Headers;\n}\n\n/** Retrieve operation status. */\nexport interface DeviceUpdateGetOperationStatus304Response extends HttpResponse {\n status: \"304\";\n body: Record<string, unknown>;\n}\n\n/** Retrieve operation status. */\nexport interface DeviceUpdateGetOperationStatusdefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponseOutput;\n}\n\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. */\nexport interface DeviceManagementListDeviceClasses200Response extends HttpResponse {\n status: \"200\";\n body: DeviceClassesListOutput;\n}\n\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. */\nexport interface DeviceManagementListDeviceClassesdefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponseOutput;\n}\n\n/** Gets the properties of a device class. */\nexport interface DeviceManagementGetDeviceClass200Response extends HttpResponse {\n status: \"200\";\n body: DeviceClassOutput;\n}\n\n/** Gets the properties of a device class. */\nexport interface DeviceManagementGetDeviceClassdefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponseOutput;\n}\n\n/** Update device class details. */\nexport interface DeviceManagementUpdateDeviceClass200Response extends HttpResponse {\n status: \"200\";\n body: DeviceClassOutput;\n}\n\n/** Update device class details. */\nexport interface DeviceManagementUpdateDeviceClassdefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponseOutput;\n}\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. */\nexport interface DeviceManagementDeleteDeviceClass204Response extends HttpResponse {\n status: \"204\";\n body: Record<string, unknown>;\n}\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. */\nexport interface DeviceManagementDeleteDeviceClassdefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponseOutput;\n}\n\n/** Gets a list of installable updates for a device class. */\nexport interface DeviceManagementListInstallableUpdatesForDeviceClass200Response\n extends HttpResponse {\n status: \"200\";\n body: UpdateInfoListOutput;\n}\n\n/** Gets a list of installable updates for a device class. */\nexport interface DeviceManagementListInstallableUpdatesForDeviceClassdefaultResponse\n extends HttpResponse {\n status: string;\n body: ErrorResponseOutput;\n}\n\n/** Gets a list of devices connected to Device Update for IoT Hub. */\nexport interface DeviceManagementListDevices200Response extends HttpResponse {\n status: \"200\";\n body: DevicesListOutput;\n}\n\n/** Gets a list of devices connected to Device Update for IoT Hub. */\nexport interface DeviceManagementListDevicesdefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponseOutput;\n}\n\nexport interface DeviceManagementImportDevices202Headers {\n /** Url to retrieve the device import operation status. */\n \"operation-location\"?: string;\n}\n\n/** Import existing devices from IoT Hub. This is a long-running-operation; use Operation-Location response header value to check for operation status. */\nexport interface DeviceManagementImportDevices202Response extends HttpResponse {\n status: \"202\";\n body: Record<string, unknown>;\n headers: RawHttpHeaders & DeviceManagementImportDevices202Headers;\n}\n\n/** Import existing devices from IoT Hub. This is a long-running-operation; use Operation-Location response header value to check for operation status. */\nexport interface DeviceManagementImportDevicesdefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponseOutput;\n}\n\n/** Gets the device properties and latest deployment status for a device connected to Device Update for IoT Hub. */\nexport interface DeviceManagementGetDevice200Response extends HttpResponse {\n status: \"200\";\n body: DeviceOutput;\n}\n\n/** Gets the device properties and latest deployment status for a device connected to Device Update for IoT Hub. */\nexport interface DeviceManagementGetDevicedefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponseOutput;\n}\n\n/** Gets the device module properties and latest deployment status for a device module connected to Device Update for IoT Hub. */\nexport interface DeviceManagementGetDeviceModule200Response extends HttpResponse {\n status: \"200\";\n body: DeviceOutput;\n}\n\n/** Gets the device module properties and latest deployment status for a device module connected to Device Update for IoT Hub. */\nexport interface DeviceManagementGetDeviceModuledefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponseOutput;\n}\n\n/** Gets the breakdown of how many devices are on their latest update, have new updates available, or are in progress receiving new updates. */\nexport interface DeviceManagementGetUpdateCompliance200Response extends HttpResponse {\n status: \"200\";\n body: UpdateComplianceOutput;\n}\n\n/** Gets the breakdown of how many devices are on their latest update, have new updates available, or are in progress receiving new updates. */\nexport interface DeviceManagementGetUpdateCompliancedefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponseOutput;\n}\n\n/** Gets a list of all device groups. The $default group will always be returned first. */\nexport interface DeviceManagementListGroups200Response extends HttpResponse {\n status: \"200\";\n body: GroupsListOutput;\n}\n\n/** Gets a list of all device groups. The $default group will always be returned first. */\nexport interface DeviceManagementListGroupsdefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponseOutput;\n}\n\n/** Gets the device group properties. */\nexport interface DeviceManagementGetGroup200Response extends HttpResponse {\n status: \"200\";\n body: GroupOutput;\n}\n\n/** Gets the device group properties. */\nexport interface DeviceManagementGetGroupdefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponseOutput;\n}\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. */\nexport interface DeviceManagementDeleteGroup204Response extends HttpResponse {\n status: \"204\";\n body: Record<string, unknown>;\n}\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. */\nexport interface DeviceManagementDeleteGroupdefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponseOutput;\n}\n\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. */\nexport interface DeviceManagementGetUpdateComplianceForGroup200Response extends HttpResponse {\n status: \"200\";\n body: UpdateComplianceOutput;\n}\n\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. */\nexport interface DeviceManagementGetUpdateComplianceForGroupdefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponseOutput;\n}\n\n/** Get the best available updates for a device group and a count of how many devices need each update. */\nexport interface DeviceManagementListBestUpdatesForGroup200Response extends HttpResponse {\n status: \"200\";\n body: DeviceClassSubgroupUpdatableDevicesListOutput;\n}\n\n/** Get the best available updates for a device group and a count of how many devices need each update. */\nexport interface DeviceManagementListBestUpdatesForGroupdefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponseOutput;\n}\n\n/** Gets a list of deployments for a device group. */\nexport interface DeviceManagementListDeploymentsForGroup200Response extends HttpResponse {\n status: \"200\";\n body: DeploymentsListOutput;\n}\n\n/** Gets a list of deployments for a device group. */\nexport interface DeviceManagementListDeploymentsForGroupdefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponseOutput;\n}\n\n/** Gets the deployment properties. */\nexport interface DeviceManagementGetDeployment200Response extends HttpResponse {\n status: \"200\";\n body: DeploymentOutput;\n}\n\n/** Gets the deployment properties. */\nexport interface DeviceManagementGetDeploymentdefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponseOutput;\n}\n\n/** Creates or updates a deployment. */\nexport interface DeviceManagementCreateOrUpdateDeployment200Response extends HttpResponse {\n status: \"200\";\n body: DeploymentOutput;\n}\n\n/** Creates or updates a deployment. */\nexport interface DeviceManagementCreateOrUpdateDeploymentdefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponseOutput;\n}\n\n/** Deletes a deployment. */\nexport interface DeviceManagementDeleteDeployment204Response extends HttpResponse {\n status: \"204\";\n body: Record<string, unknown>;\n}\n\n/** Deletes a deployment. */\nexport interface DeviceManagementDeleteDeploymentdefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponseOutput;\n}\n\n/** Gets the status of a deployment including a breakdown of how many devices in the deployment are in progress, completed, or failed. */\nexport interface DeviceManagementGetDeploymentStatus200Response extends HttpResponse {\n status: \"200\";\n body: DeploymentStatusOutput;\n}\n\n/** Gets the status of a deployment including a breakdown of how many devices in the deployment are in progress, completed, or failed. */\nexport interface DeviceManagementGetDeploymentStatusdefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponseOutput;\n}\n\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. */\nexport interface DeviceManagementListDeviceClassSubgroupsForGroup200Response extends HttpResponse {\n status: \"200\";\n body: DeviceClassSubgroupsListOutput;\n}\n\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. */\nexport interface DeviceManagementListDeviceClassSubgroupsForGroupdefaultResponse\n extends HttpResponse {\n status: string;\n body: ErrorResponseOutput;\n}\n\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. */\nexport interface DeviceManagementGetDeviceClassSubgroup200Response extends HttpResponse {\n status: \"200\";\n body: DeviceClassSubgroupOutput;\n}\n\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. */\nexport interface DeviceManagementGetDeviceClassSubgroupdefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponseOutput;\n}\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. */\nexport interface DeviceManagementDeleteDeviceClassSubgroup204Response extends HttpResponse {\n status: \"204\";\n body: Record<string, unknown>;\n}\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. */\nexport interface DeviceManagementDeleteDeviceClassSubgroupdefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponseOutput;\n}\n\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. */\nexport interface DeviceManagementGetDeviceClassSubgroupUpdateCompliance200Response\n extends HttpResponse {\n status: \"200\";\n body: UpdateComplianceOutput;\n}\n\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. */\nexport interface DeviceManagementGetDeviceClassSubgroupUpdateCompliancedefaultResponse\n extends HttpResponse {\n status: string;\n body: ErrorResponseOutput;\n}\n\n/** Get the best available update for a device class subgroup and a count of how many devices need this update. */\nexport interface DeviceManagementGetBestUpdatesForDeviceClassSubgroup200Response\n extends HttpResponse {\n status: \"200\";\n body: DeviceClassSubgroupUpdatableDevicesOutput;\n}\n\n/** Get the best available update for a device class subgroup and a count of how many devices need this update. */\nexport interface DeviceManagementGetBestUpdatesForDeviceClassSubgroupdefaultResponse\n extends HttpResponse {\n status: string;\n body: ErrorResponseOutput;\n}\n\n/** Gets a list of deployments for a device class subgroup. */\nexport interface DeviceManagementListDeploymentsForDeviceClassSubgroup200Response\n extends HttpResponse {\n status: \"200\";\n body: DeploymentsListOutput;\n}\n\n/** Gets a list of deployments for a device class subgroup. */\nexport interface DeviceManagementListDeploymentsForDeviceClassSubgroupdefaultResponse\n extends HttpResponse {\n status: string;\n body: ErrorResponseOutput;\n}\n\n/** Gets the deployment properties. */\nexport interface DeviceManagementGetDeploymentForDeviceClassSubgroup200Response\n extends HttpResponse {\n status: \"200\";\n body: DeploymentOutput;\n}\n\n/** Gets the deployment properties. */\nexport interface DeviceManagementGetDeploymentForDeviceClassSubgroupdefaultResponse\n extends HttpResponse {\n status: string;\n body: ErrorResponseOutput;\n}\n\n/** Deletes a device class subgroup deployment. */\nexport interface DeviceManagementDeleteDeploymentForDeviceClassSubgroup204Response\n extends HttpResponse {\n status: \"204\";\n body: Record<string, unknown>;\n}\n\n/** Deletes a device class subgroup deployment. */\nexport interface DeviceManagementDeleteDeploymentForDeviceClassSubgroupdefaultResponse\n extends HttpResponse {\n status: string;\n body: ErrorResponseOutput;\n}\n\n/** Stops a deployment. */\nexport interface DeviceManagementStopDeployment200Response extends HttpResponse {\n status: \"200\";\n body: DeploymentOutput;\n}\n\n/** Stops a deployment. */\nexport interface DeviceManagementStopDeploymentdefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponseOutput;\n}\n\n/** Retries a deployment with failed devices. */\nexport interface DeviceManagementRetryDeployment200Response extends HttpResponse {\n status: \"200\";\n body: DeploymentOutput;\n}\n\n/** Retries a deployment with failed devices. */\nexport interface DeviceManagementRetryDeploymentdefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponseOutput;\n}\n\n/** Gets the status of a deployment including a breakdown of how many devices in the deployment are in progress, completed, or failed. */\nexport interface DeviceManagementGetDeviceClassSubgroupDeploymentStatus200Response\n extends HttpResponse {\n status: \"200\";\n body: DeviceClassSubgroupDeploymentStatusOutput;\n}\n\n/** Gets the status of a deployment including a breakdown of how many devices in the deployment are in progress, completed, or failed. */\nexport interface DeviceManagementGetDeviceClassSubgroupDeploymentStatusdefaultResponse\n extends HttpResponse {\n status: string;\n body: ErrorResponseOutput;\n}\n\n/** Gets a list of devices in a deployment along with their state. Useful for getting a list of failed devices. */\nexport interface DeviceManagementListDeviceStatesForDeviceClassSubgroupDeployment200Response\n extends HttpResponse {\n status: \"200\";\n body: DeploymentDeviceStatesListOutput;\n}\n\n/** Gets a list of devices in a deployment along with their state. Useful for getting a list of failed devices. */\nexport interface DeviceManagementListDeviceStatesForDeviceClassSubgroupDeploymentdefaultResponse\n extends HttpResponse {\n status: string;\n body: ErrorResponseOutput;\n}\n\nexport interface DeviceManagementGetOperationStatus200Headers {\n /** Number of seconds to wait before checking the operation status again. */\n \"retry-after\"?: string;\n}\n\n/** Retrieve operation status. */\nexport interface DeviceManagementGetOperationStatus200Response extends HttpResponse {\n status: \"200\";\n body: DeviceOperationOutput;\n headers: RawHttpHeaders & DeviceManagementGetOperationStatus200Headers;\n}\n\n/** Retrieve operation status. */\nexport interface DeviceManagementGetOperationStatus304Response extends HttpResponse {\n status: \"304\";\n body: Record<string, unknown>;\n}\n\n/** Retrieve operation status. */\nexport interface DeviceManagementGetOperationStatusdefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponseOutput;\n}\n\n/** Get a list of all device import operations. Completed operations are kept for 7 days before auto-deleted. */\nexport interface DeviceManagementListOperationStatuses200Response extends HttpResponse {\n status: \"200\";\n body: DeviceOperationsListOutput;\n}\n\n/** Get a list of all device import operations. Completed operations are kept for 7 days before auto-deleted. */\nexport interface DeviceManagementListOperationStatusesdefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponseOutput;\n}\n\n/** Start the device diagnostics log collection on specified devices. */\nexport interface DeviceManagementStartLogCollection201Response extends HttpResponse {\n status: \"201\";\n body: LogCollectionOutput;\n}\n\n/** Start the device diagnostics log collection on specified devices. */\nexport interface DeviceManagementStartLogCollectiondefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponseOutput;\n}\n\n/** Get the device diagnostics log collection */\nexport interface DeviceManagementGetLogCollection200Response extends HttpResponse {\n status: \"200\";\n body: LogCollectionOutput;\n}\n\n/** Get the device diagnostics log collection */\nexport interface DeviceManagementGetLogCollectiondefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponseOutput;\n}\n\n/** Get all device diagnostics log collections */\nexport interface DeviceManagementListLogCollections200Response extends HttpResponse {\n status: \"200\";\n body: LogCollectionListOutput;\n}\n\n/** Get all device diagnostics log collections */\nexport interface DeviceManagementListLogCollectionsdefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponseOutput;\n}\n\n/** Get log collection with detailed status */\nexport interface DeviceManagementGetLogCollectionDetailedStatus200Response extends HttpResponse {\n status: \"200\";\n body: LogCollectionOperationDetailedStatusOutput;\n}\n\n/** Get log collection with detailed status */\nexport interface DeviceManagementGetLogCollectionDetailedStatusdefaultResponse\n extends HttpResponse {\n status: string;\n body: ErrorResponseOutput;\n}\n\n/** Get list of device health */\nexport interface DeviceManagementListHealthOfDevices200Response extends HttpResponse {\n status: \"200\";\n body: DeviceHealthListOutput;\n}\n\n/** Get list of device health */\nexport interface DeviceManagementListHealthOfDevicesdefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponseOutput;\n}\n"]}
1
+ {"version":3,"file":"responses.js","sourceRoot":"","sources":["../../src/responses.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport type { RawHttpHeaders } from \"@azure/core-rest-pipeline\";\nimport type { HttpResponse } from \"@azure-rest/core-client\";\nimport type {\n UpdateListOutput,\n ErrorResponseOutput,\n UpdateOutput,\n StringsListOutput,\n UpdateFileOutput,\n UpdateOperationsListOutput,\n UpdateOperationOutput,\n DeviceClassesListOutput,\n DeviceClassOutput,\n UpdateInfoListOutput,\n DevicesListOutput,\n DeviceOutput,\n UpdateComplianceOutput,\n GroupsListOutput,\n GroupOutput,\n DeviceClassSubgroupUpdatableDevicesListOutput,\n DeploymentsListOutput,\n DeploymentOutput,\n DeploymentStatusOutput,\n DeviceClassSubgroupsListOutput,\n DeviceClassSubgroupOutput,\n DeviceClassSubgroupUpdatableDevicesOutput,\n DeviceClassSubgroupDeploymentStatusOutput,\n DeploymentDeviceStatesListOutput,\n DeviceOperationOutput,\n DeviceOperationsListOutput,\n LogCollectionOutput,\n LogCollectionListOutput,\n LogCollectionOperationDetailedStatusOutput,\n DeviceHealthListOutput,\n} from \"./outputModels.js\";\n\n/** Get a list of all updates that have been imported to Device Update for IoT Hub. */\nexport interface DeviceUpdateListUpdates200Response extends HttpResponse {\n status: \"200\";\n body: UpdateListOutput;\n}\n\n/** Get a list of all updates that have been imported to Device Update for IoT Hub. */\nexport interface DeviceUpdateListUpdatesDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponseOutput;\n}\n\n/** Import new update version. This is a long-running-operation; use Operation-Location response header value to check for operation status. */\nexport interface DeviceUpdateImportUpdate200Response extends HttpResponse {\n status: \"200\";\n body: UpdateOutput;\n}\n\nexport interface DeviceUpdateImportUpdate202Headers {\n /** Url to retrieve the import operation status. */\n \"operation-location\"?: string;\n}\n\n/** Import new update version. This is a long-running-operation; use Operation-Location response header value to check for operation status. */\nexport interface DeviceUpdateImportUpdate202Response extends HttpResponse {\n status: \"202\";\n headers: RawHttpHeaders & DeviceUpdateImportUpdate202Headers;\n}\n\n/** Import new update version. This is a long-running-operation; use Operation-Location response header value to check for operation status. */\nexport interface DeviceUpdateImportUpdateDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponseOutput;\n}\n\n/** Get a specific update version. */\nexport interface DeviceUpdateGetUpdate200Response extends HttpResponse {\n status: \"200\";\n body: UpdateOutput;\n}\n\n/** Get a specific update version. */\nexport interface DeviceUpdateGetUpdate304Response extends HttpResponse {\n status: \"304\";\n}\n\n/** Get a specific update version. */\nexport interface DeviceUpdateGetUpdateDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponseOutput;\n}\n\nexport interface DeviceUpdateDeleteUpdate202Headers {\n /** Url to retrieve the operation status */\n \"operation-location\"?: string;\n}\n\n/** Delete a specific update version. This is a long-running-operation; use Operation-Location response header value to check for operation status. */\nexport interface DeviceUpdateDeleteUpdate202Response extends HttpResponse {\n status: \"202\";\n headers: RawHttpHeaders & DeviceUpdateDeleteUpdate202Headers;\n}\n\n/** Delete a specific update version. This is a long-running-operation; use Operation-Location response header value to check for operation status. */\nexport interface DeviceUpdateDeleteUpdateDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponseOutput;\n}\n\n/** Get a list of all update providers that have been imported to Device Update for IoT Hub. */\nexport interface DeviceUpdateListProviders200Response extends HttpResponse {\n status: \"200\";\n body: StringsListOutput;\n}\n\n/** Get a list of all update providers that have been imported to Device Update for IoT Hub. */\nexport interface DeviceUpdateListProvidersDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponseOutput;\n}\n\n/** Get a list of all update names that match the specified provider. */\nexport interface DeviceUpdateListNames200Response extends HttpResponse {\n status: \"200\";\n body: StringsListOutput;\n}\n\n/** Get a list of all update names that match the specified provider. */\nexport interface DeviceUpdateListNamesDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponseOutput;\n}\n\n/** Get a list of all update versions that match the specified provider and name. */\nexport interface DeviceUpdateListVersions200Response extends HttpResponse {\n status: \"200\";\n body: StringsListOutput;\n}\n\n/** Get a list of all update versions that match the specified provider and name. */\nexport interface DeviceUpdateListVersionsDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponseOutput;\n}\n\n/** Get a list of all update file identifiers for the specified version. */\nexport interface DeviceUpdateListFiles200Response extends HttpResponse {\n status: \"200\";\n body: StringsListOutput;\n}\n\n/** Get a list of all update file identifiers for the specified version. */\nexport interface DeviceUpdateListFilesDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponseOutput;\n}\n\n/** Get a specific update file from the version. */\nexport interface DeviceUpdateGetFile200Response extends HttpResponse {\n status: \"200\";\n body: UpdateFileOutput;\n}\n\n/** Get a specific update file from the version. */\nexport interface DeviceUpdateGetFile304Response extends HttpResponse {\n status: \"304\";\n}\n\n/** Get a specific update file from the version. */\nexport interface DeviceUpdateGetFileDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponseOutput;\n}\n\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. */\nexport interface DeviceUpdateListOperationStatuses200Response extends HttpResponse {\n status: \"200\";\n body: UpdateOperationsListOutput;\n}\n\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. */\nexport interface DeviceUpdateListOperationStatusesDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponseOutput;\n}\n\nexport interface DeviceUpdateGetOperationStatus200Headers {\n /** Number of seconds to wait before checking the operation status again. */\n \"retry-after\"?: string;\n}\n\n/** Retrieve operation status. */\nexport interface DeviceUpdateGetOperationStatus200Response extends HttpResponse {\n status: \"200\";\n body: UpdateOperationOutput;\n headers: RawHttpHeaders & DeviceUpdateGetOperationStatus200Headers;\n}\n\n/** Retrieve operation status. */\nexport interface DeviceUpdateGetOperationStatus304Response extends HttpResponse {\n status: \"304\";\n}\n\n/** Retrieve operation status. */\nexport interface DeviceUpdateGetOperationStatusDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponseOutput;\n}\n\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. */\nexport interface DeviceManagementListDeviceClasses200Response extends HttpResponse {\n status: \"200\";\n body: DeviceClassesListOutput;\n}\n\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. */\nexport interface DeviceManagementListDeviceClassesDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponseOutput;\n}\n\n/** Gets the properties of a device class. */\nexport interface DeviceManagementGetDeviceClass200Response extends HttpResponse {\n status: \"200\";\n body: DeviceClassOutput;\n}\n\n/** Gets the properties of a device class. */\nexport interface DeviceManagementGetDeviceClassDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponseOutput;\n}\n\n/** Update device class details. */\nexport interface DeviceManagementUpdateDeviceClass200Response extends HttpResponse {\n status: \"200\";\n body: DeviceClassOutput;\n}\n\n/** Update device class details. */\nexport interface DeviceManagementUpdateDeviceClassDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponseOutput;\n}\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. */\nexport interface DeviceManagementDeleteDeviceClass204Response extends HttpResponse {\n status: \"204\";\n}\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. */\nexport interface DeviceManagementDeleteDeviceClassDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponseOutput;\n}\n\n/** Gets a list of installable updates for a device class. */\nexport interface DeviceManagementListInstallableUpdatesForDeviceClass200Response\n extends HttpResponse {\n status: \"200\";\n body: UpdateInfoListOutput;\n}\n\n/** Gets a list of installable updates for a device class. */\nexport interface DeviceManagementListInstallableUpdatesForDeviceClassDefaultResponse\n extends HttpResponse {\n status: string;\n body: ErrorResponseOutput;\n}\n\n/** Gets a list of devices connected to Device Update for IoT Hub. */\nexport interface DeviceManagementListDevices200Response extends HttpResponse {\n status: \"200\";\n body: DevicesListOutput;\n}\n\n/** Gets a list of devices connected to Device Update for IoT Hub. */\nexport interface DeviceManagementListDevicesDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponseOutput;\n}\n\nexport interface DeviceManagementImportDevices202Headers {\n /** Url to retrieve the device import operation status. */\n \"operation-location\"?: string;\n}\n\n/** Import existing devices from IoT Hub. This is a long-running-operation; use Operation-Location response header value to check for operation status. */\nexport interface DeviceManagementImportDevices202Response extends HttpResponse {\n status: \"202\";\n headers: RawHttpHeaders & DeviceManagementImportDevices202Headers;\n}\n\n/** Import existing devices from IoT Hub. This is a long-running-operation; use Operation-Location response header value to check for operation status. */\nexport interface DeviceManagementImportDevicesDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponseOutput;\n}\n\n/** Gets the device properties and latest deployment status for a device connected to Device Update for IoT Hub. */\nexport interface DeviceManagementGetDevice200Response extends HttpResponse {\n status: \"200\";\n body: DeviceOutput;\n}\n\n/** Gets the device properties and latest deployment status for a device connected to Device Update for IoT Hub. */\nexport interface DeviceManagementGetDeviceDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponseOutput;\n}\n\n/** Gets the device module properties and latest deployment status for a device module connected to Device Update for IoT Hub. */\nexport interface DeviceManagementGetDeviceModule200Response extends HttpResponse {\n status: \"200\";\n body: DeviceOutput;\n}\n\n/** Gets the device module properties and latest deployment status for a device module connected to Device Update for IoT Hub. */\nexport interface DeviceManagementGetDeviceModuleDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponseOutput;\n}\n\n/** Gets the breakdown of how many devices are on their latest update, have new updates available, or are in progress receiving new updates. */\nexport interface DeviceManagementGetUpdateCompliance200Response extends HttpResponse {\n status: \"200\";\n body: UpdateComplianceOutput;\n}\n\n/** Gets the breakdown of how many devices are on their latest update, have new updates available, or are in progress receiving new updates. */\nexport interface DeviceManagementGetUpdateComplianceDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponseOutput;\n}\n\n/** Gets a list of all device groups. The $default group will always be returned first. */\nexport interface DeviceManagementListGroups200Response extends HttpResponse {\n status: \"200\";\n body: GroupsListOutput;\n}\n\n/** Gets a list of all device groups. The $default group will always be returned first. */\nexport interface DeviceManagementListGroupsDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponseOutput;\n}\n\n/** Gets the device group properties. */\nexport interface DeviceManagementGetGroup200Response extends HttpResponse {\n status: \"200\";\n body: GroupOutput;\n}\n\n/** Gets the device group properties. */\nexport interface DeviceManagementGetGroupDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponseOutput;\n}\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. */\nexport interface DeviceManagementDeleteGroup204Response extends HttpResponse {\n status: \"204\";\n}\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. */\nexport interface DeviceManagementDeleteGroupDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponseOutput;\n}\n\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. */\nexport interface DeviceManagementGetUpdateComplianceForGroup200Response extends HttpResponse {\n status: \"200\";\n body: UpdateComplianceOutput;\n}\n\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. */\nexport interface DeviceManagementGetUpdateComplianceForGroupDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponseOutput;\n}\n\n/** Get the best available updates for a device group and a count of how many devices need each update. */\nexport interface DeviceManagementListBestUpdatesForGroup200Response extends HttpResponse {\n status: \"200\";\n body: DeviceClassSubgroupUpdatableDevicesListOutput;\n}\n\n/** Get the best available updates for a device group and a count of how many devices need each update. */\nexport interface DeviceManagementListBestUpdatesForGroupDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponseOutput;\n}\n\n/** Gets a list of deployments for a device group. */\nexport interface DeviceManagementListDeploymentsForGroup200Response extends HttpResponse {\n status: \"200\";\n body: DeploymentsListOutput;\n}\n\n/** Gets a list of deployments for a device group. */\nexport interface DeviceManagementListDeploymentsForGroupDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponseOutput;\n}\n\n/** Gets the deployment properties. */\nexport interface DeviceManagementGetDeployment200Response extends HttpResponse {\n status: \"200\";\n body: DeploymentOutput;\n}\n\n/** Gets the deployment properties. */\nexport interface DeviceManagementGetDeploymentDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponseOutput;\n}\n\n/** Creates or updates a deployment. */\nexport interface DeviceManagementCreateOrUpdateDeployment200Response extends HttpResponse {\n status: \"200\";\n body: DeploymentOutput;\n}\n\n/** Creates or updates a deployment. */\nexport interface DeviceManagementCreateOrUpdateDeploymentDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponseOutput;\n}\n\n/** Deletes a deployment. */\nexport interface DeviceManagementDeleteDeployment204Response extends HttpResponse {\n status: \"204\";\n}\n\n/** Deletes a deployment. */\nexport interface DeviceManagementDeleteDeploymentDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponseOutput;\n}\n\n/** Gets the status of a deployment including a breakdown of how many devices in the deployment are in progress, completed, or failed. */\nexport interface DeviceManagementGetDeploymentStatus200Response extends HttpResponse {\n status: \"200\";\n body: DeploymentStatusOutput;\n}\n\n/** Gets the status of a deployment including a breakdown of how many devices in the deployment are in progress, completed, or failed. */\nexport interface DeviceManagementGetDeploymentStatusDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponseOutput;\n}\n\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. */\nexport interface DeviceManagementListDeviceClassSubgroupsForGroup200Response extends HttpResponse {\n status: \"200\";\n body: DeviceClassSubgroupsListOutput;\n}\n\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. */\nexport interface DeviceManagementListDeviceClassSubgroupsForGroupDefaultResponse\n extends HttpResponse {\n status: string;\n body: ErrorResponseOutput;\n}\n\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. */\nexport interface DeviceManagementGetDeviceClassSubgroup200Response extends HttpResponse {\n status: \"200\";\n body: DeviceClassSubgroupOutput;\n}\n\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. */\nexport interface DeviceManagementGetDeviceClassSubgroupDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponseOutput;\n}\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. */\nexport interface DeviceManagementDeleteDeviceClassSubgroup204Response extends HttpResponse {\n status: \"204\";\n}\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. */\nexport interface DeviceManagementDeleteDeviceClassSubgroupDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponseOutput;\n}\n\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. */\nexport interface DeviceManagementGetDeviceClassSubgroupUpdateCompliance200Response\n extends HttpResponse {\n status: \"200\";\n body: UpdateComplianceOutput;\n}\n\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. */\nexport interface DeviceManagementGetDeviceClassSubgroupUpdateComplianceDefaultResponse\n extends HttpResponse {\n status: string;\n body: ErrorResponseOutput;\n}\n\n/** Get the best available update for a device class subgroup and a count of how many devices need this update. */\nexport interface DeviceManagementGetBestUpdatesForDeviceClassSubgroup200Response\n extends HttpResponse {\n status: \"200\";\n body: DeviceClassSubgroupUpdatableDevicesOutput;\n}\n\n/** Get the best available update for a device class subgroup and a count of how many devices need this update. */\nexport interface DeviceManagementGetBestUpdatesForDeviceClassSubgroupDefaultResponse\n extends HttpResponse {\n status: string;\n body: ErrorResponseOutput;\n}\n\n/** Gets a list of deployments for a device class subgroup. */\nexport interface DeviceManagementListDeploymentsForDeviceClassSubgroup200Response\n extends HttpResponse {\n status: \"200\";\n body: DeploymentsListOutput;\n}\n\n/** Gets a list of deployments for a device class subgroup. */\nexport interface DeviceManagementListDeploymentsForDeviceClassSubgroupDefaultResponse\n extends HttpResponse {\n status: string;\n body: ErrorResponseOutput;\n}\n\n/** Gets the deployment properties. */\nexport interface DeviceManagementGetDeploymentForDeviceClassSubgroup200Response\n extends HttpResponse {\n status: \"200\";\n body: DeploymentOutput;\n}\n\n/** Gets the deployment properties. */\nexport interface DeviceManagementGetDeploymentForDeviceClassSubgroupDefaultResponse\n extends HttpResponse {\n status: string;\n body: ErrorResponseOutput;\n}\n\n/** Deletes a device class subgroup deployment. */\nexport interface DeviceManagementDeleteDeploymentForDeviceClassSubgroup204Response\n extends HttpResponse {\n status: \"204\";\n}\n\n/** Deletes a device class subgroup deployment. */\nexport interface DeviceManagementDeleteDeploymentForDeviceClassSubgroupDefaultResponse\n extends HttpResponse {\n status: string;\n body: ErrorResponseOutput;\n}\n\n/** Stops a deployment. */\nexport interface DeviceManagementStopDeployment200Response extends HttpResponse {\n status: \"200\";\n body: DeploymentOutput;\n}\n\n/** Stops a deployment. */\nexport interface DeviceManagementStopDeploymentDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponseOutput;\n}\n\n/** Retries a deployment with failed devices. */\nexport interface DeviceManagementRetryDeployment200Response extends HttpResponse {\n status: \"200\";\n body: DeploymentOutput;\n}\n\n/** Retries a deployment with failed devices. */\nexport interface DeviceManagementRetryDeploymentDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponseOutput;\n}\n\n/** Gets the status of a deployment including a breakdown of how many devices in the deployment are in progress, completed, or failed. */\nexport interface DeviceManagementGetDeviceClassSubgroupDeploymentStatus200Response\n extends HttpResponse {\n status: \"200\";\n body: DeviceClassSubgroupDeploymentStatusOutput;\n}\n\n/** Gets the status of a deployment including a breakdown of how many devices in the deployment are in progress, completed, or failed. */\nexport interface DeviceManagementGetDeviceClassSubgroupDeploymentStatusDefaultResponse\n extends HttpResponse {\n status: string;\n body: ErrorResponseOutput;\n}\n\n/** Gets a list of devices in a deployment along with their state. Useful for getting a list of failed devices. */\nexport interface DeviceManagementListDeviceStatesForDeviceClassSubgroupDeployment200Response\n extends HttpResponse {\n status: \"200\";\n body: DeploymentDeviceStatesListOutput;\n}\n\n/** Gets a list of devices in a deployment along with their state. Useful for getting a list of failed devices. */\nexport interface DeviceManagementListDeviceStatesForDeviceClassSubgroupDeploymentDefaultResponse\n extends HttpResponse {\n status: string;\n body: ErrorResponseOutput;\n}\n\nexport interface DeviceManagementGetOperationStatus200Headers {\n /** Number of seconds to wait before checking the operation status again. */\n \"retry-after\"?: string;\n}\n\n/** Retrieve operation status. */\nexport interface DeviceManagementGetOperationStatus200Response extends HttpResponse {\n status: \"200\";\n body: DeviceOperationOutput;\n headers: RawHttpHeaders & DeviceManagementGetOperationStatus200Headers;\n}\n\n/** Retrieve operation status. */\nexport interface DeviceManagementGetOperationStatus304Response extends HttpResponse {\n status: \"304\";\n}\n\n/** Retrieve operation status. */\nexport interface DeviceManagementGetOperationStatusDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponseOutput;\n}\n\n/** Get a list of all device import operations. Completed operations are kept for 7 days before auto-deleted. */\nexport interface DeviceManagementListOperationStatuses200Response extends HttpResponse {\n status: \"200\";\n body: DeviceOperationsListOutput;\n}\n\n/** Get a list of all device import operations. Completed operations are kept for 7 days before auto-deleted. */\nexport interface DeviceManagementListOperationStatusesDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponseOutput;\n}\n\n/** Start the device diagnostics log collection on specified devices. */\nexport interface DeviceManagementStartLogCollection201Response extends HttpResponse {\n status: \"201\";\n body: LogCollectionOutput;\n}\n\n/** Start the device diagnostics log collection on specified devices. */\nexport interface DeviceManagementStartLogCollectionDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponseOutput;\n}\n\n/** Get the device diagnostics log collection */\nexport interface DeviceManagementGetLogCollection200Response extends HttpResponse {\n status: \"200\";\n body: LogCollectionOutput;\n}\n\n/** Get the device diagnostics log collection */\nexport interface DeviceManagementGetLogCollectionDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponseOutput;\n}\n\n/** Get all device diagnostics log collections */\nexport interface DeviceManagementListLogCollections200Response extends HttpResponse {\n status: \"200\";\n body: LogCollectionListOutput;\n}\n\n/** Get all device diagnostics log collections */\nexport interface DeviceManagementListLogCollectionsDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponseOutput;\n}\n\n/** Get log collection with detailed status */\nexport interface DeviceManagementGetLogCollectionDetailedStatus200Response extends HttpResponse {\n status: \"200\";\n body: LogCollectionOperationDetailedStatusOutput;\n}\n\n/** Get log collection with detailed status */\nexport interface DeviceManagementGetLogCollectionDetailedStatusDefaultResponse\n extends HttpResponse {\n status: string;\n body: ErrorResponseOutput;\n}\n\n/** Get list of device health */\nexport interface DeviceManagementListHealthOfDevices200Response extends HttpResponse {\n status: \"200\";\n body: DeviceHealthListOutput;\n}\n\n/** Get list of device health */\nexport interface DeviceManagementListHealthOfDevicesDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponseOutput;\n}\n"]}
@@ -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 */