Share via


ContainerAppQueueScaleRule Class

Definition

Container App container Azure Queue based scaling rule.

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

Constructors

Name Description
ContainerAppQueueScaleRule()

Initializes a new instance of ContainerAppQueueScaleRule.

Properties

Name Description
AccountName

Storage account name. required if using managed identity to authenticate.

Auth

Authentication secrets for the queue scale rule.

Identity

The resource ID of a user-assigned managed identity that is assigned to the Container App, or 'system' for system-assigned identity.

QueueLength

Queue length.

QueueName

Queue name.

Methods

Name Description
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

Name Description
IJsonModel<ContainerAppQueueScaleRule>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<ContainerAppQueueScaleRule>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ContainerAppQueueScaleRule>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ContainerAppQueueScaleRule>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<ContainerAppQueueScaleRule>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to