Condividi tramite


IotHubLocationDescription Class

Definition

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

public class IotHubLocationDescription
type IotHubLocationDescription = class
Public Class IotHubLocationDescription
Inheritance
IotHubLocationDescription

Constructors

IotHubLocationDescription()

Initializes a new instance of the IotHubLocationDescription class.

IotHubLocationDescription(String, String)

Initializes a new instance of the IotHubLocationDescription class.

Properties

Location

Gets or sets the name of the Azure region

Role

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'

Applies to