你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

ContainerAppScaleRule Class

Definition

Container App container scaling rule.

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

Constructors

ContainerAppScaleRule()

Initializes a new instance of ContainerAppScaleRule.

Properties

AzureQueue

Azure Queue based scaling.

Custom

Custom scale rule.

Http

HTTP requests based scaling.

Name

Scale Rule Name.

Tcp

Tcp requests based scaling.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<ContainerAppScaleRule>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<ContainerAppScaleRule>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ContainerAppScaleRule>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ContainerAppScaleRule>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<ContainerAppScaleRule>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to