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
التعاون معنا على GitHub
يمكن العثور على مصدر هذا المحتوى على GitHub حيث يمكنك أيضاً إضافة مشاكل وطلبات سحب ومراجعتها. للحصول على معلومات إضافية، اطلع على دليل المساهم لدينا.
Azure SDK for .NET