/// <summary>
 /// Repairs a node of the cluster.
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='resourceGroupName'>
 /// Name of the resource group.
 /// </param>
 /// <param name='location'>
 /// Location of the resource.
 /// </param>
 /// <param name='scaleUnitNode'>
 /// Name of the scale unit node.
 /// </param>
 /// <param name='bareMetalNode'>
 /// Description of a node.
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async Task BeginRepairAsync(this IScaleUnitNodesOperations operations, string resourceGroupName, string location, string scaleUnitNode, BareMetalNodeDescription bareMetalNode, CancellationToken cancellationToken = default(CancellationToken))
 {
     (await operations.BeginRepairWithHttpMessagesAsync(resourceGroupName, location, scaleUnitNode, bareMetalNode, null, cancellationToken).ConfigureAwait(false)).Dispose();
 }
 /// <summary>
 /// Repairs a node of the cluster.
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='resourceGroupName'>
 /// Name of the resource group.
 /// </param>
 /// <param name='location'>
 /// Location of the resource.
 /// </param>
 /// <param name='scaleUnitNode'>
 /// Name of the scale unit node.
 /// </param>
 /// <param name='bareMetalNode'>
 /// Description of a node.
 /// </param>
 public static void BeginRepair(this IScaleUnitNodesOperations operations, string resourceGroupName, string location, string scaleUnitNode, BareMetalNodeDescription bareMetalNode)
 {
     operations.BeginRepairAsync(resourceGroupName, location, scaleUnitNode, bareMetalNode).GetAwaiter().GetResult();
 }