Share via


IotHubResourceOperationsExtensions.ListBySubscriptionAsync Methode

Definition

Abrufen aller IoT Hubs in einem Abonnement

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

Parameter

operations
IIotHubResourceOperations

Die Vorgangsgruppe für diese Erweiterungsmethode.

cancellationToken
CancellationToken

Das Abbruchtoken.

Gibt zurück

Hinweise

Rufen Sie alle IoT Hubs in einem Abonnement ab.

Gilt für: