Share via


SiteLimits Class

Definition

Metric limits set on an app.

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

Constructors

SiteLimits()

Initializes a new instance of SiteLimits.

Properties

MaxDiskSizeInMb

Maximum allowed disk size usage in MB.

MaxMemoryInMb

Maximum allowed memory usage in MB.

MaxPercentageCpu

Maximum allowed CPU usage percentage.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<SiteLimits>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<SiteLimits>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<SiteLimits>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<SiteLimits>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<SiteLimits>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to