TestDistributionAgentPoolConfigurationWithId
data class TestDistributionAgentPoolConfigurationWithId( @Json(name = "id") val id: String, @Json(name = "name") val name: String, @Json(name = "minimumSize") val minimumSize: Int, @Json(name = "maximumSize") val maximumSize: Int, @Json(name = "orderIndex") val orderIndex: Int, @Json(name = "capabilities") val capabilities: List<String>, @Json(name = "restrictAccessToProjectGroups") val restrictAccessToProjectGroups: Boolean? = false, @Json(name = "projectGroupIds") val projectGroupIds: List<String>? = null)
An agent pool configuration.
Parameters
id
The unique identifier of the agent pool.
name
The alias or display name of the agent pool.
minimumSize
maximumSize
orderIndex
The order in which the agent pool is considered for allocation. Lower values are considered first.
capabilities
restrictAccessToProjectGroups
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.
projectGroupIds
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 = "id") id: String, @Json(name = "name") name: String, @Json(name = "minimumSize") minimumSize: Int, @Json(name = "maximumSize") maximumSize: Int, @Json(name = "orderIndex") orderIndex: Int, @Json(name = "capabilities") capabilities: List<String>, @Json(name = "restrictAccessToProjectGroups") restrictAccessToProjectGroups: Boolean? = false, @Json(name = "projectGroupIds") projectGroupIds: List<String>? = null)