Compartir a través de


ContainerAppScale Class

Definition

Container App scaling configurations.

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

Constructors

ContainerAppScale()

Initializes a new instance of ContainerAppScale.

Properties

MaxReplicas

Optional. Maximum number of container replicas. Defaults to 10 if not set.

MinReplicas

Optional. Minimum number of container replicas.

Rules

Scaling rules.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<ContainerAppScale>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<ContainerAppScale>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ContainerAppScale>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ContainerAppScale>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<ContainerAppScale>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to