共用方式為


IBackupOperations.BeginCreatingBackupAsync Method

Definition

Begin a backup operation for the policyId and backupRequest specified.

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

Parameters

deviceId
String

The device id for which the call will be made.

policyId
String

The policy id for which the call will be made.

backupRequest
BackupNowRequest

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