AverageServiceLoadScalingTrigger Class
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.
Represents a scaling policy related to an average load of a metric/resource of a service.
public class AverageServiceLoadScalingTrigger : Azure.ResourceManager.ServiceFabricManagedClusters.Models.ManagedServiceScalingTrigger, System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.ServiceFabricManagedClusters.Models.AverageServiceLoadScalingTrigger>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.ServiceFabricManagedClusters.Models.AverageServiceLoadScalingTrigger>
type AverageServiceLoadScalingTrigger = class
inherit ManagedServiceScalingTrigger
interface IJsonModel<AverageServiceLoadScalingTrigger>
interface IPersistableModel<AverageServiceLoadScalingTrigger>
Public Class AverageServiceLoadScalingTrigger
Inherits ManagedServiceScalingTrigger
Implements IJsonModel(Of AverageServiceLoadScalingTrigger), IPersistableModel(Of AverageServiceLoadScalingTrigger)
- Inheritance
- Implements
Constructors
AverageServiceLoadScalingTrigger(String, Double, Double, String, Boolean) |
Initializes a new instance of AverageServiceLoadScalingTrigger. |
Properties
LowerLoadThreshold |
The lower limit of the load below which a scale in operation should be performed. |
MetricName |
The name of the metric for which usage should be tracked. |
ScaleInterval |
The period in seconds on which a decision is made whether to scale or not. This property should come in ISO 8601 format "hh:mm:ss". |
UpperLoadThreshold |
The upper limit of the load beyond which a scale out operation should be performed. |
UseOnlyPrimaryLoad |
Flag determines whether only the load of primary replica should be considered for scaling. If set to true, then trigger will only consider the load of primary replicas of stateful service. If set to false, trigger will consider load of all replicas. This parameter cannot be set to true for stateless service. |
Methods
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) | |
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) | (Inherited from ManagedServiceScalingTrigger) |
Explicit Interface Implementations
Applies to
Azure SDK for .NET