AutoscaleRule Class

Definition

A rule that provide the triggers and parameters for the scaling action.

C#
public class AutoscaleRule : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Monitor.Models.AutoscaleRule>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.Monitor.Models.AutoscaleRule>
Inheritance
AutoscaleRule
Implements

Constructors

Properties

MetricTrigger

the trigger that results in a scaling action.

ScaleAction

the parameters for the scaling action.

Methods

Explicit Interface Implementations

IJsonModel<AutoscaleRule>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<AutoscaleRule>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<AutoscaleRule>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<AutoscaleRule>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<AutoscaleRule>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to

Toode Versioonid
Azure SDK for .NET Latest, Preview