AveragePartitionLoadScalingTrigger Class

Represents a scaling trigger related to an average load of a metric/resource of a partition.

All required parameters must be populated in order to send to Azure.

Inheritance
azure.mgmt.servicefabricmanagedclusters.models._models_py3.ScalingTrigger
AveragePartitionLoadScalingTrigger

Constructor

AveragePartitionLoadScalingTrigger(*, metric_name: str, lower_load_threshold: float, upper_load_threshold: float, scale_interval: str, **kwargs)

Parameters

kind
str or <xref:service_fabric_managed_clusters_management_client.models.ServiceScalingTriggerKind>
Required

Required. Specifies the trigger associated with this scaling policy.Constant filled by server. Possible values include: "AveragePartitionLoad", "AverageServiceLoad".

metric_name
str
Required

Required. The name of the metric for which usage should be tracked.

lower_load_threshold
float
Required

Required. The lower limit of the load below which a scale in operation should be performed.

upper_load_threshold
float
Required

Required. The upper limit of the load beyond which a scale out operation should be performed.

scale_interval
str
Required

Required. 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".