IotHubLocationDescription Constructors
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.
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
Azure SDK for .NET