/// <summary>
 /// Create or update service task
 /// </summary>
 /// <remarks>
 /// The service tasks resource is a nested, proxy-only resource representing
 /// work performed by a DMS instance. The PUT method creates a new service task
 /// or updates an existing one, although since service tasks have no mutable
 /// custom properties, there is little reason to update an existing one.
 /// </remarks>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='parameters'>
 /// Information about the task
 /// </param>
 /// <param name='groupName'>
 /// Name of the resource group
 /// </param>
 /// <param name='serviceName'>
 /// Name of the service
 /// </param>
 /// <param name='taskName'>
 /// Name of the Task
 /// </param>
 public static ProjectTask CreateOrUpdate(this IServiceTasksOperations operations, ProjectTask parameters, string groupName, string serviceName, string taskName)
 {
     return(operations.CreateOrUpdateAsync(parameters, groupName, serviceName, taskName).GetAwaiter().GetResult());
 }