Partager via


IAutoShutdownProfile Interface

Definition

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.LabServices.Models.Api20211001Preview.AutoShutdownProfileTypeConverter))]
public interface IAutoShutdownProfile : Microsoft.Azure.PowerShell.Cmdlets.LabServices.Runtime.IJsonSerializable
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.LabServices.Models.Api20211001Preview.AutoShutdownProfileTypeConverter))>]
type IAutoShutdownProfile = interface
    interface IJsonSerializable
Public Interface IAutoShutdownProfile
Implements IJsonSerializable
Derived
Attributes
Implements

Properties

DisconnectDelay

The amount of time a VM will stay running after a user disconnects if this behavior is enabled.

IdleDelay

The amount of time a VM will idle before it is shutdown if this behavior is enabled.

NoConnectDelay

The amount of time a VM will stay running before it is shutdown if no connection is made and this behavior is enabled.

ShutdownOnDisconnect

Whether shutdown on disconnect is enabled

ShutdownOnIdle

Whether a VM will get shutdown when it has idled for a period of time.

ShutdownWhenNotConnected

Whether a VM will get shutdown when it hasn't been connected to after a period of time.

Methods

ToJson(JsonObject, SerializationMode) (Inherited from IJsonSerializable)

Applies to