Skip to content

Commit 8811af0

Browse files
authored
Merge pull request #208911 from w-azure/winona-hub-manage-tools
Updated screenshot markdown
2 parents 386f3bc + 54f7257 commit 8811af0

File tree

3 files changed

+40
-45
lines changed

3 files changed

+40
-45
lines changed

articles/iot-hub/iot-hub-create-through-portal.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,4 +114,4 @@ To delete an IoT hub, find the IoT hub you want to delete, then choose **Delete*
114114
Follow these links to learn more about managing Azure IoT Hub:
115115

116116
* [Message routing with IoT Hub](tutorial-routing.md)
117-
* [Monitor your IoT hub](monitor-iot-hub.md)
117+
* [Monitor your IoT hub](monitor-iot-hub.md)

articles/iot-hub/iot-hub-create-use-iot-toolkit.md

Lines changed: 39 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -13,95 +13,90 @@ ms.author: junhan
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-tools) to create an Azure IoT hub.
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-tools) to create an Azure IoT hub. You can create one without an existing IoT project or create one from an existing IoT project.
1717

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

20-
To complete this article, you need the following:
21-
22-
- An Azure subscription. If you don't have an Azure subscription, create a [free account](https://azure.microsoft.com/free/?WT.mc_id=A261C142F) before you begin.
20+
## Prerequisites
2321

