ScalingPlanPersonalScheduleInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. resourcemanager. desktopvirtualization. fluent. models. ScalingPlanPersonalScheduleInner
- com.
- com.
public final class ScalingPlanPersonalScheduleInner
extends ProxyResource
Represents a ScalingPlanPersonalSchedule definition.
Constructor Summary
| Constructor | Description |
|---|---|
| ScalingPlanPersonalScheduleInner() |
Creates an instance of Scaling |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
List<Day |
daysOfWeek()
Get the days |
|
static
Scaling |
fromJson(JsonReader jsonReader)
Reads an instance of Scaling |
| String |
id()
Get the id property: Fully qualified resource Id for the resource. |
| String |
name()
Get the name property: The name of the resource. |
|
Session |
offPeakActionOnDisconnect()
Get the off |
|
Session |
offPeakActionOnLogoff()
Get the off |
| Integer |
offPeakMinutesToWaitOnDisconnect()
Get the off |
| Integer |
offPeakMinutesToWaitOnLogoff()
Get the off |
| Time |
offPeakStartTime()
Get the off |
|
Set |
offPeakStartVMOnConnect()
Get the off |
|
Session |
peakActionOnDisconnect()
Get the peak |
|
Session |
peakActionOnLogoff()
Get the peak |
| Integer |
peakMinutesToWaitOnDisconnect()
Get the peak |
| Integer |
peakMinutesToWaitOnLogoff()
Get the peak |
| Time |
peakStartTime()
Get the peak |
|
Set |
peakStartVMOnConnect()
Get the peak |
|
Session |
rampDownActionOnDisconnect()
Get the ramp |
|
Session |
rampDownActionOnLogoff()
Get the ramp |
| Integer |
rampDownMinutesToWaitOnDisconnect()
Get the ramp |
| Integer |
rampDownMinutesToWaitOnLogoff()
Get the ramp |
| Time |
rampDownStartTime()
Get the ramp |
|
Set |
rampDownStartVMOnConnect()
Get the ramp |
|
Session |
rampUpActionOnDisconnect()
Get the ramp |
|
Session |
rampUpActionOnLogoff()
Get the ramp |
|
Startup |
rampUpAutoStartHosts()
Get the ramp |
| Integer |
rampUpMinutesToWaitOnDisconnect()
Get the ramp |
| Integer |
rampUpMinutesToWaitOnLogoff()
Get the ramp |
| Time |
rampUpStartTime()
Get the ramp |
|
Set |
rampUpStartVMOnConnect()
Get the ramp |
|
System |
systemData()
Get the system |
|
Json |
toJson(JsonWriter jsonWriter) |
| String |
type()
Get the type property: The type of the resource. |
| void |
validate()
Validates the instance. |
|
Scaling |
withDaysOfWeek(List<DayOfWeek> daysOfWeek)
Set the days |
|
Scaling |
withOffPeakActionOnDisconnect(SessionHandlingOperation offPeakActionOnDisconnect)
Set the off |
|
Scaling |
withOffPeakActionOnLogoff(SessionHandlingOperation offPeakActionOnLogoff)
Set the off |
|
Scaling |
withOffPeakMinutesToWaitOnDisconnect(Integer offPeakMinutesToWaitOnDisconnect)
Set the off |
|
Scaling |
withOffPeakMinutesToWaitOnLogoff(Integer offPeakMinutesToWaitOnLogoff)
Set the off |
|
Scaling |
withOffPeakStartTime(Time offPeakStartTime)
Set the off |
|
Scaling |
withOffPeakStartVMOnConnect(SetStartVMOnConnect offPeakStartVMOnConnect)
Set the off |
|
Scaling |
withPeakActionOnDisconnect(SessionHandlingOperation peakActionOnDisconnect)
Set the peak |
|
Scaling |
withPeakActionOnLogoff(SessionHandlingOperation peakActionOnLogoff)
Set the peak |
|
Scaling |
withPeakMinutesToWaitOnDisconnect(Integer peakMinutesToWaitOnDisconnect)
Set the peak |
|
Scaling |
withPeakMinutesToWaitOnLogoff(Integer peakMinutesToWaitOnLogoff)
Set the peak |
|
Scaling |
withPeakStartTime(Time peakStartTime)
Set the peak |
|
Scaling |
withPeakStartVMOnConnect(SetStartVMOnConnect peakStartVMOnConnect)
Set the peak |
|
Scaling |
withRampDownActionOnDisconnect(SessionHandlingOperation rampDownActionOnDisconnect)
Set the ramp |
|
Scaling |
withRampDownActionOnLogoff(SessionHandlingOperation rampDownActionOnLogoff)
Set the ramp |
|
Scaling |
withRampDownMinutesToWaitOnDisconnect(Integer rampDownMinutesToWaitOnDisconnect)
Set the ramp |
|
Scaling |
withRampDownMinutesToWaitOnLogoff(Integer rampDownMinutesToWaitOnLogoff)
Set the ramp |
|
Scaling |
withRampDownStartTime(Time rampDownStartTime)
Set the ramp |
|
Scaling |
withRampDownStartVMOnConnect(SetStartVMOnConnect rampDownStartVMOnConnect)
Set the ramp |
|
Scaling |
withRampUpActionOnDisconnect(SessionHandlingOperation rampUpActionOnDisconnect)
Set the ramp |
|
Scaling |
withRampUpActionOnLogoff(SessionHandlingOperation rampUpActionOnLogoff)
Set the ramp |
|
Scaling |
withRampUpAutoStartHosts(StartupBehavior rampUpAutoStartHosts)
Set the ramp |
|
Scaling |
withRampUpMinutesToWaitOnDisconnect(Integer rampUpMinutesToWaitOnDisconnect)
Set the ramp |
|
Scaling |
withRampUpMinutesToWaitOnLogoff(Integer rampUpMinutesToWaitOnLogoff)
Set the ramp |
|
Scaling |
withRampUpStartTime(Time rampUpStartTime)
Set the ramp |
|
Scaling |
withRampUpStartVMOnConnect(SetStartVMOnConnect rampUpStartVMOnConnect)
Set the ramp |
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:
fromJson
public static ScalingPlanPersonalScheduleInner fromJson(JsonReader jsonReader)
Reads an instance of ScalingPlanPersonalScheduleInner from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Fully qualified resource Id for the resource.
Overrides:
ScalingPlanPersonalScheduleInner.id()Returns:
name
public String name()
Get the name property: The name of the resource.
Overrides:
ScalingPlanPersonalScheduleInner.name()Returns:
offPeakActionOnDisconnect
public SessionHandlingOperation offPeakActionOnDisconnect()
Get the offPeakActionOnDisconnect property: Action to be taken after a user disconnect during the off-peak period.
Returns:
offPeakActionOnLogoff
public SessionHandlingOperation offPeakActionOnLogoff()
Get the offPeakActionOnLogoff property: Action to be taken after a logoff during the off-peak period.
Returns:
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:
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:
offPeakStartTime
public Time offPeakStartTime()
Get the offPeakStartTime property: Starting time for off-peak period.
Returns:
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:
peakActionOnDisconnect
public SessionHandlingOperation peakActionOnDisconnect()
Get the peakActionOnDisconnect property: Action to be taken after a user disconnect during the peak period.
Returns:
peakActionOnLogoff
public SessionHandlingOperation peakActionOnLogoff()
Get the peakActionOnLogoff property: Action to be taken after a logoff during the peak period.
Returns:
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:
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:
peakStartTime
public Time peakStartTime()
Get the peakStartTime property: Starting time for peak period.
Returns:
peakStartVMOnConnect
public SetStartVMOnConnect peakStartVMOnConnect()
Get the peakStartVMOnConnect property: The desired configuration of Start VM On Connect for the hostpool during the peak phase.
Returns:
rampDownActionOnDisconnect
public SessionHandlingOperation rampDownActionOnDisconnect()
Get the rampDownActionOnDisconnect property: Action to be taken after a user disconnect during the ramp down period.
Returns:
rampDownActionOnLogoff
public SessionHandlingOperation rampDownActionOnLogoff()
Get the rampDownActionOnLogoff property: Action to be taken after a logoff during the ramp down period.
Returns:
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:
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:
rampDownStartTime
public Time rampDownStartTime()
Get the rampDownStartTime property: Starting time for ramp down period.
Returns:
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:
rampUpActionOnDisconnect
public SessionHandlingOperation rampUpActionOnDisconnect()
Get the rampUpActionOnDisconnect property: Action to be taken after a user disconnect during the ramp up period.
Returns:
rampUpActionOnLogoff
public SessionHandlingOperation rampUpActionOnLogoff()
Get the rampUpActionOnLogoff property: Action to be taken after a logoff during the ramp up period.
Returns:
rampUpAutoStartHosts
public StartupBehavior rampUpAutoStartHosts()
Get the rampUpAutoStartHosts property: The desired startup behavior during the ramp up period for personal vms in the hostpool.
Returns:
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:
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:
rampUpStartTime
public Time rampUpStartTime()
Get the rampUpStartTime property: Starting time for ramp up period.
Returns:
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:
systemData
public SystemData systemData()
Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
ScalingPlanPersonalScheduleInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: The type of the resource.
Overrides:
ScalingPlanPersonalScheduleInner.type()Returns:
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:
Returns:
withOffPeakActionOnDisconnect
public ScalingPlanPersonalScheduleInner withOffPeakActionOnDisconnect(SessionHandlingOperation offPeakActionOnDisconnect)
Set the offPeakActionOnDisconnect property: Action to be taken after a user disconnect during the off-peak period.
Parameters:
Returns:
withOffPeakActionOnLogoff
public ScalingPlanPersonalScheduleInner withOffPeakActionOnLogoff(SessionHandlingOperation offPeakActionOnLogoff)
Set the offPeakActionOnLogoff property: Action to be taken after a logoff during the off-peak period.
Parameters:
Returns:
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:
Returns:
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:
Returns:
withOffPeakStartTime
public ScalingPlanPersonalScheduleInner withOffPeakStartTime(Time offPeakStartTime)
Set the offPeakStartTime property: Starting time for off-peak period.
Parameters:
Returns:
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:
Returns:
withPeakActionOnDisconnect
public ScalingPlanPersonalScheduleInner withPeakActionOnDisconnect(SessionHandlingOperation peakActionOnDisconnect)
Set the peakActionOnDisconnect property: Action to be taken after a user disconnect during the peak period.
Parameters:
Returns:
withPeakActionOnLogoff
public ScalingPlanPersonalScheduleInner withPeakActionOnLogoff(SessionHandlingOperation peakActionOnLogoff)
Set the peakActionOnLogoff property: Action to be taken after a logoff during the peak period.
Parameters:
Returns:
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:
Returns:
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:
Returns:
withPeakStartTime
public ScalingPlanPersonalScheduleInner withPeakStartTime(Time peakStartTime)
Set the peakStartTime property: Starting time for peak period.
Parameters:
Returns:
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:
Returns:
withRampDownActionOnDisconnect
public ScalingPlanPersonalScheduleInner withRampDownActionOnDisconnect(SessionHandlingOperation rampDownActionOnDisconnect)
Set the rampDownActionOnDisconnect property: Action to be taken after a user disconnect during the ramp down period.
Parameters:
Returns:
withRampDownActionOnLogoff
public ScalingPlanPersonalScheduleInner withRampDownActionOnLogoff(SessionHandlingOperation rampDownActionOnLogoff)
Set the rampDownActionOnLogoff property: Action to be taken after a logoff during the ramp down period.
Parameters:
Returns:
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:
Returns:
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:
Returns:
withRampDownStartTime
public ScalingPlanPersonalScheduleInner withRampDownStartTime(Time rampDownStartTime)
Set the rampDownStartTime property: Starting time for ramp down period.
Parameters:
Returns:
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:
Returns:
withRampUpActionOnDisconnect
public ScalingPlanPersonalScheduleInner withRampUpActionOnDisconnect(SessionHandlingOperation rampUpActionOnDisconnect)
Set the rampUpActionOnDisconnect property: Action to be taken after a user disconnect during the ramp up period.
Parameters:
Returns:
withRampUpActionOnLogoff
public ScalingPlanPersonalScheduleInner withRampUpActionOnLogoff(SessionHandlingOperation rampUpActionOnLogoff)
Set the rampUpActionOnLogoff property: Action to be taken after a logoff during the ramp up period.
Parameters:
Returns:
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:
Returns:
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:
Returns:
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:
Returns:
withRampUpStartTime
public ScalingPlanPersonalScheduleInner withRampUpStartTime(Time rampUpStartTime)
Set the rampUpStartTime property: Starting time for ramp up period.
Parameters:
Returns:
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:
Returns: