Dela via


IotHubDefinitionDescription Constructors

Definition

Overloads

IotHubDefinitionDescription()

Initializes a new instance of the IotHubDefinitionDescription class.

IotHubDefinitionDescription(String, String, Nullable<Boolean>, Nullable<Int32>, String)

Initializes a new instance of the IotHubDefinitionDescription class.

IotHubDefinitionDescription()

Initializes a new instance of the IotHubDefinitionDescription class.

public IotHubDefinitionDescription ();
Public Sub New ()

Applies to

IotHubDefinitionDescription(String, String, Nullable<Boolean>, Nullable<Int32>, String)

Initializes a new instance of the IotHubDefinitionDescription class.

public IotHubDefinitionDescription (string connectionString, string location, bool? applyAllocationPolicy = default, int? allocationWeight = default, string name = default);
new Microsoft.Azure.Management.DeviceProvisioningServices.Models.IotHubDefinitionDescription : string * string * Nullable<bool> * Nullable<int> * string -> Microsoft.Azure.Management.DeviceProvisioningServices.Models.IotHubDefinitionDescription
Public Sub New (connectionString As String, location As String, Optional applyAllocationPolicy As Nullable(Of Boolean) = Nothing, Optional allocationWeight As Nullable(Of Integer) = Nothing, Optional name As String = Nothing)

Parameters

connectionString
String

Connection string of the IoT hub.

location
String

ARM region of the IoT hub.

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.

Applies to