Partager via


RecommendationRuleProperties Class

Definition

RecommendationRule resource specific properties

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.RecommendationRulePropertiesTypeConverter))]
public class RecommendationRuleProperties : Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IRecommendationRuleProperties
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.RecommendationRulePropertiesTypeConverter))>]
type RecommendationRuleProperties = class
    interface IRecommendationRuleProperties
    interface IJsonSerializable
Public Class RecommendationRuleProperties
Implements IRecommendationRuleProperties
Inheritance
RecommendationRuleProperties
Attributes
Implements

Constructors

RecommendationRuleProperties()

Creates an new RecommendationRuleProperties 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.

IsDynamic

True if this is associated with a dynamically added rule

Level

Level of impact indicating how critical this rule is.

Message

Localized name of the rule (Good for UI).

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.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of RecommendationRuleProperties.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of RecommendationRuleProperties.

FromJson(JsonNode)

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

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of RecommendationRuleProperties into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Applies to