Share via


ManagedServiceScalingTrigger Class

Definition

Describes the trigger for performing a scaling operation. Please note ManagedServiceScalingTrigger is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. The available derived classes include AveragePartitionLoadScalingTrigger and AverageServiceLoadScalingTrigger.

[System.ClientModel.Primitives.PersistableModelProxy(typeof(Azure.ResourceManager.ServiceFabricManagedClusters.Models.UnknownScalingTrigger))]
public abstract class ManagedServiceScalingTrigger : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.ServiceFabricManagedClusters.Models.ManagedServiceScalingTrigger>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.ServiceFabricManagedClusters.Models.ManagedServiceScalingTrigger>
[<System.ClientModel.Primitives.PersistableModelProxy(typeof(Azure.ResourceManager.ServiceFabricManagedClusters.Models.UnknownScalingTrigger))>]
type ManagedServiceScalingTrigger = class
    interface IJsonModel<ManagedServiceScalingTrigger>
    interface IPersistableModel<ManagedServiceScalingTrigger>
Public MustInherit Class ManagedServiceScalingTrigger
Implements IJsonModel(Of ManagedServiceScalingTrigger), IPersistableModel(Of ManagedServiceScalingTrigger)
Inheritance
ManagedServiceScalingTrigger
Derived
Attributes
Implements

Constructors

ManagedServiceScalingTrigger()

Initializes a new instance of ManagedServiceScalingTrigger.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<ManagedServiceScalingTrigger>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<ManagedServiceScalingTrigger>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ManagedServiceScalingTrigger>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ManagedServiceScalingTrigger>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<ManagedServiceScalingTrigger>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to