ArmApplicationInsightsModelFactory.ApplicationInsightsComponentFavorite Method

Definition

Overloads

ApplicationInsightsComponentFavorite(String, String, String, String, Nullable<ComponentFavoriteType>, String, Nullable<DateTimeOffset>, IEnumerable<String>, String, Nullable<Boolean>, String)

Initializes a new instance of ApplicationInsightsComponentFavorite.

ApplicationInsightsComponentFavorite(String, String, String, String, Nullable<FavoriteType>, String, String, IEnumerable<String>, String, Nullable<Boolean>, String)

Initializes a new instance of ApplicationInsightsComponentFavorite.

ApplicationInsightsComponentFavorite(String, String, String, String, Nullable<ComponentFavoriteType>, String, Nullable<DateTimeOffset>, IEnumerable<String>, String, Nullable<Boolean>, String)

Source:
ArmApplicationInsightsModelFactory.cs

Initializes a new instance of ApplicationInsightsComponentFavorite.

public static Azure.ResourceManager.ApplicationInsights.Models.ApplicationInsightsComponentFavorite ApplicationInsightsComponentFavorite (string name = default, string config = default, string version = default, string favoriteId = default, Azure.ResourceManager.ApplicationInsights.Models.ComponentFavoriteType? favoriteType = default, string sourceType = default, DateTimeOffset? modifiedOn = default, System.Collections.Generic.IEnumerable<string> tags = default, string category = default, bool? isGeneratedFromTemplate = default, string userId = default);
static member ApplicationInsightsComponentFavorite : string * string * string * string * Nullable<Azure.ResourceManager.ApplicationInsights.Models.ComponentFavoriteType> * string * Nullable<DateTimeOffset> * seq<string> * string * Nullable<bool> * string -> Azure.ResourceManager.ApplicationInsights.Models.ApplicationInsightsComponentFavorite
Public Shared Function ApplicationInsightsComponentFavorite (Optional name As String = Nothing, Optional config As String = Nothing, Optional version As String = Nothing, Optional favoriteId As String = Nothing, Optional favoriteType As Nullable(Of ComponentFavoriteType) = Nothing, Optional sourceType As String = Nothing, Optional modifiedOn As Nullable(Of DateTimeOffset) = Nothing, Optional tags As IEnumerable(Of String) = Nothing, Optional category As String = Nothing, Optional isGeneratedFromTemplate As Nullable(Of Boolean) = Nothing, Optional userId As String = Nothing) As ApplicationInsightsComponentFavorite

Parameters

name
String

The user-defined name of the favorite.

config
String

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

version
String

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.

favoriteId
String

Internally assigned unique id of the favorite definition.

favoriteType
Nullable<ComponentFavoriteType>

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.

sourceType
String

The source of the favorite definition.

modifiedOn
Nullable<DateTimeOffset>

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

tags
IEnumerable<String>

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

category
String

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

isGeneratedFromTemplate
Nullable<Boolean>

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

userId
String

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

Returns

A new ApplicationInsightsComponentFavorite instance for mocking.

Applies to

ApplicationInsightsComponentFavorite(String, String, String, String, Nullable<FavoriteType>, String, String, IEnumerable<String>, String, Nullable<Boolean>, String)

Source:
ArmApplicationInsightsModelFactory.cs

Initializes a new instance of ApplicationInsightsComponentFavorite.

public static Azure.ResourceManager.ApplicationInsights.Models.ApplicationInsightsComponentFavorite ApplicationInsightsComponentFavorite (string name = default, string config = default, string version = default, string favoriteId = default, Azure.ResourceManager.ApplicationInsights.Models.FavoriteType? favoriteType = default, string sourceType = default, string timeModified = default, System.Collections.Generic.IEnumerable<string> tags = default, string category = default, bool? isGeneratedFromTemplate = default, string userId = default);
static member ApplicationInsightsComponentFavorite : string * string * string * string * Nullable<Azure.ResourceManager.ApplicationInsights.Models.FavoriteType> * string * string * seq<string> * string * Nullable<bool> * string -> Azure.ResourceManager.ApplicationInsights.Models.ApplicationInsightsComponentFavorite
Public Shared Function ApplicationInsightsComponentFavorite (Optional name As String = Nothing, Optional config As String = Nothing, Optional version As String = Nothing, Optional favoriteId As String = Nothing, Optional favoriteType As Nullable(Of FavoriteType) = Nothing, Optional sourceType As String = Nothing, Optional timeModified As String = Nothing, Optional tags As IEnumerable(Of String) = Nothing, Optional category As String = Nothing, Optional isGeneratedFromTemplate As Nullable(Of Boolean) = Nothing, Optional userId As String = Nothing) As ApplicationInsightsComponentFavorite

Parameters

name
String

The user-defined name of the favorite.

config
String

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

version
String

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.

favoriteId
String

Internally assigned unique id of the favorite definition.

favoriteType
Nullable<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.

sourceType
String

The source of the favorite definition.

timeModified
String

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

tags
IEnumerable<String>

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

category
String

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

isGeneratedFromTemplate
Nullable<Boolean>

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

userId
String

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

Returns

A new ApplicationInsightsComponentFavorite instance for mocking.

Applies to