AutoscaleProfile Constructor
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.
Initializes a new instance of AutoscaleProfile.
public AutoscaleProfile (string name, Azure.ResourceManager.Monitor.Models.MonitorScaleCapacity capacity, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Monitor.Models.AutoscaleRule> rules);
new Azure.ResourceManager.Monitor.Models.AutoscaleProfile : string * Azure.ResourceManager.Monitor.Models.MonitorScaleCapacity * seq<Azure.ResourceManager.Monitor.Models.AutoscaleRule> -> Azure.ResourceManager.Monitor.Models.AutoscaleProfile
Public Sub New (name As String, capacity As MonitorScaleCapacity, rules As IEnumerable(Of AutoscaleRule))
Parameters
- name
- String
the name of the profile.
- capacity
- MonitorScaleCapacity
the number of instances that can be used during this profile.
- rules
- IEnumerable<AutoscaleRule>
the collection of rules that provide the triggers and parameters for the scaling action. A maximum of 10 rules can be specified.
Exceptions
name
, capacity
or rules
is null.
Applies to
Spolupracujte s námi na GitHubu
Zdroj tohoto obsahu najdete na GitHubu, kde můžete také vytvářet a kontrolovat problémy a žádosti o přijetí změn. Další informace najdete v našem průvodci pro přispěvatele.
Azure SDK for .NET