AutoShutdownProfile Class
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.
Profile for how to handle shutting down virtual machines.
public class AutoShutdownProfile
type AutoShutdownProfile = class
Public Class AutoShutdownProfile
- Inheritance
-
AutoShutdownProfile
Constructors
AutoShutdownProfile() |
Initializes a new instance of the AutoShutdownProfile class. |
AutoShutdownProfile(Nullable<EnableState>, Nullable<EnableState>, Nullable<ShutdownOnIdleMode>, Nullable<TimeSpan>, Nullable<TimeSpan>, Nullable<TimeSpan>) |
Initializes a new instance of the AutoShutdownProfile class. |
Properties
DisconnectDelay |
Gets or sets the amount of time a VM will stay running after a user disconnects if this behavior is enabled. |
IdleDelay |
Gets or sets the amount of time a VM will idle before it is shutdown if this behavior is enabled. |
NoConnectDelay |
Gets or sets the amount of time a VM will stay running before it is shutdown if no connection is made and this behavior is enabled. |
ShutdownOnDisconnect |
Gets or sets whether shutdown on disconnect is enabled. Possible values include: 'Enabled', 'Disabled' |
ShutdownOnIdle |
Gets or sets whether a VM will get shutdown when it has idled for a period of time. Possible values include: 'None', 'UserAbsence', 'LowUsage' |
ShutdownWhenNotConnected |
Gets or sets whether a VM will get shutdown when it hasn't been connected to after a period of time. Possible values include: 'Enabled', 'Disabled' |
Applies to
Azure SDK for .NET