| Modifier and Type | Method and Description |
|---|---|
static ScaleType |
ScaleType.fromString(String value)
Parses a serialized value to a ScaleType instance.
|
ScaleType |
ScaleRule.scaleType()
Get the type of action that should occur when the scale rule fires.
|
ScaleType |
ScaleAction.type()
Get the type of action that should occur when the scale rule fires.
|
static ScaleType |
ScaleType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ScaleType[] |
ScaleType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
ScaleRule.DefinitionStages.WithAttach |
ScaleRule.DefinitionStages.WithScaleAction.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.ParentUpdateDefinitionStages.WithAttach |
ScaleRule.ParentUpdateDefinitionStages.WithScaleAction.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 |
ScaleRule.UpdateDefinitionStages.WithScaleAction.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.Update |
ScaleRule.Update.withScaleAction(ScaleDirection direction,
ScaleType type,
int instanceCountChange,
org.joda.time.Period cooldown)
Updates the action to be performed when the scale rule will be active.
|
ScaleAction |
ScaleAction.withType(ScaleType type)
Set the type of action that should occur when the scale rule fires.
|
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/