Freigeben über


DevBoxAutoDeleteSettings Class

Definition

Settings controlling the auto deletion of inactive dev boxes.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.DevCenter.Models.Api20250401Preview.DevBoxAutoDeleteSettingsTypeConverter))]
public class DevBoxAutoDeleteSettings : Microsoft.Azure.PowerShell.Cmdlets.DevCenter.Models.Api20250401Preview.IDevBoxAutoDeleteSettings
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.DevCenter.Models.Api20250401Preview.DevBoxAutoDeleteSettingsTypeConverter))>]
type DevBoxAutoDeleteSettings = class
    interface IDevBoxAutoDeleteSettings
    interface IJsonSerializable
Public Class DevBoxAutoDeleteSettings
Implements IDevBoxAutoDeleteSettings
Inheritance
DevBoxAutoDeleteSettings
Attributes
Implements

Constructors

Name Description
DevBoxAutoDeleteSettings()

Creates an new DevBoxAutoDeleteSettings instance.

Properties

Name Description
DeleteMode

Indicates the delete mode for Dev Boxes within this project.

GracePeriod

ISO8601 duration required for the dev box to be marked for deletion prior to it being deleted. ISO8601 format PT[n]H[n]M[n]S.

InactiveThreshold

ISO8601 duration required for the dev box to not be inactive prior to it being scheduled for deletion. ISO8601 format PT[n]H[n]M[n]S.

Methods

Name Description
DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of DevBoxAutoDeleteSettings.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of DevBoxAutoDeleteSettings.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.DevCenter.Models.Api20250401Preview.IDevBoxAutoDeleteSettings.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of DevBoxAutoDeleteSettings into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Applies to