Test Distribution Agent Pool Configuration
data class TestDistributionAgentPoolConfiguration(@Json(name = "name" ) val name: String, @Json(name = "minimumSize" ) val minimumSize: Int, @Json(name = "maximumSize" ) val maximumSize: Int, @Json(name = "capabilities" ) val capabilities: List<String>, @Json(name = "orderIndex" ) val orderIndex: Int? = null, @Json(name = "restrictAccessToProjectGroups" ) val restrictAccessToProjectGroups: Boolean? = false, @Json(name = "projectGroupIds" ) val projectGroupIds: List<String>? = null)
An agent pool configuration.
Parameters
name
The alias or display name of the agent pool.
minimum Size
maximum Size
capabilities
order Index
The order in which the agent pool is considered for allocation. Lower values are considered first.
restrict Access To Project Groups
Controls whether this pool can be used by everyone, or only the assigned project groups. A true
value implies that projectGroupIds
is present and has at least one entry. Conversely, a false
value implies that projectGroupIds
is empty.
project Group Ids
Controls which project groups can use this pool. If it is empty, then restrictAccessToProjectGroups
must be false
. Conversely, if it has values then restrictAccessToProjectGroups
must be true
.
Constructors
Link copied to clipboard
constructor(@Json(name = "name" ) name: String, @Json(name = "minimumSize" ) minimumSize: Int, @Json(name = "maximumSize" ) maximumSize: Int, @Json(name = "capabilities" ) capabilities: List<String>, @Json(name = "orderIndex" ) orderIndex: Int? = null, @Json(name = "restrictAccessToProjectGroups" ) restrictAccessToProjectGroups: Boolean? = false, @Json(name = "projectGroupIds" ) projectGroupIds: List<String>? = null)