Udostępnij za pośrednictwem


DeviceFailoverOperationsExtensions.Trigger Method

Definition

Trigger device failover.

public static Microsoft.WindowsAzure.Management.StorSimple.Models.JobResponse Trigger (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 Trigger : Microsoft.WindowsAzure.Management.StorSimple.IDeviceFailoverOperations * string * Microsoft.WindowsAzure.Management.StorSimple.Models.DeviceFailoverRequest * Microsoft.WindowsAzure.Management.StorSimple.Models.CustomRequestHeaders -> Microsoft.WindowsAzure.Management.StorSimple.Models.JobResponse
<Extension()>
Public Function Trigger (operations As IDeviceFailoverOperations, deviceId As String, drRequest As DeviceFailoverRequest, customRequestHeaders As CustomRequestHeaders) As 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