Test Distribution Agent Pool Configuration With Id
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.
minimum Size
maximum Size
order Index
The order in which the agent pool is considered for allocation. Lower values are considered first.
capabilities
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 = "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)