Freigeben über


BastionHostsOperationsExtensions.ListByResourceGroupAsync Methode

Definition

Listet alle Bastion-Hosts in einer Ressourcengruppe auf.

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

Parameter

operations
IBastionHostsOperations

Die Vorgangsgruppe für diese Erweiterungsmethode.

resourceGroupName
String

Der Name der Ressourcengruppe.

cancellationToken
CancellationToken

Das Abbruchtoken.

Gibt zurück

Gilt für: