Share via


IotHubResourceOperationsExtensions.GetKeysForKeyName Methode

Definition

Rufen Sie eine SAS-Richtlinie anhand des Namens von einem IoT Hub ab. Weitere Informationen finden Sie unter: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-security

public static Microsoft.Azure.Management.IotHub.Models.SharedAccessSignatureAuthorizationRule GetKeysForKeyName (this Microsoft.Azure.Management.IotHub.IIotHubResourceOperations operations, string resourceGroupName, string resourceName, string keyName);
static member GetKeysForKeyName : Microsoft.Azure.Management.IotHub.IIotHubResourceOperations * string * string * string -> Microsoft.Azure.Management.IotHub.Models.SharedAccessSignatureAuthorizationRule
<Extension()>
Public Function GetKeysForKeyName (operations As IIotHubResourceOperations, resourceGroupName As String, resourceName As String, keyName As String) As SharedAccessSignatureAuthorizationRule

Parameter

operations
IIotHubResourceOperations

Die Vorgangsgruppe für diese Erweiterungsmethode.

resourceGroupName
String

Der Name der Ressourcengruppe, die den IoT Hub enthält.

resourceName
String

Der Name des IoT-Hubs.

keyName
String

Der Name der SAS-Richtlinie.

Gibt zurück

Hinweise

Rufen Sie eine SAS-Richtlinie anhand des Namens von einem IoT Hub ab. Weitere Informationen finden Sie unter: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-security.

Gilt für: