ScalingPlanPooledScheduleInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. resourcemanager. desktopvirtualization. fluent. models. ScalingPlanPooledScheduleInner
- com.
- com.
public final class ScalingPlanPooledScheduleInner
extends ProxyResource
Represents a ScalingPlanPooledSchedule definition.
Constructor Summary
| Constructor | Description |
|---|---|
| ScalingPlanPooledScheduleInner() |
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 |
offPeakLoadBalancingAlgorithm()
Get the off |
| Time |
offPeakStartTime()
Get the off |
|
Session |
peakLoadBalancingAlgorithm()
Get the peak |
| Time |
peakStartTime()
Get the peak |
| Integer |
rampDownCapacityThresholdPct()
Get the ramp |
| Boolean |
rampDownForceLogoffUsers()
Get the ramp |
|
Session |
rampDownLoadBalancingAlgorithm()
Get the ramp |
| Integer |
rampDownMinimumHostsPct()
Get the ramp |
| String |
rampDownNotificationMessage()
Get the ramp |
| Time |
rampDownStartTime()
Get the ramp |
|
Stop |
rampDownStopHostsWhen()
Get the ramp |
| Integer |
rampDownWaitTimeMinutes()
Get the ramp |
| Integer |
rampUpCapacityThresholdPct()
Get the ramp |
|
Session |
rampUpLoadBalancingAlgorithm()
Get the ramp |
| Integer |
rampUpMinimumHostsPct()
Get the ramp |
| Time |
rampUpStartTime()
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 |
withOffPeakLoadBalancingAlgorithm(SessionHostLoadBalancingAlgorithm offPeakLoadBalancingAlgorithm)
Set the off |
|
Scaling |
withOffPeakStartTime(Time offPeakStartTime)
Set the off |
|
Scaling |
withPeakLoadBalancingAlgorithm(SessionHostLoadBalancingAlgorithm peakLoadBalancingAlgorithm)
Set the peak |
|
Scaling |
withPeakStartTime(Time peakStartTime)
Set the peak |
|
Scaling |
withRampDownCapacityThresholdPct(Integer rampDownCapacityThresholdPct)
Set the ramp |
|
Scaling |
withRampDownForceLogoffUsers(Boolean rampDownForceLogoffUsers)
Set the ramp |
|
Scaling |
withRampDownLoadBalancingAlgorithm(SessionHostLoadBalancingAlgorithm rampDownLoadBalancingAlgorithm)
Set the ramp |
|
Scaling |
withRampDownMinimumHostsPct(Integer rampDownMinimumHostsPct)
Set the ramp |
|
Scaling |
withRampDownNotificationMessage(String rampDownNotificationMessage)
Set the ramp |
|
Scaling |
withRampDownStartTime(Time rampDownStartTime)
Set the ramp |
|
Scaling |
withRampDownStopHostsWhen(StopHostsWhen rampDownStopHostsWhen)
Set the ramp |
|
Scaling |
withRampDownWaitTimeMinutes(Integer rampDownWaitTimeMinutes)
Set the ramp |
|
Scaling |
withRampUpCapacityThresholdPct(Integer rampUpCapacityThresholdPct)
Set the ramp |
|
Scaling |
withRampUpLoadBalancingAlgorithm(SessionHostLoadBalancingAlgorithm rampUpLoadBalancingAlgorithm)
Set the ramp |
|
Scaling |
withRampUpMinimumHostsPct(Integer rampUpMinimumHostsPct)
Set the ramp |
|
Scaling |
withRampUpStartTime(Time rampUpStartTime)
Set the ramp |
Methods inherited from ProxyResource
Methods inherited from java.lang.Object
Constructor Details
ScalingPlanPooledScheduleInner
public ScalingPlanPooledScheduleInner()
Creates an instance of ScalingPlanPooledScheduleInner 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 ScalingPlanPooledScheduleInner fromJson(JsonReader jsonReader)
Reads an instance of ScalingPlanPooledScheduleInner from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Fully qualified resource Id for the resource.
Overrides:
ScalingPlanPooledScheduleInner.id()Returns:
name
public String name()
Get the name property: The name of the resource.
Overrides:
ScalingPlanPooledScheduleInner.name()Returns:
offPeakLoadBalancingAlgorithm
public SessionHostLoadBalancingAlgorithm offPeakLoadBalancingAlgorithm()
Get the offPeakLoadBalancingAlgorithm property: Load balancing algorithm for off-peak period.
Returns:
offPeakStartTime
public Time offPeakStartTime()
Get the offPeakStartTime property: Starting time for off-peak period.
Returns:
peakLoadBalancingAlgorithm
public SessionHostLoadBalancingAlgorithm peakLoadBalancingAlgorithm()
Get the peakLoadBalancingAlgorithm property: Load balancing algorithm for peak period.
Returns:
peakStartTime
public Time peakStartTime()
Get the peakStartTime property: Starting time for peak period.
Returns:
rampDownCapacityThresholdPct
public Integer rampDownCapacityThresholdPct()
Get the rampDownCapacityThresholdPct property: Capacity threshold for ramp down period.
Returns:
rampDownForceLogoffUsers
public Boolean rampDownForceLogoffUsers()
Get the rampDownForceLogoffUsers property: Should users be logged off forcefully from hosts.
Returns:
rampDownLoadBalancingAlgorithm
public SessionHostLoadBalancingAlgorithm rampDownLoadBalancingAlgorithm()
Get the rampDownLoadBalancingAlgorithm property: Load balancing algorithm for ramp down period.
Returns:
rampDownMinimumHostsPct
public Integer rampDownMinimumHostsPct()
Get the rampDownMinimumHostsPct property: Minimum host percentage for ramp down period.
Returns:
rampDownNotificationMessage
public String rampDownNotificationMessage()
Get the rampDownNotificationMessage property: Notification message for users during ramp down period.
Returns:
rampDownStartTime
public Time rampDownStartTime()
Get the rampDownStartTime property: Starting time for ramp down period.
Returns:
rampDownStopHostsWhen
public StopHostsWhen rampDownStopHostsWhen()
Get the rampDownStopHostsWhen property: Specifies when to stop hosts during ramp down period.
Returns:
rampDownWaitTimeMinutes
public Integer rampDownWaitTimeMinutes()
Get the rampDownWaitTimeMinutes property: Number of minutes to wait to stop hosts during ramp down period.
Returns:
rampUpCapacityThresholdPct
public Integer rampUpCapacityThresholdPct()
Get the rampUpCapacityThresholdPct property: Capacity threshold for ramp up period.
Returns:
rampUpLoadBalancingAlgorithm
public SessionHostLoadBalancingAlgorithm rampUpLoadBalancingAlgorithm()
Get the rampUpLoadBalancingAlgorithm property: Load balancing algorithm for ramp up period.
Returns:
rampUpMinimumHostsPct
public Integer rampUpMinimumHostsPct()
Get the rampUpMinimumHostsPct property: Minimum host percentage for ramp up period.
Returns:
rampUpStartTime
public Time rampUpStartTime()
Get the rampUpStartTime property: Starting time for ramp up period.
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:
ScalingPlanPooledScheduleInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: The type of the resource.
Overrides:
ScalingPlanPooledScheduleInner.type()Returns:
validate
public void validate()
Validates the instance.
withDaysOfWeek
public ScalingPlanPooledScheduleInner withDaysOfWeek(List<DayOfWeek> daysOfWeek)
Set the daysOfWeek property: Set of days of the week on which this schedule is active.
Parameters:
Returns:
withOffPeakLoadBalancingAlgorithm
public ScalingPlanPooledScheduleInner withOffPeakLoadBalancingAlgorithm(SessionHostLoadBalancingAlgorithm offPeakLoadBalancingAlgorithm)
Set the offPeakLoadBalancingAlgorithm property: Load balancing algorithm for off-peak period.
Parameters:
Returns:
withOffPeakStartTime
public ScalingPlanPooledScheduleInner withOffPeakStartTime(Time offPeakStartTime)
Set the offPeakStartTime property: Starting time for off-peak period.
Parameters:
Returns:
withPeakLoadBalancingAlgorithm
public ScalingPlanPooledScheduleInner withPeakLoadBalancingAlgorithm(SessionHostLoadBalancingAlgorithm peakLoadBalancingAlgorithm)
Set the peakLoadBalancingAlgorithm property: Load balancing algorithm for peak period.
Parameters:
Returns:
withPeakStartTime
public ScalingPlanPooledScheduleInner withPeakStartTime(Time peakStartTime)
Set the peakStartTime property: Starting time for peak period.
Parameters:
Returns:
withRampDownCapacityThresholdPct
public ScalingPlanPooledScheduleInner withRampDownCapacityThresholdPct(Integer rampDownCapacityThresholdPct)
Set the rampDownCapacityThresholdPct property: Capacity threshold for ramp down period.
Parameters:
Returns:
withRampDownForceLogoffUsers
public ScalingPlanPooledScheduleInner withRampDownForceLogoffUsers(Boolean rampDownForceLogoffUsers)
Set the rampDownForceLogoffUsers property: Should users be logged off forcefully from hosts.
Parameters:
Returns:
withRampDownLoadBalancingAlgorithm
public ScalingPlanPooledScheduleInner withRampDownLoadBalancingAlgorithm(SessionHostLoadBalancingAlgorithm rampDownLoadBalancingAlgorithm)
Set the rampDownLoadBalancingAlgorithm property: Load balancing algorithm for ramp down period.
Parameters:
Returns:
withRampDownMinimumHostsPct
public ScalingPlanPooledScheduleInner withRampDownMinimumHostsPct(Integer rampDownMinimumHostsPct)
Set the rampDownMinimumHostsPct property: Minimum host percentage for ramp down period.
Parameters:
Returns:
withRampDownNotificationMessage
public ScalingPlanPooledScheduleInner withRampDownNotificationMessage(String rampDownNotificationMessage)
Set the rampDownNotificationMessage property: Notification message for users during ramp down period.
Parameters:
Returns:
withRampDownStartTime
public ScalingPlanPooledScheduleInner withRampDownStartTime(Time rampDownStartTime)
Set the rampDownStartTime property: Starting time for ramp down period.
Parameters:
Returns:
withRampDownStopHostsWhen
public ScalingPlanPooledScheduleInner withRampDownStopHostsWhen(StopHostsWhen rampDownStopHostsWhen)
Set the rampDownStopHostsWhen property: Specifies when to stop hosts during ramp down period.
Parameters:
Returns:
withRampDownWaitTimeMinutes
public ScalingPlanPooledScheduleInner withRampDownWaitTimeMinutes(Integer rampDownWaitTimeMinutes)
Set the rampDownWaitTimeMinutes property: Number of minutes to wait to stop hosts during ramp down period.
Parameters:
Returns:
withRampUpCapacityThresholdPct
public ScalingPlanPooledScheduleInner withRampUpCapacityThresholdPct(Integer rampUpCapacityThresholdPct)
Set the rampUpCapacityThresholdPct property: Capacity threshold for ramp up period.
Parameters:
Returns:
withRampUpLoadBalancingAlgorithm
public ScalingPlanPooledScheduleInner withRampUpLoadBalancingAlgorithm(SessionHostLoadBalancingAlgorithm rampUpLoadBalancingAlgorithm)
Set the rampUpLoadBalancingAlgorithm property: Load balancing algorithm for ramp up period.
Parameters:
Returns:
withRampUpMinimumHostsPct
public ScalingPlanPooledScheduleInner withRampUpMinimumHostsPct(Integer rampUpMinimumHostsPct)
Set the rampUpMinimumHostsPct property: Minimum host percentage for ramp up period.
Parameters:
Returns:
withRampUpStartTime
public ScalingPlanPooledScheduleInner withRampUpStartTime(Time rampUpStartTime)
Set the rampUpStartTime property: Starting time for ramp up period.
Parameters:
Returns: