Share via


RecommendationProperties Class

Definition

Recommendation resource specific properties

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20231201.RecommendationPropertiesTypeConverter))]
public class RecommendationProperties : Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20231201.IRecommendationProperties
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20231201.RecommendationPropertiesTypeConverter))>]
type RecommendationProperties = class
    interface IRecommendationProperties
    interface IJsonSerializable
Public Class RecommendationProperties
Implements IRecommendationProperties
Inheritance
RecommendationProperties
Attributes
Implements

Constructors

RecommendationProperties()

Creates an new RecommendationProperties instance.

Properties

ActionName

Name of action recommended by this object.

BladeName

Deep link to a blade on the portal.

CategoryTag

The list of category tags that this recommendation belongs to.

Channel

List of channels that this recommendation can apply.

CreationTime

Timestamp when this instance was created.

DisplayName

UI friendly name of the rule (may not be unique).

Enabled

True if this recommendation is still valid (i.e. "actionable"). False if it is invalid.

EndTime

The end time in UTC of a range that the recommendation refers to.

ExtensionName

Extension name of the portal if exists.

ForwardLink

Forward link to an external document associated with the rule.

IsDynamic

True if this is associated with a dynamically added rule

Level

Level indicating how critical this recommendation can impact.

Message

Recommendation text.

NextNotificationTime

When to notify this recommendation next in UTC. Null means that this will never be notified anymore.

NotificationExpirationTime

Date and time in UTC when this notification expires.

NotifiedTime

Last timestamp in UTC this instance was actually notified. Null means that this recommendation hasn't been notified yet.

RecommendationId

A GUID value that each recommendation object is associated with.

ResourceId

Full ARM resource ID string that this recommendation object is associated with.

ResourceScope

Name of a resource type this recommendation applies, e.g. Subscription, ServerFarm, Site.

RuleName

Unique name of the rule.

Score

A metric value measured by the rule.

StartTime

The beginning time in UTC of a range that the recommendation refers to.

State

The list of states of this recommendation. If it's null then it should be considered "Active".

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of RecommendationProperties.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of RecommendationProperties.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20231201.IRecommendationProperties.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of RecommendationProperties into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Applies to