DevOpsStateful Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Stateful profile meaning that the machines will be returned to the pool after running a job.
public class DevOpsStateful : Azure.ResourceManager.DevOpsInfrastructure.Models.DevOpsPoolAgentProfile, System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.DevOpsInfrastructure.Models.DevOpsStateful>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.DevOpsInfrastructure.Models.DevOpsStateful>
type DevOpsStateful = class
inherit DevOpsPoolAgentProfile
interface IJsonModel<DevOpsStateful>
interface IPersistableModel<DevOpsStateful>
Public Class DevOpsStateful
Inherits DevOpsPoolAgentProfile
Implements IJsonModel(Of DevOpsStateful), IPersistableModel(Of DevOpsStateful)
- Inheritance
- Implements
Constructors
| Name | Description |
|---|---|
| DevOpsStateful() |
Initializes a new instance of DevOpsStateful. |
Properties
| Name | Description |
|---|---|
| GracePeriodTimeSpan |
How long should the machine be kept around after it ran a workload when there are no stand-by agents. The maximum is one week. |
| MaxAgentLifetime |
How long should stateful machines be kept around. The maximum is one week. |
| ResourcePredictions |
Defines pool buffer/stand-by agents. (Inherited from DevOpsPoolAgentProfile) |
| ResourcePredictionsProfile |
Defines how the pool buffer/stand-by agents is provided. (Inherited from DevOpsPoolAgentProfile) |