你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

CustomScaleRule 构造函数

定义

重载

CustomScaleRule()

初始化 CustomScaleRule 类的新实例。

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

初始化 CustomScaleRule 类的新实例。

CustomScaleRule()

初始化 CustomScaleRule 类的新实例。

public CustomScaleRule ();
Public Sub New ()

适用于

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

初始化 CustomScaleRule 类的新实例。

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)

参数

type
String

自定义缩放规则的类型,例如:azure-servicebus、redis 等。

metadata
IDictionary<String,String>

描述自定义缩放规则的元数据属性。

auth
IList<ScaleRuleAuth>

自定义缩放规则的身份验证机密。

适用于