Share via


ScalingPlanPersonalSchedule Class

Definition

Represents a ScalingPlanPersonalSchedule definition.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20230905.ScalingPlanPersonalScheduleTypeConverter))]
public class ScalingPlanPersonalSchedule : Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20230905.IScalingPlanPersonalSchedule, Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Runtime.IValidates
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20230905.ScalingPlanPersonalScheduleTypeConverter))>]
type ScalingPlanPersonalSchedule = class
    interface IScalingPlanPersonalSchedule
    interface IJsonSerializable
    interface IResource
    interface IValidates
Public Class ScalingPlanPersonalSchedule
Implements IScalingPlanPersonalSchedule, IValidates
Inheritance
ScalingPlanPersonalSchedule
Attributes
Implements

Constructors

ScalingPlanPersonalSchedule()

Creates an new ScalingPlanPersonalSchedule instance.

Properties

DaysOfWeek

Set of days of the week on which this schedule is active.

Id

Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}

Name

The name of the resource

OffPeakActionOnDisconnect

Action to be taken after a user disconnect during the off-peak period.

OffPeakActionOnLogoff

Action to be taken after a logoff during the off-peak period.

OffPeakMinutesToWaitOnDisconnect

The time in minutes to wait before performing the desired session handling action when a user disconnects during the off-peak period.

OffPeakMinutesToWaitOnLogoff

The time in minutes to wait before performing the desired session handling action when a user logs off during the off-peak period.

OffPeakStartTimeHour

The hour.

OffPeakStartTimeMinute

The minute.

OffPeakStartVMOnConnect

The desired configuration of Start VM On Connect for the hostpool during the off-peak phase.

PeakActionOnDisconnect

Action to be taken after a user disconnect during the peak period.

PeakActionOnLogoff

Action to be taken after a logoff during the peak period.

PeakMinutesToWaitOnDisconnect

The time in minutes to wait before performing the desired session handling action when a user disconnects during the peak period.

PeakMinutesToWaitOnLogoff

The time in minutes to wait before performing the desired session handling action when a user logs off during the peak period.

PeakStartTimeHour

The hour.

PeakStartTimeMinute

The minute.

PeakStartVMOnConnect

The desired configuration of Start VM On Connect for the hostpool during the peak phase.

RampDownActionOnDisconnect

Action to be taken after a user disconnect during the ramp down period.

RampDownActionOnLogoff

Action to be taken after a logoff during the ramp down period.

RampDownMinutesToWaitOnDisconnect

The time in minutes to wait before performing the desired session handling action when a user disconnects during the ramp down period.

RampDownMinutesToWaitOnLogoff

The time in minutes to wait before performing the desired session handling action when a user logs off during the ramp down period.

RampDownStartTimeHour

The hour.

RampDownStartTimeMinute

The minute.

RampDownStartVMOnConnect

The desired configuration of Start VM On Connect for the hostpool during the ramp down phase.

RampUpActionOnDisconnect

Action to be taken after a user disconnect during the ramp up period.

RampUpActionOnLogoff

Action to be taken after a logoff during the ramp up period.

RampUpAutoStartHost

The desired startup behavior during the ramp up period for personal vms in the hostpool.

RampUpMinutesToWaitOnDisconnect

The time in minutes to wait before performing the desired session handling action when a user disconnects during the ramp up period.

RampUpMinutesToWaitOnLogoff

The time in minutes to wait before performing the desired session handling action when a user logs off during the ramp up period.

RampUpStartTimeHour

The hour.

RampUpStartTimeMinute

The minute.

RampUpStartVMOnConnect

The desired configuration of Start VM On Connect for the hostpool during the ramp up phase. If this is disabled, session hosts must be turned on using rampUpAutoStartHosts or by turning them on manually.

SystemDataCreatedAt

The timestamp of resource creation (UTC).

SystemDataCreatedBy

The identity that created the resource.

SystemDataCreatedByType

The type of identity that created the resource.

SystemDataLastModifiedAt

The timestamp of resource last modification (UTC)

SystemDataLastModifiedBy

The identity that last modified the resource.

SystemDataLastModifiedByType

The type of identity that last modified the resource.

Type

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of ScalingPlanPersonalSchedule.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of ScalingPlanPersonalSchedule.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20230905.IScalingPlanPersonalSchedule.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of ScalingPlanPersonalSchedule into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Validate(IEventListener)

Validates that this object meets the validation criteria.

Applies to