2422
- [Visual Studio Code](https://code.visualstudio.com/)
2523

2624
- [Azure IoT Tools](https://marketplace.visualstudio.com/items?itemName=vsciot-vscode.azure-iot-tools) installed for Visual Studio Code.
2725

26+
## Create an IoT hub without an IoT Project
2827

29-
## Create an IoT hub and device in an IoT Project
30-
31-
The following steps show how you can create an IoT Hub and register a device to the hub within an IoT Project in Visual Studio Code.
32-
33-
Instead of provisioning an Azure IoT Hub and device from the Azure portal. You can do it in the VS Code without leaving the development environment. The steps in this section show how to do this.
34-
35-
1. In the new opened project window, click `F1` to open the command palette, type and select **Azure IoT Device Workbench: Provision Azure Services...**. Follow the step-by-step guide to finish provisioning your Azure IoT Hub and creating the IoT Hub device.
28+
The following steps show how to create an IoT Hub without an IoT Project in Visual Studio Code (VS Code).
3629

37-
![Provision command](media/iot-hub-create-use-iot-toolkit/provision.png)
30+
1. In VS Code, open the **Explorer** view.
3831

39-
> [!NOTE]
40-
> If you have not signed in Azure. Follow the pop-up notification for signing in.
32+
2. At the bottom of the Explorer, expand the **Azure IoT Hub** section.
4133

42-
1. Select the subscription you want to use.
34+
:::image type="content" source="./media/iot-hub-create-use-iot-toolkit/azure-iot-hub-devices.png" alt-text="A screenshot that shows the location of the Azure IoT Hub section in VS Code." lightbox="./media/iot-hub-create-use-iot-toolkit/azure-iot-hub-devices.png":::
4335

44-
![Select sub](media/iot-hub-create-use-iot-toolkit/select-subscription.png)
36+
3. Select **Create IoT Hub** from the list in the **Azure IoT Hub** section.
4537

46-
1. Then select and existing resource group or create a new [resource group](../azure-resource-manager/management/overview.md#terminology).
38+
:::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 VS Code." lightbox="./media/iot-hub-create-use-iot-toolkit/create-iot-hub.png":::
4739

48-
![Select resource group](media/iot-hub-create-use-iot-toolkit/select-resource-group.png)
40+
5. A pop-up will show in the bottom-right corner to let you sign in to Azure for the first time, if you are not signed in already.
4941

50-
1. In the resource group you specified, follow the prompts to select an existing IoT Hub or create a new Azure IoT Hub.
42+
6. From the command palette at the top of VS Code, select your Azure subscription.
5143

52-
![Select IoT Hub steps](media/iot-hub-create-use-iot-toolkit/iot-hub-provision.png)
44+
7. Select your resource group.
5345

54-
![Select IoT Hub](media/iot-hub-create-use-iot-toolkit/select-iot-hub.png)
46+
8. Select a location.
5547

56-
![Selected IoT Hub](media/iot-hub-create-use-iot-toolkit/iot-hub-selected.png)
48+
9. Select a pricing tier.
5749

58-
1. In the output window, you will see the Azure IoT Hub provisioned.
50+
10. Enter a globally unique name for your IoT hub, then press **Enter**.
5951

60-
![IoT Hub Provisioned](media/iot-hub-create-use-iot-toolkit/iot-hub-provisioned.png)
52+
11. Wait a few minutes until the IoT Hub is created. You'll see a confirmation in the output console.
6153

62-
1. Select or create a new IoT Hub Device in the Azure IoT Hub you provisioned.
54+
## Create an IoT hub and device in an existing IoT project
6355

64-
![Select IoT Device steps](media/iot-hub-create-use-iot-toolkit/iot-device-provision.png)
56+
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.
6557

66-
![Select IoT Device Provisioned](media/iot-hub-create-use-iot-toolkit/select-iot-device.png)
58+
This method allows you to provision in VS Code without leaving your development environment.
6759

68-
1. Now you have Azure IoT Hub provisioned and device created in it. Also the device connection string will be saved in VS Code.
60+
1. In the new opened project window, click `F1` to open the command palette, type and select **Azure IoT Device Workbench: Provision Azure Services...**. Follow the step-by-step guide to finish provisioning your Azure IoT Hub and creating the IoT Hub device.
6961

70-
![Provision done](media/iot-hub-create-use-iot-toolkit/provision-done.png)
62+
:::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":::
7163

64+
> [!NOTE]
65+
> If you have not signed in Azure. Follow the pop-up notification for signing in.
7266
67+
1. Select the subscription you want to use.
7368

74-
## Create an IoT hub without an IoT Project
69+
:::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 VS Code." lightbox="media/iot-hub-create-use-iot-toolkit/select-subscription.png":::
7570

76-
The following steps show how you can create an IoT Hub without an IoT Project in Visual Studio Code.
71+
1. Then select and existing resource group or create a new [resource group](../azure-resource-manager/management/overview.md#terminology).
7772

78-
1. In Visual Studio Code, open the **Explorer** view.
73+
:::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 VS Code." lightbox="media/iot-hub-create-use-iot-toolkit/select-resource-group.png":::
7974

80-
2. At the bottom of the Explorer, expand the **Azure IoT Hub** section.
75+
1. In the resource group you specified, follow the prompts to select an existing IoT Hub or create a new Azure IoT Hub.
8176

82-
![Expand Azure IoT Hub Devices](./media/iot-hub-create-use-iot-toolkit/azure-iot-hub-devices.png)
77+
:::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 VS Code." lightbox="media/iot-hub-create-use-iot-toolkit/iot-hub-provision.png":::
8378

84-
3. Click on the **...** in the **Azure IoT Hub** section header. If you don't see the ellipsis, hover over the header.
79+
:::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 VS Code." lightbox="media/iot-hub-create-use-iot-toolkit/select-iot-hub.png":::
8580

86-
4. Choose **Create IoT Hub**.
81+
:::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 VS Code." lightbox="media/iot-hub-create-use-iot-toolkit/iot-hub-selected.png":::
8782

88-
5. A pop-up will show in the bottom-right corner to let you sign in to Azure for the first time.
83+
1. In the output window, you'll see the Azure IoT Hub provisioned.
8984

90-
6. Select Azure subscription.
85+
:::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 VS Code." lightbox="media/iot-hub-create-use-iot-toolkit/iot-hub-provisioned.png":::
9186

92-
7. Select resource group.
87+
1. Select or create a new IoT Hub Device in the Azure IoT Hub you provisioned.
9388

94-
8. Select location.
89+
:::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 VS Code." lightbox="media/iot-hub-create-use-iot-toolkit/iot-device-provision.png":::
9590

96-
9. Select pricing tier.
91+
:::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 VS Code." lightbox="media/iot-hub-create-use-iot-toolkit/select-iot-device.png":::
9792

98-
10. Enter a globally unique name for your IoT Hub.
93+
1. Now you have Azure IoT Hub provisioned and device created in it. Also the device connection string will be saved in VS Code.
9994

100-
11. Wait a few minutes until the IoT Hub is created.
95+
:::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 VS Code." lightbox="media/iot-hub-create-use-iot-toolkit/provision-done.png":::
10196

10297
## Next steps
10398

104-
Now you have deployed an IoT hub using the Azure IoT Tools for Visual Studio Code. To explore further, check out the following articles:
99+
Now that you've deployed an IoT hub using the Azure IoT Tools for Visual Studio Code, explore these articles:
105100

106101
* [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).
107102

20.4 KB
Loading

0 commit comments

Comments
 (0)