ScalingPlanPersonalScheduleInner Class

public final class ScalingPlanPersonalScheduleInner
extends ProxyResource

Represents a ScalingPlanPersonalSchedule definition.

Constructor Summary

Constructor Description
ScalingPlanPersonalScheduleInner()

Creates an instance of ScalingPlanPersonalScheduleInner class.

Method Summary

Modifier and Type Method and Description
List<DayOfWeek> daysOfWeek()

Get the daysOfWeek property: Set of days of the week on which this schedule is active.

static ScalingPlanPersonalScheduleInner fromJson(JsonReader jsonReader)

Reads an instance of ScalingPlanPersonalScheduleInner from the JsonReader.

String id()

Get the id property: Fully qualified resource Id for the resource.

String name()

Get the name property: The name of the resource.

SessionHandlingOperation offPeakActionOnDisconnect()

Get the offPeakActionOnDisconnect property: Action to be taken after a user disconnect during the off-peak period.

SessionHandlingOperation offPeakActionOnLogoff()

Get the offPeakActionOnLogoff property: Action to be taken after a logoff during the off-peak period.

Integer offPeakMinutesToWaitOnDisconnect()

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

Integer offPeakMinutesToWaitOnLogoff()

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

Time offPeakStartTime()

Get the offPeakStartTime property: Starting time for off-peak period.

SetStartVMOnConnect offPeakStartVMOnConnect()

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

SessionHandlingOperation peakActionOnDisconnect()

Get the peakActionOnDisconnect property: Action to be taken after a user disconnect during the peak period.

SessionHandlingOperation peakActionOnLogoff()

Get the peakActionOnLogoff property: Action to be taken after a logoff during the peak period.

Integer peakMinutesToWaitOnDisconnect()

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

Integer peakMinutesToWaitOnLogoff()

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

Time peakStartTime()

Get the peakStartTime property: Starting time for peak period.

SetStartVMOnConnect peakStartVMOnConnect()

Get the peakStartVMOnConnect property: The desired configuration of Start VM On Connect for the hostpool during the peak phase.

SessionHandlingOperation rampDownActionOnDisconnect()

Get the rampDownActionOnDisconnect property: Action to be taken after a user disconnect during the ramp down period.

SessionHandlingOperation rampDownActionOnLogoff()

Get the rampDownActionOnLogoff property: Action to be taken after a logoff during the ramp down period.

Integer rampDownMinutesToWaitOnDisconnect()

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

Integer rampDownMinutesToWaitOnLogoff()

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

Time rampDownStartTime()

Get the rampDownStartTime property: Starting time for ramp down period.

SetStartVMOnConnect rampDownStartVMOnConnect()

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

SessionHandlingOperation rampUpActionOnDisconnect()

Get the rampUpActionOnDisconnect property: Action to be taken after a user disconnect during the ramp up period.

SessionHandlingOperation rampUpActionOnLogoff()

Get the rampUpActionOnLogoff property: Action to be taken after a logoff during the ramp up period.

StartupBehavior rampUpAutoStartHosts()

Get the rampUpAutoStartHosts property: The desired startup behavior during the ramp up period for personal vms in the hostpool.

Integer rampUpMinutesToWaitOnDisconnect()

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

Integer rampUpMinutesToWaitOnLogoff()

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

Time rampUpStartTime()

Get the rampUpStartTime property: Starting time for ramp up period.

SetStartVMOnConnect rampUpStartVMOnConnect()

Get the rampUpStartVMOnConnect property: The desired configuration of Start VM On Connect for the hostpool during the ramp up phase.

SystemData systemData()

Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: The type of the resource.

void validate()

Validates the instance.

ScalingPlanPersonalScheduleInner withDaysOfWeek(List<DayOfWeek> daysOfWeek)

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

ScalingPlanPersonalScheduleInner withOffPeakActionOnDisconnect(SessionHandlingOperation offPeakActionOnDisconnect)

Set the offPeakActionOnDisconnect property: Action to be taken after a user disconnect during the off-peak period.

ScalingPlanPersonalScheduleInner withOffPeakActionOnLogoff(SessionHandlingOperation offPeakActionOnLogoff)

Set the offPeakActionOnLogoff property: Action to be taken after a logoff during the off-peak period.

