1. Packages
  2. Azure Native
  3. API Docs
  4. insights
  5. getAnalyticsItem
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.getAnalyticsItem

Explore with Pulumi AI

azure-native logo
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

    Gets a specific Analytics Items defined within an Application Insights component. Azure REST API version: 2015-05-01.

    Using getAnalyticsItem

    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 getAnalyticsItem(args: GetAnalyticsItemArgs, opts?: InvokeOptions): Promise<GetAnalyticsItemResult>
    function getAnalyticsItemOutput(args: GetAnalyticsItemOutputArgs, opts?: InvokeOptions): Output<GetAnalyticsItemResult>
    def get_analytics_item(id: Optional[str] = None,
                           name: Optional[str] = None,
                           resource_group_name: Optional[str] = None,
                           resource_name: Optional[str] = None,
                           scope_path: Optional[str] = None,
                           opts: Optional[InvokeOptions] = None) -> GetAnalyticsItemResult
    def get_analytics_item_output(id: Optional[pulumi.Input[str]] = None,
                           name: Optional[pulumi.Input[str]] = None,
                           resource_group_name: Optional[pulumi.Input[str]] = None,
                           resource_name: Optional[pulumi.Input[str]] = None,
                           scope_path: Optional[pulumi.Input[str]] = None,
                           opts: Optional[InvokeOptions] = None) -> Output[GetAnalyticsItemResult]
    func LookupAnalyticsItem(ctx *Context, args *LookupAnalyticsItemArgs, opts ...InvokeOption) (*LookupAnalyticsItemResult, error)
    func LookupAnalyticsItemOutput(ctx *Context, args *LookupAnalyticsItemOutputArgs, opts ...InvokeOption) LookupAnalyticsItemResultOutput

    > Note: This function is named LookupAnalyticsItem in the Go SDK.

    public static class GetAnalyticsItem 
    {
        public static Task<GetAnalyticsItemResult> InvokeAsync(GetAnalyticsItemArgs args, InvokeOptions? opts = null)
        public static Output<GetAnalyticsItemResult> Invoke(GetAnalyticsItemInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetAnalyticsItemResult> getAnalyticsItem(GetAnalyticsItemArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: azure-native:insights:getAnalyticsItem
      arguments:
        # arguments dictionary

    The following arguments are supported:

    ResourceGroupName string
    The name of the resource group. The name is case insensitive.
    ResourceName string
    The name of the Application Insights component resource.
    ScopePath string
    Enum indicating if this item definition is owned by a specific user or is shared between all users with access to the Application Insights component.
    Id string
    The Id of a specific item defined in the Application Insights component
    Name string
    The name of a specific item defined in the Application Insights component
    ResourceGroupName string
    The name of the resource group. The name is case insensitive.
    ResourceName string
    The name of the Application Insights component resource.
    ScopePath string
    Enum indicating if this item definition is owned by a specific user or is shared between all users with access to the Application Insights component.
    Id string
    The Id of a specific item defined in the Application Insights component
    Name string
    The name of a specific item defined in the Application Insights component
    resourceGroupName String
    The name of the resource group. The name is case insensitive.
    resourceName String
    The name of the Application Insights component resource.
    scopePath String
    Enum indicating if this item definition is owned by a specific user or is shared between all users with access to the Application Insights component.
    id String
    The Id of a specific item defined in the Application Insights component
    name String
    The name of a specific item defined in the Application Insights component
    resourceGroupName string
    The name of the resource group. The name is case insensitive.
    resourceName string
    The name of the Application Insights component resource.
    scopePath string
    Enum indicating if this item definition is owned by a specific user or is shared between all users with access to the Application Insights component.
    id string
    The Id of a specific item defined in the Application Insights component
    name string
    The name of a specific item defined in the Application Insights component
    resource_group_name str
    The name of the resource group. The name is case insensitive.
    resource_name str
    The name of the Application Insights component resource.
    scope_path str
    Enum indicating if this item definition is owned by a specific user or is shared between all users with access to the Application Insights component.
    id str
    The Id of a specific item defined in the Application Insights component
    name str
    The name of a specific item defined in the Application Insights component
    resourceGroupName String
    The name of the resource group. The name is case insensitive.
    resourceName String
    The name of the Application Insights component resource.
    scopePath String
    Enum indicating if this item definition is owned by a specific user or is shared between all users with access to the Application Insights component.
    id String
    The Id of a specific item defined in the Application Insights component
    name String
    The name of a specific item defined in the Application Insights component

    getAnalyticsItem Result

    The following output properties are available:

    Properties Pulumi.AzureNative.Insights.Outputs.ApplicationInsightsComponentAnalyticsItemPropertiesResponse
    A set of properties that can be defined in the context of a specific item type. Each type may have its own properties.
    TimeCreated string
    Date and time in UTC when this item was created.
    TimeModified string
    Date and time in UTC of the last modification that was made to this item.
    Version string
    This instance's version of the data model. This can change as new features are added.
    Content string
    The content of this item
    Id string
    Internally assigned unique id of the item definition.
    Name string
    The user-defined name of the item.
    Scope string
    Enum indicating if this item definition is owned by a specific user or is shared between all users with access to the Application Insights component.
    Type string
    Enum indicating the type of the Analytics item.
    Properties ApplicationInsightsComponentAnalyticsItemPropertiesResponse
    A set of properties that can be defined in the context of a specific item type. Each type may have its own properties.
    TimeCreated string
    Date and time in UTC when this item was created.
    TimeModified string
    Date and time in UTC of the last modification that was made to this item.
    Version string
    This instance's version of the data model. This can change as new features are added.
    Content string
    The content of this item
    Id string
    Internally assigned unique id of the item definition.
    Name string
    The user-defined name of the item.
    Scope string
    Enum indicating if this item definition is owned by a specific user or is shared between all users with access to the Application Insights component.
    Type string
    Enum indicating the type of the Analytics item.
    properties ApplicationInsightsComponentAnalyticsItemPropertiesResponse
    A set of properties that can be defined in the context of a specific item type. Each type may have its own properties.
    timeCreated String
    Date and time in UTC when this item was created.
    timeModified String
    Date and time in UTC of the last modification that was made to this item.
    version String
    This instance's version of the data model. This can change as new features are added.
    content String
    The content of this item
    id String
    Internally assigned unique id of the item definition.
    name String
    The user-defined name of the item.
    scope String
    Enum indicating if this item definition is owned by a specific user or is shared between all users with access to the Application Insights component.
    type String
    Enum indicating the type of the Analytics item.
    properties ApplicationInsightsComponentAnalyticsItemPropertiesResponse
    A set of properties that can be defined in the context of a specific item type. Each type may have its own properties.
    timeCreated string
    Date and time in UTC when this item was created.
    timeModified string
    Date and time in UTC of the last modification that was made to this item.
    version string
    This instance's version of the data model. This can change as new features are added.
    content string
    The content of this item
    id string
    Internally assigned unique id of the item definition.
    name string
    The user-defined name of the item.
    scope string
    Enum indicating if this item definition is owned by a specific user or is shared between all users with access to the Application Insights component.
    type string
    Enum indicating the type of the Analytics item.
    properties ApplicationInsightsComponentAnalyticsItemPropertiesResponse
    A set of properties that can be defined in the context of a specific item type. Each type may have its own properties.
    time_created str
    Date and time in UTC when this item was created.
    time_modified str
    Date and time in UTC of the last modification that was made to this item.
    version str
    This instance's version of the data model. This can change as new features are added.
    content str
    The content of this item
    id str
    Internally assigned unique id of the item definition.
    name str
    The user-defined name of the item.
    scope str
    Enum indicating if this item definition is owned by a specific user or is shared between all users with access to the Application Insights component.
    type str
    Enum indicating the type of the Analytics item.
    properties Property Map
    A set of properties that can be defined in the context of a specific item type. Each type may have its own properties.
    timeCreated String
    Date and time in UTC when this item was created.
    timeModified String
    Date and time in UTC of the last modification that was made to this item.
    version String
    This instance's version of the data model. This can change as new features are added.
    content String
    The content of this item
    id String
    Internally assigned unique id of the item definition.
    name String
    The user-defined name of the item.
    scope String
    Enum indicating if this item definition is owned by a specific user or is shared between all users with access to the Application Insights component.
    type String
    Enum indicating the type of the Analytics item.

    Supporting Types

    ApplicationInsightsComponentAnalyticsItemPropertiesResponse

    FunctionAlias string
    A function alias, used when the type of the item is Function
    FunctionAlias string
    A function alias, used when the type of the item is Function
    functionAlias String
    A function alias, used when the type of the item is Function
    functionAlias string
    A function alias, used when the type of the item is Function
    function_alias str
    A function alias, used when the type of the item is Function
    functionAlias String
    A function alias, used when the type of the item is Function

    Package Details

    Repository
    Azure Native pulumi/pulumi-azure-native
    License
    Apache-2.0
    azure-native logo
    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