Udostępnij za pośrednictwem


RecommendationRule Class

Definition

Represents a recommendation rule that the recommendation engine can perform.

[Microsoft.Rest.Serialization.JsonTransformation]
public class RecommendationRule : Microsoft.Azure.Management.WebSites.Models.ProxyOnlyResource
[<Microsoft.Rest.Serialization.JsonTransformation>]
type RecommendationRule = class
    inherit ProxyOnlyResource
Public Class RecommendationRule
Inherits ProxyOnlyResource
Inheritance
RecommendationRule
Attributes

Constructors

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.

Properties

ActionName

Gets or sets name of action that is recommended by this rule in string.

BladeName

Gets or sets deep link to a blade on the portal. Applicable to dynamic rule only.

CategoryTags

Gets the list of category tags that this recommendation rule belongs to.

Channels

Gets or sets list of available channels that this rule applies. Possible values include: 'Notification', 'Api', 'Email', 'Webhook', 'All'

Description

Gets or sets localized detailed description of the rule.

DisplayName

Gets or sets UI friendly name of the rule.

ExtensionName

Gets or sets extension name of the portal if exists. Applicable to dynamic rule only.

ForwardLink

Gets or sets forward link to an external document associated with the rule. Applicable to dynamic rule only.

Id

Gets resource Id.

(Inherited from ProxyOnlyResource)
IsDynamic

Gets or sets true if this is associated with a dynamically added rule

Kind

Gets or sets kind of resource.

(Inherited from ProxyOnlyResource)
Level

Gets or sets level of impact indicating how critical this rule is. Possible values include: 'Critical', 'Warning', 'Information', 'NonUrgentSuggestion'

Message

Gets or sets localized name of the rule (Good for UI).

Name

Gets resource Name.

(Inherited from ProxyOnlyResource)
RecommendationId

Gets or sets 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.

RecommendationName

Gets or sets unique name of the rule.

Type

Gets resource type.

(Inherited from ProxyOnlyResource)

Applies to