Compartir a través de


RecommendationRule Class

Definition

Represents a recommendation rule that the recommendation engine can perform.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.RecommendationRuleTypeConverter))]
public class RecommendationRule : Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IRecommendationRule, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IValidates
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.RecommendationRuleTypeConverter))>]
type RecommendationRule = class
    interface IRecommendationRule
    interface IJsonSerializable
    interface IProxyOnlyResource
    interface IValidates
Public Class RecommendationRule
Implements IRecommendationRule, IValidates
Inheritance
RecommendationRule
Attributes
Implements

Constructors

RecommendationRule()

Creates an new RecommendationRule instance.

Properties

ActionName

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

BladeName

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

CategoryTag

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

Channel

List of available channels that this rule applies.

Description

Localized detailed description of the rule.

DisplayName

UI friendly name of the rule.

ExtensionName

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

ForwardLink

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

Id

Resource Id.

IsDynamic

True if this is associated with a dynamically added rule

Kind

Kind of resource.

Level

Level of impact indicating how critical this rule is.

Message

Localized name of the rule (Good for UI).

Name

Resource Name.

RecommendationId

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

Unique name of the rule.

Type

Resource type.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of RecommendationRule.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of RecommendationRule.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IRecommendationRule.

FromJsonString(String)

Creates a new instance of RecommendationRule, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of RecommendationRule into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Validate(IEventListener)

Validates that this object meets the validation criteria.

Applies to