예제 #1
0
 /// <summary>
 /// Add or Modify a batch of Runs.
 /// </summary>
 /// <remarks>
 /// Add or Modify a batch of Runs for a given 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='requestDto'>
 /// The list of requested Run Additions/modifications in an Experiment.
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async Task <BatchAddOrModifyRunResult> BatchAddOrModifyAsync(this IRunsOperations operations, System.Guid subscriptionId, string resourceGroupName, string workspaceName, string experimentName, BatchAddOrModifyRunRequest requestDto = default(BatchAddOrModifyRunRequest), CancellationToken cancellationToken = default(CancellationToken))
 {
     using (var _result = await operations.BatchAddOrModifyWithHttpMessagesAsync(subscriptionId, resourceGroupName, workspaceName, experimentName, requestDto, null, cancellationToken).ConfigureAwait(false))
     {
         return(_result.Body);
     }
 }
예제 #2
0
 /// <summary>
 /// Add or Modify a batch of Runs.
 /// </summary>
 /// <remarks>
 /// Add or Modify a batch of Runs for a given 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='requestDto'>
 /// The list of requested Run Additions/modifications in an Experiment.
 /// </param>
 public static BatchAddOrModifyRunResult BatchAddOrModify(this IRunsOperations operations, System.Guid subscriptionId, string resourceGroupName, string workspaceName, string experimentName, BatchAddOrModifyRunRequest requestDto = default(BatchAddOrModifyRunRequest))
 {
     return(operations.BatchAddOrModifyAsync(subscriptionId, resourceGroupName, workspaceName, experimentName, requestDto).GetAwaiter().GetResult());
 }