An Application Insights component definition.
Uses Azure REST API version 2020-02-02.
Other available API versions: 2015-05-01, 2018-05-01-preview, 2020-02-02-preview. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native applicationinsights [ApiVersion]. See the version guide for details.
Example Usage
ComponentCreate
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var component = new AzureNative.ApplicationInsights.Component("component", new()
{
ApplicationType = AzureNative.ApplicationInsights.ApplicationType.Web,
FlowType = AzureNative.ApplicationInsights.FlowType.Bluefield,
Kind = "web",
Location = "South Central US",
RequestSource = AzureNative.ApplicationInsights.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 (
applicationinsights "github.com/pulumi/pulumi-azure-native-sdk/applicationinsights/v3"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := applicationinsights.NewComponent(ctx, "component", &applicationinsights.ComponentArgs{
ApplicationType: pulumi.String(applicationinsights.ApplicationTypeWeb),
FlowType: pulumi.String(applicationinsights.FlowTypeBluefield),
Kind: pulumi.String("web"),
Location: pulumi.String("South Central US"),
RequestSource: pulumi.String(applicationinsights.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
})
}
terraform {
required_providers {
azure-native = {
source = "pulumi/azure-native"
}
}
}
resource "azure-native_applicationinsights_component" "component" {
lifecycle {
create_before_destroy = true
}
application_type = "web"
flow_type = "Bluefield"
kind = "web"
location = "South Central US"
request_source = "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"
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.applicationinsights.Component;
import com.pulumi.azurenative.applicationinsights.ComponentArgs;
import java.util.ArrayList;
import java.util.Arrays;
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 * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const component = new azure_native.applicationinsights.Component("component", {
applicationType: azure_native.applicationinsights.ApplicationType.Web,
flowType: azure_native.applicationinsights.FlowType.Bluefield,
kind: "web",
location: "South Central US",
requestSource: azure_native.applicationinsights.RequestSource.Rest,
resourceGroupName: "my-resource-group",
resourceName: "my-component",
workspaceResourceId: "/subscriptions/subid/resourcegroups/my-resource-group/providers/microsoft.operationalinsights/workspaces/my-workspace",
});
import pulumi
import pulumi_azure_native as azure_native
component = azure_native.applicationinsights.Component("component",
application_type=azure_native.applicationinsights.ApplicationType.WEB,
flow_type=azure_native.applicationinsights.FlowType.BLUEFIELD,
kind="web",
location="South Central US",
request_source=azure_native.applicationinsights.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")
resources:
component:
type: azure-native:applicationinsights: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.ApplicationInsights.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 (
applicationinsights "github.com/pulumi/pulumi-azure-native-sdk/applicationinsights/v3"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := applicationinsights.NewComponent(ctx, "component", &applicationinsights.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
})
}
terraform {
required_providers {
azure-native = {
source = "pulumi/azure-native"
}
}
}
resource "azure-native_applicationinsights_component" "component" {
lifecycle {
create_before_destroy = true
}
kind = "web"
location = "South Central US"
resource_group_name = "my-resource-group"
resource_name = "my-component"
tags = {
"ApplicationGatewayType" = "Internal-Only"
"BillingEntity" = "Self"
}
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.applicationinsights.Component;
import com.pulumi.azurenative.applicationinsights.ComponentArgs;
import java.util.ArrayList;
import java.util.Arrays;
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 * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const component = new azure_native.applicationinsights.Component("component", {
kind: "web",
location: "South Central US",
resourceGroupName: "my-resource-group",
resourceName: "my-component",
tags: {
ApplicationGatewayType: "Internal-Only",
BillingEntity: "Self",
},
});
import pulumi
import pulumi_azure_native as azure_native
component = azure_native.applicationinsights.Component("component",
kind="web",
location="South Central US",
resource_group_name="my-resource-group",
resource_name_="my-component",
tags={
"ApplicationGatewayType": "Internal-Only",
"BillingEntity": "Self",
})
resources:
component:
type: azure-native:applicationinsights: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
@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)
public Component(String name, ComponentArgs args)
public Component(String name, ComponentArgs args, CustomResourceOptions options)
type: azure-native:applicationinsights:Component
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "azure-native_applicationinsights_component" "name" {
# resource properties
}
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.ApplicationInsights.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.0,
Tags =
{
{ "string", "string" },
},
WorkspaceResourceId = "string",
});
example, err := applicationinsights.NewComponent(ctx, "componentResource", &applicationinsights.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"),
})
resource "azure-native_applicationinsights_component" "componentResource" {
lifecycle {
create_before_destroy = true
}
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"
}
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.0)
.tags(Map.of("string", "string"))
.workspaceResourceId("string")
.build());
component_resource = azure_native.applicationinsights.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=float(0),
tags={
"string": "string",
},
workspace_resource_id="string")
const componentResource = new azure_native.applicationinsights.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:applicationinsights: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.
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 | 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.
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.
- AzureApiVersion
string
- The Azure API version of the resource.
- 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.ApplicationInsights.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.
- AzureApiVersion
string
- The Azure API version of the resource.
- 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
string
- Application Insights Unique ID for your Application.
- application_id
string
- The unique ID of your application. This field mirrors the 'Name' field and cannot be changed.
- azure_api_version
string
- The Azure API version of the resource.
- connection_string
string
- Application Insights component connection string.
- creation_date
string
- Creation Date for the Application Insights component, in ISO 8601 format.
- hockey_app_token
string
- Token used to authenticate communications with between Application Insights and HockeyApp.
- id
string
- The provider-assigned unique ID for this managed resource.
- instrumentation_key
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.
- la_migration_date
string
- The date which the component got migrated to LA, in ISO 8601 format.
- name
string
- Azure resource name
- private_link_scoped_resources
list(object)
- List of linked private link scope resources.
- provisioning_state
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.
- tenant_id
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.
- azureApiVersion
String
- The Azure API version of the resource.
- 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.
- azureApiVersion
string
- The Azure API version of the resource.
- 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.
- azure_api_version
str
- The Azure API version of the resource.
- 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.
- azureApiVersion
String
- The Azure API version of the resource.
- 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
Look up Existing Component Resource
Get an existing Component resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static Component get(String name, Output<String> id, CustomResourceOptions options)
resources: existingComponent: type: azure-native:applicationinsights:Component get: id: ${id}
import {
to = azure-native_applicationinsights_component.example
id = "${id}"
}
- name
string
- The unique name of the resulting resource.
- id
Input<ID>
- The unique provider ID of the resource to look up.
- opts
CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name
str
- The unique name of the resulting resource.
- id
str
- The unique provider ID of the resource to look up.
- 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 resulting resource.
- id
IDInput
- The unique provider ID of the resource to look up.
- state
ComponentState
- Pass nil. This resource has no state arguments.
- opts
ResourceOption
- Bag of options to control resource's behavior.
- name
string
- The unique name of the resulting resource.
- id
Input<string>
- The unique provider ID of the resource to look up.
- opts
CustomResourceOptions
- Bag of options to control resource's behavior.
- name
String
- The unique name of the resulting resource.
- id
Output<String>
- The unique provider ID of the resource to look up.
- options
CustomResourceOptions
- Bag of options to control resource's behavior.
Supporting Types
ApplicationType
Type of application being monitored.
| Name | Value | Description |
|---|
| Web | web | web |
| Other | other | other |
| Name | Value | Description |
|---|
| ApplicationTypeWeb | web | web |
| ApplicationTypeOther | other | other |
| Value | Description |
|---|
web | web |
other | other |
| Name | Value | Description |
|---|
| Web | web | web |
| Other | other | other |
| Name | Value | Description |
|---|
| Web | web | web |
| Other | other | other |
| Name | Value | Description |
|---|
| WEB | web | web |
| OTHER | other | other |
| Value | Description |
|---|
web | web |
other | other |
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.
| Name | Value | Description |
|---|
| Bluefield | Bluefield | Bluefield |
| Name | Value | Description |
|---|
| FlowTypeBluefield | Bluefield | Bluefield |
| Value | Description |
|---|
Bluefield | Bluefield |
| Name | Value | Description |
|---|
| Bluefield | Bluefield | Bluefield |
| Name | Value | Description |
|---|
| Bluefield | Bluefield | Bluefield |
| Name | Value | Description |
|---|
| BLUEFIELD | Bluefield | Bluefield |
| Value | Description |
|---|
Bluefield | Bluefield |
IngestionMode
Indicates the flow of the ingestion.
| Name | Value | Description |
|---|
| ApplicationInsights | ApplicationInsights | ApplicationInsights |
| ApplicationInsightsWithDiagnosticSettings | ApplicationInsightsWithDiagnosticSettings | ApplicationInsightsWithDiagnosticSettings |
| LogAnalytics | LogAnalytics | LogAnalytics |
| Name | Value | Description |
|---|
| IngestionModeApplicationInsights | ApplicationInsights | ApplicationInsights |
| IngestionModeApplicationInsightsWithDiagnosticSettings | ApplicationInsightsWithDiagnosticSettings | ApplicationInsightsWithDiagnosticSettings |
| IngestionModeLogAnalytics | LogAnalytics | LogAnalytics |
| Value | Description |
|---|
ApplicationInsights | ApplicationInsights |
ApplicationInsightsWithDiagnosticSettings | ApplicationInsightsWithDiagnosticSettings |
LogAnalytics | LogAnalytics |
| Name | Value | Description |
|---|
| ApplicationInsights | ApplicationInsights | ApplicationInsights |
| ApplicationInsightsWithDiagnosticSettings | ApplicationInsightsWithDiagnosticSettings | ApplicationInsightsWithDiagnosticSettings |
| LogAnalytics | LogAnalytics | LogAnalytics |
| Name | Value | Description |
|---|
| ApplicationInsights | ApplicationInsights | ApplicationInsights |
| ApplicationInsightsWithDiagnosticSettings | ApplicationInsightsWithDiagnosticSettings | ApplicationInsightsWithDiagnosticSettings |
| LogAnalytics | LogAnalytics | LogAnalytics |
| Name | Value | Description |
|---|
| APPLICATION_INSIGHTS | ApplicationInsights | ApplicationInsights |
| APPLICATION_INSIGHTS_WITH_DIAGNOSTIC_SETTINGS | ApplicationInsightsWithDiagnosticSettings | ApplicationInsightsWithDiagnosticSettings |
| LOG_ANALYTICS | LogAnalytics | LogAnalytics |
| Value | Description |
|---|
ApplicationInsights | ApplicationInsights |
ApplicationInsightsWithDiagnosticSettings | ApplicationInsightsWithDiagnosticSettings |
LogAnalytics | LogAnalytics |
PrivateLinkScopedResourceResponse
The private link scope resource reference.
- ResourceId
string
- The full resource Id of the private link scope resource.
- ScopeId
string
- The private link scope unique Identifier.
- ResourceId
string
- The full resource Id of the private link scope resource.
- ScopeId
string
- The private link scope unique Identifier.
- resource_id
string
- The full resource Id of the private link scope resource.
- scope_id
string
- The private link scope unique Identifier.
- resourceId
String
- The full resource Id of the private link scope resource.
- scopeId
String
- The private link scope unique Identifier.
- resourceId
string
- The full resource Id of the private link scope resource.
- scopeId
string
- The private link scope unique Identifier.
- resource_id
str
- The full resource Id of the private link scope resource.
- scope_id
str
- The private link scope unique Identifier.
- resourceId
String
- The full resource Id of the private link scope resource.
- scopeId
String
- The private link scope unique Identifier.
PublicNetworkAccessType
The network access type for accessing Application Insights query.
| Name | Value | Description |
|---|
| Enabled | Enabled | Enables connectivity to Application Insights through public DNS. |
| Disabled | Disabled | Disables public connectivity to Application Insights through public DNS. |
| Name | Value | Description |
|---|
| PublicNetworkAccessTypeEnabled | Enabled | Enables connectivity to Application Insights through public DNS. |
| PublicNetworkAccessTypeDisabled | Disabled | Disables public connectivity to Application Insights through public DNS. |
| Value | Description |
|---|
Enabled | Enables connectivity to Application Insights through public DNS. |
Disabled | Disables public connectivity to Application Insights through public DNS. |
| Name | Value | Description |
|---|
| Enabled | Enabled | Enables connectivity to Application Insights through public DNS. |
| Disabled | Disabled | Disables public connectivity to Application Insights through public DNS. |
| Name | Value | Description |
|---|
| Enabled | Enabled | Enables connectivity to Application Insights through public DNS. |
| Disabled | Disabled | Disables public connectivity to Application Insights through public DNS. |
| Name | Value | Description |
|---|
| ENABLED | Enabled | Enables connectivity to Application Insights through public DNS. |
| DISABLED | Disabled | Disables public connectivity to Application Insights through public DNS. |
| Value | Description |
|---|
Enabled | Enables connectivity to Application Insights through public DNS. |
Disabled | Disables public connectivity to Application Insights through public DNS. |
RequestSource
Describes what tool created this Application Insights component. Customers using this API should set this to the default 'rest'.
| Name | Value | Description |
|---|
| Rest | rest | rest |
| Name | Value | Description |
|---|
| RequestSourceRest | rest | rest |
| Name | Value | Description |
|---|
| Rest | rest | rest |
| Name | Value | Description |
|---|
| Rest | rest | rest |
| Name | Value | Description |
|---|
| REST | rest | rest |
Import
An existing resource can be imported using its type token, name, and identifier, e.g.
$ pulumi import azure-native:applicationinsights: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