ScalingPlanPersonalScheduleInner withOffPeakMinutesToWaitOnDisconnect(Integer offPeakMinutesToWaitOnDisconnect)

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

ScalingPlanPersonalScheduleInner withOffPeakMinutesToWaitOnLogoff(Integer offPeakMinutesToWaitOnLogoff)

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

ScalingPlanPersonalScheduleInner withOffPeakStartTime(Time offPeakStartTime)

Set the offPeakStartTime property: Starting time for off-peak period.

ScalingPlanPersonalScheduleInner withOffPeakStartVMOnConnect(SetStartVMOnConnect offPeakStartVMOnConnect)

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

ScalingPlanPersonalScheduleInner withPeakActionOnDisconnect(SessionHandlingOperation peakActionOnDisconnect)

Set the peakActionOnDisconnect property: Action to be taken after a user disconnect during the peak period.

ScalingPlanPersonalScheduleInner withPeakActionOnLogoff(SessionHandlingOperation peakActionOnLogoff)

Set the peakActionOnLogoff property: Action to be taken after a logoff during the peak period.

ScalingPlanPersonalScheduleInner withPeakMinutesToWaitOnDisconnect(Integer peakMinutesToWaitOnDisconnect)

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

ScalingPlanPersonalScheduleInner withPeakMinutesToWaitOnLogoff(Integer peakMinutesToWaitOnLogoff)

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

ScalingPlanPersonalScheduleInner withPeakStartTime(Time peakStartTime)

Set the peakStartTime property: Starting time for peak period.

ScalingPlanPersonalScheduleInner withPeakStartVMOnConnect(SetStartVMOnConnect peakStartVMOnConnect)

Set the peakStartVMOnConnect property: The desired configuration of Start VM On Connect for the hostpool during the peak phase.

ScalingPlanPersonalScheduleInner withRampDownActionOnDisconnect(SessionHandlingOperation rampDownActionOnDisconnect)

Set the rampDownActionOnDisconnect property: Action to be taken after a user disconnect during the ramp down period.

ScalingPlanPersonalScheduleInner withRampDownActionOnLogoff(SessionHandlingOperation rampDownActionOnLogoff)

Set the rampDownActionOnLogoff property: Action to be taken after a logoff during the ramp down period.

ScalingPlanPersonalScheduleInner withRampDownMinutesToWaitOnDisconnect(Integer rampDownMinutesToWaitOnDisconnect)

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

ScalingPlanPersonalScheduleInner withRampDownMinutesToWaitOnLogoff(Integer rampDownMinutesToWaitOnLogoff)

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

ScalingPlanPersonalScheduleInner withRampDownStartTime(Time rampDownStartTime)

Set the rampDownStartTime property: Starting time for ramp down period.

ScalingPlanPersonalScheduleInner withRampDownStartVMOnConnect(SetStartVMOnConnect rampDownStartVMOnConnect)

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

ScalingPlanPersonalScheduleInner withRampUpActionOnDisconnect(SessionHandlingOperation rampUpActionOnDisconnect)

Set the rampUpActionOnDisconnect property: Action to be taken after a user disconnect during the ramp up period.

ScalingPlanPersonalScheduleInner withRampUpActionOnLogoff(SessionHandlingOperation rampUpActionOnLogoff)

Set the rampUpActionOnLogoff property: Action to be taken after a logoff during the ramp up period.

ScalingPlanPersonalScheduleInner withRampUpAutoStartHosts(StartupBehavior rampUpAutoStartHosts)

Set the rampUpAutoStartHosts property: The desired startup behavior during the ramp up period for personal vms in the hostpool.

ScalingPlanPersonalScheduleInner withRampUpMinutesToWaitOnDisconnect(Integer rampUpMinutesToWaitOnDisconnect)

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

ScalingPlanPersonalScheduleInner withRampUpMinutesToWaitOnLogoff(Integer rampUpMinutesToWaitOnLogoff)

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

ScalingPlanPersonalScheduleInner withRampUpStartTime(Time rampUpStartTime)

Set the rampUpStartTime property: Starting time for ramp up period.

ScalingPlanPersonalScheduleInner withRampUpStartVMOnConnect(SetStartVMOnConnect rampUpStartVMOnConnect)

