/// <summary> /// Get all Run Metrics for the specific Experiment. /// </summary> /// <remarks> /// Get all Run Metrics for the specific Experiment with the specified query /// filters. /// </remarks> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='subscriptionId'> /// The Azure Subscription ID. /// </param> /// <param name='resourceGroupName'> /// The Name of the resource group in which the workspace is located. /// </param> /// <param name='workspaceName'> /// The name of the workspace. /// </param> /// <param name='experimentName'> /// The experiment name. /// </param> /// <param name='queryParams'> /// Query Parameters for data sorting and filtering. /// </param> /// <param name='mergeStrategyType'> /// The type of merge strategy. Currently supported strategies are: /// None - all logged values are returned as individual metrics. /// MergeToVector - merges multiple values into a vector of values. /// Default - the system determines the behavior. Possible values include: /// 'Default', 'None', 'MergeToVector' /// </param> /// <param name='mergeStrategyOptions'> /// Controls behavior of the merge strategy in certain cases; e.g. when a /// metric is not merged. Possible values include: 'None', /// 'ReportUnmergedMetricsValues' /// </param> /// <param name='mergeStrategySettingsVersion'> /// The strategy settings version. /// </param> /// <param name='mergeStrategySettingsSelectMetrics'> /// Defines how to select metrics when merging them together. Possible values /// include: 'SelectAll', 'SelectByFirstValueSchema', /// 'SelectByFirstValueSchemaMergeNumericValues' /// </param> /// <param name='cancellationToken'> /// The cancellation token. /// </param> public static async Task <IPage <RunMetric> > GetByQueryAsync(this IRunMetricsOperations operations, System.Guid subscriptionId, string resourceGroupName, string workspaceName, string experimentName, QueryParams queryParams = default(QueryParams), string mergeStrategyType = default(string), string mergeStrategyOptions = default(string), string mergeStrategySettingsVersion = default(string), string mergeStrategySettingsSelectMetrics = default(string), CancellationToken cancellationToken = default(CancellationToken)) { using (var _result = await operations.GetByQueryWithHttpMessagesAsync(subscriptionId, resourceGroupName, workspaceName, experimentName, queryParams, mergeStrategyType, mergeStrategyOptions, mergeStrategySettingsVersion, mergeStrategySettingsSelectMetrics, null, cancellationToken).ConfigureAwait(false)) { return(_result.Body); } }