ProjectsAgentsModelFactory.SessionConfiguration Method
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.
Session defaults applied to sessions created for a hosted agent version.
public static Azure.AI.Projects.Agents.SessionConfiguration SessionConfiguration(TimeSpan? idleTimeoutSeconds = default);
static member SessionConfiguration : Nullable<TimeSpan> -> Azure.AI.Projects.Agents.SessionConfiguration
Public Shared Function SessionConfiguration (Optional idleTimeoutSeconds As Nullable(Of TimeSpan) = Nothing) As SessionConfiguration
Parameters
The idle duration, in seconds, before a session's sandbox is suspended. Optional — when unset, the server default of 900 seconds is used. Must be between 120 and 3600 seconds (inclusive).
Returns
A new SessionConfiguration instance for mocking.