Partager via


SnapshotsOperationsExtensions.ListByResourceGroupAsync Méthode

Définition

Répertorie les instantanés sous un groupe de ressources.

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

Paramètres

operations
ISnapshotsOperations

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 à