ArmIotHubModelFactory.IotHubLocationDescription Method
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.
Initializes a new instance of IotHubLocationDescription.
public static Azure.ResourceManager.IotHub.Models.IotHubLocationDescription IotHubLocationDescription (Azure.Core.AzureLocation? location = default, Azure.ResourceManager.IotHub.Models.IotHubReplicaRoleType? role = default);
static member IotHubLocationDescription : Nullable<Azure.Core.AzureLocation> * Nullable<Azure.ResourceManager.IotHub.Models.IotHubReplicaRoleType> -> Azure.ResourceManager.IotHub.Models.IotHubLocationDescription
Public Shared Function IotHubLocationDescription (Optional location As Nullable(Of AzureLocation) = Nothing, Optional role As Nullable(Of IotHubReplicaRoleType) = Nothing) As IotHubLocationDescription
Parameters
- location
- Nullable<AzureLocation>
The name of the Azure region.
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.
Returns
A new IotHubLocationDescription instance for mocking.
Applies to
التعاون معنا على GitHub
يمكن العثور على مصدر هذا المحتوى على GitHub حيث يمكنك أيضاً إضافة مشاكل وطلبات سحب ومراجعتها. للحصول على معلومات إضافية، اطلع على دليل المساهم لدينا.
Azure SDK for .NET