/// <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 PATCH method updates an existing
 /// service task, but since service tasks have no mutable custom properties,
 /// there is little reason to do so.
 /// </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 Update(this IServiceTasksOperations operations, ProjectTask parameters, string groupName, string serviceName, string taskName)
 {
     return(operations.UpdateAsync(parameters, groupName, serviceName, taskName).GetAwaiter().GetResult());
 }