| Package | Description |
|---|---|
| com.azure.resourcemanager.monitor.models |
Package containing the data models for MonitorClient.
|
| 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 property: 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,
Duration 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,
Duration 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,
Duration 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,
Duration cooldown)
Updates the action to be performed when the scale rule will be active.
|
ScaleAction |
ScaleAction.withType(ScaleType type)
Set the type property: the type of action that should occur when the scale rule fires.
|
Copyright © 2020 Microsoft Corporation. All rights reserved.