@azure-rest/iot-device-update 1.1.0-alpha.20250109.1 → 1.1.0-alpha.20250113.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/README.md +4 -3
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -5,6 +5,7 @@ The library provides access to the Device Update for IoT Hub service that enable
|
|
|
5
5
|
**Please rely heavily on the [service's documentation][device_update_product_documentation] and our [REST client docs][rest_client] to use this library**
|
|
6
6
|
|
|
7
7
|
Key links:
|
|
8
|
+
|
|
8
9
|
- [Source code][source_code]
|
|
9
10
|
- [Package (NPM)][npm]
|
|
10
11
|
- [API reference documentation][ref_docs]
|
|
@@ -52,7 +53,7 @@ import DeviceUpdate from "@azure-rest/iot-device-update";
|
|
|
52
53
|
import { DefaultAzureCredential } from "@azure/identity";
|
|
53
54
|
const client = DeviceUpdate(
|
|
54
55
|
"https://<my-instance-id>.api.adu.microsoft.com",
|
|
55
|
-
new DefaultAzureCredential()
|
|
56
|
+
new DefaultAzureCredential(),
|
|
56
57
|
);
|
|
57
58
|
```
|
|
58
59
|
|
|
@@ -112,13 +113,13 @@ If you'd like to contribute to this library, please read the [contributing guide
|
|
|
112
113
|
|
|
113
114
|

|
|
114
115
|
|
|
115
|
-
[device_update_product_documentation]: https://
|
|
116
|
+
[device_update_product_documentation]: https://learn.microsoft.com/azure/iot-hub-device-update/
|
|
116
117
|
[rest_client]: https://github.com/Azure/azure-sdk-for-js/blob/main/documentation/rest-clients.md
|
|
117
118
|
[source_code]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/deviceupdate/iot-device-update-rest
|
|
118
119
|
[npm]: https://www.npmjs.com/org/azure-rest
|
|
119
120
|
[ref_docs]: https://azure.github.io/azure-sdk-for-js
|
|
120
121
|
[azure_subscription]: https://azure.microsoft.com/free/
|
|
121
|
-
[authenticate_with_token]: https://
|
|
122
|
+
[authenticate_with_token]: https://learn.microsoft.com/azure/cognitive-services/authentication?tabs=powershell#authenticate-with-an-authentication-token
|
|
122
123
|
[azure_identity_credentials]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/identity/identity#credentials
|
|
123
124
|
[azure_identity_npm]: https://www.npmjs.com/package/@azure/identity
|
|
124
125
|
[default_azure_credential]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/identity/identity#defaultazurecredential
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"sdk-type": "client",
|
|
4
4
|
"author": "Microsoft Corporation",
|
|
5
5
|
"description": "Device Update for IoT Hub is an Azure service that enables customers to publish update for their IoT devices to the cloud, and then deploy that update to their devices (approve updates to groups of devices managed and provisioned in IoT Hub). It leverages the proven security and reliability of the Windows Update platform, optimized for IoT devices. It works globally and knows when and how to update devices, enabling customers to focus on their business goals and let Device Update for IoT Hub handle the updates.",
|
|
6
|
-
"version": "1.1.0-alpha.
|
|
6
|
+
"version": "1.1.0-alpha.20250113.1",
|
|
7
7
|
"keywords": [
|
|
8
8
|
"node",
|
|
9
9
|
"azure",
|
|
@@ -43,10 +43,10 @@
|
|
|
43
43
|
"azure"
|
|
44
44
|
],
|
|
45
45
|
"requiredResources": {
|
|
46
|
-
"Azure Iot Device Update instance": "https://
|
|
46
|
+
"Azure Iot Device Update instance": "https://learn.microsoft.com/azure/iot-hub-device-update/understand-device-update"
|
|
47
47
|
},
|
|
48
48
|
"disableDocsMs": true,
|
|
49
|
-
"apiRefLink": "https://
|
|
49
|
+
"apiRefLink": "https://learn.microsoft.com/rest/api/deviceupdate/2021-06-01-preview/device-update"
|
|
50
50
|
},
|
|
51
51
|
"browser": "./dist/browser/index.js",
|
|
52
52
|
"scripts": {
|