Share via


IdleShutdownSetting Class

Definition

Stops compute instance after user defined period of inactivity.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.MachineLearningServices.Models.Api20240401.IdleShutdownSettingTypeConverter))]
public class IdleShutdownSetting : Microsoft.Azure.PowerShell.Cmdlets.MachineLearningServices.Models.Api20240401.IIdleShutdownSetting
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.MachineLearningServices.Models.Api20240401.IdleShutdownSettingTypeConverter))>]
type IdleShutdownSetting = class
    interface IIdleShutdownSetting
    interface IJsonSerializable
Public Class IdleShutdownSetting
Implements IIdleShutdownSetting
Inheritance
IdleShutdownSetting
Attributes
Implements

Constructors

IdleShutdownSetting()

Creates an new IdleShutdownSetting instance.

Properties

IdleTimeBeforeShutdown

Time is defined in ISO8601 format. Minimum is 15 min, maximum is 3 days.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of IdleShutdownSetting.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of IdleShutdownSetting.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.MachineLearningServices.Models.Api20240401.IIdleShutdownSetting.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of IdleShutdownSetting into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to