Share via


RecommendationRuleInner Class

Definition

Represents a recommendation rule that the recommendation engine can perform.

[Microsoft.Rest.Serialization.JsonTransformation]
public class RecommendationRuleInner : Microsoft.Azure.Management.AppService.Fluent.Models.ProxyOnlyResourceInner
[<Microsoft.Rest.Serialization.JsonTransformation>]
type RecommendationRuleInner = class
    inherit ProxyOnlyResourceInner
Public Class RecommendationRuleInner
Inherits ProxyOnlyResourceInner
Inheritance
Attributes

Constructors

RecommendationRuleInner()

Initializes a new instance of the RecommendationRuleInner class.

RecommendationRuleInner(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 RecommendationRuleInner 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

Resource Id. Setter is protected because Id needs to be set in Network resources.

(Inherited from ProxyResource)
IsDynamic

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

Kind

Gets or sets kind of resource.

(Inherited from ProxyOnlyResourceInner)
Level

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

Location

Resource location

(Inherited from Resource)
Message

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

Name

Resource name

(Inherited from ProxyResource)
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.

Tags

Resource tags

(Inherited from Resource)
Type

Resource type

(Inherited from ProxyResource)

Methods

Validate()

Validate the object. Throws ValidationException if validation fails.

(Inherited from Resource)

Applies to