SessionPoolData Class

Definition

Container App session pool.

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

Constructors

Name Description
SessionPoolData(AzureLocation)

Initializes a new instance of SessionPoolData.

Properties

Name Description
ContainerType

The container type of the sessions. You can use your own container to build the session pool, or you can use a predefined container to run workload with specific language.

CustomContainerTemplate

The custom container configuration if the containerType is CustomContainer.

DynamicPoolLifecycleConfiguration

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

EnvironmentId

Resource ID of the session pool's environment.

Id

Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.

(Inherited from ResourceData)
Identity

The managed service identities assigned to this resource.

Location

The geo-location where the resource lives.

(Inherited from TrackedResourceData)
ManagedIdentitySettings

Optional settings for a Managed Identity that is assigned to the Session pool.

McpServerSettings

The MCP (Model Context Protocol) server settings of the session pool.

Name

The name of the resource.

(Inherited from ResourceData)
NodeCount

The number of nodes the session pool is using.

PoolManagementEndpoint

The endpoint to manage the pool.

PoolManagementType

The pool management type of the session pool.

ProvisioningState

Provisioning state of the session pool.

ResourceType

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".

(Inherited from ResourceData)
ScaleConfiguration

The scale configuration of the session pool.

Secrets

The secrets of the session pool.

SessionNetworkStatus

Network status for the sessions.

SystemData

Azure Resource Manager metadata containing createdBy and modifiedBy information.

(Inherited from ResourceData)
Tags

Resource tags.

(Inherited from TrackedResourceData)
TemplateUpdateStatus

The template status of the session pool, showing active template, or desired template during session pool update. This is only available if the containerType is CustomContainer.

Methods

Name Description
JsonModelCreateCore(Utf8JsonReader, ModelReaderWriterOptions)
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)
PersistableModelCreateCore(BinaryData, ModelReaderWriterOptions)
PersistableModelWriteCore(ModelReaderWriterOptions)

Explicit Interface Implementations

Name Description
IJsonModel<SessionPoolData>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<SessionPoolData>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<SessionPoolData>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<SessionPoolData>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<SessionPoolData>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to