Share via


ScaleRule Class

Definition

Container App container scaling rule.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20231201.ScaleRuleTypeConverter))]
public class ScaleRule : Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20231201.IScaleRule
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20231201.ScaleRuleTypeConverter))>]
type ScaleRule = class
    interface IScaleRule
    interface IJsonSerializable
Public Class ScaleRule
Implements IScaleRule
Inheritance
ScaleRule
Attributes
Implements

Constructors

ScaleRule()

Creates an new ScaleRule instance.

Properties

AzureQueueAuth

Authentication secrets for the queue scale rule.

AzureQueueLength

Queue length.

AzureQueueName

Queue name.

CustomAuth

Authentication secrets for the custom scale rule.

CustomMetadata

Metadata properties to describe custom scale rule.

CustomType

Type of the custom scale rule eg: azure-servicebus, redis etc.

HttpAuth

Authentication secrets for the custom scale rule.

HttpMetadata

Metadata properties to describe http scale rule.

Name

Scale Rule Name

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of ScaleRule.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of ScaleRule.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20231201.IScaleRule.

FromJsonString(String)

Creates a new instance of ScaleRule, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of ScaleRule into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Applies to