Share via


AgentProfile Class

  • java.lang.Object
    • com.azure.resourcemanager.devopsinfrastructure.models.AgentProfile

public class AgentProfile

The agent profile of the machines in the pool.

Constructor Summary

Constructor Description
AgentProfile()

Creates an instance of AgentProfile class.

Method Summary

Modifier and Type Method and Description
String kind()

Get the kind property: The kind property.

Object resourcePredictions()

Get the resourcePredictions property: Defines pool buffer/stand-by agents.

ResourcePredictionsProfile resourcePredictionsProfile()

Get the resourcePredictionsProfile property: Defines how the pool buffer/stand-by agents is provided.

void validate()

Validates the instance.

AgentProfile withResourcePredictions(Object resourcePredictions)

Set the resourcePredictions property: Defines pool buffer/stand-by agents.

AgentProfile withResourcePredictionsProfile(ResourcePredictionsProfile resourcePredictionsProfile)

Set the resourcePredictionsProfile property: Defines how the pool buffer/stand-by agents is provided.

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:

the kind value.

resourcePredictions

public Object resourcePredictions()

Get the resourcePredictions property: Defines pool buffer/stand-by agents.

Returns:

the resourcePredictions value.

resourcePredictionsProfile

public ResourcePredictionsProfile resourcePredictionsProfile()

Get the resourcePredictionsProfile property: Defines how the pool buffer/stand-by agents is provided.

Returns:

the resourcePredictionsProfile value.

validate

public void validate()

Validates the instance.

withResourcePredictions

public AgentProfile withResourcePredictions(Object resourcePredictions)

Set the resourcePredictions property: Defines pool buffer/stand-by agents.

Parameters:

resourcePredictions - the resourcePredictions value to set.

Returns:

the AgentProfile object itself.

withResourcePredictionsProfile

public AgentProfile withResourcePredictionsProfile(ResourcePredictionsProfile resourcePredictionsProfile)

Set the resourcePredictionsProfile property: Defines how the pool buffer/stand-by agents is provided.

Parameters:

resourcePredictionsProfile - the resourcePredictionsProfile value to set.

Returns:

the AgentProfile object itself.

Applies to