/// <summary> /// Begin an investigation query. This call may not return all results /// immediately. /// If the "Token" value of the response is set, future calls to /// investigation/continue will /// be required to get further data. /// Something requires "investigation" at least on provider detects a failure /// that does not /// have an associated "reason" (PUT {job}/{analysisType}/reason). /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='groupBy'> /// A list of grouping expressions that will control /// the groups of the returned list. For more information, see 'jobs' method. /// {M:Helix.LifeTime.Web.Controllers.Api_2017_04_14.AggregateApi_2017_04_14_Controller.JobSummary(Helix.LifeTime.Web.Shared.JobFilter,System.String[],System.Int32)} /// </param> /// <param name='maxGroups'> /// Maximum number of groups to return /// </param> /// <param name='maxResults'> /// Maximum number of results across all groups to return /// </param> /// <param name='filtercreator'> /// The job creator. /// </param> /// <param name='filtersource'> /// The job source. /// </param> /// <param name='filtertype'> /// The job type. /// </param> /// <param name='filterbuild'> /// The build number. /// </param> /// <param name='filtername'> /// The Name/CorrelationId number. /// </param> /// <param name='cancellationToken'> /// The cancellation token. /// </param> public static async Task <InvestigationResult> InvestigationAsync(this IAggregate operations, IList <string> groupBy, int maxGroups, int maxResults, string filtercreator = default(string), string filtersource = default(string), string filtertype = default(string), string filterbuild = default(string), string filtername = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { using (var _result = await operations.InvestigationWithHttpMessagesAsync(groupBy, maxGroups, maxResults, filtercreator, filtersource, filtertype, filterbuild, filtername, null, cancellationToken).ConfigureAwait(false)) { return(_result.Body); } }