DeviceFailoverOperationsExtensions.TriggerAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.
Azure SDK for .NET