BackupSchedulesOperationsExtensions.ListByBackupPolicyAsync Method

Definition

Gets all the backup schedules in a backup policy.

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

Parameters

operations
IBackupSchedulesOperations

The operations group for this extension method.

deviceName
System.String

The device name

backupPolicyName
System.String

The backup policy name.

resourceGroupName
System.String

The resource group name

managerName
System.String

The manager name

cancellationToken
System.Threading.CancellationToken

The cancellation token.

Returns

System.Threading.Tasks.Task<System.Collections.Generic.IEnumerable<BackupSchedule>>

Applies to