PoolProperties Class
- java.
lang. Object - com.
azure. resourcemanager. devopsinfrastructure. models. PoolProperties
- com.
public final class PoolProperties
Pool properties.
Constructor Summary
| Constructor | Description |
|---|---|
| PoolProperties() |
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 |
| int |
maximumConcurrency()
Get the maximum |
|
Organization |
organizationProfile()
Get the organization |
|
Provisioning |
provisioningState()
Get the provisioning |
| 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(int 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
PoolProperties
public PoolProperties()
Creates an instance of PoolProperties 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:
maximumConcurrency
public int 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:
validate
public void validate()
Validates the instance.
withAgentProfile
public PoolProperties withAgentProfile(AgentProfile agentProfile)
Set the agentProfile property: Defines how the machine will be handled once it executed a job.
Parameters:
Returns:
withDevCenterProjectResourceId
public PoolProperties withDevCenterProjectResourceId(String devCenterProjectResourceId)
Set the devCenterProjectResourceId property: The resource id of the DevCenter Project the pool belongs to.
Parameters:
Returns:
withFabricProfile
public PoolProperties withFabricProfile(FabricProfile fabricProfile)
Set the fabricProfile property: Defines the type of fabric the agent will run on.
Parameters:
Returns:
withMaximumConcurrency
public PoolProperties withMaximumConcurrency(int maximumConcurrency)
Set the maximumConcurrency property: Defines how many resources can there be created at any given time.
Parameters:
Returns:
withOrganizationProfile
public PoolProperties withOrganizationProfile(OrganizationProfile organizationProfile)
Set the organizationProfile property: Defines the organization in which the pool will be used.
Parameters:
Returns:
withProvisioningState
public PoolProperties withProvisioningState(ProvisioningState provisioningState)
Set the provisioningState property: The status of the current operation.
Parameters:
Returns: