Dela via


IotHubLocationDescription.Role Property

Definition

Gets or sets 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'

[Newtonsoft.Json.JsonProperty(PropertyName="role")]
public string Role { get; set; }
[<Newtonsoft.Json.JsonProperty(PropertyName="role")>]
member this.Role : string with get, set
Public Property Role As String

Property Value

Attributes
Newtonsoft.Json.JsonPropertyAttribute

Applies to