AutoscaleProfile Constructor

Definition

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