Partager via


DevOpsStatelessAgentProfile Class

Definition

Stateless profile meaning that the machines will be cleaned up after running a job.

public class DevOpsStatelessAgentProfile : Azure.ResourceManager.DevOpsInfrastructure.Models.DevOpsPoolAgentProfile, System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.DevOpsInfrastructure.Models.DevOpsStatelessAgentProfile>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.DevOpsInfrastructure.Models.DevOpsStatelessAgentProfile>
type DevOpsStatelessAgentProfile = class
    inherit DevOpsPoolAgentProfile
    interface IJsonModel<DevOpsStatelessAgentProfile>
    interface IPersistableModel<DevOpsStatelessAgentProfile>
Public Class DevOpsStatelessAgentProfile
Inherits DevOpsPoolAgentProfile
Implements IJsonModel(Of DevOpsStatelessAgentProfile), IPersistableModel(Of DevOpsStatelessAgentProfile)
Inheritance
DevOpsStatelessAgentProfile
Implements

Constructors

DevOpsStatelessAgentProfile()

Initializes a new instance of DevOpsStatelessAgentProfile.

Properties

ResourcePredictions

Defines pool buffer/stand-by agents.

(Inherited from DevOpsPoolAgentProfile)
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.

(Inherited from DevOpsPoolAgentProfile)

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.

(Inherited from DevOpsPoolAgentProfile)
IJsonModel<DevOpsPoolAgentProfile>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

(Inherited from DevOpsPoolAgentProfile)
IJsonModel<DevOpsStatelessAgentProfile>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<DevOpsStatelessAgentProfile>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<DevOpsPoolAgentProfile>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

(Inherited from DevOpsPoolAgentProfile)
IPersistableModel<DevOpsPoolAgentProfile>.GetFormatFromOptions(ModelReaderWriterOptions)

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

(Inherited from DevOpsPoolAgentProfile)
IPersistableModel<DevOpsPoolAgentProfile>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

(Inherited from DevOpsPoolAgentProfile)
IPersistableModel<DevOpsStatelessAgentProfile>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<DevOpsStatelessAgentProfile>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<DevOpsStatelessAgentProfile>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to