Dela via


DeviceFailoverOperationsExtensions.TriggerAsync Method

Definition

Trigger device failover.

public static System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.StorSimple.Models.JobResponse> TriggerAsync (this Microsoft.WindowsAzure.Management.StorSimple.IDeviceFailoverOperations operations, string deviceId, Microsoft.WindowsAzure.Management.StorSimple.Models.DeviceFailoverRequest drRequest, Microsoft.WindowsAzure.Management.StorSimple.Models.CustomRequestHeaders customRequestHeaders);
static member TriggerAsync : Microsoft.WindowsAzure.Management.StorSimple.IDeviceFailoverOperations * string * Microsoft.WindowsAzure.Management.StorSimple.Models.DeviceFailoverRequest * Microsoft.WindowsAzure.Management.StorSimple.Models.CustomRequestHeaders -> System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.StorSimple.Models.JobResponse>
<Extension()>
Public Function TriggerAsync (operations As IDeviceFailoverOperations, deviceId As String, drRequest As DeviceFailoverRequest, customRequestHeaders As CustomRequestHeaders) As Task(Of JobResponse)

Parameters

operations
IDeviceFailoverOperations

Reference to the Microsoft.WindowsAzure.Management.StorSimple.IDeviceFailoverOperations.

deviceId
String

Required. The device identifier

drRequest
DeviceFailoverRequest

Required. The details of the device failover request.

customRequestHeaders
CustomRequestHeaders

Required. The Custom Request Headers which client must use.

Returns

This is the Job Response for all Device Job Related Calls

Applies to