Share via


CustomScaleRule Constructors

Definition

Overloads

CustomScaleRule()

Initializes a new instance of the CustomScaleRule class.

CustomScaleRule(String, IDictionary<String,String>, IList<ScaleRuleAuth>)

Initializes a new instance of the CustomScaleRule class.

CustomScaleRule()

Initializes a new instance of the CustomScaleRule class.

public CustomScaleRule ();
Public Sub New ()

Applies to

CustomScaleRule(String, IDictionary<String,String>, IList<ScaleRuleAuth>)

Initializes a new instance of the CustomScaleRule class.

public CustomScaleRule (string type = default, System.Collections.Generic.IDictionary<string,string> metadata = default, System.Collections.Generic.IList<Microsoft.Azure.Management.WebSites.Models.ScaleRuleAuth> auth = default);
new Microsoft.Azure.Management.WebSites.Models.CustomScaleRule : string * System.Collections.Generic.IDictionary<string, string> * System.Collections.Generic.IList<Microsoft.Azure.Management.WebSites.Models.ScaleRuleAuth> -> Microsoft.Azure.Management.WebSites.Models.CustomScaleRule
Public Sub New (Optional type As String = Nothing, Optional metadata As IDictionary(Of String, String) = Nothing, Optional auth As IList(Of ScaleRuleAuth) = Nothing)

Parameters

type
String

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

metadata
IDictionary<String,String>

Metadata properties to describe custom scale rule.

auth
IList<ScaleRuleAuth>

Authentication secrets for the custom scale rule.

Applies to