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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET