Skip to content

Commit

Permalink
fix sample link (#19967)
Browse files Browse the repository at this point in the history
  • Loading branch information
dw511214992 committed Jan 21, 2022
1 parent bc742d5 commit 0729875
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 3 deletions.
1 change: 1 addition & 0 deletions eng/ignore-links.txt
Expand Up @@ -29,3 +29,4 @@ https://docs.microsoft.com/javascript/api/@azure/arm-peering?view=azure-node-pre
https://docs.microsoft.com/javascript/api/@azure/arm-postgresql-flexible
https://docs.microsoft.com/javascript/api/@azure/arm-postgresql-flexible?view=azure-node-preview
https://docs.microsoft.com/javascript/api/@azure/arm-serialconsole
https://docs.microsoft.com/javascript/api/@azure-rest/iot-device-update
12 changes: 11 additions & 1 deletion sdk/deviceupdate/iot-device-update-rest/package.json
Expand Up @@ -39,7 +39,17 @@
}
]
},
"//sampleConfiguration": {},
"//sampleConfiguration": {
"productName": "Azure IoT Hub Device Update rest",
"productSlugs": [
"azure"
],
"requiredResources": {
"Azure Iot Device Update instance": "https://docs.microsoft.com/azure/iot-hub-device-update/understand-device-update"
},
"disableDocsMs": true,
"apiRefLink": "https://docs.microsoft.com/javascript/api/@azure-rest/iot-device-update"
},
"browser": {
"./dist-esm/test/public/utils/env.js": "./dist-esm/test/public/utils/env.browser.js"
},
Expand Down
Expand Up @@ -57,7 +57,7 @@ npx cross-env ENDPOINT="<endpoint>" INSTANCE_ID="<instance id>" node device.js
Take a look at our [API Documentation][apiref] for more information about the APIs that are available in the clients.

[devices]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/deviceupdate/iot-device-update-rest/samples/v1/javascript/device.js
[apiref]: https://docs.microsoft.com/javascript/api/@azure/iot-device-update
[apiref]: https://docs.microsoft.com/javascript/api/@azure-rest/iot-device-update
[freesub]: https://azure.microsoft.com/free/
[createinstance_azuredeviceupdateforiothubinstance]: https://docs.microsoft.com/azure/iot-hub-device-update/understand-device-update
[package]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/deviceupdate/iot-device-update-rest/README.md
Expand Up @@ -69,7 +69,7 @@ npx cross-env ENDPOINT="<endpoint>" INSTANCE_ID="<instance id>" node dist/device
Take a look at our [API Documentation][apiref] for more information about the APIs that are available in the clients.

[devices]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/deviceupdate/iot-device-update-rest/samples/v1/typescript/src/device.ts
[apiref]: https://docs.microsoft.com/javascript/api/@azure/iot-device-update
[apiref]: https://docs.microsoft.com/javascript/api/@azure-rest/iot-device-update
[freesub]: https://azure.microsoft.com/free/
[createinstance_azuredeviceupdateforiothubinstance]: https://docs.microsoft.com/azure/iot-hub-device-update/understand-device-update
[package]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/deviceupdate/iot-device-update-rest/README.md
Expand Down

0 comments on commit 0729875

Please sign in to comment.