Recommendation Constructors

Definition

Overloads

Recommendation()

Initializes a new instance of the Recommendation class.

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)

Initializes a new instance of the Recommendation class.

Recommendation()

Initializes a new instance of the Recommendation class.

public Recommendation ();
Public Sub New ()

Applies to

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)

Initializes a new instance of the Recommendation class.

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)

Parameters

id
String

Resource Id.

name
String

Resource Name.

kind
String

Kind of resource.

type
String

Resource type.

creationTime
Nullable<DateTime>

Timestamp when this instance was created.

recommendationId
Nullable<Guid>

A GUID value that each recommendation object is associated with.

resourceId
String

Full ARM resource ID string that this recommendation object is associated with.

resourceScope
String

Name of a resource type this recommendation applies, e.g. Subscription, ServerFarm, Site. Possible values include: 'ServerFarm', 'Subscription', 'WebSite'

ruleName
String

Unique name of the rule.

displayName
String

UI friendly name of the rule (may not be unique).

message
String

Recommendation text.

level
Nullable<NotificationLevel>

Level indicating how critical this recommendation can impact. Possible values include: 'Critical', 'Warning', 'Information', 'NonUrgentSuggestion'

channels
Nullable<Channels>

List of channels that this recommendation can apply. Possible values include: 'Notification', 'Api', 'Email', 'Webhook', 'All'

categoryTags
IList<String>

The list of category tags that this recommendation belongs to.

actionName
String

Name of action recommended by this object.

enabled
Nullable<Int32>

True if this recommendation is still valid (i.e. "actionable"). False if it is invalid.

states
IList<String>

The list of states of this recommendation. If it's null then it should be considered "Active".

startTime
Nullable<DateTime>

The beginning time in UTC of a range that the recommendation refers to.

endTime
Nullable<DateTime>

The end time in UTC of a range that the recommendation refers to.

nextNotificationTime
Nullable<DateTime>

When to notify this recommendation next in UTC. Null means that this will never be notified anymore.

notificationExpirationTime
Nullable<DateTime>

Date and time in UTC when this notification expires.

notifiedTime
Nullable<DateTime>

Last timestamp in UTC this instance was actually notified. Null means that this recommendation hasn't been notified yet.

score
Nullable<Double>

A metric value measured by the rule.

isDynamic
Nullable<Boolean>

True if this is associated with a dynamically added rule

extensionName
String

Extension name of the portal if exists.

bladeName
String

Deep link to a blade on the portal.

forwardLink
String

Forward link to an external document associated with the rule.

Applies to