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.
[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.LabServices.Models.Api20211001Preview.AutoShutdownProfileTypeConverter))]
public class AutoShutdownProfile : Microsoft.Azure.PowerShell.Cmdlets.LabServices.Models.Api20211001Preview.IAutoShutdownProfile
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.LabServices.Models.Api20211001Preview.AutoShutdownProfileTypeConverter))>]
type AutoShutdownProfile = class
interface IAutoShutdownProfile
interface IJsonSerializable
Public Class AutoShutdownProfile
Implements IAutoShutdownProfile
- Inheritance
-
AutoShutdownProfile
- Attributes
- Implements
Constructors
AutoShutdownProfile() |
Creates an new AutoShutdownProfile instance. |
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
DeserializeFromDictionary(IDictionary) |
Deserializes a IDictionary into an instance of AutoShutdownProfile. |
DeserializeFromPSObject(PSObject) |
Deserializes a PSObject into an instance of AutoShutdownProfile. |
FromJson(JsonNode) |
Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.LabServices.Models.Api20211001Preview.IAutoShutdownProfile. |
FromJsonString(String) |
Creates a new instance of AutoShutdownProfile, deserializing the content from a json string. |
ToJson(JsonObject, SerializationMode) |
Serializes this instance of AutoShutdownProfile into a JsonNode. |
ToJsonString() |
Serializes this instance to a json string. |