Compartilhar via


BackupPoliciesOperationsExtensions.ListByDeviceAsync Método

Definição

Obtém todas as políticas de backup em um dispositivo.

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

Parâmetros

operations
IBackupPoliciesOperations

O grupo de operações para esse método de extensão.

deviceName
String

O nome do dispositivo

resourceGroupName
String

O nome do grupo de recursos

managerName
String

O nome do gerente

cancellationToken
CancellationToken

O token de cancelamento.

Retornos

Aplica-se a