你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
IotHubLocationDescription Class
Public representation of one of the locations where a resource is provisioned.
Constructor
IotHubLocationDescription(*, location: str | None = None, role: str | _models.IotHubReplicaRoleType | None = None, **kwargs: Any)
Keyword-Only Parameters
Name | Description |
---|---|
location
|
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
|
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". |