IDeviceFailoverOperations.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 System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.StorSimple.Models.JobResponse> TriggerAsync (string deviceId, Microsoft.WindowsAzure.Management.StorSimple.Models.DeviceFailoverRequest drRequest, Microsoft.WindowsAzure.Management.StorSimple.Models.CustomRequestHeaders customRequestHeaders, System.Threading.CancellationToken cancellationToken);
abstract member TriggerAsync : string * Microsoft.WindowsAzure.Management.StorSimple.Models.DeviceFailoverRequest * Microsoft.WindowsAzure.Management.StorSimple.Models.CustomRequestHeaders * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.StorSimple.Models.JobResponse>
Public Function TriggerAsync (deviceId As String, drRequest As DeviceFailoverRequest, customRequestHeaders As CustomRequestHeaders, cancellationToken As CancellationToken) As Task(Of JobResponse)
Parameters
- deviceId
- String
The device identifier
- drRequest
- DeviceFailoverRequest
The details of the device failover request.
- 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
Współpracuj z nami w serwisie GitHub
Źródło tej zawartości można znaleźć w witrynie GitHub, gdzie można również tworzyć i przeglądać problemy i żądania ściągnięcia. Więcej informacji znajdziesz w naszym przewodniku dla współtwórców.
Azure SDK for .NET