AutoscaleProfile.Update Interface
Implements
public static interface AutoscaleProfile.Update
extends Settable<Update>
Grouping of autoscale profile update stages.
Method Summary
Modifier and Type | Method and Description |
---|---|
abstract Blank |
defineScaleRule()
Starts the definition of scale rule for the current autoscale profile. |
abstract Update |
updateScaleRule(int ruleIndex)
Starts the update of the scale rule for the current autoscale profile. |
abstract Update |
withFixedDateSchedule(String timeZone, OffsetDateTime start, OffsetDateTime end)
Updates fixed date schedule for autoscale profile. |
abstract Update |
withMetricBasedScale(int minimumInstanceCount, int maximumInstanceCount, int defaultInstanceCount)
Updates metric based autoscale profile. |
abstract Update |
withRecurrentSchedule(String scheduleTimeZone, String startTime, DayOfWeek[] weekday)
Updates recurrent schedule for autoscale profile. |
abstract Update |
withScheduleBasedScale(int instanceCount)
Updates schedule based autoscale profile. |
abstract Update |
withoutScaleRule(int ruleIndex)
Removes scale rule from the current autoscale profile. |
Method Details
defineScaleRule
public abstract ScaleRule.UpdateDefinitionStages.Blank defineScaleRule()
Starts the definition of scale rule for the current autoscale profile.
Returns:
updateScaleRule
public abstract ScaleRule.Update updateScaleRule(int ruleIndex)
Starts the update of the scale rule for the current autoscale profile.
Parameters:
Returns:
withFixedDateSchedule
public abstract AutoscaleProfile.Update withFixedDateSchedule(String timeZone, OffsetDateTime start, OffsetDateTime end)
Updates fixed date schedule for autoscale profile.
Parameters:
Returns:
withMetricBasedScale
public abstract AutoscaleProfile.Update withMetricBasedScale(int minimumInstanceCount, int maximumInstanceCount, int defaultInstanceCount)
Updates metric based autoscale profile.
Parameters:
Returns:
withRecurrentSchedule
public abstract AutoscaleProfile.Update withRecurrentSchedule(String scheduleTimeZone, String startTime, DayOfWeek[] weekday)
Updates recurrent schedule for autoscale profile.
Parameters:
Returns:
withScheduleBasedScale
public abstract AutoscaleProfile.Update withScheduleBasedScale(int instanceCount)
Updates schedule based autoscale profile.
Parameters:
Returns:
withoutScaleRule
public abstract AutoscaleProfile.Update withoutScaleRule(int ruleIndex)
Removes scale rule from the current autoscale profile.
Parameters:
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for