Share via


AppServiceRecommendation Class

Definition

Represents a recommendation result generated by the recommendation engine.

public class AppServiceRecommendation : Azure.ResourceManager.Models.ResourceData, System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.AppService.Models.AppServiceRecommendation>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.AppService.Models.AppServiceRecommendation>
type AppServiceRecommendation = class
    inherit ResourceData
    interface IJsonModel<AppServiceRecommendation>
    interface IPersistableModel<AppServiceRecommendation>
Public Class AppServiceRecommendation
Inherits ResourceData
Implements IJsonModel(Of AppServiceRecommendation), IPersistableModel(Of AppServiceRecommendation)
Inheritance
AppServiceRecommendation
Implements

Constructors

AppServiceRecommendation()

Initializes a new instance of AppServiceRecommendation.

Properties

ActionName

Name of action recommended by this object.

BladeName

Deep link to a blade on the portal.

CategoryTags

The list of category tags that this recommendation belongs to.

Channels

List of channels that this recommendation can apply.

CreatedOn

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.

EndOn

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

Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.

(Inherited from ResourceData)
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

The name of the resource.

(Inherited from ResourceData)
NextNotificationOn

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

NotificationExpirationOn

Date and time in UTC when this notification expires.

NotifiedOn

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.

ResourceType

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".

(Inherited from ResourceData)
RuleName

Unique name of the rule.

Score

A metric value measured by the rule.

StartOn

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

States

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

SystemData

Azure Resource Manager metadata containing createdBy and modifiedBy information.

(Inherited from ResourceData)

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<AppServiceRecommendation>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<AppServiceRecommendation>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<AppServiceRecommendation>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<AppServiceRecommendation>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<AppServiceRecommendation>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to