你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
IotHubLocationDescription.Role Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
public Azure.ResourceManager.IotHub.Models.IotHubReplicaRoleType? Role { get; }
member this.Role : Nullable<Azure.ResourceManager.IotHub.Models.IotHubReplicaRoleType>
Public ReadOnly Property Role As Nullable(Of IotHubReplicaRoleType)