Set the rampUpStartVMOnConnect property: The desired configuration of Start VM On Connect for the hostpool during the ramp up phase.

Methods inherited from ProxyResource

Methods inherited from java.lang.Object

Constructor Details

ScalingPlanPersonalScheduleInner

public ScalingPlanPersonalScheduleInner()

Creates an instance of ScalingPlanPersonalScheduleInner class.

Method Details

daysOfWeek

public List<DayOfWeek> daysOfWeek()

Get the daysOfWeek property: Set of days of the week on which this schedule is active.

Returns:

the daysOfWeek value.

fromJson

public static ScalingPlanPersonalScheduleInner fromJson(JsonReader jsonReader)

Reads an instance of ScalingPlanPersonalScheduleInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of ScalingPlanPersonalScheduleInner if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If the deserialized JSON object was missing any required properties.

id

public String id()

Get the id property: Fully qualified resource Id for the resource.

Overrides:

ScalingPlanPersonalScheduleInner.id()

Returns:

the id value.

name

public String name()

Get the name property: The name of the resource.

Overrides:

ScalingPlanPersonalScheduleInner.name()

Returns:

the name value.

offPeakActionOnDisconnect

public SessionHandlingOperation offPeakActionOnDisconnect()

Get the offPeakActionOnDisconnect property: Action to be taken after a user disconnect during the off-peak period.

Returns:

the offPeakActionOnDisconnect value.

offPeakActionOnLogoff

public SessionHandlingOperation offPeakActionOnLogoff()

Get the offPeakActionOnLogoff property: Action to be taken after a logoff during the off-peak period.

Returns:

the offPeakActionOnLogoff value.

offPeakMinutesToWaitOnDisconnect

public Integer offPeakMinutesToWaitOnDisconnect()

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

Returns:

the offPeakMinutesToWaitOnDisconnect value.

offPeakMinutesToWaitOnLogoff

public Integer offPeakMinutesToWaitOnLogoff()

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

Returns:

the offPeakMinutesToWaitOnLogoff value.

offPeakStartTime

public Time offPeakStartTime()

Get the offPeakStartTime property: Starting time for off-peak period.

Returns:

the offPeakStartTime value.

offPeakStartVMOnConnect

public SetStartVMOnConnect offPeakStartVMOnConnect()

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

Returns:

the offPeakStartVMOnConnect value.

peakActionOnDisconnect

public SessionHandlingOperation peakActionOnDisconnect()

Get the peakActionOnDisconnect property: Action to be taken after a user disconnect during the peak period.

Returns:

the peakActionOnDisconnect value.

peakActionOnLogoff

public SessionHandlingOperation peakActionOnLogoff()

Get the peakActionOnLogoff property: Action to be taken after a logoff during the peak period.

Returns:

the peakActionOnLogoff value.

peakMinutesToWaitOnDisconnect

public Integer peakMinutesToWaitOnDisconnect()

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

Returns:

the peakMinutesToWaitOnDisconnect value.

peakMinutesToWaitOnLogoff

public Integer peakMinutesToWaitOnLogoff()

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

Returns:

the peakMinutesToWaitOnLogoff value.

peakStartTime

public Time peakStartTime()

Get the peakStartTime property: Starting time for peak period.

Returns:

the peakStartTime value.

peakStartVMOnConnect

public SetStartVMOnConnect peakStartVMOnConnect()

Get the peakStartVMOnConnect property: The desired configuration of Start VM On Connect for the hostpool during the peak phase.

Returns:

the peakStartVMOnConnect value.

rampDownActionOnDisconnect

public SessionHandlingOperation rampDownActionOnDisconnect()

Get the rampDownActionOnDisconnect property: Action to be taken after a user disconnect during the ramp down period.

Returns:

the rampDownActionOnDisconnect value.

rampDownActionOnLogoff

public SessionHandlingOperation rampDownActionOnLogoff()

Get the rampDownActionOnLogoff property: Action to be taken after a logoff during the ramp down period.

Returns:

the rampDownActionOnLogoff value.

rampDownMinutesToWaitOnDisconnect

public Integer rampDownMinutesToWaitOnDisconnect()

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

Returns:

the rampDownMinutesToWaitOnDisconnect value.

