/// <summary>
 /// Creates or updates a Service Fabric node type.
 /// </summary>
 /// <remarks>
 /// Create or update a Service Fabric node type of a given managed cluster.
 /// </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'>
 /// The node type resource.
 /// </param>
 public static NodeType CreateOrUpdate(this INodeTypesOperations operations, string resourceGroupName, string clusterName, string nodeTypeName, NodeType parameters)
 {
     return(operations.CreateOrUpdateAsync(resourceGroupName, clusterName, nodeTypeName, parameters).GetAwaiter().GetResult());
 }