AutoscaleProfile Interface
Implements
public interface AutoscaleProfile
extends HasInnerModel<AutoscaleProfileInner>, HasParent<AutoscaleSetting>, HasName
An immutable client-side representation of an Azure autoscale profile.
Method Summary
Modifier and Type | Method and Description |
---|---|
abstract int |
defaultInstanceCount()
Get the number of instances that will be set if metrics are not available for evaluation. |
abstract
Time |
fixedDateSchedule()
Get the specific date-time for the profile. |
abstract int |
maxInstanceCount()
Get the maximum number of instances for the resource. |
abstract int |
minInstanceCount()
Get the minimum number of instances for the resource. |
abstract Recurrence |
recurrentSchedule()
Get the repeating times at which this profile begins. |
abstract
List<Scale |
rules()
Get the collection of rules that provide the triggers and parameters for the scaling action. |
Method Details
defaultInstanceCount
public abstract int defaultInstanceCount()
Get the number of instances that will be set if metrics are not available for evaluation. The default is only used if the current instance count is lower than the default.
Returns:
fixedDateSchedule
public abstract TimeWindow fixedDateSchedule()
Get the specific date-time for the profile. This element is not used if the Recurrence element is used.
Returns:
maxInstanceCount
public abstract int maxInstanceCount()
Get the maximum number of instances for the resource. The actual maximum number of instances is limited by the cores that are available in the subscription.
Returns:
minInstanceCount
public abstract int minInstanceCount()
Get the minimum number of instances for the resource.
Returns:
recurrentSchedule
public abstract Recurrence recurrentSchedule()
Get the repeating times at which this profile begins. This element is not used if the FixedDate element is used.
Returns:
rules
public abstract List
Get the collection of rules that provide the triggers and parameters for the scaling action. A maximum of 10 rules can be specified.
Returns:
Applies to
Azure SDK for Java