Partager via


AutoShutdownProfile interface

Profile for how to handle shutting down virtual machines.

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.

Property Details

disconnectDelay

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

disconnectDelay?: string

Property Value

string

idleDelay

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

idleDelay?: string

Property Value

string

noConnectDelay

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

noConnectDelay?: string

Property Value

string

shutdownOnDisconnect

Whether shutdown on disconnect is enabled

shutdownOnDisconnect?: EnableState

Property Value

shutdownOnIdle

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

shutdownOnIdle?: ShutdownOnIdleMode

Property Value

shutdownWhenNotConnected

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

shutdownWhenNotConnected?: EnableState

Property Value