Share via


IBackupPolicyOperations.BeginCreatingBackupPolicyAsync Method

Definition

The BeginCreatingBackupPolicy operation creates a new backup policy for this given volume with the given schedules.

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

Parameters

deviceId
String

The device id for which the call will be made.

backupPolicy
NewBackupPolicyConfig

Parameters supplied to the Create 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