Share via


IotHubResourceOperationsExtensions.ListKeysAsync Methode

Definition

Rufen Sie die Sicherheitsmetadaten für einen IoT Hub ab. Weitere Informationen finden Sie unter: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-security

public static System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.IotHub.Models.SharedAccessSignatureAuthorizationRule>> ListKeysAsync (this Microsoft.Azure.Management.IotHub.IIotHubResourceOperations operations, string resourceGroupName, string resourceName, System.Threading.CancellationToken cancellationToken = default);
static member ListKeysAsync : Microsoft.Azure.Management.IotHub.IIotHubResourceOperations * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.IotHub.Models.SharedAccessSignatureAuthorizationRule>>
<Extension()>
Public Function ListKeysAsync (operations As IIotHubResourceOperations, resourceGroupName As String, resourceName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IPage(Of 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.

cancellationToken
CancellationToken

Das Abbruchtoken.

Gibt zurück

Hinweise

Rufen Sie die Sicherheitsmetadaten für einen IoT Hub ab. Weitere Informationen finden Sie unter: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-security.

Gilt für: