예제 #1
0
 /// <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>
 public static void BeginFailover(this IDevicesOperations operations, string sourceDeviceName, FailoverRequest parameters, string resourceGroupName, string managerName)
 {
     operations.BeginFailoverAsync(sourceDeviceName, parameters, resourceGroupName, managerName).GetAwaiter().GetResult();
 }