Interface AutoscaleProfile
-
- All Superinterfaces:
HasInnerModel<AutoscaleProfileInner>,HasName,HasParent<AutoscaleSetting>
public interface AutoscaleProfile extends HasInnerModel<AutoscaleProfileInner>, HasParent<AutoscaleSetting>, HasName
An immutable client-side representation of an Azure autoscale profile.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interfaceAutoscaleProfile.DefinitionThe entirety of an autoscale profile definition.static interfaceAutoscaleProfile.DefinitionStagesGrouping of autoscale profile definition stages.static interfaceAutoscaleProfile.UpdateGrouping of autoscale profile update stages.static interfaceAutoscaleProfile.UpdateDefinitionThe entirety of an autoscale profile definition during current autoscale settings update.static interfaceAutoscaleProfile.UpdateDefinitionStagesGrouping of autoscale profile definition stages during current autoscale settings update stage.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description intdefaultInstanceCount()Get the number of instances that will be set if metrics are not available for evaluation.TimeWindowfixedDateSchedule()Get the specific date-time for the profile.intmaxInstanceCount()Get the maximum number of instances for the resource.intminInstanceCount()Get the minimum number of instances for the resource.RecurrencerecurrentSchedule()Get the repeating times at which this profile begins.List<ScaleRule>rules()Get the collection of rules that provide the triggers and parameters for the scaling action.-
Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.model.HasInnerModel
innerModel
-
-
-
-
Method Detail
-
minInstanceCount
int minInstanceCount()
Get the minimum number of instances for the resource.- Returns:
- the minimum value.
-
maxInstanceCount
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:
- the maximum value.
-
defaultInstanceCount
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:
- the defaultProperty value.
-
fixedDateSchedule
TimeWindow fixedDateSchedule()
Get the specific date-time for the profile. This element is not used if the Recurrence element is used.- Returns:
- the fixedDate value.
-
recurrentSchedule
Recurrence recurrentSchedule()
Get the repeating times at which this profile begins. This element is not used if the FixedDate element is used.- Returns:
- the recurrence value.
-
-