PoolUpdateProperties Class
- java.
lang. Object - com.
azure. resourcemanager. devopsinfrastructure. models. PoolUpdateProperties
- com.
Implements
public final class PoolUpdateProperties
implements JsonSerializable<PoolUpdateProperties>
The updatable properties of the Pool.
Constructor Summary
| Constructor | Description |
|---|---|
| PoolUpdateProperties() |
Creates an instance of Pool |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
Agent |
agentProfile()
Get the agent |
| String |
devCenterProjectResourceId()
Get the dev |
|
Fabric |
fabricProfile()
Get the fabric |
|
static
Pool |
fromJson(JsonReader jsonReader)
Reads an instance of Pool |
| Integer |
maximumConcurrency()
Get the maximum |
|
Organization |
organizationProfile()
Get the organization |
|
Provisioning |
provisioningState()
Get the provisioning |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Pool |
withAgentProfile(AgentProfile agentProfile)
Set the agent |
|
Pool |
withDevCenterProjectResourceId(String devCenterProjectResourceId)
Set the dev |
|
Pool |
withFabricProfile(FabricProfile fabricProfile)
Set the fabric |
|
Pool |
withMaximumConcurrency(Integer maximumConcurrency)
Set the maximum |
|
Pool |
withOrganizationProfile(OrganizationProfile organizationProfile)
Set the organization |
|
Pool |
withProvisioningState(ProvisioningState provisioningState)
Set the provisioning |
Methods inherited from java.lang.Object
Constructor Details
PoolUpdateProperties
public PoolUpdateProperties()
Creates an instance of PoolUpdateProperties class.
Method Details
agentProfile
public AgentProfile agentProfile()
Get the agentProfile property: Defines how the machine will be handled once it executed a job.
Returns:
devCenterProjectResourceId
public String devCenterProjectResourceId()
Get the devCenterProjectResourceId property: The resource id of the DevCenter Project the pool belongs to.
Returns:
fabricProfile
public FabricProfile fabricProfile()
Get the fabricProfile property: Defines the type of fabric the agent will run on.
Returns:
fromJson
public static PoolUpdateProperties fromJson(JsonReader jsonReader)
Reads an instance of PoolUpdateProperties from the JsonReader.
Parameters:
Returns:
Throws:
maximumConcurrency
public Integer maximumConcurrency()
Get the maximumConcurrency property: Defines how many resources can there be created at any given time.
Returns:
organizationProfile
public OrganizationProfile organizationProfile()
Get the organizationProfile property: Defines the organization in which the pool will be used.
Returns:
provisioningState
public ProvisioningState provisioningState()
Get the provisioningState property: The status of the current operation.
Returns:
toJson
validate
public void validate()
Validates the instance.
withAgentProfile
public PoolUpdateProperties withAgentProfile(AgentProfile agentProfile)
Set the agentProfile property: Defines how the machine will be handled once it executed a job.
Parameters:
Returns:
withDevCenterProjectResourceId
public PoolUpdateProperties withDevCenterProjectResourceId(String devCenterProjectResourceId)
Set the devCenterProjectResourceId property: The resource id of the DevCenter Project the pool belongs to.
Parameters:
Returns:
withFabricProfile
public PoolUpdateProperties withFabricProfile(FabricProfile fabricProfile)
Set the fabricProfile property: Defines the type of fabric the agent will run on.
Parameters:
Returns:
withMaximumConcurrency
public PoolUpdateProperties withMaximumConcurrency(Integer maximumConcurrency)
Set the maximumConcurrency property: Defines how many resources can there be created at any given time.
Parameters:
Returns:
withOrganizationProfile
public PoolUpdateProperties withOrganizationProfile(OrganizationProfile organizationProfile)
Set the organizationProfile property: Defines the organization in which the pool will be used.
Parameters:
Returns:
withProvisioningState
public PoolUpdateProperties withProvisioningState(ProvisioningState provisioningState)
Set the provisioningState property: The status of the current operation.
Parameters:
Returns: