Freigeben über


ServerlessGpuSessionsSettings Class

Definition

Represents settings for serverless GPU access.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.DevCenter.Models.Api20250401Preview.ServerlessGpuSessionsSettingsTypeConverter))]
public class ServerlessGpuSessionsSettings : Microsoft.Azure.PowerShell.Cmdlets.DevCenter.Models.Api20250401Preview.IServerlessGpuSessionsSettings
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.DevCenter.Models.Api20250401Preview.ServerlessGpuSessionsSettingsTypeConverter))>]
type ServerlessGpuSessionsSettings = class
    interface IServerlessGpuSessionsSettings
    interface IJsonSerializable
Public Class ServerlessGpuSessionsSettings
Implements IServerlessGpuSessionsSettings
Inheritance
ServerlessGpuSessionsSettings
Attributes
Implements

Constructors

Name Description
ServerlessGpuSessionsSettings()

Creates an new ServerlessGpuSessionsSettings instance.

Properties

Name Description
MaxConcurrentSessionsPerProject

When specified, limits the maximum number of concurrent sessions across all pools in the project.

ServerlessGpuSessionsMode

The property indicates whether serverless GPU access is enabled on the project.

Methods

Name Description
DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of ServerlessGpuSessionsSettings.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of ServerlessGpuSessionsSettings.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.DevCenter.Models.Api20250401Preview.IServerlessGpuSessionsSettings.

FromJsonString(String)

Creates a new instance of ServerlessGpuSessionsSettings, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of ServerlessGpuSessionsSettings into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Applies to