Megosztás a következőn keresztül:


Recommendation Class

Definition

Represents a recommendation result generated by the recommendation engine.

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

Constructors

Recommendation()

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

Id

Resource Id.

IsDynamic

True if this is associated with a dynamically added rule

Kind

Kind of resource.

Level

Level indicating how critical this recommendation can impact.

Message

Recommendation text.

Name

Resource Name.

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".

Type

Resource type.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of Recommendation.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of Recommendation.

FromJson(JsonNode)

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

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of Recommendation into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Validate(IEventListener)

Validates that this object meets the validation criteria.

Applies to