Compartilhar via


ScaleRule Class

Definition

Container App container scaling rule.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.App.Models.ScaleRuleTypeConverter))]
public class ScaleRule : Microsoft.Azure.PowerShell.Cmdlets.App.Models.IScaleRule
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.App.Models.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

TcpAuth

Authentication secrets for the tcp scale rule.

TcpMetadata

Metadata properties to describe tcp scale rule.

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.App.Models.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.

ToString()

Applies to