AutoscaleRule Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
A rule that provide the triggers and parameters for the scaling action.
public class AutoscaleRule : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Monitor.Models.AutoscaleRule>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.Monitor.Models.AutoscaleRule>
public class AutoscaleRule
type AutoscaleRule = class
interface IJsonModel<AutoscaleRule>
interface IPersistableModel<AutoscaleRule>
type AutoscaleRule = class
Public Class AutoscaleRule
Implements IJsonModel(Of AutoscaleRule), IPersistableModel(Of AutoscaleRule)
Public Class AutoscaleRule
- Inheritance
-
AutoscaleRule
- Implements
Constructors
AutoscaleRule(MetricTrigger, MonitorScaleAction) |
Initializes a new instance of AutoscaleRule. |
Properties
MetricTrigger |
the trigger that results in a scaling action. |
ScaleAction |
the parameters for the scaling action. |
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
Azure SDK for .NET
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for