AverageServiceLoadScalingTrigger interface    
Represents a scaling policy related to an average load of a metric/resource of a service.
- Extends
 
Properties
| kind | Specifies the trigger associated with this scaling policy.  | 
| lower | 
	The lower limit of the load below which a scale in operation should be performed.  | 
| metric | 
	The name of the metric for which usage should be tracked.  | 
| scale | 
	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".  | 
| upper | 
	The upper limit of the load beyond which a scale out operation should be performed.  | 
| use | 
	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.  | 
Property Details
kind
Specifies the trigger associated with this scaling policy.
kind: "AverageServiceLoadTrigger"
				Property Value
"AverageServiceLoadTrigger"
		lowerLoadThreshold
	  
	The lower limit of the load below which a scale in operation should be performed.
lowerLoadThreshold: number
				Property Value
number
		metricName
	 
	The name of the metric for which usage should be tracked.
metricName: string
				Property Value
string
		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".
scaleInterval: string
				Property Value
string
		upperLoadThreshold
	  
	The upper limit of the load beyond which a scale out operation should be performed.
upperLoadThreshold: number
				Property Value
number
		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.
useOnlyPrimaryLoad: boolean
				Property Value
boolean