Delen via


AutoscaleProfile Class

Definition

Autoscale profile.

public class AutoscaleProfile : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Monitor.Models.AutoscaleProfile>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.Monitor.Models.AutoscaleProfile>
type AutoscaleProfile = class
    interface IJsonModel<AutoscaleProfile>
    interface IPersistableModel<AutoscaleProfile>
Public Class AutoscaleProfile
Implements IJsonModel(Of AutoscaleProfile), IPersistableModel(Of AutoscaleProfile)
Inheritance
AutoscaleProfile
Implements

Constructors

AutoscaleProfile(String, MonitorScaleCapacity, IEnumerable<AutoscaleRule>)

Initializes a new instance of AutoscaleProfile.

Properties

Capacity

the number of instances that can be used during this profile.

FixedDate

the specific date-time for the profile. This element is not used if the Recurrence element is used.

Name

the name of the profile.

Recurrence

the repeating times at which this profile begins. This element is not used if the FixedDate element is used.

Rules

the collection of rules that provide the triggers and parameters for the scaling action. A maximum of 10 rules can be specified.

Explicit Interface Implementations

IJsonModel<AutoscaleProfile>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<AutoscaleProfile>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<AutoscaleProfile>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<AutoscaleProfile>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<AutoscaleProfile>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to