Dela via


BackupPolicyOperationsExtensions.BeginCreatingBackupPolicyAsync Method

Definition

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

public static System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.StorSimple.Models.TaskResponse> BeginCreatingBackupPolicyAsync (this Microsoft.WindowsAzure.Management.StorSimple.IBackupPolicyOperations operations, string deviceId, Microsoft.WindowsAzure.Management.StorSimple.Models.NewBackupPolicyConfig backupPolicy, Microsoft.WindowsAzure.Management.StorSimple.Models.CustomRequestHeaders customRequestHeaders);
static member BeginCreatingBackupPolicyAsync : Microsoft.WindowsAzure.Management.StorSimple.IBackupPolicyOperations * string * Microsoft.WindowsAzure.Management.StorSimple.Models.NewBackupPolicyConfig * Microsoft.WindowsAzure.Management.StorSimple.Models.CustomRequestHeaders -> System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.StorSimple.Models.TaskResponse>
<Extension()>
Public Function BeginCreatingBackupPolicyAsync (operations As IBackupPolicyOperations, deviceId As String, backupPolicy As NewBackupPolicyConfig, 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.

backupPolicy
NewBackupPolicyConfig

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