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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET