Share via


SessionContainer Class

Definition

Container definitions for the sessions of the session pool.

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

Constructors

SessionContainer()

Initializes a new instance of SessionContainer.

Properties

Args

Container start command arguments.

Command

Container start command.

Env

Container environment variables.

Image

Container image tag.

Name

Custom container name.

Resources

Container resource requirements.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<SessionContainer>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<SessionContainer>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<SessionContainer>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<SessionContainer>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<SessionContainer>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to