1. Packages
  2. Azure Native v2
  3. API Docs
  4. insights
  5. getAnalyticsItem
These are the docs for Azure Native v2. We recommenend using the latest version, Azure Native v3.
Azure Native v2 v2.90.0 published on Thursday, Mar 27, 2025 by Pulumi

azure-native-v2.insights.getAnalyticsItem

Explore with Pulumi AI

These are the docs for Azure Native v2. We recommenend using the latest version, Azure Native v3.
Azure Native v2 v2.90.0 published on Thursday, Mar 27, 2025 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>
Copy
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]
Copy
func LookupAnalyticsItem(ctx *Context, args *LookupAnalyticsItemArgs, opts ...InvokeOption) (*LookupAnalyticsItemResult, error)
func LookupAnalyticsItemOutput(ctx *Context, args *LookupAnalyticsItemOutputArgs, opts ...InvokeOption) LookupAnalyticsItemResultOutput
Copy

> 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)
}
Copy
public static CompletableFuture<GetAnalyticsItemResult> getAnalyticsItem(GetAnalyticsItemArgs args, InvokeOptions options)
public static Output<GetAnalyticsItemResult> getAnalyticsItem(GetAnalyticsItemArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: azure-native:insights:getAnalyticsItem
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group. The name is case insensitive.
ResourceName
This property is required.
Changes to this property will trigger replacement.
string
The name of the Application Insights component resource.
ScopePath
This property is required.
Changes to this property will trigger replacement.
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
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group. The name is case insensitive.
ResourceName
This property is required.
Changes to this property will trigger replacement.
string
The name of the Application Insights component resource.
ScopePath
This property is required.
Changes to this property will trigger replacement.
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
This property is required.
Changes to this property will trigger replacement.
String
The name of the resource group. The name is case insensitive.
resourceName
This property is required.
Changes to this property will trigger replacement.
String
The name of the Application Insights component resource.
scopePath
This property is required.
Changes to this property will trigger replacement.
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
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group. The name is case insensitive.
resourceName
This property is required.
Changes to this property will trigger replacement.
string
The name of the Application Insights component resource.
scopePath
This property is required.
Changes to this property will trigger replacement.
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
This property is required.
Changes to this property will trigger replacement.
str
The name of the resource group. The name is case insensitive.
resource_name
This property is required.
Changes to this property will trigger replacement.
str
The name of the Application Insights component resource.
scope_path
This property is required.
Changes to this property will trigger replacement.
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
This property is required.
Changes to this property will trigger replacement.
String
The name of the resource group. The name is case insensitive.
resourceName
This property is required.
Changes to this property will trigger replacement.
String
The name of the Application Insights component resource.
scopePath
This property is required.
Changes to this property will trigger replacement.
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-v2 pulumi/pulumi-azure-native
License
Apache-2.0
These are the docs for Azure Native v2. We recommenend using the latest version, Azure Native v3.
Azure Native v2 v2.90.0 published on Thursday, Mar 27, 2025 by Pulumi