共用方式為


IotHubLocationDescription.Role Property

Definition

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)

Property Value

Applies to