Skip to content

Commit 4476137

Browse files
committed
Remove and redirect extra hub-create articles
1 parent a0d932f commit 4476137

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

54 files changed

+76
-534
lines changed

articles/iot-hub/.openpublishing.redirection.iot-hub.json

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1430,9 +1430,29 @@
14301430
"redirect_url": "/azure/iot-hub/create-hub",
14311431
"redirect_document_id": false
14321432
},
1433+
{
1434+
"source_path_from_root": "/articles/iot-hub/iot-hub-create-using-powershell.md",
1435+
"redirect_url": "/azure/iot-hub/create-hub",
1436+
"redirect_document_id": false
1437+
},
1438+
{
1439+
"source_path_from_root": "/articles/iot-hub/iot-hub-create-use-iot-toolkit.md",
1440+
"redirect_url": "/azure/iot-hub/reference-iot-hub-extension",
1441+
"redirect_document_id": false
1442+
},
1443+
{
1444+
"source_path_from_root": "/articles/iot-hub/iot-hub-rm-rest.md",
1445+
"redirect_url": "/azure/iot-hub/create-hub",
1446+
"redirect_document_id": false
1447+
},
14331448
{
14341449
"source_path_from_root": "/articles/iot-hub/iot-hub-rm-template.md",
1435-
"redirect_url": "/azure/iot-hub/iot-hub-rm-template-powershell",
1450+
"redirect_url": "/azure/iot-hub/create-hub",
1451+
"redirect_document_id": false
1452+
},
1453+
{
1454+
"source_path_from_root": "/articles/iot-hub/iot-hub-rm-template-powershell.md",
1455+
"redirect_url": "/azure/iot-hub/create-hub",
14361456
"redirect_document_id": false
14371457
}
14381458
]

articles/iot-hub/TOC.yml

Lines changed: 2 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -216,25 +216,8 @@
216216
- name: Manage
217217
items:
218218
- name: Create an IoT hub
219-
items:
220-
- name: Use Azure portal
221-
displayName: create IoT Hub, register device, message routing, delete IoT hub
222-
href: iot-hub-create-through-portal.md
223-
- name: Use Visual Studio Code
224-
displayName: create IoT Hub, register device, message routing, delete IoT hub
225-
href: iot-hub-create-use-iot-toolkit.md
226-
- name: Use Azure PowerShell
227-
displayName: create IoT Hub, register device, message routing, delete IoT hub
228-
href: iot-hub-create-using-powershell.md
229-
- name: Use Azure CLI
230-
displayName: create IoT Hub, register device, message routing, delete IoT hub, az iot hub create
231-
href: iot-hub-create-using-cli.md
232-
- name: Use the REST API
233-
displayName: create IoT Hub, register device, message routing, delete IoT hub, Azure Resource Manager
234-
href: iot-hub-rm-rest.md
235-
- name: Use a template from Azure PowerShell
236-
displayName: create IoT Hub, register device, message routing, delete IoT hub, Azure Resource Manager
237-
href: iot-hub-rm-template-powershell.md
219+
displayName: create IoT Hub, delete IoT hub, portal, CLI
220+
href: create-hub.md
238221
- name: Create and connect a device
239222
href: create-connect-device.md
240223
- name: Create message routes and endpoints

articles/iot-hub/c2d-messaging-dotnet.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ You can find more information on cloud-to-device messages in [D2C and C2D Messag
4343

4444
* 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.
4545

46-
* An IoT hub in your Azure subscription. If you don't have a hub yet, you can follow the steps in [Create an IoT hub](iot-hub-create-through-portal.md).
46+
* An IoT hub in your Azure subscription. If you don't have a hub yet, you can follow the steps in [Create an IoT hub](create-hub.md).
4747

4848
* A device registered in your IoT hub. If you don't have a device in your IoT hub, follow the steps in [Register a device](create-connect-device.md#register-a-device).
4949

articles/iot-hub/c2d-messaging-java.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ To learn more about cloud-to-device messages, see [Send cloud-to-device messages
4343

4444
* 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.
4545

46-
* An IoT hub in your Azure subscription. If you don't have a hub yet, you can follow the steps in [Create an IoT hub](iot-hub-create-through-portal.md).
46+
* An IoT hub in your Azure subscription. If you don't have a hub yet, you can follow the steps in [Create an IoT hub](create-hub.md).
4747

4848
* A device registered in your IoT hub. If you don't have a device in your IoT hub, follow the steps in [Register a device](create-connect-device.md#register-a-device).
4949

articles/iot-hub/c2d-messaging-node.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ To learn more about cloud-to-device messages, see [Send cloud-to-device messages
4343

4444
* 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.
4545

46-
* An IoT hub in your Azure subscription. If you don't have a hub yet, you can follow the steps in [Create an IoT hub](iot-hub-create-through-portal.md).
46+
* An IoT hub in your Azure subscription. If you don't have a hub yet, you can follow the steps in [Create an IoT hub](create-hub.md).
4747

4848
* A device registered in your IoT hub. If you don't have a device in your IoT hub, follow the steps in [Register a device](create-connect-device.md#register-a-device).
4949

articles/iot-hub/c2d-messaging-python.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ To learn more about cloud-to-device messages, see [Send cloud-to-device messages
4141

4242
* An active Azure account. (If you don't have an account, you can create a [free account](https://azure.microsoft.com/pricing/free-trial/) in just a couple of minutes.)
4343

44-
* An IoT hub. Create one with the [CLI](iot-hub-create-using-cli.md) or the [Azure portal](iot-hub-create-through-portal.md).
44+
* An IoT hub in your Azure subscription. If you don't have a hub yet, you can follow the steps in [Create an IoT hub](create-hub.md).
4545

4646
* A device registered in your IoT hub. If you don't have a device in your IoT hub, follow the steps in [Register a device](create-connect-device.md#register-a-device).
4747

articles/iot-hub/create-connect-device.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Create a device identity for your device to connect to Azure IoT Hub. This artic
1616

1717
## Prerequisites
1818

19-
* An IoT hub in your subscription. If you don't have an IoT hub, follow the steps in [create an IoT hub](./iot-hub-create-through-portal.md).
19+
* An IoT hub in your Azure subscription. If you don't have a hub yet, you can follow the steps in [Create an IoT hub](create-hub.md).
2020

2121
* Depending on which tool you use, either have access to the [Azure portal](https://portal.azure.com) or [install the Azure CLI](/cli/azure/install-azure-cli).
2222

articles/iot-hub/create-hub.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -131,9 +131,9 @@ az iot hub delete --name {your iot hub name} -\
131131

132132
---
133133

134-
## Next steps
134+
## Other tools for managing IoT hubs
135135

136-
Learn more about managing Azure IoT Hub:
137-
138-
* [Message routing with IoT Hub](how-to-routing-portal.md)
139-
* [Monitor your IoT hub](monitor-iot-hub.md)
136+
* **PowerShell cmdlets**: Use the [Az.IoTHub](/powershell/module/az.iothub) set of commands to create and manage IoT hubs.
137+
* **IoT Hub resource provider REST API**: Use the [IoT Hub Resource](/rest/api/iothub/iot-hub-resource) set of operations to create and manage IoT hubs.
138+
* **Azure resource manager templates, Bicep, or Terraform**: Use the [Microsoft.Devices/IoTHubs](/azure/templates/microsoft.devices/iothubs) resource type to create and manage IoT hubs. For examples, see [IoT Hub sample templates](/samples/browse/?terms=iot%20hub&languages=bicep%2Cjson)
139+
* **Visual Studio Code**: Use the [Azure IoT Hub extension for Visual Studio Code](./reference-iot-hub-extension.md) to create and manage IoT hubs.

articles/iot-hub/device-management-cli.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ This article shows you how to create two Azure CLI sessions:
4040

4141
* Azure CLI. You can also run the commands in this article using the [Azure Cloud Shell](../cloud-shell/overview.md), an interactive CLI shell that runs in your browser or in an app such as Windows Terminal. If you use the Cloud Shell, you don't need to install anything. If you prefer to use the CLI locally, this article requires Azure CLI version 2.36 or later. Run `az --version` to find the version. To locally install or upgrade Azure CLI, see [Install Azure CLI](/cli/azure/install-azure-cli).
4242

43-
* An IoT hub. Create one with the [CLI](iot-hub-create-using-cli.md) or the [Azure portal](iot-hub-create-through-portal.md).
43+
* An IoT hub in your Azure subscription. If you don't have a hub yet, you can follow the steps in [Create an IoT hub](create-hub.md).
4444

4545
* Make sure that port 8883 is open in your firewall. The device sample in this article uses MQTT protocol, which communicates over port 8883. This port may be blocked in some corporate and educational network environments. For more information and ways to work around this issue, see [Connecting to IoT Hub (MQTT)](../iot/iot-mqtt-connect-to-iot-hub.md#connecting-to-iot-hub).
4646

articles/iot-hub/device-management-dotnet.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ This article shows you how to create:
2828

2929
* Visual Studio.
3030

31-
* An IoT hub. Create one with the [CLI](iot-hub-create-using-cli.md) or the [Azure portal](iot-hub-create-through-portal.md).
31+
* An IoT hub in your Azure subscription. If you don't have a hub yet, you can follow the steps in [Create an IoT hub](create-hub.md).
3232

3333
* A device registered in your IoT hub. If you don't have a device in your IoT hub, follow the steps in [Register a device](create-connect-device.md#register-a-device).
3434

0 commit comments

Comments
 (0)