Share via


AutoscaleProfile Konstruktoren

Definition

Überlädt

AutoscaleProfile()

Initialisiert eine neue instance der AutoscaleProfile-Klasse.

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

Initialisiert eine neue instance der AutoscaleProfile-Klasse.

AutoscaleProfile()

Initialisiert eine neue instance der AutoscaleProfile-Klasse.

public AutoscaleProfile ();
Public Sub New ()

Gilt für:

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

Initialisiert eine neue instance der AutoscaleProfile-Klasse.

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)

Parameter

name
String

der Name des Profils.

capacity
ScaleCapacity

die Anzahl der Instanzen, die während dieses Profils verwendet werden können.

rules
IList<ScaleRule>

die Auflistung von Regeln, die die Trigger und Parameter für die Skalierungsaktion bereitstellen. Es können maximal 10 Regeln angegeben werden.

fixedDate
TimeWindow

die spezifische Datums-Uhrzeit für das Profil. Dieses Element wird nicht verwendet, wenn das Recurrence-Element verwendet wird.

recurrence
Recurrence

die sich wiederholenden Zeiten, zu denen dieses Profil beginnt. Dieses Element wird nicht verwendet, wenn das FixedDate-Element verwendet wird.

Gilt für: