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.63.0 published on Tuesday, Sep 24, 2024 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.63.0 published on Tuesday, Sep 24, 2024 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)
// Output-based functions aren't available in Java yet
fn::invoke:
function: azure-native:insights:getFavorite
arguments:
# arguments dictionary
The following arguments are supported:
- Favorite
Id string - The Id of a specific favorite defined in the Application Insights component
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Resource
Name string - The name of the Application Insights component resource.
- Favorite
Id string - The Id of a specific favorite defined in the Application Insights component
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Resource
Name string - The name of the Application Insights component resource.
- favorite
Id String - The Id of a specific favorite defined in the Application Insights component
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- resource
Name String - The name of the Application Insights component resource.
- favorite
Id string - The Id of a specific favorite defined in the Application Insights component
- resource
Group stringName - The name of the resource group. The name is case insensitive.
- resource
Name 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.
- favorite
Id String - The Id of a specific favorite defined in the Application Insights component
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- resource
Name String - The name of the Application Insights component resource.
getFavorite Result
The following output properties are available:
- Favorite
Id string - Internally assigned unique id of the favorite definition.
- Time
Modified string - Date and time in UTC of the last modification that was made to this favorite definition.
- User
Id 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
- Favorite
Type 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.
- Is
Generated boolFrom Template - Flag denoting wether or not this favorite was generated from a template.
- Name string
- The user-defined name of the favorite.
- Source
Type 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.
- Favorite
Id string - Internally assigned unique id of the favorite definition.
- Time
Modified string - Date and time in UTC of the last modification that was made to this favorite definition.
- User
Id 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
- Favorite
Type 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.
- Is
Generated boolFrom Template - Flag denoting wether or not this favorite was generated from a template.
- Name string
- The user-defined name of the favorite.
- Source
Type 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 String - Internally assigned unique id of the favorite definition.
- time
Modified String - Date and time in UTC of the last modification that was made to this favorite definition.
- user
Id 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
- favorite
Type 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.
- is
Generated BooleanFrom Template - Flag denoting wether or not this favorite was generated from a template.
- name String
- The user-defined name of the favorite.
- source
Type 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.
- favorite
Id string - Internally assigned unique id of the favorite definition.
- time
Modified string - Date and time in UTC of the last modification that was made to this favorite definition.
- user
Id 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
- favorite
Type 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.
- is
Generated booleanFrom Template - Flag denoting wether or not this favorite was generated from a template.
- name string
- The user-defined name of the favorite.
- source
Type 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.
- favorite
Id String - Internally assigned unique id of the favorite definition.
- time
Modified String - Date and time in UTC of the last modification that was made to this favorite definition.
- user
Id 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
- favorite
Type 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.
- is
Generated BooleanFrom Template - Flag denoting wether or not this favorite was generated from a template.
- name String
- The user-defined name of the favorite.
- source
Type 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.63.0 published on Tuesday, Sep 24, 2024 by Pulumi