/// <summary> /// Create a batch of empty Artifacts. /// </summary> /// <remarks> /// Create a batch of empty Artifacts in a specific Run. /// </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 of the Run. /// </param> /// <param name='artifactPaths'> /// The list of artifact paths. /// </param> /// <param name='cancellationToken'> /// The cancellation token. /// </param> public static async Task <BatchArtifactContentInformationResult> BatchCreateEmptyArtifactsAsync(this IRunArtifactsOperations operations, System.Guid subscriptionId, string resourceGroupName, string workspaceName, string experimentName, string runId, ArtifactPathList artifactPaths = default(ArtifactPathList), CancellationToken cancellationToken = default(CancellationToken)) { using (var _result = await operations.BatchCreateEmptyArtifactsWithHttpMessagesAsync(subscriptionId, resourceGroupName, workspaceName, experimentName, runId, artifactPaths, null, cancellationToken).ConfigureAwait(false)) { return(_result.Body); } }
/// <summary> /// Create a batch of empty Artifacts. /// </summary> /// <remarks> /// Create a batch of empty Artifacts in a specific Run. /// </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 of the Run. /// </param> /// <param name='artifactPaths'> /// The list of artifact paths. /// </param> public static BatchArtifactContentInformationResult BatchCreateEmptyArtifacts(this IRunArtifactsOperations operations, System.Guid subscriptionId, string resourceGroupName, string workspaceName, string experimentName, string runId, ArtifactPathList artifactPaths = default(ArtifactPathList)) { return(operations.BatchCreateEmptyArtifactsAsync(subscriptionId, resourceGroupName, workspaceName, experimentName, runId, artifactPaths).GetAwaiter().GetResult()); }