Freigeben über


Recommendation Konstruktoren

Definition

Überlädt

Recommendation()

Initialisiert eine neue instance der Recommendation-Klasse.

Recommendation(String, String, String, String, Nullable<DateTime>, Nullable<Guid>, String, String, String, String, String, Nullable<NotificationLevel>, Nullable<Channels>, IList<String>, String, Nullable<Int32>, IList<String>, Nullable<DateTime>, Nullable<DateTime>, Nullable<DateTime>, Nullable<DateTime>, Nullable<DateTime>, Nullable<Double>, Nullable<Boolean>, String, String, String)

Initialisiert eine neue instance der Recommendation-Klasse.

Recommendation()

Initialisiert eine neue instance der Recommendation-Klasse.

public Recommendation();
Public Sub New ()

Gilt für:

Recommendation(String, String, String, String, Nullable<DateTime>, Nullable<Guid>, String, String, String, String, String, Nullable<NotificationLevel>, Nullable<Channels>, IList<String>, String, Nullable<Int32>, IList<String>, Nullable<DateTime>, Nullable<DateTime>, Nullable<DateTime>, Nullable<DateTime>, Nullable<DateTime>, Nullable<Double>, Nullable<Boolean>, String, String, String)

Initialisiert eine neue instance der Recommendation-Klasse.

public Recommendation(string id = default, string name = default, string kind = default, string type = default, DateTime? creationTime = default, Guid? recommendationId = default, string resourceId = default, string resourceScope = default, string ruleName = default, string displayName = default, string message = default, Microsoft.Azure.Management.WebSites.Models.NotificationLevel? level = default, Microsoft.Azure.Management.WebSites.Models.Channels? channels = default, System.Collections.Generic.IList<string> categoryTags = default, string actionName = default, int? enabled = default, System.Collections.Generic.IList<string> states = default, DateTime? startTime = default, DateTime? endTime = default, DateTime? nextNotificationTime = default, DateTime? notificationExpirationTime = default, DateTime? notifiedTime = default, double? score = default, bool? isDynamic = default, string extensionName = default, string bladeName = default, string forwardLink = default);
new Microsoft.Azure.Management.WebSites.Models.Recommendation : string * string * string * string * Nullable<DateTime> * Nullable<Guid> * string * string * string * string * string * Nullable<Microsoft.Azure.Management.WebSites.Models.NotificationLevel> * Nullable<Microsoft.Azure.Management.WebSites.Models.Channels> * System.Collections.Generic.IList<string> * string * Nullable<int> * System.Collections.Generic.IList<string> * Nullable<DateTime> * Nullable<DateTime> * Nullable<DateTime> * Nullable<DateTime> * Nullable<DateTime> * Nullable<double> * Nullable<bool> * string * string * string -> Microsoft.Azure.Management.WebSites.Models.Recommendation
Public Sub New (Optional id As String = Nothing, Optional name As String = Nothing, Optional kind As String = Nothing, Optional type As String = Nothing, Optional creationTime As Nullable(Of DateTime) = Nothing, Optional recommendationId As Nullable(Of Guid) = Nothing, Optional resourceId As String = Nothing, Optional resourceScope As String = Nothing, Optional ruleName As String = Nothing, Optional displayName As String = Nothing, Optional message As String = Nothing, Optional level As Nullable(Of NotificationLevel) = Nothing, Optional channels As Nullable(Of Channels) = Nothing, Optional categoryTags As IList(Of String) = Nothing, Optional actionName As String = Nothing, Optional enabled As Nullable(Of Integer) = Nothing, Optional states As IList(Of String) = Nothing, Optional startTime As Nullable(Of DateTime) = Nothing, Optional endTime As Nullable(Of DateTime) = Nothing, Optional nextNotificationTime As Nullable(Of DateTime) = Nothing, Optional notificationExpirationTime As Nullable(Of DateTime) = Nothing, Optional notifiedTime As Nullable(Of DateTime) = Nothing, Optional score As Nullable(Of Double) = Nothing, Optional isDynamic As Nullable(Of Boolean) = Nothing, Optional extensionName As String = Nothing, Optional bladeName As String = Nothing, Optional forwardLink As String = Nothing)

Parameter

id
String

Ressourcen-ID.

name
String

Ressourcenname.

kind
String

Art der Ressource.

type
String

Der Ressourcentyp.

creationTime
Nullable<DateTime>

Zeitstempel, zu dem dieser instance erstellt wurde.

recommendationId
Nullable<Guid>

Ein GUID-Wert, dem jedes Empfehlungsobjekt zugeordnet ist.

resourceId
String

Vollständige ARM-Ressourcen-ID-Zeichenfolge, der dieses Empfehlungsobjekt zugeordnet ist.

resourceScope
String

Name eines Ressourcentyps, den diese Empfehlung betrifft, z. B. Abonnement, ServerFarm, Site. Mögliche Werte: "ServerFarm", "Subscription", "WebSite"

ruleName
String

Eindeutiger Name der Regel.

displayName
String

Anzeigename der Regel (möglicherweise nicht eindeutig).

message
String

Empfehlungstext.

level
Nullable<NotificationLevel>

Ebene, die angibt, wie wichtig sich diese Empfehlung auswirken kann. Mögliche Werte: "Critical", "Warning", "Information", "NonUrgentSuggestion"

channels
Nullable<Channels>

Liste der Kanäle, die diese Empfehlung anwenden kann. Mögliche Werte: "Notification", "Api", "Email", "Webhook", "All"

categoryTags
IList<String>

Die Liste der Kategorietags, zu denen diese Empfehlung gehört.

actionName
String

Der Von diesem Objekt empfohlene Aktionsname.

enabled
Nullable<Int32>

True, wenn diese Empfehlung weiterhin gültig ist (d. h. "umsetzbar"). False, wenn es ungültig ist.

states
IList<String>

Die Liste der Zustände dieser Empfehlung. Wenn es NULL ist, sollte es als "Aktiv" betrachtet werden.

startTime
Nullable<DateTime>

Die Anfangszeit in UTC eines Bereichs, auf den sich die Empfehlung bezieht.

endTime
Nullable<DateTime>

Die Endzeit in UTC eines Bereichs, auf den sich die Empfehlung bezieht.

nextNotificationTime
Nullable<DateTime>

Wann diese Empfehlung als Nächstes in UTC benachrichtigt werden soll. Null bedeutet, dass dies nie mehr benachrichtigt wird.

notificationExpirationTime
Nullable<DateTime>

Datum und Uhrzeit in UTC, wann diese Benachrichtigung abläuft.

notifiedTime
Nullable<DateTime>

Beim letzten Zeitstempel in UTC wurde dieser instance tatsächlich benachrichtigt. Null bedeutet, dass diese Empfehlung noch nicht benachrichtigt wurde.

score
Nullable<Double>

Ein durch die Regel gemessener Metrikwert.

isDynamic
Nullable<Boolean>

True, wenn dies einer dynamisch hinzugefügten Regel zugeordnet ist

extensionName
String

Erweiterungsname des Portals, sofern vorhanden.

bladeName
String

Deep link zu einem Blatt im Portal.

forwardLink
String

Weiterleiten des Links zu einem externen Dokument, das der Regel zugeordnet ist.

Gilt für: