Add ability to register a runner to the non-default self-hosted runner group (#613)

Co-authored-by: Christopher Johnson <thchrisjohnson@github.com>
This commit is contained in:
Christopher Johnson
2020-07-23 17:46:48 -04:00
committed by GitHub
parent 2e50dffb37
commit 48ac96307c
5 changed files with 51 additions and 12 deletions

View File

@@ -29,6 +29,7 @@ namespace GitHub.DistributedTask.WebApi
this.PoolType = referenceToBeCloned.PoolType;
this.Size = referenceToBeCloned.Size;
this.IsLegacy = referenceToBeCloned.IsLegacy;
this.IsInternal = referenceToBeCloned.IsInternal;
}
public TaskAgentPoolReference Clone()
@@ -67,6 +68,16 @@ namespace GitHub.DistributedTask.WebApi
set;
}
/// <summary>
/// Gets or sets a value indicating whether or not this pool is internal and can't be modified by users
/// </summary>
[DataMember]
public bool IsInternal
{
get;
set;
}
/// <summary>
/// Gets or sets the type of the pool
/// </summary>