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
Collabora con noi su GitHub
L'origine di questo contenuto è disponibile in GitHub, in cui è anche possibile creare ed esaminare i problemi e le richieste pull. Per ulteriori informazioni, vedere la guida per i collaboratori.