Udostępnij za pośrednictwem


Recommendation Class

Definition

Represents a recommendation result generated by the recommendation engine.

[Microsoft.Rest.Serialization.JsonTransformation]
public class Recommendation : Microsoft.Azure.Management.WebSites.Models.ProxyOnlyResource
[<Microsoft.Rest.Serialization.JsonTransformation>]
type Recommendation = class
    inherit ProxyOnlyResource
Public Class Recommendation
Inherits ProxyOnlyResource
Inheritance
Recommendation
Attributes

Constructors

Recommendation()

Initializes a new instance of the Recommendation class.

Recommendation(String, String, String, String, Nullable<DateTime>, Nullable<Guid>, String, String, String, String, String, Nullable<NotificationLevel>, Nullable<Channels>, IList<String>, String, Nullable<Int32>, IList<String>, Nullable<DateTime>, Nullable<DateTime>, Nullable<DateTime>, Nullable<DateTime>, Nullable<DateTime>, Nullable<Double>, Nullable<Boolean>, String, String, String)

Initializes a new instance of the Recommendation class.

Properties

ActionName

Gets or sets name of action recommended by this object.

BladeName

Gets or sets deep link to a blade on the portal.

CategoryTags

Gets the list of category tags that this recommendation belongs to.

Channels

Gets or sets list of channels that this recommendation can apply. Possible values include: 'Notification', 'Api', 'Email', 'Webhook', 'All'

CreationTime

Gets or sets timestamp when this instance was created.

DisplayName

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

Enabled

Gets or sets true if this recommendation is still valid (i.e. "actionable"). False if it is invalid.

EndTime

Gets or sets the end time in UTC of a range that the recommendation refers to.

ExtensionName

Gets or sets extension name of the portal if exists.

ForwardLink

Gets or sets forward link to an external document associated with the rule.

Id

Gets resource Id.

(Inherited from ProxyOnlyResource)
IsDynamic

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

Kind

Gets or sets kind of resource.

(Inherited from ProxyOnlyResource)
Level

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

Message

Gets or sets recommendation text.

Name

Gets resource Name.

(Inherited from ProxyOnlyResource)
NextNotificationTime

Gets or sets when to notify this recommendation next in UTC. Null means that this will never be notified anymore.

NotificationExpirationTime

Gets or sets date and time in UTC when this notification expires.

NotifiedTime

Gets or sets last timestamp in UTC this instance was actually notified. Null means that this recommendation hasn't been notified yet.

RecommendationId

Gets or sets a GUID value that each recommendation object is associated with.

ResourceId

Gets or sets full ARM resource ID string that this recommendation object is associated with.

ResourceScope

Gets or sets name of a resource type this recommendation applies, e.g. Subscription, ServerFarm, Site. Possible values include: 'ServerFarm', 'Subscription', 'WebSite'

RuleName

Gets or sets unique name of the rule.

Score

Gets or sets a metric value measured by the rule.

StartTime

Gets or sets the beginning time in UTC of a range that the recommendation refers to.

States

Gets or sets the list of states of this recommendation. If it's null then it should be considered "Active".

Type

Gets resource type.

(Inherited from ProxyOnlyResource)

Applies to