다음을 통해 공유


IotHubLocationDescription Constructors

Definition

Overloads

IotHubLocationDescription()

Initializes a new instance of the IotHubLocationDescription class.

IotHubLocationDescription(String, String)

Initializes a new instance of the IotHubLocationDescription class.

IotHubLocationDescription()

Initializes a new instance of the IotHubLocationDescription class.

public IotHubLocationDescription ();
Public Sub New ()

Applies to

IotHubLocationDescription(String, String)

Initializes a new instance of the IotHubLocationDescription class.

public IotHubLocationDescription (string location = default, string role = default);
new Microsoft.Azure.Management.IotHub.Models.IotHubLocationDescription : string * string -> Microsoft.Azure.Management.IotHub.Models.IotHubLocationDescription
Public Sub New (Optional location As String = Nothing, Optional role As String = Nothing)

Parameters

location
String

The name of the Azure region

role
String

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