Freigeben über


IotHubDefinitionDescription Konstruktoren

Definition

Überlädt

IotHubDefinitionDescription()

Initialisiert eine neue instance der IotHubDefinitionDescription-Klasse.

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

Initialisiert eine neue instance der IotHubDefinitionDescription-Klasse.

IotHubDefinitionDescription()

Initialisiert eine neue instance der IotHubDefinitionDescription-Klasse.

public IotHubDefinitionDescription();
Public Sub New ()

Gilt für:

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

Initialisiert eine neue instance der IotHubDefinitionDescription-Klasse.

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)

Parameter

connectionString
String

Verbindungszeichenfolge des IoT-Hubs.

location
String

ARM-Region des IoT-Hubs.

applyAllocationPolicy
Nullable<Boolean>

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

allocationWeight
Nullable<Int32>

Gewichtung, die für einen bestimmten iot h-Wert angewendet werden soll.

name
String

Hostname des IoT-Hubs.

Gilt für: