Share via


Scale Class

Definition

Container App scaling configurations.

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

Constructors

Scale()

Creates an new Scale instance.

Properties

MaxReplica

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

MinReplica

Optional. Minimum number of container replicas.

Rule

Scaling rules.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of Scale.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of Scale.

FromJson(JsonNode)

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

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of Scale into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Applies to