Freigeben über


ActiveHoursConfiguration Class

Definition

Active hours configuration.

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

Constructors

Name Description
ActiveHoursConfiguration()

Creates an new ActiveHoursConfiguration instance.

Properties

Name Description
AutoStartEnableStatus

Enables or disables whether the Dev Box should be automatically started at commencement of active hours.

DefaultEndTimeHour

The default end time of the active hours

DefaultStartTimeHour

The default start time of the active hours.

DefaultTimeZone

The default IANA timezone id of the active hours.

KeepAwakeEnableStatus

Enables or disables whether the Dev Box should be kept awake during active hours.

Methods

Name Description
DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of ActiveHoursConfiguration.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of ActiveHoursConfiguration.

FromJson(JsonNode)

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

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of ActiveHoursConfiguration into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Applies to