Partager via


BastionHostsOperationsExtensions.ListByResourceGroupAsync Méthode

Définition

Répertorie tous les hôtes Bastion d’un groupe de ressources.

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

Paramètres

operations
IBastionHostsOperations

Groupe d’opérations pour cette méthode d’extension.

resourceGroupName
String

Nom du groupe de ressources.

cancellationToken
CancellationToken

Jeton d'annulation.

Retours

S’applique à