Skip to content

Commit c92edbf

Browse files
committed
few more
1 parent 690b1ee commit c92edbf

File tree

1 file changed

+10
-9
lines changed

1 file changed

+10
-9
lines changed

articles/iot-hub-device-update/create-device-update-account.md

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,9 @@ ms.subservice: device-update
1313

1414
To get started with Azure Device Update for IoT Hub, you create a Device Update account and instance, and then set access control roles as necessary. This article describes how to create and configure Device Update resources by using the Azure portal or Azure CLI.
1515

16-
A Device Update account is a resource in your Azure subscription. A Device Update instance is a logical container within the account that's associated with a specific IoT hub. You can create multiple Device Update instances within an account. A Device Update instance contains updates and deployments associated with its IoT hub. For more information, see [Device Update resources](device-update-resources.md).
16+
A Device Update account is a resource in your Azure subscription. A Device Update instance is a logical container within the account that's associated with a specific IoT hub. You can create multiple Device Update instances within an account.
17+
18+
A Device Update instance contains updates and deployments associated with its IoT hub. For more information, see [Device Update resources](device-update-resources.md).
1719

1820
## Prerequisites
1921

@@ -27,11 +29,11 @@ A Device Update account is a resource in your Azure subscription. A Device Updat
2729

2830
- **Owner** or **User Access Administrator** role permissions in an Azure subscription
2931
- A Standard (S1) or higher instance of Azure IoT Hub
30-
- The Bash environment in [Azure Cloud Shell](../cloud-shell/quickstart.md). Select **Launch Cloud Shell** to open Cloud Shell.
32+
- To run Azure CLI commands, you can use the Bash environment in [Azure Cloud Shell](/azure/cloud-shell/quickstart). Select **Launch Cloud Shell** to open Cloud Shell now, or select the Cloud Shell icon in the top toolbar of the Azure portal.
3133

3234
:::image type="icon" source="~/reusable-content/ce-skilling/azure/media/cloud-shell/launch-cloud-shell-button.png" alt-text="Button to launch the Azure Cloud Shell." border="false" link="https://shell.azure.com":::
3335

34-
Or, if you prefer to run Azure CLI commands locally:
36+
If you prefer to run Azure CLI commands locally:
3537

3638
1. [Install Azure CLI](/cli/azure/install-azure-cli). Run [az version](/cli/azure/reference-index#az-version) to see the installed Azure CLI version and dependent libraries, and run [az upgrade](/cli/azure/reference-index#az-upgrade) to install the latest version.
3739
1. Sign in to Azure by running [az login](/cli/azure/reference-index#az-login).
@@ -115,24 +117,23 @@ A Device Update account is a resource in your Azure subscription. A Device Updat
115117

116118
- `<account_name>`: The name of the Device Update account for this instance.
117119
- `<instance_name>`: A name for this instance.
118-
- `<iothub_id>`: The fully-qualified resource ID for the IoT hub to link to this instance, for example `"/subscriptions/<subscription_id>/resourceGroups/<resource-group-name>/providers/Microsoft.Devices/IotHubs/<iot-hub-name>"`.
120+
- `<iothub_id>`: The fully-qualified resource ID for the IoT hub to link to this instance, such as `"/subscriptions/<subscription_id>/resourceGroups/<resource-group-name>/providers/Microsoft.Devices/IotHubs/<iot-hub-name>"`.
119121

120122
To get your IoT hub resource ID, run [az iot hub show](/cli/azure/iot/hub#az-iot-hub-show) and query for the ID value.
121123

122124
```azurecli
123-
`az iot hub show -n <iothub_name> --query id`
125+
az iot hub show -n <iothub_name> --query id
124126
```
125127
126-
> [!TIP]
127-
> You can also configure diagnostics logging as part of the instance creation process. You must have an Azure Blob Storage account to store the diagnostic logs. For more information, see [Remotely collect diagnostic logs from devices](device-update-log-collection.md).
128+
You can also configure diagnostics logging as part of the instance creation process. You must have an Azure Blob Storage account to store the diagnostic logs. For more information, see [Remotely collect diagnostic logs from devices](device-update-log-collection.md?tabs=cli).
128129
129130
---
130131
131132
## Configure access
132133
133-
If you have the required **Owner** or **User Access Administrator** permissions in your Azure subscription, Device Update setup automatically assigns **IoT Hub Data Contributor** role to the Device Update service principal. This role assignment allows the Device Update instance to connect and write to the linked IoT hub to run deployment, device management, and diagnostic operations, and ensures that access is limited to the Device Update instance.
134+
Device Update setup automatically assigns **IoT Hub Data Contributor** role to the Device Update service principal. This role allows the Device Update instance to connect and write to the linked IoT hub to run deployment, device management, and diagnostic operations. Scoping access to the Device Update service principal ensures that only this Device Update instance can access this IoT hub.
134135
135-
After you create your Device Update resources, you can configure access control to provide a combination of roles to users and applications for the right level of access. For more information, see [Configure access control roles for Device Update resources](configure-access-control-device-update.md).
136+
If you have the required **Owner** or **User Access Administrator** permissions in your Azure subscription, you can configure access control to your Device Update resources by using a combination of roles to provide users and applications the right level of access. For more information, see [Configure access control roles for Device Update resources](configure-access-control-device-update.md).
136137
137138
## Related content
138139

0 commit comments

Comments
 (0)