IotHubLocationDescription Class

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

Inheritance
azure.mgmt.iothub._serialization.Model
IotHubLocationDescription

Constructor

IotHubLocationDescription(*, location: str | None = None, role: str | _models.IotHubReplicaRoleType | None = None, **kwargs: Any)

Keyword-Only Parameters

Name Description
location
str

The name of the Azure region.

role

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. Known values are: "primary" and "secondary".

Variables

Name Description
location
str

The name of the Azure region.

role

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. Known values are: "primary" and "secondary".