Udostępnij za pośrednictwem


ICloneVolumeOperations.TriggerAsync Method

Definition

Clone a backup element.

public System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.StorSimple.Models.JobResponse> TriggerAsync (string sourceDeviceId, Microsoft.WindowsAzure.Management.StorSimple.Models.TriggerCloneRequest triggerCloneRequest, Microsoft.WindowsAzure.Management.StorSimple.Models.CustomRequestHeaders customRequestHeaders, System.Threading.CancellationToken cancellationToken);
abstract member TriggerAsync : string * Microsoft.WindowsAzure.Management.StorSimple.Models.TriggerCloneRequest * Microsoft.WindowsAzure.Management.StorSimple.Models.CustomRequestHeaders * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.StorSimple.Models.JobResponse>
Public Function TriggerAsync (sourceDeviceId As String, triggerCloneRequest As TriggerCloneRequest, customRequestHeaders As CustomRequestHeaders, cancellationToken As CancellationToken) As Task(Of JobResponse)

Parameters

sourceDeviceId
String

The identifier of the source device from which clone is to be triggered

triggerCloneRequest
TriggerCloneRequest

The parameters required for clone operation

customRequestHeaders
CustomRequestHeaders

The Custom Request Headers which client must use

cancellationToken
CancellationToken

Cancellation token.

Returns

This is the Job Response for all Device Job Related Calls

Applies to