@azure-rest/iot-device-update 1.0.1-alpha.20241203.1 → 1.0.1-alpha.20241204.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.
- package/dist/browser/clientDefinitions.d.ts +273 -0
- package/dist/browser/clientDefinitions.d.ts.map +1 -0
- package/dist/browser/clientDefinitions.js.map +1 -0
- package/dist/browser/deviceUpdate.d.ts +5 -0
- package/dist/browser/deviceUpdate.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/deviceUpdate.js.map +1 -1
- package/dist/browser/index.d.ts +12 -0
- package/dist/browser/index.d.ts.map +1 -0
- package/dist/browser/index.js +15 -0
- package/dist/browser/index.js.map +1 -0
- package/dist/browser/isUnexpected.d.ts +52 -0
- package/dist/browser/isUnexpected.d.ts.map +1 -0
- package/dist/browser/isUnexpected.js.map +1 -0
- package/dist/browser/models.d.ts +95 -0
- package/dist/browser/models.d.ts.map +1 -0
- package/dist/browser/outputModels.d.ts +499 -0
- package/dist/browser/outputModels.d.ts.map +1 -0
- package/dist/browser/package.json +3 -0
- package/dist/browser/paginateHelper.d.ts +43 -0
- package/dist/browser/paginateHelper.d.ts.map +1 -0
- package/dist/browser/parameters.d.ts +212 -0
- package/dist/browser/parameters.d.ts.map +1 -0
- package/dist/browser/parameters.js.map +1 -0
- package/dist/browser/pollingHelper.d.ts +11 -0
- package/dist/browser/pollingHelper.d.ts.map +1 -0
- package/dist/browser/responses.d.ts +554 -0
- package/dist/browser/responses.d.ts.map +1 -0
- package/dist/browser/responses.js.map +1 -0
- package/dist/commonjs/clientDefinitions.d.ts +273 -0
- package/dist/commonjs/clientDefinitions.d.ts.map +1 -0
- package/dist/commonjs/clientDefinitions.js +5 -0
- package/dist/commonjs/clientDefinitions.js.map +1 -0
- package/dist/commonjs/deviceUpdate.d.ts +5 -0
- package/dist/commonjs/deviceUpdate.d.ts.map +1 -0
- package/dist/commonjs/deviceUpdate.js +24 -0
- package/dist/commonjs/deviceUpdate.js.map +1 -0
- package/dist/commonjs/index.d.ts +12 -0
- package/dist/commonjs/index.d.ts.map +1 -0
- package/dist/commonjs/index.js +18 -0
- package/dist/commonjs/index.js.map +1 -0
- package/dist/commonjs/isUnexpected.d.ts +52 -0
- package/dist/commonjs/isUnexpected.d.ts.map +1 -0
- package/dist/{index.js → commonjs/isUnexpected.js} +4 -152
- package/dist/commonjs/isUnexpected.js.map +1 -0
- package/dist/commonjs/models.d.ts +95 -0
- package/dist/commonjs/models.d.ts.map +1 -0
- package/dist/commonjs/models.js +5 -0
- package/dist/commonjs/models.js.map +1 -0
- package/dist/commonjs/outputModels.d.ts +499 -0
- package/dist/commonjs/outputModels.d.ts.map +1 -0
- package/dist/commonjs/outputModels.js +5 -0
- package/dist/commonjs/outputModels.js.map +1 -0
- package/dist/commonjs/package.json +3 -0
- package/dist/commonjs/paginateHelper.d.ts +43 -0
- package/dist/commonjs/paginateHelper.d.ts.map +1 -0
- package/dist/commonjs/paginateHelper.js +73 -0
- package/dist/commonjs/paginateHelper.js.map +1 -0
- package/dist/commonjs/parameters.d.ts +212 -0
- package/dist/commonjs/parameters.d.ts.map +1 -0
- package/dist/commonjs/parameters.js +5 -0
- package/dist/commonjs/parameters.js.map +1 -0
- package/dist/commonjs/pollingHelper.d.ts +11 -0
- package/dist/commonjs/pollingHelper.d.ts.map +1 -0
- package/dist/commonjs/pollingHelper.js +51 -0
- package/dist/commonjs/pollingHelper.js.map +1 -0
- package/dist/commonjs/responses.d.ts +554 -0
- package/dist/commonjs/responses.d.ts.map +1 -0
- package/dist/commonjs/responses.js +5 -0
- package/dist/commonjs/responses.js.map +1 -0
- package/dist/commonjs/tsdoc-metadata.json +11 -0
- package/dist/esm/clientDefinitions.d.ts +273 -0
- package/dist/esm/clientDefinitions.d.ts.map +1 -0
- package/dist/esm/clientDefinitions.js +4 -0
- package/dist/esm/clientDefinitions.js.map +1 -0
- package/dist/esm/deviceUpdate.d.ts +5 -0
- package/dist/esm/deviceUpdate.d.ts.map +1 -0
- package/dist/esm/deviceUpdate.js +21 -0
- package/dist/esm/deviceUpdate.js.map +1 -0
- package/dist/esm/index.d.ts +12 -0
- package/dist/esm/index.d.ts.map +1 -0
- package/dist/esm/index.js +15 -0
- package/dist/esm/index.js.map +1 -0
- package/dist/esm/isUnexpected.d.ts +52 -0
- package/dist/esm/isUnexpected.d.ts.map +1 -0
- package/dist/esm/isUnexpected.js +127 -0
- package/dist/esm/isUnexpected.js.map +1 -0
- package/dist/esm/models.d.ts +95 -0
- package/dist/esm/models.d.ts.map +1 -0
- package/dist/esm/models.js +4 -0
- package/dist/esm/models.js.map +1 -0
- package/dist/esm/outputModels.d.ts +499 -0
- package/dist/esm/outputModels.d.ts.map +1 -0
- package/dist/esm/outputModels.js +4 -0
- package/dist/esm/outputModels.js.map +1 -0
- package/dist/esm/package.json +3 -0
- package/dist/esm/paginateHelper.d.ts +43 -0
- package/dist/esm/paginateHelper.d.ts.map +1 -0
- package/dist/esm/paginateHelper.js +70 -0
- package/dist/esm/paginateHelper.js.map +1 -0
- package/dist/esm/parameters.d.ts +212 -0
- package/dist/esm/parameters.d.ts.map +1 -0
- package/dist/esm/parameters.js +4 -0
- package/dist/esm/parameters.js.map +1 -0
- package/dist/esm/pollingHelper.d.ts +11 -0
- package/dist/esm/pollingHelper.d.ts.map +1 -0
- package/dist/esm/pollingHelper.js +48 -0
- package/dist/esm/pollingHelper.js.map +1 -0
- package/dist/esm/responses.d.ts +554 -0
- package/dist/esm/responses.d.ts.map +1 -0
- package/dist/esm/responses.js +4 -0
- package/dist/esm/responses.js.map +1 -0
- package/dist/react-native/clientDefinitions.d.ts +273 -0
- package/dist/react-native/clientDefinitions.d.ts.map +1 -0
- package/dist/react-native/clientDefinitions.js +4 -0
- package/dist/react-native/clientDefinitions.js.map +1 -0
- package/dist/react-native/deviceUpdate.d.ts +5 -0
- package/dist/react-native/deviceUpdate.d.ts.map +1 -0
- package/dist/react-native/deviceUpdate.js +21 -0
- package/dist/react-native/deviceUpdate.js.map +1 -0
- package/dist/react-native/index.d.ts +12 -0
- package/dist/react-native/index.d.ts.map +1 -0
- package/dist/react-native/index.js +15 -0
- package/dist/react-native/index.js.map +1 -0
- package/dist/react-native/isUnexpected.d.ts +52 -0
- package/dist/react-native/isUnexpected.d.ts.map +1 -0
- package/dist/react-native/isUnexpected.js +127 -0
- package/dist/react-native/isUnexpected.js.map +1 -0
- package/dist/react-native/models.d.ts +95 -0
- package/dist/react-native/models.d.ts.map +1 -0
- package/dist/react-native/models.js +4 -0
- package/dist/react-native/models.js.map +1 -0
- package/dist/react-native/outputModels.d.ts +499 -0
- package/dist/react-native/outputModels.d.ts.map +1 -0
- package/dist/react-native/outputModels.js +4 -0
- package/dist/react-native/outputModels.js.map +1 -0
- package/dist/react-native/package.json +3 -0
- package/dist/react-native/paginateHelper.d.ts +43 -0
- package/dist/react-native/paginateHelper.d.ts.map +1 -0
- package/dist/react-native/paginateHelper.js +70 -0
- package/dist/react-native/paginateHelper.js.map +1 -0
- package/dist/react-native/parameters.d.ts +212 -0
- package/dist/react-native/parameters.d.ts.map +1 -0
- package/dist/react-native/parameters.js +4 -0
- package/dist/react-native/parameters.js.map +1 -0
- package/dist/react-native/pollingHelper.d.ts +11 -0
- package/dist/react-native/pollingHelper.d.ts.map +1 -0
- package/dist/react-native/pollingHelper.js +48 -0
- package/dist/react-native/pollingHelper.js.map +1 -0
- package/dist/react-native/responses.d.ts +554 -0
- package/dist/react-native/responses.d.ts.map +1 -0
- package/dist/react-native/responses.js +4 -0
- package/dist/react-native/responses.js.map +1 -0
- package/package.json +65 -50
- package/dist/index.js.map +0 -1
- package/dist-esm/src/clientDefinitions.js.map +0 -1
- package/dist-esm/src/index.js +0 -14
- package/dist-esm/src/index.js.map +0 -1
- package/dist-esm/src/isUnexpected.js.map +0 -1
- package/dist-esm/src/parameters.js.map +0 -1
- package/dist-esm/src/responses.js.map +0 -1
- package/review/iot-device-update.api.md +0 -2198
- package/types/iot-device-update.d.ts +0 -2096
- /package/{dist-esm/src → dist/browser}/clientDefinitions.js +0 -0
- /package/{dist-esm/src → dist/browser}/deviceUpdate.js +0 -0
- /package/{dist-esm/src → dist/browser}/isUnexpected.js +0 -0
- /package/{dist-esm/src → dist/browser}/models.js +0 -0
- /package/{dist-esm/src → dist/browser}/models.js.map +0 -0
- /package/{dist-esm/src → dist/browser}/outputModels.js +0 -0
- /package/{dist-esm/src → dist/browser}/outputModels.js.map +0 -0
- /package/{dist-esm/src → dist/browser}/paginateHelper.js +0 -0
- /package/{dist-esm/src → dist/browser}/paginateHelper.js.map +0 -0
- /package/{dist-esm/src → dist/browser}/parameters.js +0 -0
- /package/{dist-esm/src → dist/browser}/pollingHelper.js +0 -0
- /package/{dist-esm/src → dist/browser}/pollingHelper.js.map +0 -0
- /package/{dist-esm/src → dist/browser}/responses.js +0 -0
|
@@ -0,0 +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"]}
|
|
@@ -0,0 +1,273 @@
|
|
|
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";
|
|
3
|
+
import type { Client, StreamableMethod } from "@azure-rest/core-client";
|
|
4
|
+
export interface DeviceUpdateListUpdates {
|
|
5
|
+
/** Get a list of all updates that have been imported to Device Update for IoT Hub. */
|
|
6
|
+
get(options?: DeviceUpdateListUpdatesParameters): StreamableMethod<DeviceUpdateListUpdates200Response | DeviceUpdateListUpdatesdefaultResponse>;
|
|
7
|
+
}
|
|
8
|
+
export interface DeviceUpdateImportUpdate {
|
|
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>;
|
|
11
|
+
}
|
|
12
|
+
export interface DeviceUpdateGetUpdate {
|
|
13
|
+
/** Get a specific update version. */
|
|
14
|
+
get(options?: DeviceUpdateGetUpdateParameters): StreamableMethod<DeviceUpdateGetUpdate200Response | DeviceUpdateGetUpdate304Response | DeviceUpdateGetUpdatedefaultResponse>;
|
|
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>;
|
|
17
|
+
}
|
|
18
|
+
export interface DeviceUpdateListProviders {
|
|
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>;
|
|
21
|
+
}
|
|
22
|
+
export interface DeviceUpdateListNames {
|
|
23
|
+
/** Get a list of all update names that match the specified provider. */
|
|
24
|
+
get(options?: DeviceUpdateListNamesParameters): StreamableMethod<DeviceUpdateListNames200Response | DeviceUpdateListNamesdefaultResponse>;
|
|
25
|
+
}
|
|
26
|
+
export interface DeviceUpdateListVersions {
|
|
27
|
+
/** Get a list of all update versions that match the specified provider and name. */
|
|
28
|
+
get(options?: DeviceUpdateListVersionsParameters): StreamableMethod<DeviceUpdateListVersions200Response | DeviceUpdateListVersionsdefaultResponse>;
|
|
29
|
+
}
|
|
30
|
+
export interface DeviceUpdateListFiles {
|
|
31
|
+
/** Get a list of all update file identifiers for the specified version. */
|
|
32
|
+
get(options?: DeviceUpdateListFilesParameters): StreamableMethod<DeviceUpdateListFiles200Response | DeviceUpdateListFilesdefaultResponse>;
|
|
33
|
+
}
|
|
34
|
+
export interface DeviceUpdateGetFile {
|
|
35
|
+
/** Get a specific update file from the version. */
|
|
36
|
+
get(options?: DeviceUpdateGetFileParameters): StreamableMethod<DeviceUpdateGetFile200Response | DeviceUpdateGetFile304Response | DeviceUpdateGetFiledefaultResponse>;
|
|
37
|
+
}
|
|
38
|
+
export interface DeviceUpdateListOperationStatuses {
|
|
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>;
|
|
41
|
+
}
|
|
42
|
+
export interface DeviceUpdateGetOperationStatus {
|
|
43
|
+
/** Retrieve operation status. */
|
|
44
|
+
get(options?: DeviceUpdateGetOperationStatusParameters): StreamableMethod<DeviceUpdateGetOperationStatus200Response | DeviceUpdateGetOperationStatus304Response | DeviceUpdateGetOperationStatusdefaultResponse>;
|
|
45
|
+
}
|
|
46
|
+
export interface DeviceManagementListDeviceClasses {
|
|
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>;
|
|
49
|
+
}
|
|
50
|
+
export interface DeviceManagementGetDeviceClass {
|
|
51
|
+
/** Gets the properties of a device class. */
|
|
52
|
+
get(options?: DeviceManagementGetDeviceClassParameters): StreamableMethod<DeviceManagementGetDeviceClass200Response | DeviceManagementGetDeviceClassdefaultResponse>;
|
|
53
|
+
/** Update device class details. */
|
|
54
|
+
patch(options: DeviceManagementUpdateDeviceClassParameters): StreamableMethod<DeviceManagementUpdateDeviceClass200Response | DeviceManagementUpdateDeviceClassdefaultResponse>;
|
|
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>;
|
|
57
|
+
}
|
|
58
|
+
export interface DeviceManagementListInstallableUpdatesForDeviceClass {
|
|
59
|
+
/** Gets a list of installable updates for a device class. */
|
|
60
|
+
get(options?: DeviceManagementListInstallableUpdatesForDeviceClassParameters): StreamableMethod<DeviceManagementListInstallableUpdatesForDeviceClass200Response | DeviceManagementListInstallableUpdatesForDeviceClassdefaultResponse>;
|
|
61
|
+
}
|
|
62
|
+
export interface DeviceManagementListDevices {
|
|
63
|
+
/** Gets a list of devices connected to Device Update for IoT Hub. */
|
|
64
|
+
get(options?: DeviceManagementListDevicesParameters): StreamableMethod<DeviceManagementListDevices200Response | DeviceManagementListDevicesdefaultResponse>;
|
|
65
|
+
}
|
|
66
|
+
export interface DeviceManagementImportDevices {
|
|
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>;
|
|
69
|
+
}
|
|
70
|
+
export interface DeviceManagementGetDevice {
|
|
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>;
|
|
73
|
+
}
|
|
74
|
+
export interface DeviceManagementGetDeviceModule {
|
|
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>;
|
|
77
|
+
}
|
|
78
|
+
export interface DeviceManagementGetUpdateCompliance {
|
|
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>;
|
|
81
|
+
}
|
|
82
|
+
export interface DeviceManagementListGroups {
|
|
83
|
+
/** Gets a list of all device groups. The $default group will always be returned first. */
|
|
84
|
+
get(options?: DeviceManagementListGroupsParameters): StreamableMethod<DeviceManagementListGroups200Response | DeviceManagementListGroupsdefaultResponse>;
|
|
85
|
+
}
|
|
86
|
+
export interface DeviceManagementGetGroup {
|
|
87
|
+
/** Gets the device group properties. */
|
|
88
|
+
get(options?: DeviceManagementGetGroupParameters): StreamableMethod<DeviceManagementGetGroup200Response | DeviceManagementGetGroupdefaultResponse>;
|
|
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>;
|
|
91
|
+
}
|
|
92
|
+
export interface DeviceManagementGetUpdateComplianceForGroup {
|
|
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>;
|
|
95
|
+
}
|
|
96
|
+
export interface DeviceManagementListBestUpdatesForGroup {
|
|
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>;
|
|
99
|
+
}
|
|
100
|
+
export interface DeviceManagementListDeploymentsForGroup {
|
|
101
|
+
/** Gets a list of deployments for a device group. */
|
|
102
|
+
get(options?: DeviceManagementListDeploymentsForGroupParameters): StreamableMethod<DeviceManagementListDeploymentsForGroup200Response | DeviceManagementListDeploymentsForGroupdefaultResponse>;
|
|
103
|
+
}
|
|
104
|
+
export interface DeviceManagementGetDeployment {
|
|
105
|
+
/** Gets the deployment properties. */
|
|
106
|
+
get(options?: DeviceManagementGetDeploymentParameters): StreamableMethod<DeviceManagementGetDeployment200Response | DeviceManagementGetDeploymentdefaultResponse>;
|
|
107
|
+
/** Creates or updates a deployment. */
|
|
108
|
+
put(options: DeviceManagementCreateOrUpdateDeploymentParameters): StreamableMethod<DeviceManagementCreateOrUpdateDeployment200Response | DeviceManagementCreateOrUpdateDeploymentdefaultResponse>;
|
|
109
|
+
/** Deletes a deployment. */
|
|
110
|
+
delete(options?: DeviceManagementDeleteDeploymentParameters): StreamableMethod<DeviceManagementDeleteDeployment204Response | DeviceManagementDeleteDeploymentdefaultResponse>;
|
|
111
|
+
}
|
|
112
|
+
export interface DeviceManagementGetDeploymentStatus {
|
|
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>;
|
|
115
|
+
}
|
|
116
|
+
export interface DeviceManagementListDeviceClassSubgroupsForGroup {
|
|
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>;
|
|
119
|
+
}
|
|
120
|
+
export interface DeviceManagementGetDeviceClassSubgroup {
|
|
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>;
|
|
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>;
|
|
125
|
+
}
|
|
126
|
+
export interface DeviceManagementGetDeviceClassSubgroupUpdateCompliance {
|
|
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>;
|
|
129
|
+
}
|
|
130
|
+
export interface DeviceManagementGetBestUpdatesForDeviceClassSubgroup {
|
|
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>;
|
|
133
|
+
}
|
|
134
|
+
export interface DeviceManagementListDeploymentsForDeviceClassSubgroup {
|
|
135
|
+
/** Gets a list of deployments for a device class subgroup. */
|
|
136
|
+
get(options?: DeviceManagementListDeploymentsForDeviceClassSubgroupParameters): StreamableMethod<DeviceManagementListDeploymentsForDeviceClassSubgroup200Response | DeviceManagementListDeploymentsForDeviceClassSubgroupdefaultResponse>;
|
|
137
|
+
}
|
|
138
|
+
export interface DeviceManagementGetDeploymentForDeviceClassSubgroup {
|
|
139
|
+
/** Gets the deployment properties. */
|
|
140
|
+
get(options?: DeviceManagementGetDeploymentForDeviceClassSubgroupParameters): StreamableMethod<DeviceManagementGetDeploymentForDeviceClassSubgroup200Response | DeviceManagementGetDeploymentForDeviceClassSubgroupdefaultResponse>;
|
|
141
|
+
/** Deletes a device class subgroup deployment. */
|
|
142
|
+
delete(options?: DeviceManagementDeleteDeploymentForDeviceClassSubgroupParameters): StreamableMethod<DeviceManagementDeleteDeploymentForDeviceClassSubgroup204Response | DeviceManagementDeleteDeploymentForDeviceClassSubgroupdefaultResponse>;
|
|
143
|
+
}
|
|
144
|
+
export interface DeviceManagementStopDeployment {
|
|
145
|
+
/** Stops a deployment. */
|
|
146
|
+
post(options?: DeviceManagementStopDeploymentParameters): StreamableMethod<DeviceManagementStopDeployment200Response | DeviceManagementStopDeploymentdefaultResponse>;
|
|
147
|
+
}
|
|
148
|
+
export interface DeviceManagementRetryDeployment {
|
|
149
|
+
/** Retries a deployment with failed devices. */
|
|
150
|
+
post(options?: DeviceManagementRetryDeploymentParameters): StreamableMethod<DeviceManagementRetryDeployment200Response | DeviceManagementRetryDeploymentdefaultResponse>;
|
|
151
|
+
}
|
|
152
|
+
export interface DeviceManagementGetDeviceClassSubgroupDeploymentStatus {
|
|
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>;
|
|
155
|
+
}
|
|
156
|
+
export interface DeviceManagementListDeviceStatesForDeviceClassSubgroupDeployment {
|
|
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>;
|
|
159
|
+
}
|
|
160
|
+
export interface DeviceManagementGetOperationStatus {
|
|
161
|
+
/** Retrieve operation status. */
|
|
162
|
+
get(options?: DeviceManagementGetOperationStatusParameters): StreamableMethod<DeviceManagementGetOperationStatus200Response | DeviceManagementGetOperationStatus304Response | DeviceManagementGetOperationStatusdefaultResponse>;
|
|
163
|
+
}
|
|
164
|
+
export interface DeviceManagementListOperationStatuses {
|
|
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>;
|
|
167
|
+
}
|
|
168
|
+
export interface DeviceManagementStartLogCollection {
|
|
169
|
+
/** Start the device diagnostics log collection on specified devices. */
|
|
170
|
+
put(options: DeviceManagementStartLogCollectionParameters): StreamableMethod<DeviceManagementStartLogCollection201Response | DeviceManagementStartLogCollectiondefaultResponse>;
|
|
171
|
+
/** Get the device diagnostics log collection */
|
|
172
|
+
get(options?: DeviceManagementGetLogCollectionParameters): StreamableMethod<DeviceManagementGetLogCollection200Response | DeviceManagementGetLogCollectiondefaultResponse>;
|
|
173
|
+
}
|
|
174
|
+
export interface DeviceManagementListLogCollections {
|
|
175
|
+
/** Get all device diagnostics log collections */
|
|
176
|
+
get(options?: DeviceManagementListLogCollectionsParameters): StreamableMethod<DeviceManagementListLogCollections200Response | DeviceManagementListLogCollectionsdefaultResponse>;
|
|
177
|
+
}
|
|
178
|
+
export interface DeviceManagementGetLogCollectionDetailedStatus {
|
|
179
|
+
/** Get log collection with detailed status */
|
|
180
|
+
get(options?: DeviceManagementGetLogCollectionDetailedStatusParameters): StreamableMethod<DeviceManagementGetLogCollectionDetailedStatus200Response | DeviceManagementGetLogCollectionDetailedStatusdefaultResponse>;
|
|
181
|
+
}
|
|
182
|
+
export interface DeviceManagementListHealthOfDevices {
|
|
183
|
+
/** Get list of device health */
|
|
184
|
+
get(options: DeviceManagementListHealthOfDevicesParameters): StreamableMethod<DeviceManagementListHealthOfDevices200Response | DeviceManagementListHealthOfDevicesdefaultResponse>;
|
|
185
|
+
}
|
|
186
|
+
export interface Routes {
|
|
187
|
+
/** Resource for '/deviceUpdate/\{instanceId\}/updates' has methods for the following verbs: get */
|
|
188
|
+
(path: "/deviceUpdate/{instanceId}/updates", instanceId: string): DeviceUpdateListUpdates;
|
|
189
|
+
/** Resource for '/deviceUpdate/\{instanceId\}/updates:import' has methods for the following verbs: post */
|
|
190
|
+
(path: "/deviceUpdate/{instanceId}/updates:import", instanceId: string): DeviceUpdateImportUpdate;
|
|
191
|
+
/** Resource for '/deviceUpdate/\{instanceId\}/updates/providers/\{provider\}/names/\{name\}/versions/\{version\}' has methods for the following verbs: get, delete */
|
|
192
|
+
(path: "/deviceUpdate/{instanceId}/updates/providers/{provider}/names/{name}/versions/{version}", instanceId: string, provider: string, name: string, version: string): DeviceUpdateGetUpdate;
|
|
193
|
+
/** Resource for '/deviceUpdate/\{instanceId\}/updates/providers' has methods for the following verbs: get */
|
|
194
|
+
(path: "/deviceUpdate/{instanceId}/updates/providers", instanceId: string): DeviceUpdateListProviders;
|
|
195
|
+
/** Resource for '/deviceUpdate/\{instanceId\}/updates/providers/\{provider\}/names' has methods for the following verbs: get */
|
|
196
|
+
(path: "/deviceUpdate/{instanceId}/updates/providers/{provider}/names", instanceId: string, provider: string): DeviceUpdateListNames;
|
|
197
|
+
/** Resource for '/deviceUpdate/\{instanceId\}/updates/providers/\{provider\}/names/\{name\}/versions' has methods for the following verbs: get */
|
|
198
|
+
(path: "/deviceUpdate/{instanceId}/updates/providers/{provider}/names/{name}/versions", instanceId: string, provider: string, name: string): DeviceUpdateListVersions;
|
|
199
|
+
/** Resource for '/deviceUpdate/\{instanceId\}/updates/providers/\{provider\}/names/\{name\}/versions/\{version\}/files' has methods for the following verbs: get */
|
|
200
|
+
(path: "/deviceUpdate/{instanceId}/updates/providers/{provider}/names/{name}/versions/{version}/files", instanceId: string, provider: string, name: string, version: string): DeviceUpdateListFiles;
|
|
201
|
+
/** Resource for '/deviceUpdate/\{instanceId\}/updates/providers/\{provider\}/names/\{name\}/versions/\{version\}/files/\{fileId\}' has methods for the following verbs: get */
|
|
202
|
+
(path: "/deviceUpdate/{instanceId}/updates/providers/{provider}/names/{name}/versions/{version}/files/{fileId}", instanceId: string, provider: string, name: string, version: string, fileId: string): DeviceUpdateGetFile;
|
|
203
|
+
/** Resource for '/deviceUpdate/\{instanceId\}/updates/operations' has methods for the following verbs: get */
|
|
204
|
+
(path: "/deviceUpdate/{instanceId}/updates/operations", instanceId: string): DeviceUpdateListOperationStatuses;
|
|
205
|
+
/** Resource for '/deviceUpdate/\{instanceId\}/updates/operations/\{operationId\}' has methods for the following verbs: get */
|
|
206
|
+
(path: "/deviceUpdate/{instanceId}/updates/operations/{operationId}", instanceId: string, operationId: string): DeviceUpdateGetOperationStatus;
|
|
207
|
+
/** Resource for '/deviceUpdate/\{instanceId\}/management/deviceClasses' has methods for the following verbs: get */
|
|
208
|
+
(path: "/deviceUpdate/{instanceId}/management/deviceClasses", instanceId: string): DeviceManagementListDeviceClasses;
|
|
209
|
+
/** Resource for '/deviceUpdate/\{instanceId\}/management/deviceClasses/\{deviceClassId\}' has methods for the following verbs: get, patch, delete */
|
|
210
|
+
(path: "/deviceUpdate/{instanceId}/management/deviceClasses/{deviceClassId}", instanceId: string, deviceClassId: string): DeviceManagementGetDeviceClass;
|
|
211
|
+
/** Resource for '/deviceUpdate/\{instanceId\}/management/deviceClasses/\{deviceClassId\}/installableUpdates' has methods for the following verbs: get */
|
|
212
|
+
(path: "/deviceUpdate/{instanceId}/management/deviceClasses/{deviceClassId}/installableUpdates", instanceId: string, deviceClassId: string): DeviceManagementListInstallableUpdatesForDeviceClass;
|
|
213
|
+
/** Resource for '/deviceUpdate/\{instanceId\}/management/devices' has methods for the following verbs: get */
|
|
214
|
+
(path: "/deviceUpdate/{instanceId}/management/devices", instanceId: string): DeviceManagementListDevices;
|
|
215
|
+
/** Resource for '/deviceUpdate/\{instanceId\}/management/devices:import' has methods for the following verbs: post */
|
|
216
|
+
(path: "/deviceUpdate/{instanceId}/management/devices:import", instanceId: string): DeviceManagementImportDevices;
|
|
217
|
+
/** Resource for '/deviceUpdate/\{instanceId\}/management/devices/\{deviceId\}' has methods for the following verbs: get */
|
|
218
|
+
(path: "/deviceUpdate/{instanceId}/management/devices/{deviceId}", instanceId: string, deviceId: string): DeviceManagementGetDevice;
|
|
219
|
+
/** Resource for '/deviceUpdate/\{instanceId\}/management/devices/\{deviceId\}/modules/\{moduleId\}' has methods for the following verbs: get */
|
|
220
|
+
(path: "/deviceUpdate/{instanceId}/management/devices/{deviceId}/modules/{moduleId}", instanceId: string, deviceId: string, moduleId: string): DeviceManagementGetDeviceModule;
|
|
221
|
+
/** Resource for '/deviceUpdate/\{instanceId\}/management/updateCompliance' has methods for the following verbs: get */
|
|
222
|
+
(path: "/deviceUpdate/{instanceId}/management/updateCompliance", instanceId: string): DeviceManagementGetUpdateCompliance;
|
|
223
|
+
/** Resource for '/deviceUpdate/\{instanceId\}/management/groups' has methods for the following verbs: get */
|
|
224
|
+
(path: "/deviceUpdate/{instanceId}/management/groups", instanceId: string): DeviceManagementListGroups;
|
|
225
|
+
/** Resource for '/deviceUpdate/\{instanceId\}/management/groups/\{groupId\}' has methods for the following verbs: get, delete */
|
|
226
|
+
(path: "/deviceUpdate/{instanceId}/management/groups/{groupId}", instanceId: string, groupId: string): DeviceManagementGetGroup;
|
|
227
|
+
/** Resource for '/deviceUpdate/\{instanceId\}/management/groups/\{groupId\}/updateCompliance' has methods for the following verbs: get */
|
|
228
|
+
(path: "/deviceUpdate/{instanceId}/management/groups/{groupId}/updateCompliance", instanceId: string, groupId: string): DeviceManagementGetUpdateComplianceForGroup;
|
|
229
|
+
/** Resource for '/deviceUpdate/\{instanceId\}/management/groups/\{groupId\}/bestUpdates' has methods for the following verbs: get */
|
|
230
|
+
(path: "/deviceUpdate/{instanceId}/management/groups/{groupId}/bestUpdates", instanceId: string, groupId: string): DeviceManagementListBestUpdatesForGroup;
|
|
231
|
+
/** Resource for '/deviceUpdate/\{instanceId\}/management/groups/\{groupId\}/deployments' has methods for the following verbs: get */
|
|
232
|
+
(path: "/deviceUpdate/{instanceId}/management/groups/{groupId}/deployments", instanceId: string, groupId: string): DeviceManagementListDeploymentsForGroup;
|
|
233
|
+
/** Resource for '/deviceUpdate/\{instanceId\}/management/groups/\{groupId\}/deployments/\{deploymentId\}' has methods for the following verbs: get, put, delete */
|
|
234
|
+
(path: "/deviceUpdate/{instanceId}/management/groups/{groupId}/deployments/{deploymentId}", instanceId: string, groupId: string, deploymentId: string): DeviceManagementGetDeployment;
|
|
235
|
+
/** Resource for '/deviceUpdate/\{instanceId\}/management/groups/\{groupId\}/deployments/\{deploymentId\}/status' has methods for the following verbs: get */
|
|
236
|
+
(path: "/deviceUpdate/{instanceId}/management/groups/{groupId}/deployments/{deploymentId}/status", instanceId: string, groupId: string, deploymentId: string): DeviceManagementGetDeploymentStatus;
|
|
237
|
+
/** Resource for '/deviceUpdate/\{instanceId\}/management/groups/\{groupId\}/deviceClassSubgroups' has methods for the following verbs: get */
|
|
238
|
+
(path: "/deviceUpdate/{instanceId}/management/groups/{groupId}/deviceClassSubgroups", instanceId: string, groupId: string): DeviceManagementListDeviceClassSubgroupsForGroup;
|
|
239
|
+
/** Resource for '/deviceUpdate/\{instanceId\}/management/groups/\{groupId\}/deviceClassSubgroups/\{deviceClassId\}' has methods for the following verbs: get, delete */
|
|
240
|
+
(path: "/deviceUpdate/{instanceId}/management/groups/{groupId}/deviceClassSubgroups/{deviceClassId}", instanceId: string, groupId: string, deviceClassId: string): DeviceManagementGetDeviceClassSubgroup;
|
|
241
|
+
/** Resource for '/deviceUpdate/\{instanceId\}/management/groups/\{groupId\}/deviceClassSubgroups/\{deviceClassId\}/updateCompliance' has methods for the following verbs: get */
|
|
242
|
+
(path: "/deviceUpdate/{instanceId}/management/groups/{groupId}/deviceClassSubgroups/{deviceClassId}/updateCompliance", instanceId: string, groupId: string, deviceClassId: string): DeviceManagementGetDeviceClassSubgroupUpdateCompliance;
|
|
243
|
+
/** Resource for '/deviceUpdate/\{instanceId\}/management/groups/\{groupId\}/deviceClassSubgroups/\{deviceClassId\}/bestUpdates' has methods for the following verbs: get */
|
|
244
|
+
(path: "/deviceUpdate/{instanceId}/management/groups/{groupId}/deviceClassSubgroups/{deviceClassId}/bestUpdates", instanceId: string, groupId: string, deviceClassId: string): DeviceManagementGetBestUpdatesForDeviceClassSubgroup;
|
|
245
|
+
/** Resource for '/deviceUpdate/\{instanceId\}/management/groups/\{groupId\}/deviceClassSubgroups/\{deviceClassId\}/deployments' has methods for the following verbs: get */
|
|
246
|
+
(path: "/deviceUpdate/{instanceId}/management/groups/{groupId}/deviceClassSubgroups/{deviceClassId}/deployments", instanceId: string, groupId: string, deviceClassId: string): DeviceManagementListDeploymentsForDeviceClassSubgroup;
|
|
247
|
+
/** Resource for '/deviceUpdate/\{instanceId\}/management/groups/\{groupId\}/deviceClassSubgroups/\{deviceClassId\}/deployments/\{deploymentId\}' has methods for the following verbs: get, delete */
|
|
248
|
+
(path: "/deviceUpdate/{instanceId}/management/groups/{groupId}/deviceClassSubgroups/{deviceClassId}/deployments/{deploymentId}", instanceId: string, groupId: string, deviceClassId: string, deploymentId: string): DeviceManagementGetDeploymentForDeviceClassSubgroup;
|
|
249
|
+
/** Resource for '/deviceUpdate/\{instanceId\}/management/groups/\{groupId\}/deviceClassSubgroups/\{deviceClassId\}/deployments/\{deploymentId\}:cancel' has methods for the following verbs: post */
|
|
250
|
+
(path: "/deviceUpdate/{instanceId}/management/groups/{groupId}/deviceClassSubgroups/{deviceClassId}/deployments/{deploymentId}:cancel", instanceId: string, groupId: string, deviceClassId: string, deploymentId: string): DeviceManagementStopDeployment;
|
|
251
|
+
/** Resource for '/deviceUpdate/\{instanceId\}/management/groups/\{groupId\}/deviceClassSubgroups/\{deviceClassId\}/deployments/\{deploymentId\}:retry' has methods for the following verbs: post */
|
|
252
|
+
(path: "/deviceUpdate/{instanceId}/management/groups/{groupId}/deviceClassSubgroups/{deviceClassId}/deployments/{deploymentId}:retry", instanceId: string, groupId: string, deviceClassId: string, deploymentId: string): DeviceManagementRetryDeployment;
|
|
253
|
+
/** Resource for '/deviceUpdate/\{instanceId\}/management/groups/\{groupId\}/deviceClassSubgroups/\{deviceClassId\}/deployments/\{deploymentId\}/status' has methods for the following verbs: get */
|
|
254
|
+
(path: "/deviceUpdate/{instanceId}/management/groups/{groupId}/deviceClassSubgroups/{deviceClassId}/deployments/{deploymentId}/status", instanceId: string, groupId: string, deviceClassId: string, deploymentId: string): DeviceManagementGetDeviceClassSubgroupDeploymentStatus;
|
|
255
|
+
/** Resource for '/deviceUpdate/\{instanceId\}/management/groups/\{groupId\}/deviceClassSubgroups/\{deviceClassId\}/deployments/\{deploymentId\}/devicestates' has methods for the following verbs: get */
|
|
256
|
+
(path: "/deviceUpdate/{instanceId}/management/groups/{groupId}/deviceClassSubgroups/{deviceClassId}/deployments/{deploymentId}/devicestates", instanceId: string, groupId: string, deviceClassId: string, deploymentId: string): DeviceManagementListDeviceStatesForDeviceClassSubgroupDeployment;
|
|
257
|
+
/** Resource for '/deviceUpdate/\{instanceId\}/management/operations/\{operationId\}' has methods for the following verbs: get */
|
|
258
|
+
(path: "/deviceUpdate/{instanceId}/management/operations/{operationId}", instanceId: string, operationId: string): DeviceManagementGetOperationStatus;
|
|
259
|
+
/** Resource for '/deviceUpdate/\{instanceId\}/management/operations' has methods for the following verbs: get */
|
|
260
|
+
(path: "/deviceUpdate/{instanceId}/management/operations", instanceId: string): DeviceManagementListOperationStatuses;
|
|
261
|
+
/** Resource for '/deviceUpdate/\{instanceId\}/management/deviceDiagnostics/logCollections/\{operationId\}' has methods for the following verbs: put, get */
|
|
262
|
+
(path: "/deviceUpdate/{instanceId}/management/deviceDiagnostics/logCollections/{operationId}", instanceId: string, operationId: string): DeviceManagementStartLogCollection;
|
|
263
|
+
/** Resource for '/deviceUpdate/\{instanceId\}/management/deviceDiagnostics/logCollections' has methods for the following verbs: get */
|
|
264
|
+
(path: "/deviceUpdate/{instanceId}/management/deviceDiagnostics/logCollections", instanceId: string): DeviceManagementListLogCollections;
|
|
265
|
+
/** Resource for '/deviceUpdate/\{instanceId\}/management/deviceDiagnostics/logCollections/\{operationId\}/detailedStatus' has methods for the following verbs: get */
|
|
266
|
+
(path: "/deviceUpdate/{instanceId}/management/deviceDiagnostics/logCollections/{operationId}/detailedStatus", instanceId: string, operationId: string): DeviceManagementGetLogCollectionDetailedStatus;
|
|
267
|
+
/** Resource for '/deviceUpdate/\{instanceId\}/management/deviceDiagnostics/deviceHealth' has methods for the following verbs: get */
|
|
268
|
+
(path: "/deviceUpdate/{instanceId}/management/deviceDiagnostics/deviceHealth", instanceId: string): DeviceManagementListHealthOfDevices;
|
|
269
|
+
}
|
|
270
|
+
export type DeviceUpdateClient = Client & {
|
|
271
|
+
path: Routes;
|
|
272
|
+
};
|
|
273
|
+
//# sourceMappingURL=clientDefinitions.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"clientDefinitions.d.ts","sourceRoot":"","sources":["../../src/clientDefinitions.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EACV,iCAAiC,EACjC,kCAAkC,EAClC,+BAA+B,EAC/B,kCAAkC,EAClC,mCAAmC,EACnC,+BAA+B,EAC/B,kCAAkC,EAClC,+BAA+B,EAC/B,6BAA6B,EAC7B,2CAA2C,EAC3C,wCAAwC,EACxC,2CAA2C,EAC3C,wCAAwC,EACxC,2CAA2C,EAC3C,2CAA2C,EAC3C,8DAA8D,EAC9D,qCAAqC,EACrC,uCAAuC,EACvC,mCAAmC,EACnC,yCAAyC,EACzC,6CAA6C,EAC7C,oCAAoC,EACpC,kCAAkC,EAClC,qCAAqC,EACrC,qDAAqD,EACrD,iDAAiD,EACjD,iDAAiD,EACjD,uCAAuC,EACvC,kDAAkD,EAClD,0CAA0C,EAC1C,6CAA6C,EAC7C,0DAA0D,EAC1D,gDAAgD,EAChD,mDAAmD,EACnD,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,EAAE,MAAM,GACjB,qCAAqC,CAAC;IACzC,4JAA4J;IAC5J,CACE,IAAI,EAAE,sFAAsF,EAC5F,UAAU,EAAE,MAAM,EAClB,WAAW,EAAE,MAAM,GAClB,kCAAkC,CAAC;IACtC,uIAAuI;IACvI,CACE,IAAI,EAAE,wEAAwE,EAC9E,UAAU,EAAE,MAAM,GACjB,kCAAkC,CAAC;IACtC,sKAAsK;IACtK,CACE,IAAI,EAAE,qGAAqG,EAC3G,UAAU,EAAE,MAAM,EAClB,WAAW,EAAE,MAAM,GAClB,8CAA8C,CAAC;IAClD,qIAAqI;IACrI,CACE,IAAI,EAAE,sEAAsE,EAC5E,UAAU,EAAE,MAAM,GACjB,mCAAmC,CAAC;CACxC;AAED,MAAM,MAAM,kBAAkB,GAAG,MAAM,GAAG;IACxC,IAAI,EAAE,MAAM,CAAC;CACd,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"clientDefinitions.js","sourceRoot":"","sources":["../../src/clientDefinitions.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport type {\n DeviceUpdateListUpdatesParameters,\n DeviceUpdateImportUpdateParameters,\n DeviceUpdateGetUpdateParameters,\n DeviceUpdateDeleteUpdateParameters,\n DeviceUpdateListProvidersParameters,\n DeviceUpdateListNamesParameters,\n DeviceUpdateListVersionsParameters,\n DeviceUpdateListFilesParameters,\n DeviceUpdateGetFileParameters,\n DeviceUpdateListOperationStatusesParameters,\n DeviceUpdateGetOperationStatusParameters,\n DeviceManagementListDeviceClassesParameters,\n DeviceManagementGetDeviceClassParameters,\n DeviceManagementUpdateDeviceClassParameters,\n DeviceManagementDeleteDeviceClassParameters,\n DeviceManagementListInstallableUpdatesForDeviceClassParameters,\n DeviceManagementListDevicesParameters,\n DeviceManagementImportDevicesParameters,\n DeviceManagementGetDeviceParameters,\n DeviceManagementGetDeviceModuleParameters,\n DeviceManagementGetUpdateComplianceParameters,\n DeviceManagementListGroupsParameters,\n DeviceManagementGetGroupParameters,\n DeviceManagementDeleteGroupParameters,\n DeviceManagementGetUpdateComplianceForGroupParameters,\n DeviceManagementListBestUpdatesForGroupParameters,\n DeviceManagementListDeploymentsForGroupParameters,\n DeviceManagementGetDeploymentParameters,\n DeviceManagementCreateOrUpdateDeploymentParameters,\n DeviceManagementDeleteDeploymentParameters,\n DeviceManagementGetDeploymentStatusParameters,\n DeviceManagementListDeviceClassSubgroupsForGroupParameters,\n DeviceManagementGetDeviceClassSubgroupParameters,\n DeviceManagementDeleteDeviceClassSubgroupParameters,\n DeviceManagementGetDeviceClassSubgroupUpdateComplianceParameters,\n DeviceManagementGetBestUpdatesForDeviceClassSubgroupParameters,\n DeviceManagementListDeploymentsForDeviceClassSubgroupParameters,\n DeviceManagementGetDeploymentForDeviceClassSubgroupParameters,\n DeviceManagementDeleteDeploymentForDeviceClassSubgroupParameters,\n DeviceManagementStopDeploymentParameters,\n DeviceManagementRetryDeploymentParameters,\n DeviceManagementGetDeviceClassSubgroupDeploymentStatusParameters,\n DeviceManagementListDeviceStatesForDeviceClassSubgroupDeploymentParameters,\n DeviceManagementGetOperationStatusParameters,\n DeviceManagementListOperationStatusesParameters,\n DeviceManagementStartLogCollectionParameters,\n DeviceManagementGetLogCollectionParameters,\n DeviceManagementListLogCollectionsParameters,\n DeviceManagementGetLogCollectionDetailedStatusParameters,\n DeviceManagementListHealthOfDevicesParameters,\n} from \"./parameters.js\";\nimport type {\n DeviceUpdateListUpdates200Response,\n DeviceUpdateListUpdatesdefaultResponse,\n DeviceUpdateImportUpdate200Response,\n DeviceUpdateImportUpdate202Response,\n DeviceUpdateImportUpdatedefaultResponse,\n DeviceUpdateGetUpdate200Response,\n DeviceUpdateGetUpdate304Response,\n DeviceUpdateGetUpdatedefaultResponse,\n DeviceUpdateDeleteUpdate202Response,\n DeviceUpdateDeleteUpdatedefaultResponse,\n DeviceUpdateListProviders200Response,\n DeviceUpdateListProvidersdefaultResponse,\n DeviceUpdateListNames200Response,\n DeviceUpdateListNamesdefaultResponse,\n DeviceUpdateListVersions200Response,\n DeviceUpdateListVersionsdefaultResponse,\n DeviceUpdateListFiles200Response,\n DeviceUpdateListFilesdefaultResponse,\n DeviceUpdateGetFile200Response,\n DeviceUpdateGetFile304Response,\n DeviceUpdateGetFiledefaultResponse,\n DeviceUpdateListOperationStatuses200Response,\n DeviceUpdateListOperationStatusesdefaultResponse,\n DeviceUpdateGetOperationStatus200Response,\n DeviceUpdateGetOperationStatus304Response,\n DeviceUpdateGetOperationStatusdefaultResponse,\n DeviceManagementListDeviceClasses200Response,\n DeviceManagementListDeviceClassesdefaultResponse,\n DeviceManagementGetDeviceClass200Response,\n DeviceManagementGetDeviceClassdefaultResponse,\n DeviceManagementUpdateDeviceClass200Response,\n DeviceManagementUpdateDeviceClassdefaultResponse,\n DeviceManagementDeleteDeviceClass204Response,\n DeviceManagementDeleteDeviceClassdefaultResponse,\n DeviceManagementListInstallableUpdatesForDeviceClass200Response,\n DeviceManagementListInstallableUpdatesForDeviceClassdefaultResponse,\n DeviceManagementListDevices200Response,\n DeviceManagementListDevicesdefaultResponse,\n DeviceManagementImportDevices202Response,\n DeviceManagementImportDevicesdefaultResponse,\n DeviceManagementGetDevice200Response,\n DeviceManagementGetDevicedefaultResponse,\n DeviceManagementGetDeviceModule200Response,\n DeviceManagementGetDeviceModuledefaultResponse,\n DeviceManagementGetUpdateCompliance200Response,\n DeviceManagementGetUpdateCompliancedefaultResponse,\n DeviceManagementListGroups200Response,\n DeviceManagementListGroupsdefaultResponse,\n DeviceManagementGetGroup200Response,\n DeviceManagementGetGroupdefaultResponse,\n DeviceManagementDeleteGroup204Response,\n DeviceManagementDeleteGroupdefaultResponse,\n DeviceManagementGetUpdateComplianceForGroup200Response,\n DeviceManagementGetUpdateComplianceForGroupdefaultResponse,\n DeviceManagementListBestUpdatesForGroup200Response,\n DeviceManagementListBestUpdatesForGroupdefaultResponse,\n DeviceManagementListDeploymentsForGroup200Response,\n DeviceManagementListDeploymentsForGroupdefaultResponse,\n DeviceManagementGetDeployment200Response,\n DeviceManagementGetDeploymentdefaultResponse,\n DeviceManagementCreateOrUpdateDeployment200Response,\n DeviceManagementCreateOrUpdateDeploymentdefaultResponse,\n DeviceManagementDeleteDeployment204Response,\n DeviceManagementDeleteDeploymentdefaultResponse,\n DeviceManagementGetDeploymentStatus200Response,\n DeviceManagementGetDeploymentStatusdefaultResponse,\n DeviceManagementListDeviceClassSubgroupsForGroup200Response,\n DeviceManagementListDeviceClassSubgroupsForGroupdefaultResponse,\n DeviceManagementGetDeviceClassSubgroup200Response,\n DeviceManagementGetDeviceClassSubgroupdefaultResponse,\n DeviceManagementDeleteDeviceClassSubgroup204Response,\n DeviceManagementDeleteDeviceClassSubgroupdefaultResponse,\n DeviceManagementGetDeviceClassSubgroupUpdateCompliance200Response,\n DeviceManagementGetDeviceClassSubgroupUpdateCompliancedefaultResponse,\n DeviceManagementGetBestUpdatesForDeviceClassSubgroup200Response,\n DeviceManagementGetBestUpdatesForDeviceClassSubgroupdefaultResponse,\n DeviceManagementListDeploymentsForDeviceClassSubgroup200Response,\n DeviceManagementListDeploymentsForDeviceClassSubgroupdefaultResponse,\n DeviceManagementGetDeploymentForDeviceClassSubgroup200Response,\n DeviceManagementGetDeploymentForDeviceClassSubgroupdefaultResponse,\n DeviceManagementDeleteDeploymentForDeviceClassSubgroup204Response,\n DeviceManagementDeleteDeploymentForDeviceClassSubgroupdefaultResponse,\n DeviceManagementStopDeployment200Response,\n DeviceManagementStopDeploymentdefaultResponse,\n DeviceManagementRetryDeployment200Response,\n DeviceManagementRetryDeploymentdefaultResponse,\n DeviceManagementGetDeviceClassSubgroupDeploymentStatus200Response,\n DeviceManagementGetDeviceClassSubgroupDeploymentStatusdefaultResponse,\n DeviceManagementListDeviceStatesForDeviceClassSubgroupDeployment200Response,\n DeviceManagementListDeviceStatesForDeviceClassSubgroupDeploymentdefaultResponse,\n DeviceManagementGetOperationStatus200Response,\n DeviceManagementGetOperationStatus304Response,\n DeviceManagementGetOperationStatusdefaultResponse,\n DeviceManagementListOperationStatuses200Response,\n DeviceManagementListOperationStatusesdefaultResponse,\n DeviceManagementStartLogCollection201Response,\n DeviceManagementStartLogCollectiondefaultResponse,\n DeviceManagementGetLogCollection200Response,\n DeviceManagementGetLogCollectiondefaultResponse,\n DeviceManagementListLogCollections200Response,\n DeviceManagementListLogCollectionsdefaultResponse,\n DeviceManagementGetLogCollectionDetailedStatus200Response,\n DeviceManagementGetLogCollectionDetailedStatusdefaultResponse,\n DeviceManagementListHealthOfDevices200Response,\n DeviceManagementListHealthOfDevicesdefaultResponse,\n} from \"./responses.js\";\nimport type { Client, StreamableMethod } from \"@azure-rest/core-client\";\n\nexport interface DeviceUpdateListUpdates {\n /** Get a list of all updates that have been imported to Device Update for IoT Hub. */\n get(\n options?: DeviceUpdateListUpdatesParameters,\n ): StreamableMethod<DeviceUpdateListUpdates200Response | DeviceUpdateListUpdatesdefaultResponse>;\n}\n\nexport interface DeviceUpdateImportUpdate {\n /** Import new update version. This is a long-running-operation; use Operation-Location response header value to check for operation status. */\n post(\n options: DeviceUpdateImportUpdateParameters,\n ): StreamableMethod<\n | DeviceUpdateImportUpdate200Response\n | DeviceUpdateImportUpdate202Response\n | DeviceUpdateImportUpdatedefaultResponse\n >;\n}\n\nexport interface DeviceUpdateGetUpdate {\n /** Get a specific update version. */\n get(\n options?: DeviceUpdateGetUpdateParameters,\n ): StreamableMethod<\n | DeviceUpdateGetUpdate200Response\n | DeviceUpdateGetUpdate304Response\n | DeviceUpdateGetUpdatedefaultResponse\n >;\n /** Delete a specific update version. This is a long-running-operation; use Operation-Location response header value to check for operation status. */\n delete(\n options?: DeviceUpdateDeleteUpdateParameters,\n ): StreamableMethod<\n DeviceUpdateDeleteUpdate202Response | DeviceUpdateDeleteUpdatedefaultResponse\n >;\n}\n\nexport interface DeviceUpdateListProviders {\n /** Get a list of all update providers that have been imported to Device Update for IoT Hub. */\n get(\n options?: DeviceUpdateListProvidersParameters,\n ): StreamableMethod<\n DeviceUpdateListProviders200Response | DeviceUpdateListProvidersdefaultResponse\n >;\n}\n\nexport interface DeviceUpdateListNames {\n /** Get a list of all update names that match the specified provider. */\n get(\n options?: DeviceUpdateListNamesParameters,\n ): StreamableMethod<DeviceUpdateListNames200Response | DeviceUpdateListNamesdefaultResponse>;\n}\n\nexport interface DeviceUpdateListVersions {\n /** Get a list of all update versions that match the specified provider and name. */\n get(\n options?: DeviceUpdateListVersionsParameters,\n ): StreamableMethod<\n DeviceUpdateListVersions200Response | DeviceUpdateListVersionsdefaultResponse\n >;\n}\n\nexport interface DeviceUpdateListFiles {\n /** Get a list of all update file identifiers for the specified version. */\n get(\n options?: DeviceUpdateListFilesParameters,\n ): StreamableMethod<DeviceUpdateListFiles200Response | DeviceUpdateListFilesdefaultResponse>;\n}\n\nexport interface DeviceUpdateGetFile {\n /** Get a specific update file from the version. */\n get(\n options?: DeviceUpdateGetFileParameters,\n ): StreamableMethod<\n | DeviceUpdateGetFile200Response\n | DeviceUpdateGetFile304Response\n | DeviceUpdateGetFiledefaultResponse\n >;\n}\n\nexport interface DeviceUpdateListOperationStatuses {\n /** Get a list of all import update operations. Completed operations are kept for 7 days before auto-deleted. Delete operations are not returned by this API version. */\n get(\n options?: DeviceUpdateListOperationStatusesParameters,\n ): StreamableMethod<\n DeviceUpdateListOperationStatuses200Response | DeviceUpdateListOperationStatusesdefaultResponse\n >;\n}\n\nexport interface DeviceUpdateGetOperationStatus {\n /** Retrieve operation status. */\n get(\n options?: DeviceUpdateGetOperationStatusParameters,\n ): StreamableMethod<\n | DeviceUpdateGetOperationStatus200Response\n | DeviceUpdateGetOperationStatus304Response\n | DeviceUpdateGetOperationStatusdefaultResponse\n >;\n}\n\nexport interface DeviceManagementListDeviceClasses {\n /** Gets a list of all device classes (sets of devices compatible with the same updates based on the model Id and compat properties reported in the Device Update PnP interface in IoT Hub) for all devices connected to Device Update for IoT Hub. */\n get(\n options?: DeviceManagementListDeviceClassesParameters,\n ): StreamableMethod<\n DeviceManagementListDeviceClasses200Response | DeviceManagementListDeviceClassesdefaultResponse\n >;\n}\n\nexport interface DeviceManagementGetDeviceClass {\n /** Gets the properties of a device class. */\n get(\n options?: DeviceManagementGetDeviceClassParameters,\n ): StreamableMethod<\n DeviceManagementGetDeviceClass200Response | DeviceManagementGetDeviceClassdefaultResponse\n >;\n /** Update device class details. */\n patch(\n options: DeviceManagementUpdateDeviceClassParameters,\n ): StreamableMethod<\n DeviceManagementUpdateDeviceClass200Response | DeviceManagementUpdateDeviceClassdefaultResponse\n >;\n /** Deletes a device class. Device classes are created automatically when Device Update-enabled devices are connected to the hub but are not automatically cleaned up since they are referenced by DeviceClassSubgroups. If the user has deleted all DeviceClassSubgroups for a device class they can also delete the device class to remove the records from the system and to stop checking the compatibility of this device class with new updates. If a device is ever reconnected for this device class it will be re-created. */\n delete(\n options?: DeviceManagementDeleteDeviceClassParameters,\n ): StreamableMethod<\n DeviceManagementDeleteDeviceClass204Response | DeviceManagementDeleteDeviceClassdefaultResponse\n >;\n}\n\nexport interface DeviceManagementListInstallableUpdatesForDeviceClass {\n /** Gets a list of installable updates for a device class. */\n get(\n options?: DeviceManagementListInstallableUpdatesForDeviceClassParameters,\n ): StreamableMethod<\n | DeviceManagementListInstallableUpdatesForDeviceClass200Response\n | DeviceManagementListInstallableUpdatesForDeviceClassdefaultResponse\n >;\n}\n\nexport interface DeviceManagementListDevices {\n /** Gets a list of devices connected to Device Update for IoT Hub. */\n get(\n options?: DeviceManagementListDevicesParameters,\n ): StreamableMethod<\n DeviceManagementListDevices200Response | DeviceManagementListDevicesdefaultResponse\n >;\n}\n\nexport interface DeviceManagementImportDevices {\n /** Import existing devices from IoT Hub. This is a long-running-operation; use Operation-Location response header value to check for operation status. */\n post(\n options: DeviceManagementImportDevicesParameters,\n ): StreamableMethod<\n DeviceManagementImportDevices202Response | DeviceManagementImportDevicesdefaultResponse\n >;\n}\n\nexport interface DeviceManagementGetDevice {\n /** Gets the device properties and latest deployment status for a device connected to Device Update for IoT Hub. */\n get(\n options?: DeviceManagementGetDeviceParameters,\n ): StreamableMethod<\n DeviceManagementGetDevice200Response | DeviceManagementGetDevicedefaultResponse\n >;\n}\n\nexport interface DeviceManagementGetDeviceModule {\n /** Gets the device module properties and latest deployment status for a device module connected to Device Update for IoT Hub. */\n get(\n options?: DeviceManagementGetDeviceModuleParameters,\n ): StreamableMethod<\n DeviceManagementGetDeviceModule200Response | DeviceManagementGetDeviceModuledefaultResponse\n >;\n}\n\nexport interface DeviceManagementGetUpdateCompliance {\n /** Gets the breakdown of how many devices are on their latest update, have new updates available, or are in progress receiving new updates. */\n get(\n options?: DeviceManagementGetUpdateComplianceParameters,\n ): StreamableMethod<\n | DeviceManagementGetUpdateCompliance200Response\n | DeviceManagementGetUpdateCompliancedefaultResponse\n >;\n}\n\nexport interface DeviceManagementListGroups {\n /** Gets a list of all device groups. The $default group will always be returned first. */\n get(\n options?: DeviceManagementListGroupsParameters,\n ): StreamableMethod<\n DeviceManagementListGroups200Response | DeviceManagementListGroupsdefaultResponse\n >;\n}\n\nexport interface DeviceManagementGetGroup {\n /** Gets the device group properties. */\n get(\n options?: DeviceManagementGetGroupParameters,\n ): StreamableMethod<\n DeviceManagementGetGroup200Response | DeviceManagementGetGroupdefaultResponse\n >;\n /** Deletes a device group. This group is automatically created when a Device Update-enabled device is connected to the hub and reports its properties. Groups, subgroups, and deployments are not automatically cleaned up but are retained for history purposes. Users can call this method to delete a group if they do not need to retain any of the history of the group and no longer need it. If a device is ever connected again for this group after the group was deleted it will be automatically re-created but there will be no history. */\n delete(\n options?: DeviceManagementDeleteGroupParameters,\n ): StreamableMethod<\n DeviceManagementDeleteGroup204Response | DeviceManagementDeleteGroupdefaultResponse\n >;\n}\n\nexport interface DeviceManagementGetUpdateComplianceForGroup {\n /** Get device group update compliance information such as how many devices are on their latest update, how many need new updates, and how many are in progress on receiving a new update. */\n get(\n options?: DeviceManagementGetUpdateComplianceForGroupParameters,\n ): StreamableMethod<\n | DeviceManagementGetUpdateComplianceForGroup200Response\n | DeviceManagementGetUpdateComplianceForGroupdefaultResponse\n >;\n}\n\nexport interface DeviceManagementListBestUpdatesForGroup {\n /** Get the best available updates for a device group and a count of how many devices need each update. */\n get(\n options?: DeviceManagementListBestUpdatesForGroupParameters,\n ): StreamableMethod<\n | DeviceManagementListBestUpdatesForGroup200Response\n | DeviceManagementListBestUpdatesForGroupdefaultResponse\n >;\n}\n\nexport interface DeviceManagementListDeploymentsForGroup {\n /** Gets a list of deployments for a device group. */\n get(\n options?: DeviceManagementListDeploymentsForGroupParameters,\n ): StreamableMethod<\n | DeviceManagementListDeploymentsForGroup200Response\n | DeviceManagementListDeploymentsForGroupdefaultResponse\n >;\n}\n\nexport interface DeviceManagementGetDeployment {\n /** Gets the deployment properties. */\n get(\n options?: DeviceManagementGetDeploymentParameters,\n ): StreamableMethod<\n DeviceManagementGetDeployment200Response | DeviceManagementGetDeploymentdefaultResponse\n >;\n /** Creates or updates a deployment. */\n put(\n options: DeviceManagementCreateOrUpdateDeploymentParameters,\n ): StreamableMethod<\n | DeviceManagementCreateOrUpdateDeployment200Response\n | DeviceManagementCreateOrUpdateDeploymentdefaultResponse\n >;\n /** Deletes a deployment. */\n delete(\n options?: DeviceManagementDeleteDeploymentParameters,\n ): StreamableMethod<\n DeviceManagementDeleteDeployment204Response | DeviceManagementDeleteDeploymentdefaultResponse\n >;\n}\n\nexport interface DeviceManagementGetDeploymentStatus {\n /** Gets the status of a deployment including a breakdown of how many devices in the deployment are in progress, completed, or failed. */\n get(\n options?: DeviceManagementGetDeploymentStatusParameters,\n ): StreamableMethod<\n | DeviceManagementGetDeploymentStatus200Response\n | DeviceManagementGetDeploymentStatusdefaultResponse\n >;\n}\n\nexport interface DeviceManagementListDeviceClassSubgroupsForGroup {\n /** Get the device class subgroups for the group. A device class subgroup is the set of devices within the group that share the same device class. All devices within the same device class are compatible with the same updates. */\n get(\n options?: DeviceManagementListDeviceClassSubgroupsForGroupParameters,\n ): StreamableMethod<\n | DeviceManagementListDeviceClassSubgroupsForGroup200Response\n | DeviceManagementListDeviceClassSubgroupsForGroupdefaultResponse\n >;\n}\n\nexport interface DeviceManagementGetDeviceClassSubgroup {\n /** Gets device class subgroup details. A device class subgroup is the set of devices within the group that share the same device class. All devices within the same device class are compatible with the same updates. */\n get(\n options?: DeviceManagementGetDeviceClassSubgroupParameters,\n ): StreamableMethod<\n | DeviceManagementGetDeviceClassSubgroup200Response\n | DeviceManagementGetDeviceClassSubgroupdefaultResponse\n >;\n /** Deletes a device class subgroup. This subgroup is automatically created when a Device Update-enabled device is connected to the hub and reports its properties. Groups, subgroups, and deployments are not automatically cleaned up but are retained for history purposes. Users can call this method to delete a subgroup if they do not need to retain any of the history of the subgroup and no longer need it. If a device is ever connected again for this subgroup after the subgroup was deleted it will be automatically re-created but there will be no history. */\n delete(\n options?: DeviceManagementDeleteDeviceClassSubgroupParameters,\n ): StreamableMethod<\n | DeviceManagementDeleteDeviceClassSubgroup204Response\n | DeviceManagementDeleteDeviceClassSubgroupdefaultResponse\n >;\n}\n\nexport interface DeviceManagementGetDeviceClassSubgroupUpdateCompliance {\n /** Get device class subgroup update compliance information such as how many devices are on their latest update, how many need new updates, and how many are in progress on receiving a new update. */\n get(\n options?: DeviceManagementGetDeviceClassSubgroupUpdateComplianceParameters,\n ): StreamableMethod<\n | DeviceManagementGetDeviceClassSubgroupUpdateCompliance200Response\n | DeviceManagementGetDeviceClassSubgroupUpdateCompliancedefaultResponse\n >;\n}\n\nexport interface DeviceManagementGetBestUpdatesForDeviceClassSubgroup {\n /** Get the best available update for a device class subgroup and a count of how many devices need this update. */\n get(\n options?: DeviceManagementGetBestUpdatesForDeviceClassSubgroupParameters,\n ): StreamableMethod<\n | DeviceManagementGetBestUpdatesForDeviceClassSubgroup200Response\n | DeviceManagementGetBestUpdatesForDeviceClassSubgroupdefaultResponse\n >;\n}\n\nexport interface DeviceManagementListDeploymentsForDeviceClassSubgroup {\n /** Gets a list of deployments for a device class subgroup. */\n get(\n options?: DeviceManagementListDeploymentsForDeviceClassSubgroupParameters,\n ): StreamableMethod<\n | DeviceManagementListDeploymentsForDeviceClassSubgroup200Response\n | DeviceManagementListDeploymentsForDeviceClassSubgroupdefaultResponse\n >;\n}\n\nexport interface DeviceManagementGetDeploymentForDeviceClassSubgroup {\n /** Gets the deployment properties. */\n get(\n options?: DeviceManagementGetDeploymentForDeviceClassSubgroupParameters,\n ): StreamableMethod<\n | DeviceManagementGetDeploymentForDeviceClassSubgroup200Response\n | DeviceManagementGetDeploymentForDeviceClassSubgroupdefaultResponse\n >;\n /** Deletes a device class subgroup deployment. */\n delete(\n options?: DeviceManagementDeleteDeploymentForDeviceClassSubgroupParameters,\n ): StreamableMethod<\n | DeviceManagementDeleteDeploymentForDeviceClassSubgroup204Response\n | DeviceManagementDeleteDeploymentForDeviceClassSubgroupdefaultResponse\n >;\n}\n\nexport interface DeviceManagementStopDeployment {\n /** Stops a deployment. */\n post(\n options?: DeviceManagementStopDeploymentParameters,\n ): StreamableMethod<\n DeviceManagementStopDeployment200Response | DeviceManagementStopDeploymentdefaultResponse\n >;\n}\n\nexport interface DeviceManagementRetryDeployment {\n /** Retries a deployment with failed devices. */\n post(\n options?: DeviceManagementRetryDeploymentParameters,\n ): StreamableMethod<\n DeviceManagementRetryDeployment200Response | DeviceManagementRetryDeploymentdefaultResponse\n >;\n}\n\nexport interface DeviceManagementGetDeviceClassSubgroupDeploymentStatus {\n /** Gets the status of a deployment including a breakdown of how many devices in the deployment are in progress, completed, or failed. */\n get(\n options?: DeviceManagementGetDeviceClassSubgroupDeploymentStatusParameters,\n ): StreamableMethod<\n | DeviceManagementGetDeviceClassSubgroupDeploymentStatus200Response\n | DeviceManagementGetDeviceClassSubgroupDeploymentStatusdefaultResponse\n >;\n}\n\nexport interface DeviceManagementListDeviceStatesForDeviceClassSubgroupDeployment {\n /** Gets a list of devices in a deployment along with their state. Useful for getting a list of failed devices. */\n get(\n options?: DeviceManagementListDeviceStatesForDeviceClassSubgroupDeploymentParameters,\n ): StreamableMethod<\n | DeviceManagementListDeviceStatesForDeviceClassSubgroupDeployment200Response\n | DeviceManagementListDeviceStatesForDeviceClassSubgroupDeploymentdefaultResponse\n >;\n}\n\nexport interface DeviceManagementGetOperationStatus {\n /** Retrieve operation status. */\n get(\n options?: DeviceManagementGetOperationStatusParameters,\n ): StreamableMethod<\n | DeviceManagementGetOperationStatus200Response\n | DeviceManagementGetOperationStatus304Response\n | DeviceManagementGetOperationStatusdefaultResponse\n >;\n}\n\nexport interface DeviceManagementListOperationStatuses {\n /** Get a list of all device import operations. Completed operations are kept for 7 days before auto-deleted. */\n get(\n options?: DeviceManagementListOperationStatusesParameters,\n ): StreamableMethod<\n | DeviceManagementListOperationStatuses200Response\n | DeviceManagementListOperationStatusesdefaultResponse\n >;\n}\n\nexport interface DeviceManagementStartLogCollection {\n /** Start the device diagnostics log collection on specified devices. */\n put(\n options: DeviceManagementStartLogCollectionParameters,\n ): StreamableMethod<\n | DeviceManagementStartLogCollection201Response\n | DeviceManagementStartLogCollectiondefaultResponse\n >;\n /** Get the device diagnostics log collection */\n get(\n options?: DeviceManagementGetLogCollectionParameters,\n ): StreamableMethod<\n DeviceManagementGetLogCollection200Response | DeviceManagementGetLogCollectiondefaultResponse\n >;\n}\n\nexport interface DeviceManagementListLogCollections {\n /** Get all device diagnostics log collections */\n get(\n options?: DeviceManagementListLogCollectionsParameters,\n ): StreamableMethod<\n | DeviceManagementListLogCollections200Response\n | DeviceManagementListLogCollectionsdefaultResponse\n >;\n}\n\nexport interface DeviceManagementGetLogCollectionDetailedStatus {\n /** Get log collection with detailed status */\n get(\n options?: DeviceManagementGetLogCollectionDetailedStatusParameters,\n ): StreamableMethod<\n | DeviceManagementGetLogCollectionDetailedStatus200Response\n | DeviceManagementGetLogCollectionDetailedStatusdefaultResponse\n >;\n}\n\nexport interface DeviceManagementListHealthOfDevices {\n /** Get list of device health */\n get(\n options: DeviceManagementListHealthOfDevicesParameters,\n ): StreamableMethod<\n | DeviceManagementListHealthOfDevices200Response\n | DeviceManagementListHealthOfDevicesdefaultResponse\n >;\n}\n\nexport interface Routes {\n /** Resource for '/deviceUpdate/\\{instanceId\\}/updates' has methods for the following verbs: get */\n (path: \"/deviceUpdate/{instanceId}/updates\", instanceId: string): DeviceUpdateListUpdates;\n /** Resource for '/deviceUpdate/\\{instanceId\\}/updates:import' has methods for the following verbs: post */\n (path: \"/deviceUpdate/{instanceId}/updates:import\", instanceId: string): DeviceUpdateImportUpdate;\n /** Resource for '/deviceUpdate/\\{instanceId\\}/updates/providers/\\{provider\\}/names/\\{name\\}/versions/\\{version\\}' has methods for the following verbs: get, delete */\n (\n path: \"/deviceUpdate/{instanceId}/updates/providers/{provider}/names/{name}/versions/{version}\",\n instanceId: string,\n provider: string,\n name: string,\n version: string,\n ): DeviceUpdateGetUpdate;\n /** Resource for '/deviceUpdate/\\{instanceId\\}/updates/providers' has methods for the following verbs: get */\n (\n path: \"/deviceUpdate/{instanceId}/updates/providers\",\n instanceId: string,\n ): DeviceUpdateListProviders;\n /** Resource for '/deviceUpdate/\\{instanceId\\}/updates/providers/\\{provider\\}/names' has methods for the following verbs: get */\n (\n path: \"/deviceUpdate/{instanceId}/updates/providers/{provider}/names\",\n instanceId: string,\n provider: string,\n ): DeviceUpdateListNames;\n /** Resource for '/deviceUpdate/\\{instanceId\\}/updates/providers/\\{provider\\}/names/\\{name\\}/versions' has methods for the following verbs: get */\n (\n path: \"/deviceUpdate/{instanceId}/updates/providers/{provider}/names/{name}/versions\",\n instanceId: string,\n provider: string,\n name: string,\n ): DeviceUpdateListVersions;\n /** Resource for '/deviceUpdate/\\{instanceId\\}/updates/providers/\\{provider\\}/names/\\{name\\}/versions/\\{version\\}/files' has methods for the following verbs: get */\n (\n path: \"/deviceUpdate/{instanceId}/updates/providers/{provider}/names/{name}/versions/{version}/files\",\n instanceId: string,\n provider: string,\n name: string,\n version: string,\n ): DeviceUpdateListFiles;\n /** Resource for '/deviceUpdate/\\{instanceId\\}/updates/providers/\\{provider\\}/names/\\{name\\}/versions/\\{version\\}/files/\\{fileId\\}' has methods for the following verbs: get */\n (\n path: \"/deviceUpdate/{instanceId}/updates/providers/{provider}/names/{name}/versions/{version}/files/{fileId}\",\n instanceId: string,\n provider: string,\n name: string,\n version: string,\n fileId: string,\n ): DeviceUpdateGetFile;\n /** Resource for '/deviceUpdate/\\{instanceId\\}/updates/operations' has methods for the following verbs: get */\n (\n path: \"/deviceUpdate/{instanceId}/updates/operations\",\n instanceId: string,\n ): DeviceUpdateListOperationStatuses;\n /** Resource for '/deviceUpdate/\\{instanceId\\}/updates/operations/\\{operationId\\}' has methods for the following verbs: get */\n (\n path: \"/deviceUpdate/{instanceId}/updates/operations/{operationId}\",\n instanceId: string,\n operationId: string,\n ): DeviceUpdateGetOperationStatus;\n /** Resource for '/deviceUpdate/\\{instanceId\\}/management/deviceClasses' has methods for the following verbs: get */\n (\n path: \"/deviceUpdate/{instanceId}/management/deviceClasses\",\n instanceId: string,\n ): DeviceManagementListDeviceClasses;\n /** Resource for '/deviceUpdate/\\{instanceId\\}/management/deviceClasses/\\{deviceClassId\\}' has methods for the following verbs: get, patch, delete */\n (\n path: \"/deviceUpdate/{instanceId}/management/deviceClasses/{deviceClassId}\",\n instanceId: string,\n deviceClassId: string,\n ): DeviceManagementGetDeviceClass;\n /** Resource for '/deviceUpdate/\\{instanceId\\}/management/deviceClasses/\\{deviceClassId\\}/installableUpdates' has methods for the following verbs: get */\n (\n path: \"/deviceUpdate/{instanceId}/management/deviceClasses/{deviceClassId}/installableUpdates\",\n instanceId: string,\n deviceClassId: string,\n ): DeviceManagementListInstallableUpdatesForDeviceClass;\n /** Resource for '/deviceUpdate/\\{instanceId\\}/management/devices' has methods for the following verbs: get */\n (\n path: \"/deviceUpdate/{instanceId}/management/devices\",\n instanceId: string,\n ): DeviceManagementListDevices;\n /** Resource for '/deviceUpdate/\\{instanceId\\}/management/devices:import' has methods for the following verbs: post */\n (\n path: \"/deviceUpdate/{instanceId}/management/devices:import\",\n instanceId: string,\n ): DeviceManagementImportDevices;\n /** Resource for '/deviceUpdate/\\{instanceId\\}/management/devices/\\{deviceId\\}' has methods for the following verbs: get */\n (\n path: \"/deviceUpdate/{instanceId}/management/devices/{deviceId}\",\n instanceId: string,\n deviceId: string,\n ): DeviceManagementGetDevice;\n /** Resource for '/deviceUpdate/\\{instanceId\\}/management/devices/\\{deviceId\\}/modules/\\{moduleId\\}' has methods for the following verbs: get */\n (\n path: \"/deviceUpdate/{instanceId}/management/devices/{deviceId}/modules/{moduleId}\",\n instanceId: string,\n deviceId: string,\n moduleId: string,\n ): DeviceManagementGetDeviceModule;\n /** Resource for '/deviceUpdate/\\{instanceId\\}/management/updateCompliance' has methods for the following verbs: get */\n (\n path: \"/deviceUpdate/{instanceId}/management/updateCompliance\",\n instanceId: string,\n ): DeviceManagementGetUpdateCompliance;\n /** Resource for '/deviceUpdate/\\{instanceId\\}/management/groups' has methods for the following verbs: get */\n (\n path: \"/deviceUpdate/{instanceId}/management/groups\",\n instanceId: string,\n ): DeviceManagementListGroups;\n /** Resource for '/deviceUpdate/\\{instanceId\\}/management/groups/\\{groupId\\}' has methods for the following verbs: get, delete */\n (\n path: \"/deviceUpdate/{instanceId}/management/groups/{groupId}\",\n instanceId: string,\n groupId: string,\n ): DeviceManagementGetGroup;\n /** Resource for '/deviceUpdate/\\{instanceId\\}/management/groups/\\{groupId\\}/updateCompliance' has methods for the following verbs: get */\n (\n path: \"/deviceUpdate/{instanceId}/management/groups/{groupId}/updateCompliance\",\n instanceId: string,\n groupId: string,\n ): DeviceManagementGetUpdateComplianceForGroup;\n /** Resource for '/deviceUpdate/\\{instanceId\\}/management/groups/\\{groupId\\}/bestUpdates' has methods for the following verbs: get */\n (\n path: \"/deviceUpdate/{instanceId}/management/groups/{groupId}/bestUpdates\",\n instanceId: string,\n groupId: string,\n ): DeviceManagementListBestUpdatesForGroup;\n /** Resource for '/deviceUpdate/\\{instanceId\\}/management/groups/\\{groupId\\}/deployments' has methods for the following verbs: get */\n (\n path: \"/deviceUpdate/{instanceId}/management/groups/{groupId}/deployments\",\n instanceId: string,\n groupId: string,\n ): DeviceManagementListDeploymentsForGroup;\n /** Resource for '/deviceUpdate/\\{instanceId\\}/management/groups/\\{groupId\\}/deployments/\\{deploymentId\\}' has methods for the following verbs: get, put, delete */\n (\n path: \"/deviceUpdate/{instanceId}/management/groups/{groupId}/deployments/{deploymentId}\",\n instanceId: string,\n groupId: string,\n deploymentId: string,\n ): DeviceManagementGetDeployment;\n /** Resource for '/deviceUpdate/\\{instanceId\\}/management/groups/\\{groupId\\}/deployments/\\{deploymentId\\}/status' has methods for the following verbs: get */\n (\n path: \"/deviceUpdate/{instanceId}/management/groups/{groupId}/deployments/{deploymentId}/status\",\n instanceId: string,\n groupId: string,\n deploymentId: string,\n ): DeviceManagementGetDeploymentStatus;\n /** Resource for '/deviceUpdate/\\{instanceId\\}/management/groups/\\{groupId\\}/deviceClassSubgroups' has methods for the following verbs: get */\n (\n path: \"/deviceUpdate/{instanceId}/management/groups/{groupId}/deviceClassSubgroups\",\n instanceId: string,\n groupId: string,\n ): DeviceManagementListDeviceClassSubgroupsForGroup;\n /** Resource for '/deviceUpdate/\\{instanceId\\}/management/groups/\\{groupId\\}/deviceClassSubgroups/\\{deviceClassId\\}' has methods for the following verbs: get, delete */\n (\n path: \"/deviceUpdate/{instanceId}/management/groups/{groupId}/deviceClassSubgroups/{deviceClassId}\",\n instanceId: string,\n groupId: string,\n deviceClassId: string,\n ): DeviceManagementGetDeviceClassSubgroup;\n /** Resource for '/deviceUpdate/\\{instanceId\\}/management/groups/\\{groupId\\}/deviceClassSubgroups/\\{deviceClassId\\}/updateCompliance' has methods for the following verbs: get */\n (\n path: \"/deviceUpdate/{instanceId}/management/groups/{groupId}/deviceClassSubgroups/{deviceClassId}/updateCompliance\",\n instanceId: string,\n groupId: string,\n deviceClassId: string,\n ): DeviceManagementGetDeviceClassSubgroupUpdateCompliance;\n /** Resource for '/deviceUpdate/\\{instanceId\\}/management/groups/\\{groupId\\}/deviceClassSubgroups/\\{deviceClassId\\}/bestUpdates' has methods for the following verbs: get */\n (\n path: \"/deviceUpdate/{instanceId}/management/groups/{groupId}/deviceClassSubgroups/{deviceClassId}/bestUpdates\",\n instanceId: string,\n groupId: string,\n deviceClassId: string,\n ): DeviceManagementGetBestUpdatesForDeviceClassSubgroup;\n /** Resource for '/deviceUpdate/\\{instanceId\\}/management/groups/\\{groupId\\}/deviceClassSubgroups/\\{deviceClassId\\}/deployments' has methods for the following verbs: get */\n (\n path: \"/deviceUpdate/{instanceId}/management/groups/{groupId}/deviceClassSubgroups/{deviceClassId}/deployments\",\n instanceId: string,\n groupId: string,\n deviceClassId: string,\n ): DeviceManagementListDeploymentsForDeviceClassSubgroup;\n /** Resource for '/deviceUpdate/\\{instanceId\\}/management/groups/\\{groupId\\}/deviceClassSubgroups/\\{deviceClassId\\}/deployments/\\{deploymentId\\}' has methods for the following verbs: get, delete */\n (\n path: \"/deviceUpdate/{instanceId}/management/groups/{groupId}/deviceClassSubgroups/{deviceClassId}/deployments/{deploymentId}\",\n instanceId: string,\n groupId: string,\n deviceClassId: string,\n deploymentId: string,\n ): DeviceManagementGetDeploymentForDeviceClassSubgroup;\n /** Resource for '/deviceUpdate/\\{instanceId\\}/management/groups/\\{groupId\\}/deviceClassSubgroups/\\{deviceClassId\\}/deployments/\\{deploymentId\\}:cancel' has methods for the following verbs: post */\n (\n path: \"/deviceUpdate/{instanceId}/management/groups/{groupId}/deviceClassSubgroups/{deviceClassId}/deployments/{deploymentId}:cancel\",\n instanceId: string,\n groupId: string,\n deviceClassId: string,\n deploymentId: string,\n ): DeviceManagementStopDeployment;\n /** Resource for '/deviceUpdate/\\{instanceId\\}/management/groups/\\{groupId\\}/deviceClassSubgroups/\\{deviceClassId\\}/deployments/\\{deploymentId\\}:retry' has methods for the following verbs: post */\n (\n path: \"/deviceUpdate/{instanceId}/management/groups/{groupId}/deviceClassSubgroups/{deviceClassId}/deployments/{deploymentId}:retry\",\n instanceId: string,\n groupId: string,\n deviceClassId: string,\n deploymentId: string,\n ): DeviceManagementRetryDeployment;\n /** Resource for '/deviceUpdate/\\{instanceId\\}/management/groups/\\{groupId\\}/deviceClassSubgroups/\\{deviceClassId\\}/deployments/\\{deploymentId\\}/status' has methods for the following verbs: get */\n (\n path: \"/deviceUpdate/{instanceId}/management/groups/{groupId}/deviceClassSubgroups/{deviceClassId}/deployments/{deploymentId}/status\",\n instanceId: string,\n groupId: string,\n deviceClassId: string,\n deploymentId: string,\n ): DeviceManagementGetDeviceClassSubgroupDeploymentStatus;\n /** Resource for '/deviceUpdate/\\{instanceId\\}/management/groups/\\{groupId\\}/deviceClassSubgroups/\\{deviceClassId\\}/deployments/\\{deploymentId\\}/devicestates' has methods for the following verbs: get */\n (\n path: \"/deviceUpdate/{instanceId}/management/groups/{groupId}/deviceClassSubgroups/{deviceClassId}/deployments/{deploymentId}/devicestates\",\n instanceId: string,\n groupId: string,\n deviceClassId: string,\n deploymentId: string,\n ): DeviceManagementListDeviceStatesForDeviceClassSubgroupDeployment;\n /** Resource for '/deviceUpdate/\\{instanceId\\}/management/operations/\\{operationId\\}' has methods for the following verbs: get */\n (\n path: \"/deviceUpdate/{instanceId}/management/operations/{operationId}\",\n instanceId: string,\n operationId: string,\n ): DeviceManagementGetOperationStatus;\n /** Resource for '/deviceUpdate/\\{instanceId\\}/management/operations' has methods for the following verbs: get */\n (\n path: \"/deviceUpdate/{instanceId}/management/operations\",\n instanceId: string,\n ): DeviceManagementListOperationStatuses;\n /** Resource for '/deviceUpdate/\\{instanceId\\}/management/deviceDiagnostics/logCollections/\\{operationId\\}' has methods for the following verbs: put, get */\n (\n path: \"/deviceUpdate/{instanceId}/management/deviceDiagnostics/logCollections/{operationId}\",\n instanceId: string,\n operationId: string,\n ): DeviceManagementStartLogCollection;\n /** Resource for '/deviceUpdate/\\{instanceId\\}/management/deviceDiagnostics/logCollections' has methods for the following verbs: get */\n (\n path: \"/deviceUpdate/{instanceId}/management/deviceDiagnostics/logCollections\",\n instanceId: string,\n ): DeviceManagementListLogCollections;\n /** Resource for '/deviceUpdate/\\{instanceId\\}/management/deviceDiagnostics/logCollections/\\{operationId\\}/detailedStatus' has methods for the following verbs: get */\n (\n path: \"/deviceUpdate/{instanceId}/management/deviceDiagnostics/logCollections/{operationId}/detailedStatus\",\n instanceId: string,\n operationId: string,\n ): DeviceManagementGetLogCollectionDetailedStatus;\n /** Resource for '/deviceUpdate/\\{instanceId\\}/management/deviceDiagnostics/deviceHealth' has methods for the following verbs: get */\n (\n path: \"/deviceUpdate/{instanceId}/management/deviceDiagnostics/deviceHealth\",\n instanceId: string,\n ): DeviceManagementListHealthOfDevices;\n}\n\nexport type DeviceUpdateClient = Client & {\n path: Routes;\n};\n"]}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import type { ClientOptions } from "@azure-rest/core-client";
|
|
2
|
+
import type { TokenCredential } from "@azure/core-auth";
|
|
3
|
+
import type { DeviceUpdateClient } from "./clientDefinitions.js";
|
|
4
|
+
export default function createClient(endpoint: string, credentials: TokenCredential, options?: ClientOptions): DeviceUpdateClient;
|
|
5
|
+
//# sourceMappingURL=deviceUpdate.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"deviceUpdate.d.ts","sourceRoot":"","sources":["../../src/deviceUpdate.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAC;AAE7D,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;AACxD,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,wBAAwB,CAAC;AAEjE,MAAM,CAAC,OAAO,UAAU,YAAY,CAClC,QAAQ,EAAE,MAAM,EAChB,WAAW,EAAE,eAAe,EAC5B,OAAO,GAAE,aAAkB,GAC1B,kBAAkB,CAyBpB"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
// Copyright (c) Microsoft Corporation.
|
|
2
|
+
// Licensed under the MIT License.
|
|
3
|
+
import { getClient } from "@azure-rest/core-client";
|
|
4
|
+
export default function createClient(endpoint, credentials, options = {}) {
|
|
5
|
+
var _a, _b;
|
|
6
|
+
const baseUrl = (_a = options.baseUrl) !== null && _a !== void 0 ? _a : `https://${endpoint}`;
|
|
7
|
+
options.apiVersion = (_b = options.apiVersion) !== null && _b !== void 0 ? _b : "2022-10-01";
|
|
8
|
+
options = Object.assign(Object.assign({}, options), { credentials: {
|
|
9
|
+
scopes: ["https://api.adu.microsoft.com/.default"],
|
|
10
|
+
} });
|
|
11
|
+
const userAgentInfo = `azsdk-js-iot-device-update-rest/1.0.0`;
|
|
12
|
+
const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix
|
|
13
|
+
? `${options.userAgentOptions.userAgentPrefix} ${userAgentInfo}`
|
|
14
|
+
: `${userAgentInfo}`;
|
|
15
|
+
options = Object.assign(Object.assign({}, options), { userAgentOptions: {
|
|
16
|
+
userAgentPrefix,
|
|
17
|
+
} });
|
|
18
|
+
const client = getClient(baseUrl, credentials, options);
|
|
19
|
+
return client;
|
|
20
|
+
}
|
|
21
|
+
//# sourceMappingURL=deviceUpdate.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"deviceUpdate.js","sourceRoot":"","sources":["../../src/deviceUpdate.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAGlC,OAAO,EAAE,SAAS,EAAE,MAAM,yBAAyB,CAAC;AAIpD,MAAM,CAAC,OAAO,UAAU,YAAY,CAClC,QAAgB,EAChB,WAA4B,EAC5B,UAAyB,EAAE;;IAE3B,MAAM,OAAO,GAAG,MAAA,OAAO,CAAC,OAAO,mCAAI,WAAW,QAAQ,EAAE,CAAC;IACzD,OAAO,CAAC,UAAU,GAAG,MAAA,OAAO,CAAC,UAAU,mCAAI,YAAY,CAAC;IACxD,OAAO,mCACF,OAAO,KACV,WAAW,EAAE;YACX,MAAM,EAAE,CAAC,wCAAwC,CAAC;SACnD,GACF,CAAC;IAEF,MAAM,aAAa,GAAG,uCAAuC,CAAC;IAC9D,MAAM,eAAe,GACnB,OAAO,CAAC,gBAAgB,IAAI,OAAO,CAAC,gBAAgB,CAAC,eAAe;QAClE,CAAC,CAAC,GAAG,OAAO,CAAC,gBAAgB,CAAC,eAAe,IAAI,aAAa,EAAE;QAChE,CAAC,CAAC,GAAG,aAAa,EAAE,CAAC;IACzB,OAAO,mCACF,OAAO,KACV,gBAAgB,EAAE;YAChB,eAAe;SAChB,GACF,CAAC;IAEF,MAAM,MAAM,GAAG,SAAS,CAAC,OAAO,EAAE,WAAW,EAAE,OAAO,CAAuB,CAAC;IAE9E,OAAO,MAAM,CAAC;AAChB,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport type { ClientOptions } from \"@azure-rest/core-client\";\nimport { getClient } from \"@azure-rest/core-client\";\nimport type { TokenCredential } from \"@azure/core-auth\";\nimport type { DeviceUpdateClient } from \"./clientDefinitions.js\";\n\nexport default function createClient(\n endpoint: string,\n credentials: TokenCredential,\n options: ClientOptions = {},\n): DeviceUpdateClient {\n const baseUrl = options.baseUrl ?? `https://${endpoint}`;\n options.apiVersion = options.apiVersion ?? \"2022-10-01\";\n options = {\n ...options,\n credentials: {\n scopes: [\"https://api.adu.microsoft.com/.default\"],\n },\n };\n\n const userAgentInfo = `azsdk-js-iot-device-update-rest/1.0.0`;\n const userAgentPrefix =\n options.userAgentOptions && options.userAgentOptions.userAgentPrefix\n ? `${options.userAgentOptions.userAgentPrefix} ${userAgentInfo}`\n : `${userAgentInfo}`;\n options = {\n ...options,\n userAgentOptions: {\n userAgentPrefix,\n },\n };\n\n const client = getClient(baseUrl, credentials, options) as DeviceUpdateClient;\n\n return client;\n}\n"]}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import DeviceUpdate from "./deviceUpdate.js";
|
|
2
|
+
export * from "./deviceUpdate.js";
|
|
3
|
+
export * from "./parameters.js";
|
|
4
|
+
export * from "./responses.js";
|
|
5
|
+
export * from "./clientDefinitions.js";
|
|
6
|
+
export * from "./isUnexpected.js";
|
|
7
|
+
export * from "./models.js";
|
|
8
|
+
export * from "./outputModels.js";
|
|
9
|
+
export * from "./paginateHelper.js";
|
|
10
|
+
export * from "./pollingHelper.js";
|
|
11
|
+
export default DeviceUpdate;
|
|
12
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAGA,OAAO,YAAY,MAAM,mBAAmB,CAAC;AAE7C,cAAc,mBAAmB,CAAC;AAClC,cAAc,iBAAiB,CAAC;AAChC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,wBAAwB,CAAC;AACvC,cAAc,mBAAmB,CAAC;AAClC,cAAc,aAAa,CAAC;AAC5B,cAAc,mBAAmB,CAAC;AAClC,cAAc,qBAAqB,CAAC;AACpC,cAAc,oBAAoB,CAAC;AAGnC,eAAe,YAAY,CAAC"}
|