/// <summary> /// Gets a Latency Scorecard 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='aggregationInterval'> /// The aggregation interval of the Latency Scorecard. Possible values include: /// 'Daily', 'Weekly', 'Monthly' /// </param> /// <param name='endDateTimeUTC'> /// The end DateTime of the Latency Scorecard in UTC /// </param> /// <param name='country'> /// The country associated with the Latency Scorecard. 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 <LatencyScorecard> GetLatencyScorecardsAsync(this IReportsOperations operations, string resourceGroupName, string profileName, string experimentName, string aggregationInterval, string endDateTimeUTC = default(string), string country = default(string), CancellationToken cancellationToken = default(CancellationToken)) { using (var _result = await operations.GetLatencyScorecardsWithHttpMessagesAsync(resourceGroupName, profileName, experimentName, aggregationInterval, endDateTimeUTC, country, null, cancellationToken).ConfigureAwait(false)) { return(_result.Body); } }