UNPKG

@pulumi/azure-native

Version:

[![Slack](http://www.pulumi.com/images/docs/badges/slack.svg)](https://slack.pulumi.com) [![NPM version](https://badge.fury.io/js/%40pulumi%2Fazure-native.svg)](https://npmjs.com/package/@pulumi/azure-native) [![Python version](https://badge.fury.io/py/pu

244 lines (243 loc) • 10.1 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; import * as enums from "../types/enums"; /** * 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](../../../version-guide/#accessing-any-api-version-via-local-packages) for details. */ export declare class Component extends pulumi.CustomResource { /** * Get an existing Component resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): Component; /** * Returns true if the given object is an instance of Component. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is Component; /** * Application Insights Unique ID for your Application. */ readonly appId: pulumi.Output<string>; /** * The unique ID of your application. This field mirrors the 'Name' field and cannot be changed. */ readonly applicationId: pulumi.Output<string>; /** * Type of application being monitored. */ readonly applicationType: pulumi.Output<string>; /** * The Azure API version of the resource. */ readonly azureApiVersion: pulumi.Output<string>; /** * Application Insights component connection string. */ readonly connectionString: pulumi.Output<string>; /** * Creation Date for the Application Insights component, in ISO 8601 format. */ readonly creationDate: pulumi.Output<string>; /** * Disable IP masking. */ readonly disableIpMasking: pulumi.Output<boolean | undefined>; /** * Disable Non-AAD based Auth. */ readonly disableLocalAuth: pulumi.Output<boolean | undefined>; /** * Resource etag */ readonly etag: pulumi.Output<string | undefined>; /** * 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. */ readonly flowType: pulumi.Output<string | undefined>; /** * Force users to create their own storage account for profiler and debugger. */ readonly forceCustomerStorageForProfiler: pulumi.Output<boolean | undefined>; /** * The unique application ID created when a new application is added to HockeyApp, used for communications with HockeyApp. */ readonly hockeyAppId: pulumi.Output<string | undefined>; /** * Token used to authenticate communications with between Application Insights and HockeyApp. */ readonly hockeyAppToken: pulumi.Output<string>; /** * Purge data immediately after 30 days. */ readonly immediatePurgeDataOn30Days: pulumi.Output<boolean | undefined>; /** * Indicates the flow of the ingestion. */ readonly ingestionMode: pulumi.Output<string | undefined>; /** * 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. */ readonly instrumentationKey: pulumi.Output<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. */ readonly kind: pulumi.Output<string>; /** * The date which the component got migrated to LA, in ISO 8601 format. */ readonly laMigrationDate: pulumi.Output<string>; /** * Resource location */ readonly location: pulumi.Output<string>; /** * Azure resource name */ readonly name: pulumi.Output<string>; /** * List of linked private link scope resources. */ readonly privateLinkScopedResources: pulumi.Output<outputs.applicationinsights.PrivateLinkScopedResourceResponse[]>; /** * 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. */ readonly provisioningState: pulumi.Output<string>; /** * The network access type for accessing Application Insights ingestion. */ readonly publicNetworkAccessForIngestion: pulumi.Output<string | undefined>; /** * The network access type for accessing Application Insights query. */ readonly publicNetworkAccessForQuery: pulumi.Output<string | undefined>; /** * Describes what tool created this Application Insights component. Customers using this API should set this to the default 'rest'. */ readonly requestSource: pulumi.Output<string | undefined>; /** * Retention period in days. */ readonly retentionInDays: pulumi.Output<number | undefined>; /** * Percentage of the data produced by the application being monitored that is being sampled for Application Insights telemetry. */ readonly samplingPercentage: pulumi.Output<number | undefined>; /** * Resource tags */ readonly tags: pulumi.Output<{ [key: string]: string; } | undefined>; /** * Azure Tenant Id. */ readonly tenantId: pulumi.Output<string>; /** * Azure resource type */ readonly type: pulumi.Output<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. */ readonly workspaceResourceId: pulumi.Output<string | undefined>; /** * Create a Component resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: ComponentArgs, opts?: pulumi.CustomResourceOptions); } /** * The set of arguments for constructing a Component resource. */ export interface ComponentArgs { /** * Type of application being monitored. */ applicationType: pulumi.Input<string | enums.applicationinsights.ApplicationType>; /** * Disable IP masking. */ disableIpMasking?: pulumi.Input<boolean>; /** * Disable Non-AAD based Auth. */ disableLocalAuth?: pulumi.Input<boolean>; /** * 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. */ flowType?: pulumi.Input<string | enums.applicationinsights.FlowType>; /** * Force users to create their own storage account for profiler and debugger. */ forceCustomerStorageForProfiler?: pulumi.Input<boolean>; /** * The unique application ID created when a new application is added to HockeyApp, used for communications with HockeyApp. */ hockeyAppId?: pulumi.Input<string>; /** * Purge data immediately after 30 days. */ immediatePurgeDataOn30Days?: pulumi.Input<boolean>; /** * Indicates the flow of the ingestion. */ ingestionMode?: pulumi.Input<string | enums.applicationinsights.IngestionMode>; /** * 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. */ kind: pulumi.Input<string>; /** * Resource location */ location?: pulumi.Input<string>; /** * The network access type for accessing Application Insights ingestion. */ publicNetworkAccessForIngestion?: pulumi.Input<string | enums.applicationinsights.PublicNetworkAccessType>; /** * The network access type for accessing Application Insights query. */ publicNetworkAccessForQuery?: pulumi.Input<string | enums.applicationinsights.PublicNetworkAccessType>; /** * Describes what tool created this Application Insights component. Customers using this API should set this to the default 'rest'. */ requestSource?: pulumi.Input<string | enums.applicationinsights.RequestSource>; /** * The name of the resource group. The name is case insensitive. */ resourceGroupName: pulumi.Input<string>; /** * The name of the Application Insights component resource. */ resourceName?: pulumi.Input<string>; /** * Retention period in days. */ retentionInDays?: pulumi.Input<number>; /** * Percentage of the data produced by the application being monitored that is being sampled for Application Insights telemetry. */ samplingPercentage?: pulumi.Input<number>; /** * Resource tags */ tags?: pulumi.Input<{ [key: string]: pulumi.Input<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. */ workspaceResourceId?: pulumi.Input<string>; }