Skip to content

Commit 36a234f

Browse files
committed
Integrated in PR review team feedback
1 parent 1ce7523 commit 36a234f

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

includes/iot-hub-howto-file-upload-dotnet.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ author: kgremban
66
ms.author: kgremban
77
ms.service: iot-hub
88
ms.devlang: csharp
9-
ms.topic: how-to
9+
ms.topic: include
1010
ms.date: 07/01/2024
1111
ms.custom: mqtt, devx-track-csharp, devx-track-dotnet
1212
---

includes/iot-hub-howto-file-upload-java.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ author: kgremban
66
ms.author: kgremban
77
ms.service: iot-hub
88
ms.devlang: java
9-
ms.topic: how-to
9+
ms.topic: include
1010
ms.date: 07/01/2024
1111
ms.custom: amqp, mqtt, devx-track-java, devx-track-extended-java
1212
---
@@ -89,13 +89,13 @@ String fullFileName = "Path of the file to upload";
8989
blobClient.uploadFromFile(fullFileName);
9090
```
9191

92-
## Send file upload status notification to IoT hub
92+
### Send file upload status notification to IoT hub
9393

9494
Send an upload status notification to IoT hub after a file upload attempt.
9595

9696
Create a [FileUploadCompletionNotification](/java/api/com.microsoft.azure.sdk.iot.deps.serializer.fileuploadcompletionnotification?#com-microsoft-azure-sdk-iot-deps-serializer-fileuploadcompletionnotification-fileuploadcompletionnotification(java-lang-string-java-lang-boolean)) object. Pass the `correlationId` and `isSuccess` file upload success status. Pass an `isSuccess` `true` value when file upload was successful, `false` when not.
9797

98-
`FileUploadCompletionNotification` must be called even when the file upload fails. IoT hub has a fixed number of SAS URI allowed to be active at any given time. Once you're done with the file upload, you should free your SAS URI so that other SAS URI can be generated. If a SAS URI isn't freed through this API, then it frees itself eventually based on how long SAS URI are configured to live on an IoT hub.
98+
`FileUploadCompletionNotification` must be called even when the file upload fails. IoT hub has a fixed number of SAS URI allowed to be active at any given time. Once you're done with the file upload, you should free your SAS URI so that other SAS URI can be generated. If a SAS URI isn't freed through this API, then it frees itself eventually based on how long SAS URIs are configured to live on an IoT hub.
9999

100100
This example passes a successful status.
101101

includes/iot-hub-howto-file-upload-node.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ author: kgremban
66
ms.author: kgremban
77
ms.service: iot-hub
88
ms.devlang: nodejs
9-
ms.topic: how-to
9+
ms.topic: include
1010
ms.date: 07/01/2024
1111
ms.custom: mqtt, devx-track-js
1212
---
@@ -24,7 +24,7 @@ This section describes how to upload a file from a device to an IoT hub using th
2424

2525
### Install SDK packages
2626

27-
Run this command to install the **azure-iot-device** device SDK, the **azure-iot-device-mqtt**, and the **@azure/storage-blob** packages: on your development machine:
27+
Run this command to install the **azure-iot-device** device SDK, the **azure-iot-device-mqtt**, and the **@azure/storage-blob** packages on your development machine:
2828

2929
```cmd/sh
3030
npm install azure-iot-device azure-iot-device-mqtt @azure/storage-blob --save

includes/iot-hub-howto-file-upload-python.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ author: kgremban
66
ms.author: kgremban
77
ms.service: iot-hub
88
ms.devlang: python
9-
ms.topic: how-to
9+
ms.topic: include
1010
ms.date: 07/01/2024
1111
ms.custom: mqtt, devx-track-python, py-fresh-zinc
1212
---

0 commit comments

Comments
 (0)