This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.89.1 published on Sunday, Mar 2, 2025 by Pulumi
azure-native.insights.getFavorite
Explore with Pulumi AI
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.89.1 published on Sunday, Mar 2, 2025 by Pulumi
Get a single favorite by its FavoriteId, defined within an Application Insights component. Azure REST API version: 2015-05-01.
Using getFavorite
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getFavorite(args: GetFavoriteArgs, opts?: InvokeOptions): Promise<GetFavoriteResult>
function getFavoriteOutput(args: GetFavoriteOutputArgs, opts?: InvokeOptions): Output<GetFavoriteResult>def get_favorite(favorite_id: Optional[str] = None,
                 resource_group_name: Optional[str] = None,
                 resource_name: Optional[str] = None,
                 opts: Optional[InvokeOptions] = None) -> GetFavoriteResult
def get_favorite_output(favorite_id: Optional[pulumi.Input[str]] = None,
                 resource_group_name: Optional[pulumi.Input[str]] = None,
                 resource_name: Optional[pulumi.Input[str]] = None,
                 opts: Optional[InvokeOptions] = None) -> Output[GetFavoriteResult]func LookupFavorite(ctx *Context, args *LookupFavoriteArgs, opts ...InvokeOption) (*LookupFavoriteResult, error)
func LookupFavoriteOutput(ctx *Context, args *LookupFavoriteOutputArgs, opts ...InvokeOption) LookupFavoriteResultOutput> Note: This function is named LookupFavorite in the Go SDK.
public static class GetFavorite 
{
    public static Task<GetFavoriteResult> InvokeAsync(GetFavoriteArgs args, InvokeOptions? opts = null)
    public static Output<GetFavoriteResult> Invoke(GetFavoriteInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetFavoriteResult> getFavorite(GetFavoriteArgs args, InvokeOptions options)
public static Output<GetFavoriteResult> getFavorite(GetFavoriteArgs args, InvokeOptions options)
fn::invoke:
  function: azure-native:insights:getFavorite
  arguments:
    # arguments dictionaryThe following arguments are supported:
- FavoriteId string
- The Id of a specific favorite defined in the Application Insights component
- ResourceGroup stringName 
- The name of the resource group. The name is case insensitive.
- ResourceName string
- The name of the Application Insights component resource.
- FavoriteId string
- The Id of a specific favorite defined in the Application Insights component
- ResourceGroup stringName 
- The name of the resource group. The name is case insensitive.
- ResourceName string
- The name of the Application Insights component resource.
- favoriteId String
- The Id of a specific favorite defined in the Application Insights component
- resourceGroup StringName 
- The name of the resource group. The name is case insensitive.
- resourceName String
- The name of the Application Insights component resource.
- favoriteId string
- The Id of a specific favorite defined in the Application Insights component
- resourceGroup stringName 
- The name of the resource group. The name is case insensitive.
- resourceName string
- The name of the Application Insights component resource.
- favorite_id str
- The Id of a specific favorite defined in the Application Insights component
- resource_group_ strname 
- The name of the resource group. The name is case insensitive.
- resource_name str
- The name of the Application Insights component resource.
- favoriteId String
- The Id of a specific favorite defined in the Application Insights component
- resourceGroup StringName 
- The name of the resource group. The name is case insensitive.
- resourceName String
- The name of the Application Insights component resource.
getFavorite Result
The following output properties are available:
- FavoriteId string
- Internally assigned unique id of the favorite definition.
- TimeModified string
- Date and time in UTC of the last modification that was made to this favorite definition.
- UserId string
- Unique user id of the specific user that owns this favorite.
- Category string
- Favorite category, as defined by the user at creation time.
- Config string
- Configuration of this particular favorite, which are driven by the Azure portal UX. Configuration data is a string containing valid JSON
- FavoriteType string
- 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.
- IsGenerated boolFrom Template 
- Flag denoting wether or not this favorite was generated from a template.
- Name string
- The user-defined name of the favorite.
- SourceType string
- The source of the favorite definition.
- List<string>
- A list of 0 or more tags that are associated with this favorite definition
- 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.
- TimeModified string
- Date and time in UTC of the last modification that was made to this favorite definition.
- UserId string
- Unique user id of the specific user that owns this favorite.
- Category string
- Favorite category, as defined by the user at creation time.
- Config string
- Configuration of this particular favorite, which are driven by the Azure portal UX. Configuration data is a string containing valid JSON
- FavoriteType string
- 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.
- IsGenerated boolFrom Template 
- Flag denoting wether or not this favorite was generated from a template.
- Name string
- The user-defined name of the favorite.
- SourceType string
- The source of the favorite definition.
- []string
- A list of 0 or more tags that are associated with this favorite definition
- 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.
- timeModified String
- Date and time in UTC of the last modification that was made to this favorite definition.
- userId String
- Unique user id of the specific user that owns this favorite.
- category String
- Favorite category, as defined by the user at creation time.
- config String
- Configuration of this particular favorite, which are driven by the Azure portal UX. Configuration data is a string containing valid JSON
- favoriteType String
- 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.
- isGenerated BooleanFrom Template 
- Flag denoting wether or not this favorite was generated from a template.
- name String
- The user-defined name of the favorite.
- sourceType String
- The source of the favorite definition.
- List<String>
- A list of 0 or more tags that are associated with this favorite definition
- 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.
- timeModified string
- Date and time in UTC of the last modification that was made to this favorite definition.
- userId string
- Unique user id of the specific user that owns this favorite.
- category string
- Favorite category, as defined by the user at creation time.
- config string
- Configuration of this particular favorite, which are driven by the Azure portal UX. Configuration data is a string containing valid JSON
- favoriteType string
- 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.
- isGenerated booleanFrom Template 
- Flag denoting wether or not this favorite was generated from a template.
- name string
- The user-defined name of the favorite.
- sourceType string
- The source of the favorite definition.
- string[]
- A list of 0 or more tags that are associated with this favorite definition
- 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.
- favorite_id str
- Internally assigned unique id of the favorite definition.
- time_modified str
- Date and time in UTC of the last modification that was made to this favorite definition.
- user_id str
- Unique user id of the specific user that owns this favorite.
- category str
- Favorite category, as defined by the user at creation time.
- config str
- Configuration of this particular favorite, which are driven by the Azure portal UX. Configuration data is a string containing valid JSON
- favorite_type str
- 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.
- is_generated_ boolfrom_ template 
- Flag denoting wether or not this favorite was generated from a template.
- name str
- The user-defined name of the favorite.
- source_type str
- The source of the favorite definition.
- Sequence[str]
- A list of 0 or more tags that are associated with this favorite definition
- version str
- 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.
- timeModified String
- Date and time in UTC of the last modification that was made to this favorite definition.
- userId String
- Unique user id of the specific user that owns this favorite.
- category String
- Favorite category, as defined by the user at creation time.
- config String
- Configuration of this particular favorite, which are driven by the Azure portal UX. Configuration data is a string containing valid JSON
- favoriteType String
- 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.
- isGenerated BooleanFrom Template 
- Flag denoting wether or not this favorite was generated from a template.
- name String
- The user-defined name of the favorite.
- sourceType String
- The source of the favorite definition.
- List<String>
- A list of 0 or more tags that are associated with this favorite definition
- 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.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.89.1 published on Sunday, Mar 2, 2025 by Pulumi