Module appinsights

@pulumi/azure > appinsights

Index

appinsights/insights.ts

class Insights

Manage an Application Insights component.

constructor

new Insights(name: string, args: InsightsArgs, opts?: pulumi.CustomResourceOptions)

Create a Insights resource with the given unique name, arguments, and options.

  • name The unique name of the resource.
  • args The arguments to use to populate this resource's properties.
  • opts A bag of options that control this resource's behavior.

method get

public static get(name: string, id: pulumi.Input<pulumi.ID>, state?: InsightsState): Insights

Get an existing Insights resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

method getProvider

getProvider(moduleMember: string): ProviderResource | undefined

method isInstance

static isInstance(obj: any): boolean

Returns true if the given object is an instance of CustomResource. This is designed to work even when multiple copies of the Pulumi SDK have been loaded into the same process.

property appId

public appId: pulumi.Output<string>;

The App ID associated with this Application Insights component.

property applicationType

public applicationType: pulumi.Output<string>;

Specifies the type of Application Insights to create. Valid values are Java, iOS, MobileCenter, Other, Phone, Store and Web.

property id

id: Output<ID>;

id is the provider-assigned unique ID for this managed resource. It is set during deployments and may be missing (undefined) during planning phases.

property instrumentationKey

public instrumentationKey: pulumi.Output<string>;

The Instrumentation Key for this Application Insights component.

property location

public location: pulumi.Output<string>;

Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.

property name

public name: pulumi.Output<string>;

Specifies the name of the Application Insights component. Changing this forces a new resource to be created.

property resourceGroupName

public resourceGroupName: pulumi.Output<string>;

The name of the resource group in which to create the Application Insights component.

property tags

public tags: pulumi.Output<{ ... }>;

A mapping of tags to assign to the resource.

property urn

urn: Output<URN>;

urn is the stable logical URN used to distinctly address a resource, both before and after deployments.

interface InsightsArgs

The set of arguments for constructing a Insights resource.

property applicationType

applicationType: pulumi.Input<string>;

Specifies the type of Application Insights to create. Valid values are Java, iOS, MobileCenter, Other, Phone, Store and Web.

property location

location: pulumi.Input<string>;

Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.

property name

name?: pulumi.Input<string>;

Specifies the name of the Application Insights component. Changing this forces a new resource to be created.

property resourceGroupName

resourceGroupName: pulumi.Input<string>;

The name of the resource group in which to create the Application Insights component.

property tags

tags?: pulumi.Input<{ ... }>;

A mapping of tags to assign to the resource.

interface InsightsState

Input properties used for looking up and filtering Insights resources.

property appId

appId?: pulumi.Input<string>;

The App ID associated with this Application Insights component.

property applicationType

applicationType?: pulumi.Input<string>;

Specifies the type of Application Insights to create. Valid values are Java, iOS, MobileCenter, Other, Phone, Store and Web.

property instrumentationKey

instrumentationKey?: pulumi.Input<string>;

The Instrumentation Key for this Application Insights component.

property location

location?: pulumi.Input<string>;

Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.

property name

name?: pulumi.Input<string>;

Specifies the name of the Application Insights component. Changing this forces a new resource to be created.

property resourceGroupName

resourceGroupName?: pulumi.Input<string>;

The name of the resource group in which to create the Application Insights component.

property tags

tags?: pulumi.Input<{ ... }>;

A mapping of tags to assign to the resource.