Search code examples
azure-iot-hub

In the event of region outage, we can failover to paired instance from Azure portal UI manually. Can we do this step programmatically?


In the event of region outage, we can failover to paired instance from Azure portal UI manually. Can we do this step programmatically?

Can we automate the failover step? Even if not can we make somehow make it programmable?


Solution

  • Yes, you can absolutely do a failover programmatically. There is a CLI command, PowerShell command, as well as various SDKs that support this.