rampDownMinutesToWaitOnLogoff

public Integer rampDownMinutesToWaitOnLogoff()

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

Returns:

the rampDownMinutesToWaitOnLogoff value.

rampDownStartTime

public Time rampDownStartTime()

Get the rampDownStartTime property: Starting time for ramp down period.

Returns:

the rampDownStartTime value.

rampDownStartVMOnConnect

public SetStartVMOnConnect rampDownStartVMOnConnect()

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

Returns:

the rampDownStartVMOnConnect value.

rampUpActionOnDisconnect

public SessionHandlingOperation rampUpActionOnDisconnect()

Get the rampUpActionOnDisconnect property: Action to be taken after a user disconnect during the ramp up period.

Returns:

the rampUpActionOnDisconnect value.

rampUpActionOnLogoff

public SessionHandlingOperation rampUpActionOnLogoff()

Get the rampUpActionOnLogoff property: Action to be taken after a logoff during the ramp up period.

Returns:

the rampUpActionOnLogoff value.

rampUpAutoStartHosts

public StartupBehavior rampUpAutoStartHosts()

Get the rampUpAutoStartHosts property: The desired startup behavior during the ramp up period for personal vms in the hostpool.

Returns:

the rampUpAutoStartHosts value.

rampUpMinutesToWaitOnDisconnect

public Integer rampUpMinutesToWaitOnDisconnect()

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

Returns:

the rampUpMinutesToWaitOnDisconnect value.

rampUpMinutesToWaitOnLogoff

public Integer rampUpMinutesToWaitOnLogoff()

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

Returns:

the rampUpMinutesToWaitOnLogoff value.

rampUpStartTime

public Time rampUpStartTime()

Get the rampUpStartTime property: Starting time for ramp up period.

Returns:

the rampUpStartTime value.

rampUpStartVMOnConnect

public SetStartVMOnConnect rampUpStartVMOnConnect()

Get the rampUpStartVMOnConnect property: 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.

Returns:

the rampUpStartVMOnConnect value.

systemData

public SystemData systemData()

Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.

Returns:

the systemData value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

ScalingPlanPersonalScheduleInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The type of the resource.

Overrides:

ScalingPlanPersonalScheduleInner.type()

Returns:

the type value.

validate

public void validate()

Validates the instance.

withDaysOfWeek

public ScalingPlanPersonalScheduleInner withDaysOfWeek(List<DayOfWeek> daysOfWeek)

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

Parameters:

daysOfWeek - the daysOfWeek value to set.

Returns:

the ScalingPlanPersonalScheduleInner object itself.

withOffPeakActionOnDisconnect

public ScalingPlanPersonalScheduleInner withOffPeakActionOnDisconnect(SessionHandlingOperation offPeakActionOnDisconnect)

Set the offPeakActionOnDisconnect property: Action to be taken after a user disconnect during the off-peak period.

Parameters:

offPeakActionOnDisconnect - the offPeakActionOnDisconnect value to set.

Returns:

the ScalingPlanPersonalScheduleInner object itself.

withOffPeakActionOnLogoff

public ScalingPlanPersonalScheduleInner withOffPeakActionOnLogoff(SessionHandlingOperation offPeakActionOnLogoff)

Set the offPeakActionOnLogoff property: Action to be taken after a logoff during the off-peak period.

Parameters:

offPeakActionOnLogoff - the offPeakActionOnLogoff value to set.

Returns:

the ScalingPlanPersonalScheduleInner object itself.

withOffPeakMinutesToWaitOnDisconnect

public ScalingPlanPersonalScheduleInner withOffPeakMinutesToWaitOnDisconnect(Integer offPeakMinutesToWaitOnDisconnect)

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

Parameters:

offPeakMinutesToWaitOnDisconnect - the offPeakMinutesToWaitOnDisconnect value to set.

Returns:

the ScalingPlanPersonalScheduleInner object itself.

withOffPeakMinutesToWaitOnLogoff

public ScalingPlanPersonalScheduleInner withOffPeakMinutesToWaitOnLogoff(Integer offPeakMinutesToWaitOnLogoff)

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

Parameters:

offPeakMinutesToWaitOnLogoff - the offPeakMinutesToWaitOnLogoff value to set.

