Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updates to include more TS samples (sas, and fwupdate) #1043

Merged
merged 11 commits into from
Oct 6, 2021
2 changes: 2 additions & 0 deletions device/samples/javascript/upload_to_blob.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.

// This example is deprecated. We recommend you follow the 'upload_to_blob_advanced.js' sample.

'use strict';

var Protocol = require('azure-iot-device-mqtt').Mqtt;
Expand Down
2 changes: 1 addition & 1 deletion device/samples/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ node sample_sample_device.js

| Sample | Description | JavaScript | TypeScript |
| ----------------------- | --------------------------------------------------------------------- | :--------: | :--------: |
| upload_to_blob | Uploads a blob to Azure through IoT Hub | ✔ | ✔ |
| upload_to_blob | Uploads a blob to Azure through IoT Hub (deprecated) | ✔ | ✔ |
danhellem marked this conversation as resolved.
Show resolved Hide resolved
| upload_to_blob_advanced | More advanced scenario for greater control over the blob upload calls | ✔ | ✔ |

## Read More
Expand Down
2 changes: 2 additions & 0 deletions device/samples/typescript/upload_to_blob.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.

// This example is deprecated. We recommend you follow the 'upload_to_blob_advanced.ts' sample.

import { Client } from 'azure-iot-device';
import { Mqtt as Protocol } from 'azure-iot-device-mqtt';
import * as fs from 'fs';
Expand Down