Compartir a través de


BastionHostsOperationsExtensions.ListAsync Método

Definición

Enumera todos los hosts de Bastion en una suscripción.

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

Parámetros

operations
IBastionHostsOperations

Grupo de operaciones para este método de extensión.

cancellationToken
CancellationToken

Token de cancelación.

Devoluciones

Se aplica a