/// <summary> /// Gets a list of Jobs within the specified Experiment. /// </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='jobsListByExperimentOptions'> /// Additional parameters for the operation /// </param> /// <param name='cancellationToken'> /// The cancellation token. /// </param> public static async Task <IPage <JobInner> > ListByExperimentAsync(this IJobsOperations operations, string resourceGroupName, string workspaceName, string experimentName, JobsListByExperimentOptions jobsListByExperimentOptions = default(JobsListByExperimentOptions), CancellationToken cancellationToken = default(CancellationToken)) { using (var _result = await operations.ListByExperimentWithHttpMessagesAsync(resourceGroupName, workspaceName, experimentName, jobsListByExperimentOptions, null, cancellationToken).ConfigureAwait(false)) { return(_result.Body); } }