Dela via


RecommendationRule Constructors

Definition

Overloads

RecommendationRule()

Initializes a new instance of the RecommendationRule class.

RecommendationRule(String, String, String, String, String, String, String, Nullable<Guid>, String, String, Nullable<NotificationLevel>, Nullable<Channels>, IList<String>, Nullable<Boolean>, String, String, String)

Initializes a new instance of the RecommendationRule class.

RecommendationRule()

Initializes a new instance of the RecommendationRule class.

public RecommendationRule ();
Public Sub New ()

Applies to

RecommendationRule(String, String, String, String, String, String, String, Nullable<Guid>, String, String, Nullable<NotificationLevel>, Nullable<Channels>, IList<String>, Nullable<Boolean>, String, String, String)

Initializes a new instance of the RecommendationRule class.

public RecommendationRule (string id = default, string name = default, string kind = default, string type = default, string recommendationName = default, string displayName = default, string message = default, Guid? recommendationId = default, string description = default, string actionName = default, Microsoft.Azure.Management.WebSites.Models.NotificationLevel? level = default, Microsoft.Azure.Management.WebSites.Models.Channels? channels = default, System.Collections.Generic.IList<string> categoryTags = default, bool? isDynamic = default, string extensionName = default, string bladeName = default, string forwardLink = default);
new Microsoft.Azure.Management.WebSites.Models.RecommendationRule : string * string * string * string * string * string * string * Nullable<Guid> * string * string * Nullable<Microsoft.Azure.Management.WebSites.Models.NotificationLevel> * Nullable<Microsoft.Azure.Management.WebSites.Models.Channels> * System.Collections.Generic.IList<string> * Nullable<bool> * string * string * string -> Microsoft.Azure.Management.WebSites.Models.RecommendationRule
Public Sub New (Optional id As String = Nothing, Optional name As String = Nothing, Optional kind As String = Nothing, Optional type As String = Nothing, Optional recommendationName As String = Nothing, Optional displayName As String = Nothing, Optional message As String = Nothing, Optional recommendationId As Nullable(Of Guid) = Nothing, Optional description As String = Nothing, Optional actionName 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 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.

recommendationName
String

Unique name of the rule.

displayName
String

UI friendly name of the rule.

message
String

Localized name of the rule (Good for UI).

recommendationId
Nullable<Guid>

Recommendation ID of an associated recommendation object tied to the rule, if exists. If such an object doesn't exist, it is set to null.

description
String

Localized detailed description of the rule.

actionName
String

Name of action that is recommended by this rule in string.

level
Nullable<NotificationLevel>

Level of impact indicating how critical this rule is. Possible values include: 'Critical', 'Warning', 'Information', 'NonUrgentSuggestion'

channels
Nullable<Channels>

List of available channels that this rule applies. Possible values include: 'Notification', 'Api', 'Email', 'Webhook', 'All'

categoryTags
IList<String>

The list of category tags that this recommendation rule belongs to.

isDynamic
Nullable<Boolean>

True if this is associated with a dynamically added rule

extensionName
String

Extension name of the portal if exists. Applicable to dynamic rule only.

bladeName
String

Deep link to a blade on the portal. Applicable to dynamic rule only.

forwardLink
String

Forward link to an external document associated with the rule. Applicable to dynamic rule only.

Applies to