다음을 통해 공유


MonitorScaleCapacity Class

Definition

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

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

Constructors

MonitorScaleCapacity(Int32, Int32, Int32)

Initializes a new instance of MonitorScaleCapacity.

Properties

Default

the number of instances that will be set if metrics are not available for evaluation. The default is only used if the current instance count is lower than the default.

Maximum

the maximum number of instances for the resource. The actual maximum number of instances is limited by the cores that are available in the subscription.

Minimum

the minimum number of instances for the resource.

Explicit Interface Implementations

IJsonModel<MonitorScaleCapacity>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<MonitorScaleCapacity>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<MonitorScaleCapacity>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<MonitorScaleCapacity>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<MonitorScaleCapacity>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to