Share via


ArmDeviceProvisioningServicesModelFactory.IotHubDefinitionDescription Method

Definition

Initializes a new instance of IotHubDefinitionDescription.

public static Azure.ResourceManager.DeviceProvisioningServices.Models.IotHubDefinitionDescription IotHubDefinitionDescription (bool? applyAllocationPolicy = default, int? allocationWeight = default, string name = default, string connectionString = default, Azure.Core.AzureLocation location = default);
static member IotHubDefinitionDescription : Nullable<bool> * Nullable<int> * string * string * Azure.Core.AzureLocation -> Azure.ResourceManager.DeviceProvisioningServices.Models.IotHubDefinitionDescription
Public Shared Function IotHubDefinitionDescription (Optional applyAllocationPolicy As Nullable(Of Boolean) = Nothing, Optional allocationWeight As Nullable(Of Integer) = Nothing, Optional name As String = Nothing, Optional connectionString As String = Nothing, Optional location As AzureLocation = Nothing) As IotHubDefinitionDescription

Parameters

applyAllocationPolicy
Nullable<Boolean>

flag for applying allocationPolicy or not for a given iot hub.

allocationWeight
Nullable<Int32>

weight to apply for a given iot h.

name
String

Host name of the IoT hub.

connectionString
String

Connection string of the IoT hub.

location
AzureLocation

ARM region of the IoT hub.

Returns

A new IotHubDefinitionDescription instance for mocking.

Applies to