MonitorScaleAction(MonitorScaleDirection, MonitorScaleType, TimeSpan) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of MonitorScaleAction.
public MonitorScaleAction (Azure.ResourceManager.Monitor.Models.MonitorScaleDirection direction, Azure.ResourceManager.Monitor.Models.MonitorScaleType scaleType, TimeSpan cooldown);
new Azure.ResourceManager.Monitor.Models.MonitorScaleAction : Azure.ResourceManager.Monitor.Models.MonitorScaleDirection * Azure.ResourceManager.Monitor.Models.MonitorScaleType * TimeSpan -> Azure.ResourceManager.Monitor.Models.MonitorScaleAction
Public Sub New (direction As MonitorScaleDirection, scaleType As MonitorScaleType, cooldown As TimeSpan)
Parameters
- direction
- MonitorScaleDirection
the scale direction. Whether the scaling action increases or decreases the number of instances.
- scaleType
- MonitorScaleType
the type of action that should occur when the scale rule fires.
- cooldown
- TimeSpan
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.
Applies to
Azure SDK for .NET