Share via


BackupPolicyOperationsExtensions.BeginUpdatingBackupPolicyAsync Method

Definition

The BeginUpdatingBackupPolicy operation updates a backup policy represented by policyId for this given volume with the given schedules.

public static System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.StorSimple.Models.TaskResponse> BeginUpdatingBackupPolicyAsync (this Microsoft.WindowsAzure.Management.StorSimple.IBackupPolicyOperations operations, string deviceId, string policyId, Microsoft.WindowsAzure.Management.StorSimple.Models.UpdateBackupPolicyConfig policyInfo, Microsoft.WindowsAzure.Management.StorSimple.Models.CustomRequestHeaders customRequestHeaders);
static member BeginUpdatingBackupPolicyAsync : Microsoft.WindowsAzure.Management.StorSimple.IBackupPolicyOperations * string * string * Microsoft.WindowsAzure.Management.StorSimple.Models.UpdateBackupPolicyConfig * Microsoft.WindowsAzure.Management.StorSimple.Models.CustomRequestHeaders -> System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.StorSimple.Models.TaskResponse>
<Extension()>
Public Function BeginUpdatingBackupPolicyAsync (operations As IBackupPolicyOperations, deviceId As String, policyId As String, policyInfo As UpdateBackupPolicyConfig, customRequestHeaders As CustomRequestHeaders) As Task(Of TaskResponse)

Parameters

operations
IBackupPolicyOperations

Reference to the Microsoft.WindowsAzure.Management.StorSimple.IBackupPolicyOperations.

deviceId
String

Required. The device id for which the call will be made.

policyId
String

Required. The backup policy ID to update.

policyInfo
UpdateBackupPolicyConfig

Required. Parameters supplied to the Update Backup Policy operation.

customRequestHeaders
CustomRequestHeaders

Required. The Custom Request Headers which client must use.

Returns

This is the Task Response for all Async Calls

Applies to