Share via


RecommendationInner Class

Definition

Represents a recommendation result generated by the recommendation engine.

[Microsoft.Rest.Serialization.JsonTransformation]
public class RecommendationInner : Microsoft.Azure.Management.AppService.Fluent.Models.ProxyOnlyResourceInner
[<Microsoft.Rest.Serialization.JsonTransformation>]
type RecommendationInner = class
    inherit ProxyOnlyResourceInner
Public Class RecommendationInner
Inherits ProxyOnlyResourceInner
Inheritance
Attributes

Constructors

RecommendationInner()

Initializes a new instance of the RecommendationInner class.

RecommendationInner(String, String, String, String, Nullable<DateTime>, Nullable<Guid>, String, ResourceScopeType, 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 RecommendationInner 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

Resource Id. Setter is protected because Id needs to be set in Network resources.

(Inherited from ProxyResource)
IsDynamic

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

Kind

Gets or sets kind of resource.

(Inherited from ProxyOnlyResourceInner)
Level

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

Location

Resource location

(Inherited from Resource)
Message

Gets or sets recommendation text.

Name

Resource name

(Inherited from ProxyResource)
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".

Tags

Resource tags

(Inherited from Resource)
Type

Resource type

(Inherited from ProxyResource)

Methods

Validate()

Validate the object. Throws ValidationException if validation fails.

(Inherited from Resource)

Applies to