ArmDevOpsInfrastructureModelFactory.DevOpsStateful Method
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 static Azure.ResourceManager.DevOpsInfrastructure.Models.DevOpsStateful DevOpsStateful(Azure.ResourceManager.DevOpsInfrastructure.Models.ResourcePredictions resourcePredictions = default, Azure.ResourceManager.DevOpsInfrastructure.Models.ResourcePredictionsProfile resourcePredictionsProfile = default, string maxAgentLifetime = default, string gracePeriodTimeSpan = default);
static member DevOpsStateful : Azure.ResourceManager.DevOpsInfrastructure.Models.ResourcePredictions * Azure.ResourceManager.DevOpsInfrastructure.Models.ResourcePredictionsProfile * string * string -> Azure.ResourceManager.DevOpsInfrastructure.Models.DevOpsStateful
Public Shared Function DevOpsStateful (Optional resourcePredictions As ResourcePredictions = Nothing, Optional resourcePredictionsProfile As ResourcePredictionsProfile = Nothing, Optional maxAgentLifetime As String = Nothing, Optional gracePeriodTimeSpan As String = Nothing) As DevOpsStateful
Parameters
- resourcePredictions
- ResourcePredictions
Defines pool buffer/stand-by agents.
- resourcePredictionsProfile
- ResourcePredictionsProfile
Defines how the pool buffer/stand-by agents is provided.
- maxAgentLifetime
- String
How long should stateful machines be kept around. The maximum is one week.
- gracePeriodTimeSpan
- String
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.
Returns
A new DevOpsStateful instance for mocking.