Share via


DevOpsPoolAgentProfile Class

Definition

The agent profile of the machines in the pool. Please note DevOpsPoolAgentProfile is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. The available derived classes include DevOpsStateful and DevOpsStatelessAgentProfile.

[System.ClientModel.Primitives.PersistableModelProxy(typeof(Azure.ResourceManager.DevOpsInfrastructure.Models.UnknownDevOpsPoolAgentProfile))]
public abstract class DevOpsPoolAgentProfile : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.DevOpsInfrastructure.Models.DevOpsPoolAgentProfile>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.DevOpsInfrastructure.Models.DevOpsPoolAgentProfile>
[<System.ClientModel.Primitives.PersistableModelProxy(typeof(Azure.ResourceManager.DevOpsInfrastructure.Models.UnknownDevOpsPoolAgentProfile))>]
type DevOpsPoolAgentProfile = class
    interface IJsonModel<DevOpsPoolAgentProfile>
    interface IPersistableModel<DevOpsPoolAgentProfile>
Public MustInherit Class DevOpsPoolAgentProfile
Implements IJsonModel(Of DevOpsPoolAgentProfile), IPersistableModel(Of DevOpsPoolAgentProfile)
Inheritance
DevOpsPoolAgentProfile
Derived
Attributes
Implements

Constructors

DevOpsPoolAgentProfile()

Initializes a new instance of DevOpsPoolAgentProfile.

Properties

ResourcePredictions

Defines pool buffer/stand-by agents.

ResourcePredictionsProfile

Defines how the pool buffer/stand-by agents is provided. Please note ResourcePredictionsProfile is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. The available derived classes include AutomaticResourcePredictionsProfile and ManualResourcePredictionsProfile.

Explicit Interface Implementations

IJsonModel<DevOpsPoolAgentProfile>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<DevOpsPoolAgentProfile>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<DevOpsPoolAgentProfile>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<DevOpsPoolAgentProfile>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<DevOpsPoolAgentProfile>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to