Dela via


ContainerAppCookieExpiration Class

Definition

The configuration settings of the session cookie's expiration.

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

Constructors

ContainerAppCookieExpiration()

Initializes a new instance of ContainerAppCookieExpiration.

Properties

Convention

The convention used when determining the session cookie's expiration.

TimeToExpiration

The time after the request is made when the session cookie should expire.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<ContainerAppCookieExpiration>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<ContainerAppCookieExpiration>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ContainerAppCookieExpiration>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ContainerAppCookieExpiration>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<ContainerAppCookieExpiration>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to