Returns:

the ScalingPlanPersonalScheduleInner object itself.

withOffPeakStartTime

public ScalingPlanPersonalScheduleInner withOffPeakStartTime(Time offPeakStartTime)

Set the offPeakStartTime property: Starting time for off-peak period.

Parameters:

offPeakStartTime - the offPeakStartTime value to set.

Returns:

the ScalingPlanPersonalScheduleInner object itself.

withOffPeakStartVMOnConnect

public ScalingPlanPersonalScheduleInner withOffPeakStartVMOnConnect(SetStartVMOnConnect offPeakStartVMOnConnect)

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

Parameters:

offPeakStartVMOnConnect - the offPeakStartVMOnConnect value to set.

Returns:

the ScalingPlanPersonalScheduleInner object itself.

withPeakActionOnDisconnect

public ScalingPlanPersonalScheduleInner withPeakActionOnDisconnect(SessionHandlingOperation peakActionOnDisconnect)

Set the peakActionOnDisconnect property: Action to be taken after a user disconnect during the peak period.

Parameters:

peakActionOnDisconnect - the peakActionOnDisconnect value to set.

Returns:

the ScalingPlanPersonalScheduleInner object itself.

withPeakActionOnLogoff

public ScalingPlanPersonalScheduleInner withPeakActionOnLogoff(SessionHandlingOperation peakActionOnLogoff)

Set the peakActionOnLogoff property: Action to be taken after a logoff during the peak period.

Parameters:

peakActionOnLogoff - the peakActionOnLogoff value to set.

Returns:

the ScalingPlanPersonalScheduleInner object itself.

withPeakMinutesToWaitOnDisconnect

public ScalingPlanPersonalScheduleInner withPeakMinutesToWaitOnDisconnect(Integer peakMinutesToWaitOnDisconnect)

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

Parameters:

peakMinutesToWaitOnDisconnect - the peakMinutesToWaitOnDisconnect value to set.

Returns:

the ScalingPlanPersonalScheduleInner object itself.

withPeakMinutesToWaitOnLogoff

public ScalingPlanPersonalScheduleInner withPeakMinutesToWaitOnLogoff(Integer peakMinutesToWaitOnLogoff)

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

Parameters:

peakMinutesToWaitOnLogoff - the peakMinutesToWaitOnLogoff value to set.

Returns:

the ScalingPlanPersonalScheduleInner object itself.

withPeakStartTime

public ScalingPlanPersonalScheduleInner withPeakStartTime(Time peakStartTime)

Set the peakStartTime property: Starting time for peak period.

Parameters:

peakStartTime - the peakStartTime value to set.

Returns:

the ScalingPlanPersonalScheduleInner object itself.

withPeakStartVMOnConnect

public ScalingPlanPersonalScheduleInner withPeakStartVMOnConnect(SetStartVMOnConnect peakStartVMOnConnect)

Set the peakStartVMOnConnect property: The desired configuration of Start VM On Connect for the hostpool during the peak phase.

Parameters:

peakStartVMOnConnect - the peakStartVMOnConnect value to set.

Returns:

the ScalingPlanPersonalScheduleInner object itself.

withRampDownActionOnDisconnect

public ScalingPlanPersonalScheduleInner withRampDownActionOnDisconnect(SessionHandlingOperation rampDownActionOnDisconnect)

Set the rampDownActionOnDisconnect property: Action to be taken after a user disconnect during the ramp down period.

Parameters:

rampDownActionOnDisconnect - the rampDownActionOnDisconnect value to set.

Returns:

the ScalingPlanPersonalScheduleInner object itself.

withRampDownActionOnLogoff

public ScalingPlanPersonalScheduleInner withRampDownActionOnLogoff(SessionHandlingOperation rampDownActionOnLogoff)

Set the rampDownActionOnLogoff property: Action to be taken after a logoff during the ramp down period.

Parameters:

rampDownActionOnLogoff - the rampDownActionOnLogoff value to set.

Returns:

the ScalingPlanPersonalScheduleInner object itself.

withRampDownMinutesToWaitOnDisconnect

public ScalingPlanPersonalScheduleInner withRampDownMinutesToWaitOnDisconnect(Integer rampDownMinutesToWaitOnDisconnect)

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

