Udostępnij za pośrednictwem


BackupPolicyOperationsExtensions.CreateAsync Method

Definition

public static System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.StorSimple.Models.TaskStatusInfo> CreateAsync (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 CreateAsync : 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.TaskStatusInfo>
<Extension()>
Public Function CreateAsync (operations As IBackupPolicyOperations, deviceId As String, backupPolicy As NewBackupPolicyConfig, customRequestHeaders As CustomRequestHeaders) As Task(Of TaskStatusInfo)

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

Info about the async task

Applies to