Freigeben über


BastionHostsOperationsExtensions.ListAsync Methode

Definition

Listet alle Bastion-Hosts in einem Abonnement auf.

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

Parameter

operations
IBastionHostsOperations

Die Vorgangsgruppe für diese Erweiterungsmethode.

cancellationToken
CancellationToken

Das Abbruchtoken.

Gibt zurück

Gilt für: