你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
ScaleRule 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
ScaleRule() |
初始化 ScaleRule 类的新实例。 |
ScaleRule(String, QueueScaleRule, CustomScaleRule, HttpScaleRule) |
初始化 ScaleRule 类的新实例。 |
ScaleRule()
初始化 ScaleRule 类的新实例。
public ScaleRule ();
Public Sub New ()
适用于
ScaleRule(String, QueueScaleRule, CustomScaleRule, HttpScaleRule)
初始化 ScaleRule 类的新实例。
public ScaleRule (string name = default, Microsoft.Azure.Management.WebSites.Models.QueueScaleRule azureQueue = default, Microsoft.Azure.Management.WebSites.Models.CustomScaleRule custom = default, Microsoft.Azure.Management.WebSites.Models.HttpScaleRule http = default);
new Microsoft.Azure.Management.WebSites.Models.ScaleRule : string * Microsoft.Azure.Management.WebSites.Models.QueueScaleRule * Microsoft.Azure.Management.WebSites.Models.CustomScaleRule * Microsoft.Azure.Management.WebSites.Models.HttpScaleRule -> Microsoft.Azure.Management.WebSites.Models.ScaleRule
Public Sub New (Optional name As String = Nothing, Optional azureQueue As QueueScaleRule = Nothing, Optional custom As CustomScaleRule = Nothing, Optional http As HttpScaleRule = Nothing)
参数
- name
- String
缩放规则名称
- azureQueue
- QueueScaleRule
基于 Azure 队列的缩放。
- custom
- CustomScaleRule
自定义缩放规则。
- http
- HttpScaleRule
基于 HTTP 请求的缩放。