Share via


IotHubResourceOperationsExtensions.ListByResourceGroupAsync Methode

Definition

Abrufen aller IoT Hubs in einer Ressourcengruppe

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

Parameter

operations
IIotHubResourceOperations

Die Vorgangsgruppe für diese Erweiterungsmethode.

resourceGroupName
String

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

cancellationToken
CancellationToken

Das Abbruchtoken.

Gibt zurück

Hinweise

Rufen Sie alle IoT Hubs in einer Ressourcengruppe ab.

Gilt für: