Skip to content

Commit 665b5a5

Browse files
Merge pull request #235375 from KennedyDMSFT/US55908
Resolve deprecated VS Code extensions
2 parents cc07851 + 3212d75 commit 665b5a5

15 files changed

+128
-145
lines changed

articles/iot-hub/TOC.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,7 @@
235235
- name: Use Azure portal
236236
displayName: create IoT Hub, register device, message routing, delete IoT hub
237237
href: iot-hub-create-through-portal.md
238-
- name: Use Azure IoT Tools for VS Code
238+
- name: Use Visual Studio Code
239239
displayName: create IoT Hub, register device, message routing, delete IoT hub
240240
href: iot-hub-create-use-iot-toolkit.md
241241
- name: Use Azure PowerShell
@@ -457,9 +457,9 @@
457457
href: iot-hub-raspberry-pi-kit-c-get-started.md
458458
- name: Extended IoT scenarios
459459
items:
460-
- name: Messaging with Azure IoT Tools for VS Code
460+
- name: Messaging with Visual Studio Code
461461
href: iot-hub-vscode-iot-toolkit-cloud-device-messaging.md
462-
- name: Device management with Azure IoT Tools for VS Code
462+
- name: Device management with Visual Studio Code
463463
href: iot-hub-device-management-iot-toolkit.md
464464
- name: Device management with IoT extension for Azure CLI
465465
href: iot-hub-device-management-iot-extension-azure-cli-2-0.md
@@ -630,8 +630,8 @@
630630
href: iot-hub-customer-data-requests.md
631631
- name: Azure Roadmap
632632
href: https://azure.microsoft.com/roadmap/?category=iot
633-
- name: Azure IoT Tools
634-
displayName: VS Code, Visual Studio Code, toolkit, azure-iot-toolkit, Azure loT Device Workbench
633+
- name: Azure IoT Hub extension for Visual Studio Code
634+
displayName: VS Code, Visual Studio Code, toolkit, azure-iot-toolkit
635635
href: https://marketplace.visualstudio.com/items?itemName=vsciot-vscode.azure-iot-toolkit
636636
- name: Azure IoT Explorer tool
637637
displayName: azure-iot-explorer, Plug and Play

articles/iot-hub/index.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ landingContent:
8787
links:
8888
- text: Learn about Azure IoT SDKs
8989
url: iot-hub-devguide-sdks.md
90-
- text: Use the Azure IoT Tools for VS Code
90+
- text: Use the Azure IoT Hub extension for VS Code
9191
url: https://marketplace.visualstudio.com/items?itemName=vsciot-vscode.azure-iot-toolkit
9292
- text: Supported device protocols
9393
url: iot-hub-devguide-protocols.md
Lines changed: 18 additions & 59 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
2-
title: Create an Azure IoT Hub using Azure IoT Tools for Visual Studio Code
3-
description: Learn how to use the Azure IoT tools for Visual Studio Code to create an Azure IoT hub in a resource group.
2+
title: Create an Azure IoT hub using the Azure IoT Hub extension for Visual Studio Code
3+
description: Learn how to use the Azure IoT Hub extension for Visual Studio Code to create an Azure IoT hub in a resource group.
44
author: formulahendry
55

66
ms.author: junhan
@@ -9,25 +9,27 @@ ms.topic: how-to
99
ms.date: 01/04/2019
1010
---
1111

12-
# Create an IoT hub using the Azure IoT Tools for Visual Studio Code
12+
# Create an IoT hub using the Azure IoT Hub extension for Visual Studio Code
1313

1414
[!INCLUDE [iot-hub-resource-manager-selector](../../includes/iot-hub-resource-manager-selector.md)]
1515

16-
This article shows you how to use the [Azure IoT Tools for Visual Studio Code](https://marketplace.visualstudio.com/items?itemName=vsciot-vscode.azure-iot-toolkit) to create an Azure IoT hub. You can create one without an existing IoT project or create one from an existing IoT project.
16+
This article shows you how to use the [Azure IoT Hub extension for Visual Studio Code](https://marketplace.visualstudio.com/items?itemName=vsciot-vscode.azure-iot-toolkit) to create an Azure IoT hub.
1717

1818
[!INCLUDE [updated-for-az](../../includes/updated-for-az.md)]
1919

2020
## Prerequisites
2121

2222
- [Visual Studio Code](https://code.visualstudio.com/)
2323

24-
- [Azure IoT Tools](https://marketplace.visualstudio.com/items?itemName=vsciot-vscode.azure-iot-toolkit) installed for Visual Studio Code
24+
- [Azure IoT Hub extension](https://marketplace.visualstudio.com/items?itemName=vsciot-vscode.azure-iot-toolkit) installed for Visual Studio Code
25+
26+
- An Azure subscription: [create a free account](https://azure.microsoft.com/free/?WT.mc_id=A261C142F) before you begin
2527

2628
- An Azure resource group: [create a resource group](../azure-resource-manager/management/manage-resource-groups-portal.md#create-resource-groups) in the Azure portal
2729

28-
## Create an IoT hub without an IoT Project
30+
## Create an IoT hub
2931

30-
The following steps show how to create an IoT Hub without an IoT Project in Visual Studio Code (VS Code).
32+
The following steps show how to create an IoT hub in Visual Studio Code (VS Code):
3133

3234
1. In VS Code, open the **Explorer** view.
3335

@@ -39,72 +41,29 @@ The following steps show how to create an IoT Hub without an IoT Project in Visu
3941

4042
:::image type="content" source="./media/iot-hub-create-use-iot-toolkit/create-iot-hub.png" alt-text="A screenshot that shows the location of the Create IoT Hub list item in Visual Studio Code." lightbox="./media/iot-hub-create-use-iot-toolkit/create-iot-hub.png":::
4143

42-
4. A pop-up shows in the bottom-right corner to let you sign in to Azure for the first time, if you're not signed in already.
44+
4. If you're not signed into Azure, a pop-up notification is shown in the bottom right corner to let you sign in to Azure. Select **Sign In** and follow the instructions to sign into Azure.
4345

4446
5. From the command palette at the top of VS Code, select your Azure subscription.
4547

4648
6. Select your resource group.
4749

48-
7. Select a location.
50+
7. Select a region.
4951

5052
8. Select a pricing tier.
5153

52-
9. Enter a globally unique name for your IoT hub, then press **Enter**.
53-
54-
10. Wait a few minutes until the IoT hub is created. You'll see a confirmation in the output console.
55-
56-
## Create an IoT hub and device in an existing IoT project
57-
58-
The following steps show how to create an IoT Hub and register a device to the hub within an existing IoT project in Visual Studio (VS) Code.
59-
60-
This method allows you to provision in Visual Studio Code without leaving your development environment.
61-
62-
1. In the new opened project window, press `F1` to open the command palette, type and select **Azure IoT Device Workbench: Provision Azure Services...**.
63-
64-
:::image type="content" source="media/iot-hub-create-use-iot-toolkit/provision.png" alt-text="A screenshot that shows how to open the command palette in VS Code." lightbox="media/iot-hub-create-use-iot-toolkit/provision.png":::
65-
66-
> [!NOTE]
67-
> If you have not signed in Azure. Follow the pop-up notification for signing in.
68-
69-
1. Select the subscription you want to use.
70-
71-
:::image type="content" source="media/iot-hub-create-use-iot-toolkit/select-subscription.png" alt-text="A screenshot that shows how to choose your Azure subscription in Visual Studio Code." lightbox="media/iot-hub-create-use-iot-toolkit/select-subscription.png":::
72-
73-
1. Select an existing resource group or create a new [resource group](../azure-resource-manager/management/overview.md#terminology).
74-
75-
:::image type="content" source="media/iot-hub-create-use-iot-toolkit/select-resource-group.png" alt-text="A screenshot that shows how to choose a resource group or create a new one in Visual Studio Code." lightbox="media/iot-hub-create-use-iot-toolkit/select-resource-group.png":::
76-
77-
1. In the resource group you specified, follow the prompts to select an existing IoT Hub or create a new Azure IoT Hub.
78-
79-
:::image type="content" source="media/iot-hub-create-use-iot-toolkit/iot-hub-provision.png" alt-text="A screenshot that shows the first prompt in choosing an existing IoT Hub in Visual Studio Code." lightbox="media/iot-hub-create-use-iot-toolkit/iot-hub-provision.png":::
80-
81-
:::image type="content" source="media/iot-hub-create-use-iot-toolkit/select-iot-hub.png" alt-text="A screenshot that shows the second prompt in choosing an existing IoT Hub in Visual Studio Code." lightbox="media/iot-hub-create-use-iot-toolkit/select-iot-hub.png":::
82-
83-
:::image type="content" source="media/iot-hub-create-use-iot-toolkit/iot-hub-selected.png" alt-text="A screenshot that shows the third prompt in choosing an existing IoT Hub in Visual Studio Code." lightbox="media/iot-hub-create-use-iot-toolkit/iot-hub-selected.png":::
84-
85-
1. In the output window, you see the Azure IoT Hub provisioned.
86-
87-
:::image type="content" source="media/iot-hub-create-use-iot-toolkit/iot-hub-provisioned.png" alt-text="A screenshot that shows the output window in Visual Studio Code." lightbox="media/iot-hub-create-use-iot-toolkit/iot-hub-provisioned.png":::
88-
89-
1. Select or create a new IoT Hub Device in the Azure IoT Hub you provisioned.
90-
91-
:::image type="content" source="media/iot-hub-create-use-iot-toolkit/iot-device-provision.png" alt-text="A screenshot that shows the fourth prompt in choosing an existing IoT Hub in Visual Studio Code." lightbox="media/iot-hub-create-use-iot-toolkit/iot-device-provision.png":::
92-
93-
:::image type="content" source="media/iot-hub-create-use-iot-toolkit/select-iot-device.png" alt-text="A screenshot that shows an example of an existing IoT Hub in Visual Studio Code." lightbox="media/iot-hub-create-use-iot-toolkit/select-iot-device.png":::
94-
95-
1. Now you have an Azure IoT Hub provisioned and a device created in it. The device connection string is saved in VS Code.
54+
9. Enter a globally unique name for your IoT hub, and then select the Enter key.
9655

97-
:::image type="content" source="media/iot-hub-create-use-iot-toolkit/provision-done.png" alt-text="A screenshot that shows IoT Hub details in the output window in Visual Studio Code." lightbox="media/iot-hub-create-use-iot-toolkit/provision-done.png":::
56+
10. Wait a few minutes until the IoT hub is created and confirmation is displayed in the **Output** panel.
9857

9958
> [!TIP]
100-
> To delete a device from your IoT hub, use the `Azure IoT Hub: Delete Device` option from the Command Palette. There is no option to delete your IoT hub in Visual Studio Code, however you can [delete your hub in the Azure portal](iot-hub-create-through-portal.md#delete-an-iot-hub).
59+
> There is no option to delete your IoT hub in Visual Studio Code, however you can [delete your hub in the Azure portal](iot-hub-create-through-portal.md#delete-an-iot-hub).
10160
10261
## Next steps
10362

104-
Now that you've deployed an IoT hub using the Azure IoT Tools for Visual Studio Code, explore these articles:
63+
Now that you've deployed an IoT hub using the Azure IoT Hub extension for Visual Studio Code, explore these articles:
10564

106-
- [Use the Azure IoT Tools for Visual Studio Code to send and receive messages between your device and an IoT Hub](iot-hub-vscode-iot-toolkit-cloud-device-messaging.md).
65+
- [Use the Azure IoT Hub extension for Visual Studio Code to send and receive messages between your device and an IoT hub](iot-hub-vscode-iot-toolkit-cloud-device-messaging.md).
10766

108-
- [Use the Azure IoT Tools for Visual Studio Code for Azure IoT Hub device management](iot-hub-device-management-iot-toolkit.md)
67+
- [Use the Azure IoT Hub extension for Visual Studio Code for Azure IoT Hub device management](iot-hub-device-management-iot-toolkit.md)
10968

110-
- [See the Azure IoT Hub for Visual Studio Code wiki page](https://github.com/microsoft/vscode-azure-iot-toolkit/wiki).
69+
- [See the Azure IoT Hub extension for Visual Studio Code wiki page](https://github.com/microsoft/vscode-azure-iot-toolkit/wiki).

articles/iot-hub/iot-hub-dev-guide-sas.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ HTTPS implements authentication by including a valid token in the **Authorizatio
222222
For example, Username (DeviceId is case-sensitive):
223223
`iothubname.azure-devices.net/DeviceId`
224224

225-
Password (You can generate a SAS token with the CLI extension command [az iot hub generate-sas-token](/cli/azure/iot/hub#az-iot-hub-generate-sas-token), or the [Azure IoT Tools for Visual Studio Code](https://marketplace.visualstudio.com/items?itemName=vsciot-vscode.azure-iot-toolkit)):
225+
Password (You can generate a SAS token with the CLI extension command [az iot hub generate-sas-token](/cli/azure/iot/hub#az-iot-hub-generate-sas-token), or the [Azure IoT Hub extension for Visual Studio Code](https://marketplace.visualstudio.com/items?itemName=vsciot-vscode.azure-iot-toolkit)):
226226

227227
`SharedAccessSignature sr=iothubname.azure-devices.net%2fdevices%2fDeviceId&sig=kPszxZZZZZZZZZZZZZZZZZAhLT%2bV7o%3d&se=1487709501`
228228

@@ -314,7 +314,7 @@ The result, which grants access to all functionality for device1, would be:
314314
`SharedAccessSignature sr=myhub.azure-devices.net%2fdevices%2fdevice1&sig=13y8ejUk2z7PLmvtwR5RqlGBOVwiq7rQR3WZ5xZX3N4%3D&se=1456971697`
315315

316316
> [!NOTE]
317-
> It's possible to generate a SAS token with the CLI extension command [az iot hub generate-sas-token](/cli/azure/iot/hub#az-iot-hub-generate-sas-token), or the [Azure IoT Tools for Visual Studio Code](https://marketplace.visualstudio.com/items?itemName=vsciot-vscode.azure-iot-toolkit).
317+
> It's possible to generate a SAS token with the CLI extension command [az iot hub generate-sas-token](/cli/azure/iot/hub#az-iot-hub-generate-sas-token), or the [Azure IoT Hub extension for Visual Studio Code](https://marketplace.visualstudio.com/items?itemName=vsciot-vscode.azure-iot-toolkit).
318318
319319
#### Use a shared access policy to access on behalf of a device
320320

articles/iot-hub/iot-hub-devguide-device-twins.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -366,4 +366,4 @@ To try out some of the concepts described in this article, see the following IoT
366366

367367
* [How to use the device twin](device-twins-node.md)
368368
* [How to use device twin properties](tutorial-device-twins.md)
369-
* [Device management with Azure IoT Tools for VS Code](iot-hub-device-management-iot-toolkit.md)
369+
* [Device management with the Azure IoT Hub extension for VS Code](iot-hub-device-management-iot-toolkit.md)

articles/iot-hub/iot-hub-devguide-direct-methods.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: Understand Azure IoT Hub direct methods
3-
description: This article describes how use direct methods to invoke code on your devices from a service app.
3+
description: This article describes how to use direct methods to invoke code on your devices from a service app.
44
author: kgremban
55

66
ms.author: kgremban
@@ -222,4 +222,4 @@ Now you have learned how to use direct methods, you may be interested in the fol
222222
If you would like to try out some of the concepts described in this article, you may be interested in the following IoT Hub tutorial:
223223
224224
* [Use direct methods](quickstart-control-device.md)
225-
* [Device management with Azure IoT Tools for VS Code](iot-hub-device-management-iot-toolkit.md)
225+
* [Device management with the Azure IoT Hub extension for VS Code](iot-hub-device-management-iot-toolkit.md)

0 commit comments

Comments
 (0)