/// <summary>
 /// Restarts one or more nodes on the node type.
 /// </summary>
 /// <remarks>
 /// Restarts one or more nodes on the node type. It will disable the fabric
 /// nodes, trigger a restart on the VMs and activate the nodes back again.
 /// </remarks>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='resourceGroupName'>
 /// The name of the resource group.
 /// </param>
 /// <param name='clusterName'>
 /// The name of the cluster resource.
 /// </param>
 /// <param name='nodeTypeName'>
 /// The name of the node type.
 /// </param>
 /// <param name='parameters'>
 /// parameters for restart action.
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async Task RestartAsync(this INodeTypesOperations operations, string resourceGroupName, string clusterName, string nodeTypeName, NodeTypeActionParameters parameters, CancellationToken cancellationToken = default(CancellationToken))
 {
     (await operations.RestartWithHttpMessagesAsync(resourceGroupName, clusterName, nodeTypeName, parameters, null, cancellationToken).ConfigureAwait(false)).Dispose();
 }