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
GitHub에서 Microsoft와 공동 작업
이 콘텐츠의 원본은 GitHub에서 찾을 수 있으며, 여기서 문제와 끌어오기 요청을 만들고 검토할 수도 있습니다. 자세한 내용은 참여자 가이드를 참조하세요.
Azure SDK for .NET