Share via


IBackupPolicyOperations.BeginUpdatingBackupPolicyAsync Method

Definition

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

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

Parameters

deviceId
String

The device id for which the call will be made.

policyId
String

The backup policy ID to update.

policyInfo
UpdateBackupPolicyConfig

Parameters supplied to the Update Backup Policy operation.

customRequestHeaders
CustomRequestHeaders

The Custom Request Headers which client must use.

cancellationToken
CancellationToken

Cancellation token.

Returns

This is the Task Response for all Async Calls

Applies to