1. Packages
  2. Azure Native
  3. API Docs
  4. insights
  5. Component
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.73.0 published on Wednesday, Nov 20, 2024 by Pulumi

azure-native.insights.Component

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.73.0 published on Wednesday, Nov 20, 2024 by Pulumi

    An Application Insights component definition. Azure REST API version: 2020-02-02. Prior API version in Azure Native 1.x: 2015-05-01.

    Other available API versions: 2020-02-02-preview.

    Example Usage

    ComponentCreate

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AzureNative = Pulumi.AzureNative;
    
    return await Deployment.RunAsync(() => 
    {
        var component = new AzureNative.Insights.Component("component", new()
        {
            ApplicationType = AzureNative.Insights.ApplicationType.Web,
            FlowType = AzureNative.Insights.FlowType.Bluefield,
            Kind = "web",
            Location = "South Central US",
            RequestSource = AzureNative.Insights.RequestSource.Rest,
            ResourceGroupName = "my-resource-group",
            ResourceName = "my-component",
            WorkspaceResourceId = "/subscriptions/subid/resourcegroups/my-resource-group/providers/microsoft.operationalinsights/workspaces/my-workspace",
        });
    
    });
    
    package main
    
    import (
    	insights "github.com/pulumi/pulumi-azure-native-sdk/insights/v2"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := insights.NewComponent(ctx, "component", &insights.ComponentArgs{
    			ApplicationType:     pulumi.String(insights.ApplicationTypeWeb),
    			FlowType:            pulumi.String(insights.FlowTypeBluefield),
    			Kind:                pulumi.String("web"),
    			Location:            pulumi.String("South Central US"),
    			RequestSource:       pulumi.String(insights.RequestSourceRest),
    			ResourceGroupName:   pulumi.String("my-resource-group"),
    			ResourceName:        pulumi.String("my-component"),
    			WorkspaceResourceId: pulumi.String("/subscriptions/subid/resourcegroups/my-resource-group/providers/microsoft.operationalinsights/workspaces/my-workspace"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.azurenative.insights.Component;
    import com.pulumi.azurenative.insights.ComponentArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var component = new Component("component", ComponentArgs.builder()
                .applicationType("web")
                .flowType("Bluefield")
                .kind("web")
                .location("South Central US")
                .requestSource("rest")
                .resourceGroupName("my-resource-group")
                .resourceName("my-component")
                .workspaceResourceId("/subscriptions/subid/resourcegroups/my-resource-group/providers/microsoft.operationalinsights/workspaces/my-workspace")
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_azure_native as azure_native
    
    component = azure_native.insights.Component("component",
        application_type=azure_native.insights.ApplicationType.WEB,
        flow_type=azure_native.insights.FlowType.BLUEFIELD,
        kind="web",
        location="South Central US",
        request_source=azure_native.insights.RequestSource.REST,
        resource_group_name="my-resource-group",
        resource_name_="my-component",
        workspace_resource_id="/subscriptions/subid/resourcegroups/my-resource-group/providers/microsoft.operationalinsights/workspaces/my-workspace")
    
    import * as pulumi from "@pulumi/pulumi";
    import * as azure_native from "@pulumi/azure-native";
    
    const component = new azure_native.insights.Component("component", {
        applicationType: azure_native.insights.ApplicationType.Web,
        flowType: azure_native.insights.FlowType.Bluefield,
        kind: "web",
        location: "South Central US",
        requestSource: azure_native.insights.RequestSource.Rest,
        resourceGroupName: "my-resource-group",
        resourceName: "my-component",
        workspaceResourceId: "/subscriptions/subid/resourcegroups/my-resource-group/providers/microsoft.operationalinsights/workspaces/my-workspace",
    });
    
    resources:
      component:
        type: azure-native:insights:Component
        properties:
          applicationType: web
          flowType: Bluefield
          kind: web
          location: South Central US
          requestSource: rest
          resourceGroupName: my-resource-group
          resourceName: my-component
          workspaceResourceId: /subscriptions/subid/resourcegroups/my-resource-group/providers/microsoft.operationalinsights/workspaces/my-workspace
    

    ComponentUpdate

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AzureNative = Pulumi.AzureNative;
    
    return await Deployment.RunAsync(() => 
    {
        var component = new AzureNative.Insights.Component("component", new()
        {
            Kind = "web",
            Location = "South Central US",
            ResourceGroupName = "my-resource-group",
            ResourceName = "my-component",
            Tags = 
            {
                { "ApplicationGatewayType", "Internal-Only" },
                { "BillingEntity", "Self" },
            },
        });
    
    });
    
    package main
    
    import (
    	insights "github.com/pulumi/pulumi-azure-native-sdk/insights/v2"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := insights.NewComponent(ctx, "component", &insights.ComponentArgs{
    			Kind:              pulumi.String("web"),
    			Location:          pulumi.String("South Central US"),
    			ResourceGroupName: pulumi.String("my-resource-group"),
    			ResourceName:      pulumi.String("my-component"),
    			Tags: pulumi.StringMap{
    				"ApplicationGatewayType": pulumi.String("Internal-Only"),
    				"BillingEntity":          pulumi.String("Self"),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.azurenative.insights.Component;
    import com.pulumi.azurenative.insights.ComponentArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var component = new Component("component", ComponentArgs.builder()
                .kind("web")
                .location("South Central US")
                .resourceGroupName("my-resource-group")
                .resourceName("my-component")
                .tags(Map.ofEntries(
                    Map.entry("ApplicationGatewayType", "Internal-Only"),
                    Map.entry("BillingEntity", "Self")
                ))
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_azure_native as azure_native
    
    component = azure_native.insights.Component("component",
        kind="web",
        location="South Central US",
        resource_group_name="my-resource-group",
        resource_name_="my-component",
        tags={
            "ApplicationGatewayType": "Internal-Only",
            "BillingEntity": "Self",
        })
    
    import * as pulumi from "@pulumi/pulumi";
    import * as azure_native from "@pulumi/azure-native";
    
    const component = new azure_native.insights.Component("component", {
        kind: "web",
        location: "South Central US",
        resourceGroupName: "my-resource-group",
        resourceName: "my-component",
        tags: {
            ApplicationGatewayType: "Internal-Only",
            BillingEntity: "Self",
        },
    });
    
    resources:
      component:
        type: azure-native:insights:Component
        properties:
          kind: web
          location: South Central US
          resourceGroupName: my-resource-group
          resourceName: my-component
          tags:
            ApplicationGatewayType: Internal-Only
            BillingEntity: Self
    

    Create Component Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new Component(name: string, args: ComponentArgs, opts?: CustomResourceOptions);
    @overload
    def Component(resource_name: str,
                  args: ComponentArgs,
                  opts: Optional[ResourceOptions] = None)
    
    @overload
    def Component(resource_name: str,
                  opts: Optional[ResourceOptions] = None,
                  application_type: Optional[Union[str, ApplicationType]] = None,
                  resource_group_name: Optional[str] = None,
                  kind: Optional[str] = None,
                  force_customer_storage_for_profiler: Optional[bool] = None,
                  public_network_access_for_ingestion: Optional[Union[str, PublicNetworkAccessType]] = None,
                  hockey_app_id: Optional[str] = None,
                  immediate_purge_data_on30_days: Optional[bool] = None,
                  ingestion_mode: Optional[Union[str, IngestionMode]] = None,
                  disable_local_auth: Optional[bool] = None,
                  location: Optional[str] = None,
                  flow_type: Optional[Union[str, FlowType]] = None,
                  public_network_access_for_query: Optional[Union[str, PublicNetworkAccessType]] = None,
                  request_source: Optional[Union[str, RequestSource]] = None,
                  disable_ip_masking: Optional[bool] = None,
                  resource_name_: Optional[str] = None,
                  retention_in_days: Optional[int] = None,
                  sampling_percentage: Optional[float] = None,
                  tags: Optional[Mapping[str, str]] = None,
                  workspace_resource_id: Optional[str] = None)
    func NewComponent(ctx *Context, name string, args ComponentArgs, opts ...ResourceOption) (*Component, error)
    public Component(string name, ComponentArgs args, CustomResourceOptions? opts = null)
    public Component(String name, ComponentArgs args)
    public Component(String name, ComponentArgs args, CustomResourceOptions options)
    
    type: azure-native:insights:Component
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args ComponentArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args ComponentArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args ComponentArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ComponentArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ComponentArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var componentResource = new AzureNative.Insights.Component("componentResource", new()
    {
        ApplicationType = "string",
        ResourceGroupName = "string",
        Kind = "string",
        ForceCustomerStorageForProfiler = false,
        PublicNetworkAccessForIngestion = "string",
        HockeyAppId = "string",
        ImmediatePurgeDataOn30Days = false,
        IngestionMode = "string",
        DisableLocalAuth = false,
        Location = "string",
        FlowType = "string",
        PublicNetworkAccessForQuery = "string",
        RequestSource = "string",
        DisableIpMasking = false,
        ResourceName = "string",
        RetentionInDays = 0,
        SamplingPercentage = 0,
        Tags = 
        {
            { "string", "string" },
        },
        WorkspaceResourceId = "string",
    });
    
    example, err := insights.NewComponent(ctx, "componentResource", &insights.ComponentArgs{
    	ApplicationType:                 pulumi.String("string"),
    	ResourceGroupName:               pulumi.String("string"),
    	Kind:                            pulumi.String("string"),
    	ForceCustomerStorageForProfiler: pulumi.Bool(false),
    	PublicNetworkAccessForIngestion: pulumi.String("string"),
    	HockeyAppId:                     pulumi.String("string"),
    	ImmediatePurgeDataOn30Days:      pulumi.Bool(false),
    	IngestionMode:                   pulumi.String("string"),
    	DisableLocalAuth:                pulumi.Bool(false),
    	Location:                        pulumi.String("string"),
    	FlowType:                        pulumi.String("string"),
    	PublicNetworkAccessForQuery:     pulumi.String("string"),
    	RequestSource:                   pulumi.String("string"),
    	DisableIpMasking:                pulumi.Bool(false),
    	ResourceName:                    pulumi.String("string"),
    	RetentionInDays:                 pulumi.Int(0),
    	SamplingPercentage:              pulumi.Float64(0),
    	Tags: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    	WorkspaceResourceId: pulumi.String("string"),
    })
    
    var componentResource = new Component("componentResource", ComponentArgs.builder()
        .applicationType("string")
        .resourceGroupName("string")
        .kind("string")
        .forceCustomerStorageForProfiler(false)
        .publicNetworkAccessForIngestion("string")
        .hockeyAppId("string")
        .immediatePurgeDataOn30Days(false)
        .ingestionMode("string")
        .disableLocalAuth(false)
        .location("string")
        .flowType("string")
        .publicNetworkAccessForQuery("string")
        .requestSource("string")
        .disableIpMasking(false)
        .resourceName("string")
        .retentionInDays(0)
        .samplingPercentage(0)
        .tags(Map.of("string", "string"))
        .workspaceResourceId("string")
        .build());
    
    component_resource = azure_native.insights.Component("componentResource",
        application_type="string",
        resource_group_name="string",
        kind="string",
        force_customer_storage_for_profiler=False,
        public_network_access_for_ingestion="string",
        hockey_app_id="string",
        immediate_purge_data_on30_days=False,
        ingestion_mode="string",
        disable_local_auth=False,
        location="string",
        flow_type="string",
        public_network_access_for_query="string",
        request_source="string",
        disable_ip_masking=False,
        resource_name_="string",
        retention_in_days=0,
        sampling_percentage=0,
        tags={
            "string": "string",
        },
        workspace_resource_id="string")
    
    const componentResource = new azure_native.insights.Component("componentResource", {
        applicationType: "string",
        resourceGroupName: "string",
        kind: "string",
        forceCustomerStorageForProfiler: false,
        publicNetworkAccessForIngestion: "string",
        hockeyAppId: "string",
        immediatePurgeDataOn30Days: false,
        ingestionMode: "string",
        disableLocalAuth: false,
        location: "string",
        flowType: "string",
        publicNetworkAccessForQuery: "string",
        requestSource: "string",
        disableIpMasking: false,
        resourceName: "string",
        retentionInDays: 0,
        samplingPercentage: 0,
        tags: {
            string: "string",
        },
        workspaceResourceId: "string",
    });
    
    type: azure-native:insights:Component
    properties:
        applicationType: string
        disableIpMasking: false
        disableLocalAuth: false
        flowType: string
        forceCustomerStorageForProfiler: false
        hockeyAppId: string
        immediatePurgeDataOn30Days: false
        ingestionMode: string
        kind: string
        location: string
        publicNetworkAccessForIngestion: string
        publicNetworkAccessForQuery: string
        requestSource: string
        resourceGroupName: string
        resourceName: string
        retentionInDays: 0
        samplingPercentage: 0
        tags:
            string: string
        workspaceResourceId: string
    

    Component Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The Component resource accepts the following input properties:

    ApplicationType string | Pulumi.AzureNative.Insights.ApplicationType
    Type of application being monitored.
    Kind string
    The kind of application that this component refers to, used to customize UI. This value is a freeform string, values should typically be one of the following: web, ios, other, store, java, phone.
    ResourceGroupName string
    The name of the resource group. The name is case insensitive.
    DisableIpMasking bool
    Disable IP masking.
    DisableLocalAuth bool
    Disable Non-AAD based Auth.
    FlowType string | Pulumi.AzureNative.Insights.FlowType
    Used by the Application Insights system to determine what kind of flow this component was created by. This is to be set to 'Bluefield' when creating/updating a component via the REST API.
    ForceCustomerStorageForProfiler bool
    Force users to create their own storage account for profiler and debugger.
    HockeyAppId string
    The unique application ID created when a new application is added to HockeyApp, used for communications with HockeyApp.
    ImmediatePurgeDataOn30Days bool
    Purge data immediately after 30 days.
    IngestionMode string | Pulumi.AzureNative.Insights.IngestionMode
    Indicates the flow of the ingestion.
    Location string
    Resource location
    PublicNetworkAccessForIngestion string | Pulumi.AzureNative.Insights.PublicNetworkAccessType
    The network access type for accessing Application Insights ingestion.
    PublicNetworkAccessForQuery string | Pulumi.AzureNative.Insights.PublicNetworkAccessType
    The network access type for accessing Application Insights query.
    RequestSource string | Pulumi.AzureNative.Insights.RequestSource
    Describes what tool created this Application Insights component. Customers using this API should set this to the default 'rest'.
    ResourceName string
    The name of the Application Insights component resource.
    RetentionInDays int
    Retention period in days.
    SamplingPercentage double
    Percentage of the data produced by the application being monitored that is being sampled for Application Insights telemetry.
    Tags Dictionary<string, string>
    Resource tags
    WorkspaceResourceId string
    Resource Id of the log analytics workspace which the data will be ingested to. This property is required to create an application with this API version. Applications from older versions will not have this property.
    ApplicationType string | ApplicationType
    Type of application being monitored.
    Kind string
    The kind of application that this component refers to, used to customize UI. This value is a freeform string, values should typically be one of the following: web, ios, other, store, java, phone.
    ResourceGroupName string
    The name of the resource group. The name is case insensitive.
    DisableIpMasking bool
    Disable IP masking.
    DisableLocalAuth bool
    Disable Non-AAD based Auth.
    FlowType string | FlowType
    Used by the Application Insights system to determine what kind of flow this component was created by. This is to be set to 'Bluefield' when creating/updating a component via the REST API.
    ForceCustomerStorageForProfiler bool
    Force users to create their own storage account for profiler and debugger.
    HockeyAppId string
    The unique application ID created when a new application is added to HockeyApp, used for communications with HockeyApp.
    ImmediatePurgeDataOn30Days bool
    Purge data immediately after 30 days.
    IngestionMode string | IngestionMode
    Indicates the flow of the ingestion.
    Location string
    Resource location
    PublicNetworkAccessForIngestion string | PublicNetworkAccessType
    The network access type for accessing Application Insights ingestion.
    PublicNetworkAccessForQuery string | PublicNetworkAccessType
    The network access type for accessing Application Insights query.
    RequestSource string | RequestSource
    Describes what tool created this Application Insights component. Customers using this API should set this to the default 'rest'.
    ResourceName string
    The name of the Application Insights component resource.
    RetentionInDays int
    Retention period in days.
    SamplingPercentage float64
    Percentage of the data produced by the application being monitored that is being sampled for Application Insights telemetry.
    Tags map[string]string
    Resource tags
    WorkspaceResourceId string
    Resource Id of the log analytics workspace which the data will be ingested to. This property is required to create an application with this API version. Applications from older versions will not have this property.
    applicationType String | ApplicationType
    Type of application being monitored.
    kind String
    The kind of application that this component refers to, used to customize UI. This value is a freeform string, values should typically be one of the following: web, ios, other, store, java, phone.
    resourceGroupName String
    The name of the resource group. The name is case insensitive.
    disableIpMasking Boolean
    Disable IP masking.
    disableLocalAuth Boolean
    Disable Non-AAD based Auth.
    flowType String | FlowType
    Used by the Application Insights system to determine what kind of flow this component was created by. This is to be set to 'Bluefield' when creating/updating a component via the REST API.
    forceCustomerStorageForProfiler Boolean
    Force users to create their own storage account for profiler and debugger.
    hockeyAppId String
    The unique application ID created when a new application is added to HockeyApp, used for communications with HockeyApp.
    immediatePurgeDataOn30Days Boolean
    Purge data immediately after 30 days.
    ingestionMode String | IngestionMode
    Indicates the flow of the ingestion.
    location String
    Resource location
    publicNetworkAccessForIngestion String | PublicNetworkAccessType
    The network access type for accessing Application Insights ingestion.
    publicNetworkAccessForQuery String | PublicNetworkAccessType
    The network access type for accessing Application Insights query.
    requestSource String | RequestSource
    Describes what tool created this Application Insights component. Customers using this API should set this to the default 'rest'.
    resourceName String
    The name of the Application Insights component resource.
    retentionInDays Integer
    Retention period in days.
    samplingPercentage Double
    Percentage of the data produced by the application being monitored that is being sampled for Application Insights telemetry.
    tags Map<String,String>
    Resource tags
    workspaceResourceId String
    Resource Id of the log analytics workspace which the data will be ingested to. This property is required to create an application with this API version. Applications from older versions will not have this property.
    applicationType string | ApplicationType
    Type of application being monitored.
    kind string
    The kind of application that this component refers to, used to customize UI. This value is a freeform string, values should typically be one of the following: web, ios, other, store, java, phone.
    resourceGroupName string
    The name of the resource group. The name is case insensitive.
    disableIpMasking boolean
    Disable IP masking.
    disableLocalAuth boolean
    Disable Non-AAD based Auth.
    flowType string | FlowType
    Used by the Application Insights system to determine what kind of flow this component was created by. This is to be set to 'Bluefield' when creating/updating a component via the REST API.
    forceCustomerStorageForProfiler boolean
    Force users to create their own storage account for profiler and debugger.
    hockeyAppId string
    The unique application ID created when a new application is added to HockeyApp, used for communications with HockeyApp.
    immediatePurgeDataOn30Days boolean
    Purge data immediately after 30 days.
    ingestionMode string | IngestionMode
    Indicates the flow of the ingestion.
    location string
    Resource location
    publicNetworkAccessForIngestion string | PublicNetworkAccessType
    The network access type for accessing Application Insights ingestion.
    publicNetworkAccessForQuery string | PublicNetworkAccessType
    The network access type for accessing Application Insights query.
    requestSource string | RequestSource
    Describes what tool created this Application Insights component. Customers using this API should set this to the default 'rest'.
    resourceName string
    The name of the Application Insights component resource.
    retentionInDays number
    Retention period in days.
    samplingPercentage number
    Percentage of the data produced by the application being monitored that is being sampled for Application Insights telemetry.
    tags {[key: string]: string}
    Resource tags
    workspaceResourceId string
    Resource Id of the log analytics workspace which the data will be ingested to. This property is required to create an application with this API version. Applications from older versions will not have this property.
    application_type str | ApplicationType
    Type of application being monitored.
    kind str
    The kind of application that this component refers to, used to customize UI. This value is a freeform string, values should typically be one of the following: web, ios, other, store, java, phone.
    resource_group_name str
    The name of the resource group. The name is case insensitive.
    disable_ip_masking bool
    Disable IP masking.
    disable_local_auth bool
    Disable Non-AAD based Auth.
    flow_type str | FlowType
    Used by the Application Insights system to determine what kind of flow this component was created by. This is to be set to 'Bluefield' when creating/updating a component via the REST API.
    force_customer_storage_for_profiler bool
    Force users to create their own storage account for profiler and debugger.
    hockey_app_id str
    The unique application ID created when a new application is added to HockeyApp, used for communications with HockeyApp.
    immediate_purge_data_on30_days bool
    Purge data immediately after 30 days.
    ingestion_mode str | IngestionMode
    Indicates the flow of the ingestion.
    location str
    Resource location
    public_network_access_for_ingestion str | PublicNetworkAccessType
    The network access type for accessing Application Insights ingestion.
    public_network_access_for_query str | PublicNetworkAccessType
    The network access type for accessing Application Insights query.
    request_source str | RequestSource
    Describes what tool created this Application Insights component. Customers using this API should set this to the default 'rest'.
    resource_name str
    The name of the Application Insights component resource.
    retention_in_days int
    Retention period in days.
    sampling_percentage float
    Percentage of the data produced by the application being monitored that is being sampled for Application Insights telemetry.
    tags Mapping[str, str]
    Resource tags
    workspace_resource_id str
    Resource Id of the log analytics workspace which the data will be ingested to. This property is required to create an application with this API version. Applications from older versions will not have this property.
    applicationType String | "web" | "other"
    Type of application being monitored.
    kind String
    The kind of application that this component refers to, used to customize UI. This value is a freeform string, values should typically be one of the following: web, ios, other, store, java, phone.
    resourceGroupName String
    The name of the resource group. The name is case insensitive.
    disableIpMasking Boolean
    Disable IP masking.
    disableLocalAuth Boolean
    Disable Non-AAD based Auth.
    flowType String | "Bluefield"
    Used by the Application Insights system to determine what kind of flow this component was created by. This is to be set to 'Bluefield' when creating/updating a component via the REST API.
    forceCustomerStorageForProfiler Boolean
    Force users to create their own storage account for profiler and debugger.
    hockeyAppId String
    The unique application ID created when a new application is added to HockeyApp, used for communications with HockeyApp.
    immediatePurgeDataOn30Days Boolean
    Purge data immediately after 30 days.
    ingestionMode String | "ApplicationInsights" | "ApplicationInsightsWithDiagnosticSettings" | "LogAnalytics"
    Indicates the flow of the ingestion.
    location String
    Resource location
    publicNetworkAccessForIngestion String | "Enabled" | "Disabled"
    The network access type for accessing Application Insights ingestion.
    publicNetworkAccessForQuery String | "Enabled" | "Disabled"
    The network access type for accessing Application Insights query.
    requestSource String | "rest"
    Describes what tool created this Application Insights component. Customers using this API should set this to the default 'rest'.
    resourceName String
    The name of the Application Insights component resource.
    retentionInDays Number
    Retention period in days.
    samplingPercentage Number
    Percentage of the data produced by the application being monitored that is being sampled for Application Insights telemetry.
    tags Map<String>
    Resource tags
    workspaceResourceId String
    Resource Id of the log analytics workspace which the data will be ingested to. This property is required to create an application with this API version. Applications from older versions will not have this property.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the Component resource produces the following output properties:

    AppId string
    Application Insights Unique ID for your Application.
    ApplicationId string
    The unique ID of your application. This field mirrors the 'Name' field and cannot be changed.
    ConnectionString string
    Application Insights component connection string.
    CreationDate string
    Creation Date for the Application Insights component, in ISO 8601 format.
    HockeyAppToken string
    Token used to authenticate communications with between Application Insights and HockeyApp.
    Id string
    The provider-assigned unique ID for this managed resource.
    InstrumentationKey string
    Application Insights Instrumentation key. A read-only value that applications can use to identify the destination for all telemetry sent to Azure Application Insights. This value will be supplied upon construction of each new Application Insights component.
    LaMigrationDate string
    The date which the component got migrated to LA, in ISO 8601 format.
    Name string
    Azure resource name
    PrivateLinkScopedResources List<Pulumi.AzureNative.Insights.Outputs.PrivateLinkScopedResourceResponse>
    List of linked private link scope resources.
    ProvisioningState string
    Current state of this component: whether or not is has been provisioned within the resource group it is defined. Users cannot change this value but are able to read from it. Values will include Succeeded, Deploying, Canceled, and Failed.
    TenantId string
    Azure Tenant Id.
    Type string
    Azure resource type
    Etag string
    Resource etag
    AppId string
    Application Insights Unique ID for your Application.
    ApplicationId string
    The unique ID of your application. This field mirrors the 'Name' field and cannot be changed.
    ConnectionString string
    Application Insights component connection string.
    CreationDate string
    Creation Date for the Application Insights component, in ISO 8601 format.
    HockeyAppToken string
    Token used to authenticate communications with between Application Insights and HockeyApp.
    Id string
    The provider-assigned unique ID for this managed resource.
    InstrumentationKey string
    Application Insights Instrumentation key. A read-only value that applications can use to identify the destination for all telemetry sent to Azure Application Insights. This value will be supplied upon construction of each new Application Insights component.
    LaMigrationDate string
    The date which the component got migrated to LA, in ISO 8601 format.
    Name string
    Azure resource name
    PrivateLinkScopedResources []PrivateLinkScopedResourceResponse
    List of linked private link scope resources.
    ProvisioningState string
    Current state of this component: whether or not is has been provisioned within the resource group it is defined. Users cannot change this value but are able to read from it. Values will include Succeeded, Deploying, Canceled, and Failed.
    TenantId string
    Azure Tenant Id.
    Type string
    Azure resource type
    Etag string
    Resource etag
    appId String
    Application Insights Unique ID for your Application.
    applicationId String
    The unique ID of your application. This field mirrors the 'Name' field and cannot be changed.
    connectionString String
    Application Insights component connection string.
    creationDate String
    Creation Date for the Application Insights component, in ISO 8601 format.
    hockeyAppToken String
    Token used to authenticate communications with between Application Insights and HockeyApp.
    id String
    The provider-assigned unique ID for this managed resource.
    instrumentationKey String
    Application Insights Instrumentation key. A read-only value that applications can use to identify the destination for all telemetry sent to Azure Application Insights. This value will be supplied upon construction of each new Application Insights component.
    laMigrationDate String
    The date which the component got migrated to LA, in ISO 8601 format.
    name String
    Azure resource name
    privateLinkScopedResources List<PrivateLinkScopedResourceResponse>
    List of linked private link scope resources.
    provisioningState String
    Current state of this component: whether or not is has been provisioned within the resource group it is defined. Users cannot change this value but are able to read from it. Values will include Succeeded, Deploying, Canceled, and Failed.
    tenantId String
    Azure Tenant Id.
    type String
    Azure resource type
    etag String
    Resource etag
    appId string
    Application Insights Unique ID for your Application.
    applicationId string
    The unique ID of your application. This field mirrors the 'Name' field and cannot be changed.
    connectionString string
    Application Insights component connection string.
    creationDate string
    Creation Date for the Application Insights component, in ISO 8601 format.
    hockeyAppToken string
    Token used to authenticate communications with between Application Insights and HockeyApp.
    id string
    The provider-assigned unique ID for this managed resource.
    instrumentationKey string
    Application Insights Instrumentation key. A read-only value that applications can use to identify the destination for all telemetry sent to Azure Application Insights. This value will be supplied upon construction of each new Application Insights component.
    laMigrationDate string
    The date which the component got migrated to LA, in ISO 8601 format.
    name string
    Azure resource name
    privateLinkScopedResources PrivateLinkScopedResourceResponse[]
    List of linked private link scope resources.
    provisioningState string
    Current state of this component: whether or not is has been provisioned within the resource group it is defined. Users cannot change this value but are able to read from it. Values will include Succeeded, Deploying, Canceled, and Failed.
    tenantId string
    Azure Tenant Id.
    type string
    Azure resource type
    etag string
    Resource etag
    app_id str
    Application Insights Unique ID for your Application.
    application_id str
    The unique ID of your application. This field mirrors the 'Name' field and cannot be changed.
    connection_string str
    Application Insights component connection string.
    creation_date str
    Creation Date for the Application Insights component, in ISO 8601 format.
    hockey_app_token str
    Token used to authenticate communications with between Application Insights and HockeyApp.
    id str
    The provider-assigned unique ID for this managed resource.
    instrumentation_key str
    Application Insights Instrumentation key. A read-only value that applications can use to identify the destination for all telemetry sent to Azure Application Insights. This value will be supplied upon construction of each new Application Insights component.
    la_migration_date str
    The date which the component got migrated to LA, in ISO 8601 format.
    name str
    Azure resource name
    private_link_scoped_resources Sequence[PrivateLinkScopedResourceResponse]
    List of linked private link scope resources.
    provisioning_state str
    Current state of this component: whether or not is has been provisioned within the resource group it is defined. Users cannot change this value but are able to read from it. Values will include Succeeded, Deploying, Canceled, and Failed.
    tenant_id str
    Azure Tenant Id.
    type str
    Azure resource type
    etag str
    Resource etag
    appId String
    Application Insights Unique ID for your Application.
    applicationId String
    The unique ID of your application. This field mirrors the 'Name' field and cannot be changed.
    connectionString String
    Application Insights component connection string.
    creationDate String
    Creation Date for the Application Insights component, in ISO 8601 format.
    hockeyAppToken String
    Token used to authenticate communications with between Application Insights and HockeyApp.
    id String
    The provider-assigned unique ID for this managed resource.
    instrumentationKey String
    Application Insights Instrumentation key. A read-only value that applications can use to identify the destination for all telemetry sent to Azure Application Insights. This value will be supplied upon construction of each new Application Insights component.
    laMigrationDate String
    The date which the component got migrated to LA, in ISO 8601 format.
    name String
    Azure resource name
    privateLinkScopedResources List<Property Map>
    List of linked private link scope resources.
    provisioningState String
    Current state of this component: whether or not is has been provisioned within the resource group it is defined. Users cannot change this value but are able to read from it. Values will include Succeeded, Deploying, Canceled, and Failed.
    tenantId String
    Azure Tenant Id.
    type String
    Azure resource type
    etag String
    Resource etag

    Supporting Types

    ApplicationType, ApplicationTypeArgs

    Web
    web
    Other
    other
    ApplicationTypeWeb
    web
    ApplicationTypeOther
    other
    Web
    web
    Other
    other
    Web
    web
    Other
    other
    WEB
    web
    OTHER
    other
    "web"
    web
    "other"
    other

    FlowType, FlowTypeArgs

    Bluefield
    Bluefield
    FlowTypeBluefield
    Bluefield
    Bluefield
    Bluefield
    Bluefield
    Bluefield
    BLUEFIELD
    Bluefield
    "Bluefield"
    Bluefield

    IngestionMode, IngestionModeArgs

    ApplicationInsights
    ApplicationInsights
    ApplicationInsightsWithDiagnosticSettings
    ApplicationInsightsWithDiagnosticSettings
    LogAnalytics
    LogAnalytics
    IngestionModeApplicationInsights
    ApplicationInsights
    IngestionModeApplicationInsightsWithDiagnosticSettings
    ApplicationInsightsWithDiagnosticSettings
    IngestionModeLogAnalytics
    LogAnalytics
    ApplicationInsights
    ApplicationInsights
    ApplicationInsightsWithDiagnosticSettings
    ApplicationInsightsWithDiagnosticSettings
    LogAnalytics
    LogAnalytics
    ApplicationInsights
    ApplicationInsights
    ApplicationInsightsWithDiagnosticSettings
    ApplicationInsightsWithDiagnosticSettings
    LogAnalytics
    LogAnalytics
    APPLICATION_INSIGHTS
    ApplicationInsights
    APPLICATION_INSIGHTS_WITH_DIAGNOSTIC_SETTINGS
    ApplicationInsightsWithDiagnosticSettings
    LOG_ANALYTICS
    LogAnalytics
    "ApplicationInsights"
    ApplicationInsights
    "ApplicationInsightsWithDiagnosticSettings"
    ApplicationInsightsWithDiagnosticSettings
    "LogAnalytics"
    LogAnalytics

    PrivateLinkScopedResourceResponse, PrivateLinkScopedResourceResponseArgs

    ResourceId string
    The resourceId of the Azure Monitor Private Link Scope Scoped Resource through which this DCE is associated with a Azure Monitor Private Link Scope.
    ScopeId string
    The immutableId of the Azure Monitor Private Link Scope Resource to which the association is.
    ResourceId string
    The resourceId of the Azure Monitor Private Link Scope Scoped Resource through which this DCE is associated with a Azure Monitor Private Link Scope.
    ScopeId string
    The immutableId of the Azure Monitor Private Link Scope Resource to which the association is.
    resourceId String
    The resourceId of the Azure Monitor Private Link Scope Scoped Resource through which this DCE is associated with a Azure Monitor Private Link Scope.
    scopeId String
    The immutableId of the Azure Monitor Private Link Scope Resource to which the association is.
    resourceId string
    The resourceId of the Azure Monitor Private Link Scope Scoped Resource through which this DCE is associated with a Azure Monitor Private Link Scope.
    scopeId string
    The immutableId of the Azure Monitor Private Link Scope Resource to which the association is.
    resource_id str
    The resourceId of the Azure Monitor Private Link Scope Scoped Resource through which this DCE is associated with a Azure Monitor Private Link Scope.
    scope_id str
    The immutableId of the Azure Monitor Private Link Scope Resource to which the association is.
    resourceId String
    The resourceId of the Azure Monitor Private Link Scope Scoped Resource through which this DCE is associated with a Azure Monitor Private Link Scope.
    scopeId String
    The immutableId of the Azure Monitor Private Link Scope Resource to which the association is.

    PublicNetworkAccessType, PublicNetworkAccessTypeArgs

    Enabled
    EnabledEnables connectivity to Application Insights through public DNS.
    Disabled
    DisabledDisables public connectivity to Application Insights through public DNS.
    PublicNetworkAccessTypeEnabled
    EnabledEnables connectivity to Application Insights through public DNS.
    PublicNetworkAccessTypeDisabled
    DisabledDisables public connectivity to Application Insights through public DNS.
    Enabled
    EnabledEnables connectivity to Application Insights through public DNS.
    Disabled
    DisabledDisables public connectivity to Application Insights through public DNS.
    Enabled
    EnabledEnables connectivity to Application Insights through public DNS.
    Disabled
    DisabledDisables public connectivity to Application Insights through public DNS.
    ENABLED
    EnabledEnables connectivity to Application Insights through public DNS.
    DISABLED
    DisabledDisables public connectivity to Application Insights through public DNS.
    "Enabled"
    EnabledEnables connectivity to Application Insights through public DNS.
    "Disabled"
    DisabledDisables public connectivity to Application Insights through public DNS.

    RequestSource, RequestSourceArgs

    Rest
    rest
    RequestSourceRest
    rest
    Rest
    rest
    Rest
    rest
    REST
    rest
    "rest"
    rest

    Import

    An existing resource can be imported using its type token, name, and identifier, e.g.

    $ pulumi import azure-native:insights:Component my-component /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName} 
    

    To learn more about importing existing cloud resources, see Importing resources.

    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.73.0 published on Wednesday, Nov 20, 2024 by Pulumi