public static interface ScaleRule.UpdateDefinitionStages.WithScaleAction
| Modifier and Type | Method and Description |
|---|---|
ScaleRule.UpdateDefinitionStages.WithAttach |
withScaleAction(ScaleDirection direction,
ScaleType type,
int instanceCountChange,
org.joda.time.Period cooldown)
Sets the action to be performed when the scale rule will be active.
|
ScaleRule.UpdateDefinitionStages.WithAttach withScaleAction(ScaleDirection direction, ScaleType type, int instanceCountChange, org.joda.time.Period cooldown)
direction - the scale direction. Whether the scaling action increases or decreases the number of instances. Possible values include: 'None', 'Increase', 'Decrease'.type - the type of action that should occur when the scale rule fires. Possible values include: 'ChangeCount', 'PercentChangeCount', 'ExactCount'.instanceCountChange - the number of instances that are involved in the scaling action.cooldown - the amount of time to wait since the last scaling action before this action occurs. It must be between 1 week and 1 minute in ISO 8601 format./**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/