Interface AutoscaleProfile.DefinitionStages.Blank

    • Method Detail

      • withMetricBasedScale

        AutoscaleProfile.DefinitionStages.WithScaleRule withMetricBasedScale​(int minimumInstanceCount,
                                                                             int maximumInstanceCount,
                                                                             int defaultInstanceCount)
        Selects metric based autoscale profile.
        Parameters:
        minimumInstanceCount - the minimum number of instances for the resource.
        maximumInstanceCount - 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.
        defaultInstanceCount - 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 next stage of the definition.
      • withScheduleBasedScale

        AutoscaleProfile.DefinitionStages.WithScaleSchedule withScheduleBasedScale​(int instanceCount)
        Selects schedule based autoscale profile.
        Parameters:
        instanceCount - the number of instances that will be set during specified schedule. The actual number of instances is limited by the cores that are available in the subscription.
        Returns:
        the next stage of the definition.
      • withFixedInstanceCount

        AutoscaleProfile.DefinitionStages.WithAttach withFixedInstanceCount​(int instanceCount)
        Selects a specific instance count for the current Default profile.
        Parameters:
        instanceCount - the number of instances that will be set during specified schedule. The actual number of instances is limited by the cores that are available in the subscription.
        Returns:
        the next stage of the definition.