Freigeben über


ActiveHoursConfiguration Class

Definition

The active hours configuration for a Dev Box.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.DevCenterdata.Models.Api20250401Preview.ActiveHoursConfigurationTypeConverter))]
public class ActiveHoursConfiguration : Microsoft.Azure.PowerShell.Cmdlets.DevCenterdata.Models.Api20250401Preview.IActiveHoursConfiguration
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.DevCenterdata.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.

EndTimeHour

The end time of the active hours.

KeepAwakeEnableStatus

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

StartTimeHour

The start time of the active hours.

TimeZone

The timezone of the 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.DevCenterdata.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