Compartilhar via


ApplicationInsightsComponentFavorite Class

Definition

Properties that define a favorite that is associated to an Application Insights component.

public class ApplicationInsightsComponentFavorite : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.ApplicationInsights.Models.ApplicationInsightsComponentFavorite>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.ApplicationInsights.Models.ApplicationInsightsComponentFavorite>
type ApplicationInsightsComponentFavorite = class
    interface IJsonModel<ApplicationInsightsComponentFavorite>
    interface IPersistableModel<ApplicationInsightsComponentFavorite>
Public Class ApplicationInsightsComponentFavorite
Implements IJsonModel(Of ApplicationInsightsComponentFavorite), IPersistableModel(Of ApplicationInsightsComponentFavorite)
Inheritance
ApplicationInsightsComponentFavorite
Implements

Constructors

ApplicationInsightsComponentFavorite()

Initializes a new instance of ApplicationInsightsComponentFavorite.

Properties

Category

Favorite category, as defined by the user at creation time.

Config

Configuration of this particular favorite, which are driven by the Azure portal UX. Configuration data is a string containing valid JSON.

FavoriteId

Internally assigned unique id of the favorite definition.

FavoriteType

Enum indicating if this favorite definition is owned by a specific user or is shared between all users with access to the Application Insights component.

IsGeneratedFromTemplate

Flag denoting wether or not this favorite was generated from a template.

ModifiedOn

Date and time in UTC of the last modification that was made to this favorite definition.

Name

The user-defined name of the favorite.

SourceType

The source of the favorite definition.

Tags

A list of 0 or more tags that are associated with this favorite definition.

TimeModified

Date and time in UTC of the last modification that was made to this favorite definition.

UserId

Unique user id of the specific user that owns this favorite.

Version

This instance's version of the data model. This can change as new features are added that can be marked favorite. Current examples include MetricsExplorer (ME) and Search.

Explicit Interface Implementations

IJsonModel<ApplicationInsightsComponentFavorite>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<ApplicationInsightsComponentFavorite>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ApplicationInsightsComponentFavorite>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ApplicationInsightsComponentFavorite>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<ApplicationInsightsComponentFavorite>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to