Esempio n. 1
0
 /// <summary>
 /// Cancel a run.
 /// </summary>
 /// <remarks>
 /// Cancels a run within an experiment.
 /// </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 id of the run to cancel.
 /// </param>
 public static StartRunResult CancelRunWithUri(this IRunsOperations operations, System.Guid subscriptionId, string resourceGroupName, string workspaceName, string experimentName, string runId)
 {
     return(operations.CancelRunWithUriAsync(subscriptionId, resourceGroupName, workspaceName, experimentName, runId).GetAwaiter().GetResult());
 }