DevicesOperationsExtensions.FailoverAsync 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.
Failovers a set of volume containers from a specified source device to a target device.
public static System.Threading.Tasks.Task FailoverAsync (this Microsoft.Azure.Management.StorSimple8000Series.IDevicesOperations operations, string sourceDeviceName, Microsoft.Azure.Management.StorSimple8000Series.Models.FailoverRequest parameters, string resourceGroupName, string managerName, System.Threading.CancellationToken cancellationToken = default);
static member FailoverAsync : Microsoft.Azure.Management.StorSimple8000Series.IDevicesOperations * string * Microsoft.Azure.Management.StorSimple8000Series.Models.FailoverRequest * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task
<Extension()>
Public Function FailoverAsync (operations As IDevicesOperations, sourceDeviceName As String, parameters As FailoverRequest, resourceGroupName As String, managerName As String, Optional cancellationToken As CancellationToken = Nothing) As Task
Parameters
- operations
- IDevicesOperations
The operations group for this extension method.
- sourceDeviceName
- String
The source device name on which failover is performed.
- parameters
- FailoverRequest
FailoverRequest containing the source device and the list of volume containers to be failed over.
- resourceGroupName
- String
The resource group name
- managerName
- String
The manager name
- cancellationToken
- CancellationToken
The cancellation token.
Returns
Applies to
Azure SDK for .NET