IotHubLocationDescription Class

Public representation of one of the locations where a resource is provisioned.

Inheritance
IotHubLocationDescription

Constructor

IotHubLocationDescription(*, location: Optional[str] = None, role: Optional[Union[str, azure.mgmt.iothub.v2019_03_22.models._iot_hub_client_enums.IotHubReplicaRoleType]] = None, **kwargs)

Variables

location
str

The name of the Azure region.

role
str or IotHubReplicaRoleType

The role of the region, can be either primary or secondary. The primary region is where the IoT hub is currently provisioned. The secondary region is the Azure disaster recovery (DR) paired region and also the region where the IoT hub can failover to. Possible values include: "primary", "secondary".