AgentProfile Class
- java.
lang. Object - com.
azure. resourcemanager. devopsinfrastructure. models. AgentProfile
- com.
public class AgentProfile
The agent profile of the machines in the pool.
Constructor Summary
| Constructor | Description |
|---|---|
| AgentProfile() |
Creates an instance of Agent |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| String |
kind()
Get the kind property: The kind property. |
| Object |
resourcePredictions()
Get the resource |
|
Resource |
resourcePredictionsProfile()
Get the resource |
| void |
validate()
Validates the instance. |
|
Agent |
withResourcePredictions(Object resourcePredictions)
Set the resource |
|
Agent |
withResourcePredictionsProfile(ResourcePredictionsProfile resourcePredictionsProfile)
Set the resource |
Methods inherited from java.lang.Object
Constructor Details
AgentProfile
public AgentProfile()
Creates an instance of AgentProfile class.
Method Details
kind
public String kind()
Get the kind property: The kind property.
Returns:
resourcePredictions
public Object resourcePredictions()
Get the resourcePredictions property: Defines pool buffer/stand-by agents.
Returns:
resourcePredictionsProfile
public ResourcePredictionsProfile resourcePredictionsProfile()
Get the resourcePredictionsProfile property: Defines how the pool buffer/stand-by agents is provided.
Returns:
validate
public void validate()
Validates the instance.
withResourcePredictions
public AgentProfile withResourcePredictions(Object resourcePredictions)
Set the resourcePredictions property: Defines pool buffer/stand-by agents.
Parameters:
Returns:
withResourcePredictionsProfile
public AgentProfile withResourcePredictionsProfile(ResourcePredictionsProfile resourcePredictionsProfile)
Set the resourcePredictionsProfile property: Defines how the pool buffer/stand-by agents is provided.
Parameters:
Returns: