AppServiceRecommendation Class

Definition

Represents a recommendation result generated by the recommendation engine. Serialized Name: Recommendation

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

Name Description
AppServiceRecommendation()

Initializes a new instance of AppServiceRecommendation.

Properties

Name Description
ActionName

Name of action recommended by this object. Serialized Name: Recommendation.properties.actionName

BladeName

Deep link to a blade on the portal. Serialized Name: Recommendation.properties.bladeName

CategoryTags

The list of category tags that this recommendation belongs to. Serialized Name: Recommendation.properties.categoryTags

Channels

List of channels that this recommendation can apply. Serialized Name: Recommendation.properties.channels

CreatedOn

Timestamp when this instance was created. Serialized Name: Recommendation.properties.creationTime

DisplayName

UI friendly name of the rule (may not be unique). Serialized Name: Recommendation.properties.displayName

Enabled

True if this recommendation is still valid (i.e. "actionable"). False if it is invalid. Serialized Name: Recommendation.properties.enabled

EndOn

The end time in UTC of a range that the recommendation refers to. Serialized Name: Recommendation.properties.endTime

ExtensionName

Extension name of the portal if exists. Serialized Name: Recommendation.properties.extensionName

ForwardLink

Forward link to an external document associated with the rule. Serialized Name: Recommendation.properties.forwardLink

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 Serialized Name: Recommendation.properties.isDynamic

Kind

Kind of resource. Serialized Name: ProxyOnlyResource.kind

Level

Level indicating how critical this recommendation can impact. Serialized Name: Recommendation.properties.level

Message

Recommendation text. Serialized Name: Recommendation.properties.message

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. Serialized Name: Recommendation.properties.nextNotificationTime

NotificationExpirationOn

Date and time in UTC when this notification expires. Serialized Name: Recommendation.properties.notificationExpirationTime

NotifiedOn

Last timestamp in UTC this instance was actually notified. Null means that this recommendation hasn't been notified yet. Serialized Name: Recommendation.properties.notifiedTime

RecommendationId

A GUID value that each recommendation object is associated with. Serialized Name: Recommendation.properties.recommendationId

ResourceId

Full ARM resource ID string that this recommendation object is associated with. Serialized Name: Recommendation.properties.resourceId

ResourceScope

Name of a resource type this recommendation applies, e.g. Subscription, ServerFarm, Site. Serialized Name: Recommendation.properties.resourceScope

ResourceType

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

(Inherited from ResourceData)
RuleName

Unique name of the rule. Serialized Name: Recommendation.properties.ruleName

Score

A metric value measured by the rule. Serialized Name: Recommendation.properties.score

StartOn

The beginning time in UTC of a range that the recommendation refers to. Serialized Name: Recommendation.properties.startTime

States

The list of states of this recommendation. If it's null then it should be considered "Active". Serialized Name: Recommendation.properties.states

SystemData

Azure Resource Manager metadata containing createdBy and modifiedBy information.

(Inherited from ResourceData)

Methods

Name Description
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

Name Description
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