File: IJobDefinitionWithTargetQueue.cs
Web Access
Project: src\src\Microsoft.DotNet.Helix\JobSender\Microsoft.DotNet.Helix.JobSender.csproj (Microsoft.DotNet.Helix.JobSender)
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
 
namespace Microsoft.DotNet.Helix.Client
{
    /// <summary>
    /// Job definition that lacks required information about
    /// queue that the job will run at.
    /// </summary>
    public interface IJobDefinitionWithTargetQueue
    {
        /// <summary>
        /// The Helix queue this job should run on.
        /// </summary>
        /// <param name="queueId">Queue name like "Windows.10.Arm64.Open" or "Debian.9.Amd64".</param>
        IJobDefinition WithTargetQueue(string queueId);
    }
}