/// <summary>
 /// Get service level tasks for a service
 /// </summary>
 /// <remarks>
 /// The services resource is the top-level resource that represents the
 /// Database Migration Service. This method returns a list of service level
 /// tasks owned by a service resource. Some tasks may have a status of Unknown,
 /// which indicates that an error occurred while querying the status of that
 /// task.
 /// </remarks>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='groupName'>
 /// Name of the resource group
 /// </param>
 /// <param name='serviceName'>
 /// Name of the service
 /// </param>
 /// <param name='taskType'>
 /// Filter tasks by task type
 /// </param>
 public static IPage <ProjectTask> List(this IServiceTasksOperations operations, string groupName, string serviceName, string taskType = default(string))
 {
     return(operations.ListAsync(groupName, serviceName, taskType).GetAwaiter().GetResult());
 }