Compartilhar via


IBackupPolicyOperations.CreateAsync Método

Definição

public System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.StorSimple.Models.TaskStatusInfo> CreateAsync (string deviceId, Microsoft.WindowsAzure.Management.StorSimple.Models.NewBackupPolicyConfig backupPolicy, Microsoft.WindowsAzure.Management.StorSimple.Models.CustomRequestHeaders customRequestHeaders, System.Threading.CancellationToken cancellationToken);
abstract member CreateAsync : 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.TaskStatusInfo>
Public Function CreateAsync (deviceId As String, backupPolicy As NewBackupPolicyConfig, customRequestHeaders As CustomRequestHeaders, cancellationToken As CancellationToken) As Task(Of TaskStatusInfo)

Parâmetros

deviceId
String

A ID do dispositivo para a qual a chamada será feita.

backupPolicy
NewBackupPolicyConfig

Parâmetros fornecidos para a operação Criar Política de Backup.

customRequestHeaders
CustomRequestHeaders

Os Cabeçalhos de Solicitação Personalizada que o cliente deve usar.

cancellationToken
CancellationToken

Token de cancelamento.

Retornos

Informações sobre a tarefa assíncrona

Aplica-se a