Partager via


BackupPoliciesOperationsExtensions.ListByDeviceAsync Méthode

Définition

Obtient toutes les stratégies de sauvegarde d’un appareil.

public static System.Threading.Tasks.Task<System.Collections.Generic.IEnumerable<Microsoft.Azure.Management.StorSimple8000Series.Models.BackupPolicy>> ListByDeviceAsync (this Microsoft.Azure.Management.StorSimple8000Series.IBackupPoliciesOperations operations, string deviceName, string resourceGroupName, string managerName, System.Threading.CancellationToken cancellationToken = default);
static member ListByDeviceAsync : Microsoft.Azure.Management.StorSimple8000Series.IBackupPoliciesOperations * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<seq<Microsoft.Azure.Management.StorSimple8000Series.Models.BackupPolicy>>
<Extension()>
Public Function ListByDeviceAsync (operations As IBackupPoliciesOperations, deviceName As String, resourceGroupName As String, managerName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IEnumerable(Of BackupPolicy))

Paramètres

operations
IBackupPoliciesOperations

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

deviceName
String

Le nom de l’appareil

resourceGroupName
String

Nom du groupe de ressources

managerName
String

Nom du gestionnaire

cancellationToken
CancellationToken

Jeton d'annulation.

Retours

S’applique à