AutoscaleProfile Constructors

Definition

Overloads

AutoscaleProfile()

Initializes a new instance of the AutoscaleProfile class.

AutoscaleProfile(String, ScaleCapacity, IList<ScaleRule>, TimeWindow, Recurrence)

Initializes a new instance of the AutoscaleProfile class.

AutoscaleProfile()

Initializes a new instance of the AutoscaleProfile class.

public AutoscaleProfile ();
Public Sub New ()

Applies to

AutoscaleProfile(String, ScaleCapacity, IList<ScaleRule>, TimeWindow, Recurrence)

Initializes a new instance of the AutoscaleProfile class.

public AutoscaleProfile (string name, Microsoft.Azure.Management.Monitor.Models.ScaleCapacity capacity, System.Collections.Generic.IList<Microsoft.Azure.Management.Monitor.Models.ScaleRule> rules, Microsoft.Azure.Management.Monitor.Models.TimeWindow fixedDate = default, Microsoft.Azure.Management.Monitor.Models.Recurrence recurrence = default);
new Microsoft.Azure.Management.Monitor.Models.AutoscaleProfile : string * Microsoft.Azure.Management.Monitor.Models.ScaleCapacity * System.Collections.Generic.IList<Microsoft.Azure.Management.Monitor.Models.ScaleRule> * Microsoft.Azure.Management.Monitor.Models.TimeWindow * Microsoft.Azure.Management.Monitor.Models.Recurrence -> Microsoft.Azure.Management.Monitor.Models.AutoscaleProfile
Public Sub New (name As String, capacity As ScaleCapacity, rules As IList(Of ScaleRule), Optional fixedDate As TimeWindow = Nothing, Optional recurrence As Recurrence = Nothing)

Parameters

name
String

the name of the profile.

capacity
ScaleCapacity

the number of instances that can be used during this profile.

rules
IList<ScaleRule>

the collection of rules that provide the triggers and parameters for the scaling action. A maximum of 10 rules can be specified.

fixedDate
TimeWindow

the specific date-time for the profile. This element is not used if the Recurrence element is used.

recurrence
Recurrence

the repeating times at which this profile begins. This element is not used if the FixedDate element is used.

Applies to