Skip to content

Commit 76808b7

Browse files
Merge pull request #231802 from kgremban/mar21-hubstate
New article for az iot hub state
2 parents 3227175 + c778284 commit 76808b7

17 files changed

+756
-578
lines changed

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

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -921,6 +921,11 @@
921921
"redirect_url": "/azure/iot-hub/policy-reference",
922922
"redirect_document_id": false
923923
},
924+
{
925+
"source_path_from_root": "/articles/iot-hub/iot-hub-how-to-clone.md",
926+
"redirect_url": "/azure/iot-hub/migrate-hub-arm",
927+
"redirect_document_id": true
928+
},
924929
{
925930
"source_path_from_root": "/articles/iot-hub/iot-hub-csharp-csharp-direct-methods.md",
926931
"redirect_url": "/azure/iot-hub/quickstart-control-device-dotnet",

articles/iot-hub/TOC.yml

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -164,8 +164,6 @@
164164
- name: High availability and disaster recovery
165165
displayName: HA, DR, availability zone, failover, failback
166166
href: iot-hub-ha-dr.md
167-
- name: How to clone an IoT Hub to another region
168-
href: iot-hub-how-to-clone.md
169167
- name: Control access to IoT Hub
170168
items:
171169
- name: Overview
@@ -281,9 +279,17 @@
281279
- name: Use Azure CLI
282280
displayName: file upload, az iot hub update
283281
href: iot-hub-configure-file-upload-cli.md
284-
- name: Upgrade an IoT hub
285-
displayName: scale up, size, tier
286-
href: iot-hub-upgrade.md
282+
- name: Upgrade or migrate an IoT hub
283+
items:
284+
- name: Upgrade an IoT hub
285+
displayName: scale up, size, tier
286+
href: iot-hub-upgrade.md
287+
- name: Automatically migrate an IoT hub using CLI
288+
href: migrate-hub-state-cli.md
289+
- name: Manually migrate an IoT hub using ARM
290+
href: iot-hub-how-to-clone.md
291+
- name: Bulk import and export IoT devices
292+
href: iot-hub-bulk-identity-mgmt.md
287293
- name: Configure IP filtering
288294
href: iot-hub-ip-filtering.md
289295
- name: Manage public network access
@@ -298,8 +304,6 @@
298304
- name: Use Azure CLI
299305
displayName: automatic device management
300306
href: iot-hub-automatic-device-management-cli.md
301-
- name: Bulk import and export IoT devices
302-
href: iot-hub-bulk-identity-mgmt.md
303307
- name: Manage device twin tags
304308
href: iot-hubs-manage-device-twin-tags.md
305309
- name: Develop

articles/iot-hub/iot-hub-bulk-identity-mgmt.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ ms.custom: devx-track-csharp
1212

1313
# Import and export IoT Hub device identities in bulk
1414

15-
Each IoT hub has an identity registry you can use to create per-device resources in the service. The identity registry also enables you to control access to the device-facing endpoints. This article describes how to import and export device identities in bulk to and from an identity registry. To see a working sample in C# and learn how you can use this capability when cloning a hub to a different region, see [How to Clone an IoT Hub](iot-hub-how-to-clone.md).
15+
Each IoT hub has an identity registry you can use to create per-device resources in the service. The identity registry also enables you to control access to the device-facing endpoints. This article describes how to import and export device identities in bulk to and from an identity registry. To see a working sample in C# and learn how you can use this capability when migrating an IoT hub to a different region, see [How to migrate an IoT Hub using Azure Resource Manager templates](migrate-hub-arm.md).
1616

1717
> [!NOTE]
1818
> IoT Hub has recently added virtual network support in a limited number of regions. This feature secures import and export operations and eliminates the need to pass keys for authentication. Initially, virtual network support is available only in these regions: *WestUS2*, *EastUS*, and *SouthCentralUS*. To learn more about virtual network support and the API calls to implement it, see [IoT Hub Support for virtual networks](virtual-network-support.md).
@@ -436,6 +436,6 @@ static string GetContainerSasUri(CloudBlobContainer container)
436436

437437
## Next steps
438438

439-
In this article, you learned how to perform bulk operations against the identity registry in an IoT hub. Many of these operations, including how to move devices from one hub to another, are used in the [Managing devices registered to the IoT hub section of How to Clone an IoT Hub](iot-hub-how-to-clone.md#managing-the-devices-registered-to-the-iot-hub).
439+
In this article, you learned how to perform bulk operations against the identity registry in an IoT hub. Many of these operations, including how to move devices from one hub to another, are used in the **Manage devices registered to the IoT hub** section of [How to migrate an IoT hub using Azure Resource Manager templates](migrate-hub-arm.md#manage-the-devices-registered-to-the-iot-hub).
440440

441-
The cloning article has a working sample associated with it, which is located in the IoT C# samples on this page: [Azure IoT hub service samples for C#](https://github.com/Azure/azure-iot-sdk-csharp/tree/main/iothub/service/samples/how%20to%20guides), with the project being ImportExportDevicesSample. You can download the sample and try it out; there are instructions in the [How to Clone an IoT Hub](iot-hub-how-to-clone.md) article.
441+
The migration article has a working sample associated with it, which is located in the IoT C# samples on this page: [Azure IoT hub service samples for C#](https://github.com/Azure/azure-iot-sdk-csharp/tree/main/iothub/service/samples/how%20to%20guides), with the project being ImportExportDevicesSample.

articles/iot-hub/iot-hub-ha-dr.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ Failover capability won't be available if you disable disaster recovery for an I
149149

150150
:::image type="content" source="media/iot-hub-ha-dr/disaster-recovery-disabled.png" alt-text="Screenshot that shows disaster recovery disabled for an IoT hub in Singapore region.":::
151151

152-
You can only disable disaster recovery to avoid data replication outside of the paired region in Brazil South or Southeast Asia when you create an IoT hub. If you want to configure your existing IoT hub to disable disaster recovery, you need to create a new IoT hub with disaster recovery disabled and manually migrate your existing IoT hub. For guidance, see [How to clone an Azure IoT Hub to another region](iot-hub-how-to-clone.md). This article contains advice about migrating routes, custom endpoints, and other IoT Hub artifacts when migrating to a new Iot hub. You can ignore concerns that have to do with migrating across regions.
152+
You can only disable disaster recovery to avoid data replication outside of the paired region in Brazil South or Southeast Asia when you create an IoT hub. If you want to configure your existing IoT hub to disable disaster recovery, you need to create a new IoT hub with disaster recovery disabled and manually migrate your existing IoT hub. For guidance, see [How to migrate an IoT hub](migrate-hub-state-cli.md).
153153

154154
## Achieve cross region HA
155155

0 commit comments

Comments
 (0)