/// <summary> /// Gets a Timeseries for a given Experiment /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='resourceGroupName'> /// Name of the Resource group within the Azure subscription. /// </param> /// <param name='profileName'> /// The Profile identifier associated with the Tenant and Partner /// </param> /// <param name='experimentName'> /// The Experiment identifier associated with the Experiment /// </param> /// <param name='startDateTimeUTC'> /// The start DateTime of the Timeseries in UTC /// </param> /// <param name='endDateTimeUTC'> /// The end DateTime of the Timeseries in UTC /// </param> /// <param name='aggregationInterval'> /// The aggregation interval of the Timeseries. Possible values include: /// 'Hourly', 'Daily' /// </param> /// <param name='timeseriesType'> /// The type of Timeseries. Possible values include: 'MeasurementCounts', /// 'LatencyP50', 'LatencyP75', 'LatencyP95' /// </param> /// <param name='endpoint'> /// The specific endpoint /// </param> /// <param name='country'> /// The country associated with the Timeseries. Values are country ISO codes as /// specified here- https://www.iso.org/iso-3166-country-codes.html /// </param> /// <param name='cancellationToken'> /// The cancellation token. /// </param> public static async Task <Timeseries> GetTimeseriesAsync(this IReportsOperations operations, string resourceGroupName, string profileName, string experimentName, System.DateTime startDateTimeUTC, System.DateTime endDateTimeUTC, string aggregationInterval, string timeseriesType, string endpoint = default(string), string country = default(string), CancellationToken cancellationToken = default(CancellationToken)) { using (var _result = await operations.GetTimeseriesWithHttpMessagesAsync(resourceGroupName, profileName, experimentName, startDateTimeUTC, endDateTimeUTC, aggregationInterval, timeseriesType, endpoint, country, null, cancellationToken).ConfigureAwait(false)) { return(_result.Body); } }