/// <summary>
 /// Failovers a set of volume containers from a specified source device to a
 /// target device.
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='sourceDeviceName'>
 /// The source device name on which failover is performed.
 /// </param>
 /// <param name='parameters'>
 /// FailoverRequest containing the source device and the list of volume
 /// containers to be failed over.
 /// </param>
 /// <param name='resourceGroupName'>
 /// The resource group name
 /// </param>
 /// <param name='managerName'>
 /// The manager name
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async Task BeginFailoverAsync(this IDevicesOperations operations, string sourceDeviceName, FailoverRequestInner parameters, string resourceGroupName, string managerName, CancellationToken cancellationToken = default(CancellationToken))
 {
     (await operations.BeginFailoverWithHttpMessagesAsync(sourceDeviceName, parameters, resourceGroupName, managerName, null, cancellationToken).ConfigureAwait(false)).Dispose();
 }