Freigeben über


SharedAccessSignatureAuthorizationRule Konstruktoren

Definition

Überlädt

SharedAccessSignatureAuthorizationRule()

Initialisiert eine neue instance der SharedAccessSignatureAuthorizationRule-Klasse.

SharedAccessSignatureAuthorizationRule(String, AccessRights, String, String)

Initialisiert eine neue instance der SharedAccessSignatureAuthorizationRule-Klasse.

SharedAccessSignatureAuthorizationRule()

Initialisiert eine neue instance der SharedAccessSignatureAuthorizationRule-Klasse.

public SharedAccessSignatureAuthorizationRule ();
Public Sub New ()

Gilt für:

SharedAccessSignatureAuthorizationRule(String, AccessRights, String, String)

Initialisiert eine neue instance der SharedAccessSignatureAuthorizationRule-Klasse.

public SharedAccessSignatureAuthorizationRule (string keyName, Microsoft.Azure.Management.IotHub.Models.AccessRights rights, string primaryKey = default, string secondaryKey = default);
new Microsoft.Azure.Management.IotHub.Models.SharedAccessSignatureAuthorizationRule : string * Microsoft.Azure.Management.IotHub.Models.AccessRights * string * string -> Microsoft.Azure.Management.IotHub.Models.SharedAccessSignatureAuthorizationRule
Public Sub New (keyName As String, rights As AccessRights, Optional primaryKey As String = Nothing, Optional secondaryKey As String = Nothing)

Parameter

keyName
String

Der Name der SAS-Richtlinie.

rights
AccessRights

Die berechtigungen, die der SAS-Richtlinie zugewiesen sind. Mögliche Werte: "RegistryRead", "RegistryWrite", "ServiceConnect", 'DeviceConnect', 'RegistryRead, RegistryWrite', 'RegistryRead, ServiceConnect', 'RegistryRead, DeviceConnect', 'RegistryWrite, ServiceConnect', 'RegistryWrite, DeviceConnect', 'ServiceConnect', 'RegistryRead, RegistryWrite, ServiceConnect', 'RegistryRead, RegistryWrite, DeviceConnect', 'RegistryRead, ServiceConnect', 'RegistryRead, ServiceConnect', 'RegistryWrite, ServiceConnect' RegistryRead, RegistryWrite, ServiceConnect, DeviceConnect'

primaryKey
String

Der primäre Schlüssel.

secondaryKey
String

Der sekundäre Schlüssel.

Gilt für: