Share via


NginxScaleProfileCapacity Class

Definition

The capacity parameters of the profile.

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

Constructors

NginxScaleProfileCapacity(Int32, Int32)

Initializes a new instance of NginxScaleProfileCapacity.

Properties

Max

The maximum number of NCUs the deployment can be autoscaled to.

Min

The minimum number of NCUs the deployment can be autoscaled to.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<NginxScaleProfileCapacity>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<NginxScaleProfileCapacity>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<NginxScaleProfileCapacity>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<NginxScaleProfileCapacity>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<NginxScaleProfileCapacity>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to