/// <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> public static void Restart(this INodeTypesOperations operations, string resourceGroupName, string clusterName, string nodeTypeName, NodeTypeActionParameters parameters) { operations.RestartAsync(resourceGroupName, clusterName, nodeTypeName, parameters).GetAwaiter().GetResult(); }