Parameters:

rampDownMinutesToWaitOnDisconnect - the rampDownMinutesToWaitOnDisconnect value to set.

Returns:

the ScalingPlanPersonalScheduleInner object itself.

withRampDownMinutesToWaitOnLogoff

public ScalingPlanPersonalScheduleInner withRampDownMinutesToWaitOnLogoff(Integer rampDownMinutesToWaitOnLogoff)

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

Parameters:

rampDownMinutesToWaitOnLogoff - the rampDownMinutesToWaitOnLogoff value to set.

Returns:

the ScalingPlanPersonalScheduleInner object itself.

withRampDownStartTime

public ScalingPlanPersonalScheduleInner withRampDownStartTime(Time rampDownStartTime)

Set the rampDownStartTime property: Starting time for ramp down period.

Parameters:

rampDownStartTime - the rampDownStartTime value to set.

Returns:

the ScalingPlanPersonalScheduleInner object itself.

withRampDownStartVMOnConnect

public ScalingPlanPersonalScheduleInner withRampDownStartVMOnConnect(SetStartVMOnConnect rampDownStartVMOnConnect)

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

Parameters:

rampDownStartVMOnConnect - the rampDownStartVMOnConnect value to set.

Returns:

the ScalingPlanPersonalScheduleInner object itself.

withRampUpActionOnDisconnect

public ScalingPlanPersonalScheduleInner withRampUpActionOnDisconnect(SessionHandlingOperation rampUpActionOnDisconnect)

Set the rampUpActionOnDisconnect property: Action to be taken after a user disconnect during the ramp up period.

Parameters:

rampUpActionOnDisconnect - the rampUpActionOnDisconnect value to set.

Returns:

the ScalingPlanPersonalScheduleInner object itself.

withRampUpActionOnLogoff

public ScalingPlanPersonalScheduleInner withRampUpActionOnLogoff(SessionHandlingOperation rampUpActionOnLogoff)

Set the rampUpActionOnLogoff property: Action to be taken after a logoff during the ramp up period.

Parameters:

rampUpActionOnLogoff - the rampUpActionOnLogoff value to set.

Returns:

the ScalingPlanPersonalScheduleInner object itself.

withRampUpAutoStartHosts

public ScalingPlanPersonalScheduleInner withRampUpAutoStartHosts(StartupBehavior rampUpAutoStartHosts)

Set the rampUpAutoStartHosts property: The desired startup behavior during the ramp up period for personal vms in the hostpool.

Parameters:

rampUpAutoStartHosts - the rampUpAutoStartHosts value to set.

Returns:

the ScalingPlanPersonalScheduleInner object itself.

withRampUpMinutesToWaitOnDisconnect

public ScalingPlanPersonalScheduleInner withRampUpMinutesToWaitOnDisconnect(Integer rampUpMinutesToWaitOnDisconnect)

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

Parameters:

rampUpMinutesToWaitOnDisconnect - the rampUpMinutesToWaitOnDisconnect value to set.

Returns:

the ScalingPlanPersonalScheduleInner object itself.

withRampUpMinutesToWaitOnLogoff

public ScalingPlanPersonalScheduleInner withRampUpMinutesToWaitOnLogoff(Integer rampUpMinutesToWaitOnLogoff)

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

Parameters:

rampUpMinutesToWaitOnLogoff - the rampUpMinutesToWaitOnLogoff value to set.

Returns:

the ScalingPlanPersonalScheduleInner object itself.

withRampUpStartTime

public ScalingPlanPersonalScheduleInner withRampUpStartTime(Time rampUpStartTime)

Set the rampUpStartTime property: Starting time for ramp up period.

Parameters:

rampUpStartTime - the rampUpStartTime value to set.

Returns:

the ScalingPlanPersonalScheduleInner object itself.

withRampUpStartVMOnConnect

public ScalingPlanPersonalScheduleInner withRampUpStartVMOnConnect(SetStartVMOnConnect rampUpStartVMOnConnect)

Set the rampUpStartVMOnConnect property: 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.

Parameters:

rampUpStartVMOnConnect - the rampUpStartVMOnConnect value to set.

Returns:

the ScalingPlanPersonalScheduleInner object itself.

Applies to