Partilhar via


IotHubResourceOperationsExtensions.ListBySubscriptionAsync Método

Definição

Obter todos os hubs IoT em uma assinatura

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))

Parâmetros

operations
IIotHubResourceOperations

O grupo de operações para esse método de extensão.

cancellationToken
CancellationToken

O token de cancelamento.

Retornos

Comentários

Obtenha todos os hubs IoT em uma assinatura.

Aplica-se a