Condividi tramite


AveragePartitionLoadScalingTrigger Class

Definition

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

public class AveragePartitionLoadScalingTrigger : Azure.ResourceManager.ServiceFabricManagedClusters.Models.ManagedServiceScalingTrigger, System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.ServiceFabricManagedClusters.Models.AveragePartitionLoadScalingTrigger>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.ServiceFabricManagedClusters.Models.AveragePartitionLoadScalingTrigger>
type AveragePartitionLoadScalingTrigger = class
    inherit ManagedServiceScalingTrigger
    interface IJsonModel<AveragePartitionLoadScalingTrigger>
    interface IPersistableModel<AveragePartitionLoadScalingTrigger>
Public Class AveragePartitionLoadScalingTrigger
Inherits ManagedServiceScalingTrigger
Implements IJsonModel(Of AveragePartitionLoadScalingTrigger), IPersistableModel(Of AveragePartitionLoadScalingTrigger)
Inheritance
AveragePartitionLoadScalingTrigger
Implements

Constructors

AveragePartitionLoadScalingTrigger(String, Double, Double, String)

Initializes a new instance of AveragePartitionLoadScalingTrigger.

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.

Explicit Interface Implementations

IJsonModel<AveragePartitionLoadScalingTrigger>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<AveragePartitionLoadScalingTrigger>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IJsonModel<ManagedServiceScalingTrigger>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

(Inherited from ManagedServiceScalingTrigger)
IJsonModel<ManagedServiceScalingTrigger>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

(Inherited from ManagedServiceScalingTrigger)
IPersistableModel<AveragePartitionLoadScalingTrigger>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<AveragePartitionLoadScalingTrigger>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<AveragePartitionLoadScalingTrigger>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

IPersistableModel<ManagedServiceScalingTrigger>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

(Inherited from ManagedServiceScalingTrigger)
IPersistableModel<ManagedServiceScalingTrigger>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

(Inherited from ManagedServiceScalingTrigger)
IPersistableModel<ManagedServiceScalingTrigger>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

(Inherited from ManagedServiceScalingTrigger)

Applies to