Share via


SessionPoolLifecycleConfiguration Class

Definition

The lifecycle configuration properties of a session in the dynamic session pool.

public class SessionPoolLifecycleConfiguration : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.AppContainers.Models.SessionPoolLifecycleConfiguration>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.AppContainers.Models.SessionPoolLifecycleConfiguration>
type SessionPoolLifecycleConfiguration = class
    interface IJsonModel<SessionPoolLifecycleConfiguration>
    interface IPersistableModel<SessionPoolLifecycleConfiguration>
Public Class SessionPoolLifecycleConfiguration
Implements IJsonModel(Of SessionPoolLifecycleConfiguration), IPersistableModel(Of SessionPoolLifecycleConfiguration)
Inheritance
SessionPoolLifecycleConfiguration
Implements

Constructors

SessionPoolLifecycleConfiguration()

Initializes a new instance of SessionPoolLifecycleConfiguration.

Properties

CooldownPeriodInSeconds

The cooldown period of a session in seconds when the lifecycle type is 'Timed'.

LifecycleType

The lifecycle type of the session pool.

MaxAlivePeriodInSeconds

The maximum alive period of a session in seconds when the lifecycle type is 'OnContainerExit'.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<SessionPoolLifecycleConfiguration>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<SessionPoolLifecycleConfiguration>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<SessionPoolLifecycleConfiguration>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<SessionPoolLifecycleConfiguration>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<SessionPoolLifecycleConfiguration>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to