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-dps/quick-setup-auto-provision-cli.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -41,7 +41,7 @@ az group create --name my-sample-resource-group --location westus
41
41
42
42
Create an IoT hub with the [az iot hub create](/cli/azure/iot/hub#az-iot-hub-create) command.
43
43
44
-
The following example creates an IoT hub named *my-sample-hub* in the *westus* location. An IoT hub name must be globally unique in Azure, so you may want to add a unique prefix or suffix to the example name, or choose a new name altogether. Make sure your name follows proper naming conventions for an IoT hub: it should be 3-50 characters in length, and can contain only upper or lower case alphanumeric characters or hyphens ('-').
44
+
The following example creates an IoT hub named *my-sample-hub* in the *westus* location. An IoT hub name must be globally unique in Azure, so either add a unique prefix or suffix to the example name or choose a new name altogether. Make sure your name follows proper naming conventions for an IoT hub: it should be 3-50 characters in length, and can contain only upper or lower case alphanumeric characters or hyphens ('-').
45
45
46
46
```azurecli-interactive
47
47
az iot hub create --name my-sample-hub --resource-group my-sample-resource-group --location westus
Copy file name to clipboardExpand all lines: articles/iot-dps/quick-setup-auto-provision-rm.md
+8-9Lines changed: 8 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,7 +3,7 @@ title: Quickstart - Create an Azure IoT Hub Device Provisioning Service (DPS) us
3
3
description: Azure quickstart - Learn how to create an Azure IoT Hub Device Provisioning Service (DPS) using Azure Resource Manager template (ARM template).
4
4
author: kgremban
5
5
ms.author: kgremban
6
-
ms.date: 01/27/2021
6
+
ms.date: 04/06/2023
7
7
ms.topic: quickstart
8
8
ms.service: iot-dps
9
9
services: iot-dps
@@ -37,8 +37,8 @@ The template used in this quickstart is from [Azure Quickstart Templates](https:
37
37
38
38
Two Azure resources are defined in the template above:
39
39
40
-
*[**Microsoft.Devices/iothubs**](/azure/templates/microsoft.devices/iothubs): Creates a new Azure IoT Hub.
41
-
*[**Microsoft.Devices/provisioningservices**](/azure/templates/microsoft.devices/provisioningservices): Creates a new Azure IoT Hub Device Provisioning Service with the new IoT Hub already linked to it.
40
+
*[**Microsoft.Devices/IotHubs**](/azure/templates/microsoft.devices/iothubs): Creates a new Azure IoT hub.
41
+
*[**Microsoft.Devices/provisioningServices**](/azure/templates/microsoft.devices/provisioningservices): Creates a new Azure IoT Hub Device Provisioning Service with the new IoT hub already linked to it.
42
42
43
43
## Deploy the template
44
44
@@ -95,10 +95,10 @@ Sign in to your Azure account and select your subscription.
95
95
az account set --subscription {your subscription name or id}
96
96
```
97
97
98
-
3. Copy and paste the following commands into your CLI prompt. Then execute the commands by pressing **ENTER**.
98
+
3. Copy and paste the following commands into your CLI prompt. Then execute the commands by selecting the Enter key.
99
99
100
100
> [!TIP]
101
-
> The commands will prompt for a resource group location.
101
+
> The commands prompt for a resource group location.
102
102
> You can view a list of available locations by first running the command:
103
103
>
104
104
> `az account list-locations -o table`
@@ -116,16 +116,16 @@ Sign in to your Azure account and select your subscription.
116
116
read
117
117
```
118
118
119
-
4. The commands will prompt you for the following information. Provide each value and press **ENTER**.
119
+
4. The commands prompt you for the following information. Provide each value and select the Enter key.
120
120
121
121
| Parameter | Description |
122
122
| :-------- | :---------- |
123
-
| **Project name** | The value of this parameter will be used to create a resource group to hold all resources. The string `rg` will be added to the end of the value for your resource group name. |
123
+
| **Project name** | The value of this parameter is used to create a resource group to hold all resources. The string `rg` is added to the end of the value for your resource group name. |
124
124
| **location** | This value is the region where all resources will reside. |
125
125
| **iotHubName** | Enter a name for the IoT Hub that must be globally unique within the *.azure-devices.net* namespace. You need the hub name in the next section when you validate the deployment. |
126
126
| **provisioningServiceName** | Enter a name for the new Device Provisioning Service (DPS) resource. The name must be globally unique within the *.azure-devices-provisioning.net* namespace. You need the DPS name in the next section when you validate the deployment. |
127
127
128
-
The AzureCLI is used to deploy the template. In addition to the Azure CLI, you can also use the Azure PowerShell, Azure portal, and REST API. To learn other deployment methods, see [Deploy templates](../azure-resource-manager/templates/deploy-powershell.md).
128
+
The Azure CLI is used to deploy the template. In addition to the Azure CLI, you can also use the Azure PowerShell, Azure portal, and REST API. To learn other deployment methods, see [Deploy templates](../azure-resource-manager/templates/deploy-powershell.md).
129
129
130
130
131
131
## Review deployed resources
@@ -144,7 +144,6 @@ Sign in to your Azure account and select your subscription.
144
144
145
145
Notice the hubs that are linked on the `iotHubs` member.
146
146
147
-
148
147
## Clean up resources
149
148
150
149
Other quickstarts in this collection build upon this quickstart. If you plan to continue on to work with subsequent quickstarts or with the tutorials, don't clean up the resources created in this quickstart. If you don't plan to continue, you can use the Azure portal or Azure CLI to delete the resource group and all of its resources.
0 commit comments