/// <summary> /// Post Metric to a Run. /// </summary> /// <remarks> /// Post a Metric to a specific Run Id. /// </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='runId'> /// The identifier for a run. /// </param> /// <param name='metricDto'> /// Details of the metric which will be added to the Run Id. /// </param> public static void Post(this IRunMetricsOperations operations, System.Guid subscriptionId, string resourceGroupName, string workspaceName, string experimentName, string runId, Metric metricDto = default(Metric)) { operations.PostAsync(subscriptionId, resourceGroupName, workspaceName, experimentName, runId, metricDto).GetAwaiter().GetResult(); }