CustomScaleRule Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Container App container Custom scaling rule.
[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.App.Models.CustomScaleRuleTypeConverter))]
public class CustomScaleRule : Microsoft.Azure.PowerShell.Cmdlets.App.Models.ICustomScaleRule
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.App.Models.CustomScaleRuleTypeConverter))>]
type CustomScaleRule = class
interface ICustomScaleRule
interface IJsonSerializable
Public Class CustomScaleRule
Implements ICustomScaleRule
- Inheritance
-
CustomScaleRule
- Attributes
- Implements
Constructors
CustomScaleRule() |
Creates an new CustomScaleRule instance. |
Properties
Auth |
Authentication secrets for the custom scale rule. |
Metadata |
Metadata properties to describe custom scale rule. |
Type |
Type of the custom scale rule eg: azure-servicebus, redis etc. |
Methods
DeserializeFromDictionary(IDictionary) |
Deserializes a IDictionary into an instance of CustomScaleRule. |
DeserializeFromPSObject(PSObject) |
Deserializes a PSObject into an instance of CustomScaleRule. |
FromJson(JsonNode) |
Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.App.Models.ICustomScaleRule. |
FromJsonString(String) |
Creates a new instance of CustomScaleRule, deserializing the content from a json string. |
ToJson(JsonObject, SerializationMode) |
Serializes this instance of CustomScaleRule into a JsonNode. |
ToJsonString() |
Serializes this instance to a json string. |
ToString() |