Partager via


BackupPolicyOperationsExtensions.CreateAsync Méthode

Définition

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)

Paramètres

operations
IBackupPolicyOperations

Référence à Microsoft.WindowsAzure.Management.StorSimple.IBackupPolicyOperations.

deviceId
String

Obligatoire. ID d’appareil pour lequel l’appel sera effectué.

backupPolicy
NewBackupPolicyConfig

Obligatoire. Paramètres fournis à l’opération Créer une stratégie de sauvegarde.

customRequestHeaders
CustomRequestHeaders

Obligatoire. En-têtes de requête personnalisés que le client doit utiliser.

Retours

Informations sur la tâche asynchrone

S’applique à