You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/iot-hub/iot-hub-create-through-portal.md
+3-60Lines changed: 3 additions & 60 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -36,7 +36,7 @@ For a complete list of options to update an IoT hub, see the [**az iot hub updat
36
36
37
37
You can also view or modify the list of shared access policies by choosing **Shared access policies** in the **Security settings** section. These policies define the permissions for devices and services to connect to IoT Hub.
38
38
39
-
Select **Add shared access policy** to open the **Add shared access policy**blade. You can enter the new policy name and the permissions that you want to associate with this policy, as shown in the following screenshot:
39
+
Select **Add shared access policy** to open the **Add shared access policy**page. You can enter the new policy name and the permissions that you want to associate with this policy, as shown in the following screenshot:
40
40
41
41
:::image type="content" source="./media/iot-hub-create-through-portal/iot-hub-add-shared-access-policy.png" alt-text="Screen capture showing how to add a shared access policy." lightbox="./media/iot-hub-create-through-portal/iot-hub-add-shared-access-policy.png":::
42
42
@@ -54,64 +54,7 @@ For more detailed information about the access granted by specific permissions,
Select **Message routing** under **Hub settings** to see the **Message routing** pane for your IoT hub, where you define routes, custom endpoints, and message enrichments. [Message routing](iot-hub-devguide-messages-d2c.md) enables you to manage how data is sent from your devices to your endpoints. The first step is to add a new route. Then you can add an existing endpoint to the route, or create a new one of the types supported, such as blob storage.
60
-
61
-
### Routes
62
-
63
-
**Routes** is the first tab on the **Message routing** pane. To add a new route, select **+ Add**.
64
-
65
-
:::image type="content" source="./media/iot-hub-create-through-portal/iot-hub-message-routing.png" alt-text="Screen capture showing the 'Message Routing' pane with the '+ Add' button." lightbox="./media/iot-hub-create-through-portal/iot-hub-message-routing.png":::
66
-
67
-
You see the following screen, which allows you to add a route to your IoT hub.
68
-
69
-
:::image type="content" source="./media/iot-hub-create-through-portal/iot-hub-add-route-storage-endpoint.png" alt-text="Screen capture showing how to add an endpoint to a new route." lightbox="./media/iot-hub-create-through-portal/iot-hub-add-route-storage-endpoint.png":::
70
-
71
-
Name your route. The route name must be unique within the list of routes for that hub.
72
-
73
-
For **Endpoint**, select one from the dropdown list or add a new one. In this example, a storage account and container are already available. To add them as an endpoint, choose **+ Add endpoint** next to the **Endpoint** dropdown and select **Storage**.
74
-
75
-
The following screen shows where the storage account and container are specified.
76
-
77
-
:::image type="content" source="./media/iot-hub-create-through-portal/iot-hub-routing-add-storage-endpoint.png" alt-text="Screen capture showing how to add a storage endpoint for a route." lightbox="./media/iot-hub-create-through-portal/iot-hub-routing-add-storage-endpoint.png":::
78
-
79
-
Add an endpoint name in **Endpoint name** if needed. Select **Pick a container** to select the storage account and container. Choose a storage account and a container, then select **Select** to return to the **Add a storage endpoint** pane. Use the defaults for the rest of the fields and **Create** to create the endpoint for the storage account and add it to the routing rules.
80
-
81
-
You return to the **Add a route** page. For **Data source**, select Device Telemetry Messages.
82
-
83
-
Next, add a routing query. In this example, the messages that have an application property called `level` with a value equal to `critical` are routed to the storage account.
84
-
85
-
:::image type="content" source="./media/iot-hub-create-through-portal/iot-hub-add-route.png" alt-text="Screen capture showing how to save a new route." lightbox="./media/iot-hub-create-through-portal/iot-hub-add-route.png":::
86
-
87
-
Select **Save** to save the routing rule. You return to the **Message routing** pane, and your new routing rule is displayed.
88
-
89
-
### Custom endpoints
90
-
91
-
If you have a custom endpoint to add, select the **Custom endpoints** tab. You see custom endpoints if they were previously created. From here, you can add new endpoints or delete existing endpoints.
92
-
93
-
> [!NOTE]
94
-
> If you delete a route, it does not delete the endpoints assigned to that route. To delete an endpoint, select the **Custom endpoints** tab, select the endpoint you want to delete, then choose **Delete**.
95
-
96
-
You can read more about custom endpoints in [IoT hub endpoints](iot-hub-devguide-endpoints.md).
97
-
98
-
You can define up to 10 custom endpoints for an IoT hub.
99
-
100
-
To see a full example of how to use custom endpoints with routing, see [Message routing with IoT Hub](tutorial-routing.md).
101
-
102
-
## Find a specific IoT hub
103
-
104
-
Here a few ways to find a specific IoT hub in your subscription:
105
-
106
-
1. From the Azure homepage, select the **IoT Hub** icon. Find and select your IoT hub from the list.
107
-
108
-
:::image type="content" source="./media/iot-hub-create-through-portal/select-iot-hub.png" alt-text="Screen capture showing how to find your IoT hub.":::
109
-
110
-
1. If you know the resource group to which the IoT hub belongs, choose **Resource groups**, then select the resource group from the list. The resource group screen shows all of the resources in that group, including IoT hubs. Select your hub.
111
-
112
-
2. Choose **All resources**. On the **All resources** pane, there's a filter that defaults to `Type equals **all**`. Select the filter, uncheck `Select all`. Find `IoT Hub` in the list of resource types for the filter and check it. Select **Apply** to apply the new filter, and the entries are filtered to show only your IoT hubs.
113
-
114
-
## Delete the IoT hub
57
+
## Delete an IoT hub
115
58
116
59
To delete an IoT hub, open your IoT hub in the Azure portal, then choose **Delete**.
117
60
@@ -121,5 +64,5 @@ To delete an IoT hub, open your IoT hub in the Azure portal, then choose **Delet
121
64
122
65
Learn more about managing Azure IoT Hub:
123
66
124
-
*[Message routing with IoT Hub](tutorial-routing.md)
67
+
*[Message routing with IoT Hub](how-to-routing-portal.md)
0 commit comments