Stateful 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.
[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Mdp.Models.StatefulTypeConverter))]
public class Stateful : Microsoft.Azure.PowerShell.Cmdlets.Mdp.Models.IStateful, Microsoft.Azure.PowerShell.Cmdlets.Mdp.Runtime.IValidates
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Mdp.Models.StatefulTypeConverter))>]
type Stateful = class
interface IStateful
interface IJsonSerializable
interface IAgentProfile
interface IValidates
Public Class Stateful
Implements IStateful, IValidates
- Inheritance
-
Stateful
- Attributes
- Implements
Constructors
Stateful() |
Creates an new Stateful instance. |
Properties
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. |
Kind |
Discriminator property for AgentProfile. |
MaxAgentLifetime |
How long should stateful machines be kept around. The maximum is one week. |
ResourcePrediction |
Defines pool buffer/stand-by agents. |
ResourcePredictionsProfile |
Defines how the pool buffer/stand-by agents is provided. |
Methods
DeserializeFromDictionary(IDictionary) |
Deserializes a IDictionary into an instance of Stateful. |
DeserializeFromPSObject(PSObject) | |
FromJson(JsonNode) |
Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Mdp.Models.IStateful. |
FromJsonString(String) |
Creates a new instance of Stateful, deserializing the content from a json string. |
ToJson(JsonObject, SerializationMode) | |
ToJsonString() |
Serializes this instance to a json string. |
ToString() | |
Validate(IEventListener) |
Validates that this object meets the validation criteria. |