Skip to content

Commit 8226e89

Browse files
Merge pull request #209274 from w-azure/winona-hub-powershell
cleaned up wording
2 parents 6ced9a9 + 6dd7878 commit 8226e89

File tree

1 file changed

+11
-14
lines changed

1 file changed

+11
-14
lines changed

articles/iot-hub/iot-hub-rm-template-powershell.md

Lines changed: 11 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -17,19 +17,15 @@ ms.custom: devx-track-azurepowershell
1717

1818
Learn how to use an Azure Resource Manager template to create an IoT Hub and a consumer group. Resource Manager templates are JSON files that define the resources you need to deploy for your solution. For more information about developing Resource Manager templates, see [Azure Resource Manager documentation](../azure-resource-manager/index.yml).
1919

20-
If you don't have an Azure subscription, [create a free account](https://azure.microsoft.com/free/) before you begin.
21-
2220
## Create an IoT hub
2321

24-
The Resource Manager template used in this quickstart is from [Azure Quickstart templates](https://azure.microsoft.com/resources/templates/iothub-with-consumergroup-create/). Here is a copy of the template:
22+
The following [Resource Manager JSON template](https://azure.microsoft.com/resources/templates/iothub-with-consumergroup-create/) used in this article is one of many templates from [Azure Quickstart Templates](https://azure.microsoft.com/resources/templates/). This template creates an Azure Iot hub with three endpoints (eventhub, cloud-to-device, and messaging) and a consumer group. For more information on the Iot Hub template schema, see [Microsoft.Devices (IoT Hub) resource types](/azure/templates/microsoft.devices/iothub-allversions).
2523

2624
[!code-json[iothub-creation](~/quickstart-templates/quickstarts/microsoft.devices/iothub-with-consumergroup-create/azuredeploy.json)]
2725

28-
The template creates an Azure Iot hub with three endpoints (eventhub, cloud-to-device, and messaging), and a consumer group. For more template samples, see [Azure Quickstart templates](https://azure.microsoft.com/resources/templates/?resourceType=Microsoft.Devices&pageNumber=1&sort=Popular). The Iot Hub template schema can be found [here](/azure/templates/microsoft.devices/iothub-allversions).
29-
30-
There are several methods for deploying a template. You use Azure PowerShell in this tutorial.
26+
There are several methods for deploying a template. You use Azure PowerShell in this article.
3127

32-
To run the PowerShell script, Select **Try it** to open the Azure Cloud shell. To paste the script, right-click the shell, and then select Paste:
28+
To run the following PowerShell script, select **Try it** to open the Azure Cloud Shell. Copy the script, paste it into the shell, and answer the prompts to create a new resource, choose a region, and create a new IoT hub.
3329

3430
```azurepowershell-interactive
3531
$resourceGroupName = Read-Host -Prompt "Enter the Resource Group name"
@@ -43,22 +39,23 @@ New-AzResourceGroupDeployment `
4339
-iotHubName $iotHubName
4440
```
4541

46-
As you can see from the PowerShell script, the template used is from Azure Quickstart templates. To use your own, you need to first upload the template file to the Cloud shell, and then use the `-TemplateFile` switch to specify the file name. For an example, see [Deploy the template](../azure-resource-manager/templates/quickstart-create-templates-use-visual-studio-code.md?tabs=PowerShell#deploy-the-template).
42+
> [!NOTE]
43+
> To use your own template, upload your template file to the Cloud Shell, and then use the `-TemplateFile` switch to specify the file name. For example, see [Deploy the template](../azure-resource-manager/templates/quickstart-create-templates-use-visual-studio-code.md?tabs=PowerShell#deploy-the-template).
4744
4845
## Next steps
4946

50-
Now you have deployed an IoT hub by using an Azure Resource Manager template, you may want to explore further:
47+
Since you've deployed an IoT hub, using an Azure Resource Manager template, you may want to explore:
5148

52-
* Read about the capabilities of the [IoT Hub resource provider REST API][lnk-rest-api].
53-
* Read [Azure Resource Manager overview][lnk-azure-rm-overview] to learn more about the capabilities of Azure Resource Manager.
54-
* For the JSON syntax and properties to use in templates, see [Microsoft.Devices resource types](/azure/templates/microsoft.devices/iothub-allversions).
49+
* Capabilities of the [IoT Hub resource provider REST API][lnk-rest-api]
50+
* Capabilities of the [Azure Resource Manager][lnk-azure-rm-overview]
51+
* JSON syntax and properties to use in templates: [Microsoft.Devices resource types](/azure/templates/microsoft.devices/iothub-allversions)
5552

56-
To learn more about developing for IoT Hub, see the following articles:
53+
To learn more about developing for IoT Hub, see:
5754

5855
* [Introduction to C SDK][lnk-c-sdk]
5956
* [Azure IoT SDKs][lnk-sdks]
6057

61-
To further explore the capabilities of IoT Hub, see:
58+
To explore more capabilities of IoT Hub, see:
6259

6360
* [Deploying AI to edge devices with Azure IoT Edge][lnk-iotedge]
6461

0 commit comments

Comments
 (0)