/// <summary> /// List all directories and files inside the given directory of the Job's /// output directory (if the output directory is on Azure File Share or Azure /// Storage Container). /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='resourceGroupName'> /// Name of the resource group to which the resource belongs. /// </param> /// <param name='workspaceName'> /// The name of the workspace. Workspace names can only contain a combination /// of alphanumeric characters along with dash (-) and underscore (_). The name /// must be from 1 through 64 characters long. /// </param> /// <param name='experimentName'> /// The name of the experiment. Experiment names can only contain a combination /// of alphanumeric characters along with dash (-) and underscore (_). The name /// must be from 1 through 64 characters long. /// </param> /// <param name='jobName'> /// The name of the job within the specified resource group. Job names can only /// contain a combination of alphanumeric characters along with dash (-) and /// underscore (_). The name must be from 1 through 64 characters long. /// </param> /// <param name='jobsListOutputFilesOptions'> /// Additional parameters for the operation /// </param> /// <param name='cancellationToken'> /// The cancellation token. /// </param> public static async Task <IPage <File> > ListOutputFilesAsync(this IJobsOperations operations, string resourceGroupName, string workspaceName, string experimentName, string jobName, JobsListOutputFilesOptions jobsListOutputFilesOptions, CancellationToken cancellationToken = default(CancellationToken)) { using (var _result = await operations.ListOutputFilesWithHttpMessagesAsync(resourceGroupName, workspaceName, experimentName, jobName, jobsListOutputFilesOptions, null, cancellationToken).ConfigureAwait(false)) { return(_result.Body); } }
/// <summary> /// List all directories and files inside the given directory of the Job's /// output directory (if the output directory is on Azure File Share or Azure /// Storage Container). /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='resourceGroupName'> /// Name of the resource group to which the resource belongs. /// </param> /// <param name='workspaceName'> /// The name of the workspace. Workspace names can only contain a combination /// of alphanumeric characters along with dash (-) and underscore (_). The name /// must be from 1 through 64 characters long. /// </param> /// <param name='experimentName'> /// The name of the experiment. Experiment names can only contain a combination /// of alphanumeric characters along with dash (-) and underscore (_). The name /// must be from 1 through 64 characters long. /// </param> /// <param name='jobName'> /// The name of the job within the specified resource group. Job names can only /// contain a combination of alphanumeric characters along with dash (-) and /// underscore (_). The name must be from 1 through 64 characters long. /// </param> /// <param name='jobsListOutputFilesOptions'> /// Additional parameters for the operation /// </param> public static IPage <File> ListOutputFiles(this IJobsOperations operations, string resourceGroupName, string workspaceName, string experimentName, string jobName, JobsListOutputFilesOptions jobsListOutputFilesOptions) { return(operations.ListOutputFilesAsync(resourceGroupName, workspaceName, experimentName, jobName, jobsListOutputFilesOptions).GetAwaiter().GetResult()); }