Share via


StopOnDisconnectConfiguration Class

Definition

Stop on disconnect configuration settings for Dev Boxes created in this pool.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.DevCenterdata.Models.Api20240501Preview.StopOnDisconnectConfigurationTypeConverter))]
public class StopOnDisconnectConfiguration : Microsoft.Azure.PowerShell.Cmdlets.DevCenterdata.Models.Api20240501Preview.IStopOnDisconnectConfiguration
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.DevCenterdata.Models.Api20240501Preview.StopOnDisconnectConfigurationTypeConverter))>]
type StopOnDisconnectConfiguration = class
    interface IStopOnDisconnectConfiguration
    interface IJsonSerializable
Public Class StopOnDisconnectConfiguration
Implements IStopOnDisconnectConfiguration
Inheritance
StopOnDisconnectConfiguration
Attributes
Implements

Constructors

StopOnDisconnectConfiguration()

Creates an new StopOnDisconnectConfiguration instance.

Properties

GracePeriodMinute

The specified time in minutes to wait before stopping a Dev Box once disconnect is detected.

Status

Indicates whether the feature to stop the devbox on disconnect once the grace period has lapsed is enabled.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of StopOnDisconnectConfiguration.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of StopOnDisconnectConfiguration.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.DevCenterdata.Models.Api20240501Preview.IStopOnDisconnectConfiguration.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of StopOnDisconnectConfiguration into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Applies to