AutoscaleProfile Constructors
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.
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.
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.