appinsights

package
v1.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 7, 2019 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

nolint: lll Package appinsights exports types, functions, subpackages for provisioning appinsights resources.

> This provider is a derived work of the [Terraform Provider](https://github.com/terraform-providers/terraform-provider-azurerm) > distributed under [MPL 2.0](https://www.mozilla.org/en-US/MPL/2.0/). If you encounter a bug or missing feature, > first check the [`pulumi/pulumi-azure` repo](https://github.com/pulumi/pulumi-azure/issues); however, if that doesn't turn up anything, > please consult the source [`terraform-providers/terraform-provider-azurerm` repo](https://github.com/terraform-providers/terraform-provider-azurerm/issues).

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AnalyticsItem added in v1.2.0

type AnalyticsItem struct {
	// contains filtered or unexported fields
}

Manages an Application Insights Analytics Item component.

> This content is derived from https://github.com/terraform-providers/terraform-provider-azurerm/blob/master/website/docs/r/application_insights_analytics_item.html.markdown.

func GetAnalyticsItem added in v1.2.0

func GetAnalyticsItem(ctx *pulumi.Context,
	name string, id pulumi.ID, state *AnalyticsItemState, opts ...pulumi.ResourceOpt) (*AnalyticsItem, error)

GetAnalyticsItem gets an existing AnalyticsItem resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewAnalyticsItem added in v1.2.0

func NewAnalyticsItem(ctx *pulumi.Context,
	name string, args *AnalyticsItemArgs, opts ...pulumi.ResourceOpt) (*AnalyticsItem, error)

NewAnalyticsItem registers a new resource with the given unique name, arguments, and options.

func (*AnalyticsItem) ApplicationInsightsId added in v1.2.0

func (r *AnalyticsItem) ApplicationInsightsId() *pulumi.StringOutput

The ID of the Application Insights component on which the Analytics Item exists. Changing this forces a new resource to be created.

func (*AnalyticsItem) Content added in v1.2.0

func (r *AnalyticsItem) Content() *pulumi.StringOutput

The content for the Analytics Item, for example the query text if `type` is `query`.

func (*AnalyticsItem) FunctionAlias added in v1.2.0

func (r *AnalyticsItem) FunctionAlias() *pulumi.StringOutput

The alias to use for the function. Required when `type` is `function`.

func (*AnalyticsItem) ID added in v1.2.0

func (r *AnalyticsItem) ID() *pulumi.IDOutput

ID is this resource's unique identifier assigned by its provider.

func (*AnalyticsItem) Name added in v1.2.0

func (r *AnalyticsItem) Name() *pulumi.StringOutput

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

func (*AnalyticsItem) Scope added in v1.2.0

func (r *AnalyticsItem) Scope() *pulumi.StringOutput

The scope for the Analytics Item. Can be `shared` or `user`. Changing this forces a new resource to be created. Must be `shared` for functions.

func (*AnalyticsItem) TimeCreated added in v1.2.0

func (r *AnalyticsItem) TimeCreated() *pulumi.StringOutput

A string containing the time the Analytics Item was created.

func (*AnalyticsItem) TimeModified added in v1.2.0

func (r *AnalyticsItem) TimeModified() *pulumi.StringOutput

A string containing the time the Analytics Item was last modified.

func (*AnalyticsItem) Type added in v1.2.0

func (r *AnalyticsItem) Type() *pulumi.StringOutput

The type of Analytics Item to create. Can be one of `query`, `function`, `folder`, `recent`. Changing this forces a new resource to be created.

func (*AnalyticsItem) URN added in v1.2.0

func (r *AnalyticsItem) URN() *pulumi.URNOutput

URN is this resource's unique name assigned by Pulumi.

func (*AnalyticsItem) Version added in v1.2.0

func (r *AnalyticsItem) Version() *pulumi.StringOutput

A string indicating the version of the query format

type AnalyticsItemArgs added in v1.2.0

type AnalyticsItemArgs struct {
	// The ID of the Application Insights component on which the Analytics Item exists. Changing this forces a new resource to be created.
	ApplicationInsightsId interface{}
	// The content for the Analytics Item, for example the query text if `type` is `query`.
	Content interface{}
	// The alias to use for the function. Required when `type` is `function`.
	FunctionAlias interface{}
	// Specifies the name of the Application Insights Analytics Item. Changing this forces a new resource to be created.
	Name interface{}
	// The scope for the Analytics Item. Can be `shared` or `user`. Changing this forces a new resource to be created. Must be `shared` for functions.
	Scope interface{}
	// The type of Analytics Item to create. Can be one of `query`, `function`, `folder`, `recent`. Changing this forces a new resource to be created.
	Type interface{}
}

The set of arguments for constructing a AnalyticsItem resource.

type AnalyticsItemState added in v1.2.0

type AnalyticsItemState struct {
	// The ID of the Application Insights component on which the Analytics Item exists. Changing this forces a new resource to be created.
	ApplicationInsightsId interface{}
	// The content for the Analytics Item, for example the query text if `type` is `query`.
	Content interface{}
	// The alias to use for the function. Required when `type` is `function`.
	FunctionAlias interface{}
	// Specifies the name of the Application Insights Analytics Item. Changing this forces a new resource to be created.
	Name interface{}
	// The scope for the Analytics Item. Can be `shared` or `user`. Changing this forces a new resource to be created. Must be `shared` for functions.
	Scope interface{}
	// A string containing the time the Analytics Item was created.
	TimeCreated interface{}
	// A string containing the time the Analytics Item was last modified.
	TimeModified interface{}
	// The type of Analytics Item to create. Can be one of `query`, `function`, `folder`, `recent`. Changing this forces a new resource to be created.
	Type interface{}
	// A string indicating the version of the query format
	Version interface{}
}

Input properties used for looking up and filtering AnalyticsItem resources.

type ApiKey added in v0.16.7

type ApiKey struct {
	// contains filtered or unexported fields
}

Manages an Application Insights API key.

> This content is derived from https://github.com/terraform-providers/terraform-provider-azurerm/blob/master/website/docs/r/application_insights_api_key.html.markdown.

func GetApiKey added in v0.16.7

func GetApiKey(ctx *pulumi.Context,
	name string, id pulumi.ID, state *ApiKeyState, opts ...pulumi.ResourceOpt) (*ApiKey, error)

GetApiKey gets an existing ApiKey resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewApiKey added in v0.16.7

func NewApiKey(ctx *pulumi.Context,
	name string, args *ApiKeyArgs, opts ...pulumi.ResourceOpt) (*ApiKey, error)

NewApiKey registers a new resource with the given unique name, arguments, and options.

func (*ApiKey) ApiKey added in v0.16.7

func (r *ApiKey) ApiKey() *pulumi.StringOutput

The API Key secret (Sensitive).

func (*ApiKey) ApplicationInsightsId added in v0.16.7

func (r *ApiKey) ApplicationInsightsId() *pulumi.StringOutput

The ID of the Application Insights component on which the API key operates. Changing this forces a new resource to be created.

func (*ApiKey) ID added in v0.16.7

func (r *ApiKey) ID() *pulumi.IDOutput

ID is this resource's unique identifier assigned by its provider.

func (*ApiKey) Name added in v0.16.7

func (r *ApiKey) Name() *pulumi.StringOutput

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

func (*ApiKey) ReadPermissions added in v0.16.7

func (r *ApiKey) ReadPermissions() *pulumi.ArrayOutput

Specifies the list of read permissions granted to the API key. Valid values are `agentconfig`, `aggregate`, `api`, `draft`, `extendqueries`, `search`. Please note these values are case sensitive. Changing this forces a new resource to be created.

func (*ApiKey) URN added in v0.16.7

func (r *ApiKey) URN() *pulumi.URNOutput

URN is this resource's unique name assigned by Pulumi.

func (*ApiKey) WritePermissions added in v0.16.7

func (r *ApiKey) WritePermissions() *pulumi.ArrayOutput

Specifies the list of write permissions granted to the API key. Valid values are `annotations`. Please note these values are case sensitive. Changing this forces a new resource to be created.

type ApiKeyArgs added in v0.16.7

type ApiKeyArgs struct {
	// The ID of the Application Insights component on which the API key operates. Changing this forces a new resource to be created.
	ApplicationInsightsId interface{}
	// Specifies the name of the Application Insights API key. Changing this forces a
	// new resource to be created.
	Name interface{}
	// Specifies the list of read permissions granted to the API key. Valid values are `agentconfig`, `aggregate`, `api`, `draft`, `extendqueries`, `search`. Please note these values are case sensitive. Changing this forces a new resource to be created.
	ReadPermissions interface{}
	// Specifies the list of write permissions granted to the API key. Valid values are `annotations`. Please note these values are case sensitive. Changing this forces a new resource to be created.
	WritePermissions interface{}
}

The set of arguments for constructing a ApiKey resource.

type ApiKeyState added in v0.16.7

type ApiKeyState struct {
	// The API Key secret (Sensitive).
	ApiKey interface{}
	// The ID of the Application Insights component on which the API key operates. Changing this forces a new resource to be created.
	ApplicationInsightsId interface{}
	// Specifies the name of the Application Insights API key. Changing this forces a
	// new resource to be created.
	Name interface{}
	// Specifies the list of read permissions granted to the API key. Valid values are `agentconfig`, `aggregate`, `api`, `draft`, `extendqueries`, `search`. Please note these values are case sensitive. Changing this forces a new resource to be created.
	ReadPermissions interface{}
	// Specifies the list of write permissions granted to the API key. Valid values are `annotations`. Please note these values are case sensitive. Changing this forces a new resource to be created.
	WritePermissions interface{}
}

Input properties used for looking up and filtering ApiKey resources.

type GetInsightsArgs added in v0.16.7

type GetInsightsArgs struct {
	// Specifies the name of the Application Insights component.
	Name interface{}
	// Specifies the name of the resource group the Application Insights component is located in.
	ResourceGroupName interface{}
}

A collection of arguments for invoking getInsights.

type GetInsightsResult added in v0.16.7

type GetInsightsResult struct {
	// The App ID associated with this Application Insights component.
	AppId interface{}
	// The type of the component.
	ApplicationType interface{}
	// The instrumentation key of the Application Insights component.
	InstrumentationKey interface{}
	// The Azure location where the component exists.
	Location          interface{}
	Name              interface{}
	ResourceGroupName interface{}
	// Tags applied to the component.
	Tags interface{}
	// id is the provider-assigned unique ID for this managed resource.
	Id interface{}
}

A collection of values returned by getInsights.

func LookupInsights added in v0.16.7

func LookupInsights(ctx *pulumi.Context, args *GetInsightsArgs) (*GetInsightsResult, error)

Use this data source to access information about an existing Application Insights component.

> This content is derived from https://github.com/terraform-providers/terraform-provider-azurerm/blob/master/website/docs/d/application_insights.html.markdown.

type Insights

type Insights struct {
	// contains filtered or unexported fields
}

Manages an Application Insights component.

> This content is derived from https://github.com/terraform-providers/terraform-provider-azurerm/blob/master/website/docs/r/application_insights.html.markdown.

func GetInsights

func GetInsights(ctx *pulumi.Context,
	name string, id pulumi.ID, state *InsightsState, opts ...pulumi.ResourceOpt) (*Insights, error)

GetInsights gets an existing Insights resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewInsights

func NewInsights(ctx *pulumi.Context,
	name string, args *InsightsArgs, opts ...pulumi.ResourceOpt) (*Insights, error)

NewInsights registers a new resource with the given unique name, arguments, and options.

func (*Insights) AppId

func (r *Insights) AppId() *pulumi.StringOutput

The App ID associated with this Application Insights component.

func (*Insights) ApplicationType

func (r *Insights) ApplicationType() *pulumi.StringOutput

Specifies the type of Application Insights to create. Valid values are `ios` for _iOS_, `java` for _Java web_, `MobileCenter` for _App Center_, `Node.JS` for _Node.js_, `other` for _General_, `phone` for _Windows Phone_, `store` for _Windows Store_ and `web` for _ASP.NET_. Please note these values are case sensitive; unmatched values are treated as _ASP.NET_ by Azure. Changing this forces a new resource to be created.

func (*Insights) ID

func (r *Insights) ID() *pulumi.IDOutput

ID is this resource's unique identifier assigned by its provider.

func (*Insights) InstrumentationKey

func (r *Insights) InstrumentationKey() *pulumi.StringOutput

The Instrumentation Key for this Application Insights component.

func (*Insights) Location

func (r *Insights) Location() *pulumi.StringOutput

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

func (*Insights) Name

func (r *Insights) Name() *pulumi.StringOutput

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

func (*Insights) ResourceGroupName

func (r *Insights) ResourceGroupName() *pulumi.StringOutput

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

func (*Insights) Tags

func (r *Insights) Tags() *pulumi.MapOutput

A mapping of tags to assign to the resource.

func (*Insights) URN

func (r *Insights) URN() *pulumi.URNOutput

URN is this resource's unique name assigned by Pulumi.

type InsightsArgs

type InsightsArgs struct {
	// Specifies the type of Application Insights to create. Valid values are `ios` for _iOS_, `java` for _Java web_, `MobileCenter` for _App Center_, `Node.JS` for _Node.js_, `other` for _General_, `phone` for _Windows Phone_, `store` for _Windows Store_ and `web` for _ASP.NET_. Please note these values are case sensitive; unmatched values are treated as _ASP.NET_ by Azure. Changing this forces a new resource to be created.
	ApplicationType interface{}
	// Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
	Location interface{}
	// Specifies the name of the Application Insights component. Changing this forces a
	// new resource to be created.
	Name interface{}
	// The name of the resource group in which to
	// create the Application Insights component.
	ResourceGroupName interface{}
	// A mapping of tags to assign to the resource.
	Tags interface{}
}

The set of arguments for constructing a Insights resource.

type InsightsState

type InsightsState struct {
	// The App ID associated with this Application Insights component.
	AppId interface{}
	// Specifies the type of Application Insights to create. Valid values are `ios` for _iOS_, `java` for _Java web_, `MobileCenter` for _App Center_, `Node.JS` for _Node.js_, `other` for _General_, `phone` for _Windows Phone_, `store` for _Windows Store_ and `web` for _ASP.NET_. Please note these values are case sensitive; unmatched values are treated as _ASP.NET_ by Azure. Changing this forces a new resource to be created.
	ApplicationType interface{}
	// The Instrumentation Key for this Application Insights component.
	InstrumentationKey interface{}
	// Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
	Location interface{}
	// Specifies the name of the Application Insights component. Changing this forces a
	// new resource to be created.
	Name interface{}
	// The name of the resource group in which to
	// create the Application Insights component.
	ResourceGroupName interface{}
	// A mapping of tags to assign to the resource.
	Tags interface{}
}

Input properties used for looking up and filtering Insights resources.

type WebTest added in v0.18.5

type WebTest struct {
	// contains filtered or unexported fields
}

Manages an Application Insights WebTest.

> This content is derived from https://github.com/terraform-providers/terraform-provider-azurerm/blob/master/website/docs/r/application_insights_web_test.html.markdown.

func GetWebTest added in v0.18.5

func GetWebTest(ctx *pulumi.Context,
	name string, id pulumi.ID, state *WebTestState, opts ...pulumi.ResourceOpt) (*WebTest, error)

GetWebTest gets an existing WebTest resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewWebTest added in v0.18.5

func NewWebTest(ctx *pulumi.Context,
	name string, args *WebTestArgs, opts ...pulumi.ResourceOpt) (*WebTest, error)

NewWebTest registers a new resource with the given unique name, arguments, and options.

func (*WebTest) ApplicationInsightsId added in v0.18.5

func (r *WebTest) ApplicationInsightsId() *pulumi.StringOutput

The ID of the Application Insights component on which the WebTest operates. Changing this forces a new resource to be created.

func (*WebTest) Configuration added in v0.18.5

func (r *WebTest) Configuration() *pulumi.StringOutput

An XML configuration specification for a WebTest.

func (*WebTest) Description added in v0.18.5

func (r *WebTest) Description() *pulumi.StringOutput

Purpose/user defined descriptive test for this WebTest.

func (*WebTest) Enabled added in v0.18.5

func (r *WebTest) Enabled() *pulumi.BoolOutput

Is the test actively being monitored.

func (*WebTest) Frequency added in v0.18.5

func (r *WebTest) Frequency() *pulumi.IntOutput

Interval in seconds between test runs for this WebTest. Default is `300`.

func (*WebTest) GeoLocations added in v0.18.5

func (r *WebTest) GeoLocations() *pulumi.ArrayOutput

A list of where to physically run the tests from to give global coverage for accessibility of your application.

func (*WebTest) ID added in v0.18.5

func (r *WebTest) ID() *pulumi.IDOutput

ID is this resource's unique identifier assigned by its provider.

func (*WebTest) Kind added in v0.18.5

func (r *WebTest) Kind() *pulumi.StringOutput

func (*WebTest) Location added in v0.18.5

func (r *WebTest) Location() *pulumi.StringOutput

The location of the resource group.

func (*WebTest) Name added in v0.18.5

func (r *WebTest) Name() *pulumi.StringOutput

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

func (*WebTest) ResourceGroupName added in v0.18.5

func (r *WebTest) ResourceGroupName() *pulumi.StringOutput

func (*WebTest) RetryEnabled added in v0.18.5

func (r *WebTest) RetryEnabled() *pulumi.BoolOutput

Allow for retries should this WebTest fail.

func (*WebTest) SyntheticMonitorId added in v0.18.5

func (r *WebTest) SyntheticMonitorId() *pulumi.StringOutput

func (*WebTest) Tags added in v0.18.5

func (r *WebTest) Tags() *pulumi.MapOutput

Resource tags.

func (*WebTest) Timeout added in v0.18.5

func (r *WebTest) Timeout() *pulumi.IntOutput

Seconds until this WebTest will timeout and fail. Default is `30`.

func (*WebTest) URN added in v0.18.5

func (r *WebTest) URN() *pulumi.URNOutput

URN is this resource's unique name assigned by Pulumi.

type WebTestArgs added in v0.18.5

type WebTestArgs struct {
	// The ID of the Application Insights component on which the WebTest operates. Changing this forces a new resource to be created.
	ApplicationInsightsId interface{}
	// An XML configuration specification for a WebTest.
	Configuration interface{}
	// Purpose/user defined descriptive test for this WebTest.
	Description interface{}
	// Is the test actively being monitored.
	Enabled interface{}
	// Interval in seconds between test runs for this WebTest. Default is `300`.
	Frequency interface{}
	// A list of where to physically run the tests from to give global coverage for accessibility of your application.
	GeoLocations interface{}
	Kind         interface{}
	// The location of the resource group.
	Location interface{}
	// Specifies the name of the Application Insights WebTest. Changing this forces a
	// new resource to be created.
	Name              interface{}
	ResourceGroupName interface{}
	// Allow for retries should this WebTest fail.
	RetryEnabled interface{}
	// Resource tags.
	Tags interface{}
	// Seconds until this WebTest will timeout and fail. Default is `30`.
	Timeout interface{}
}

The set of arguments for constructing a WebTest resource.

type WebTestState added in v0.18.5

type WebTestState struct {
	// The ID of the Application Insights component on which the WebTest operates. Changing this forces a new resource to be created.
	ApplicationInsightsId interface{}
	// An XML configuration specification for a WebTest.
	Configuration interface{}
	// Purpose/user defined descriptive test for this WebTest.
	Description interface{}
	// Is the test actively being monitored.
	Enabled interface{}
	// Interval in seconds between test runs for this WebTest. Default is `300`.
	Frequency interface{}
	// A list of where to physically run the tests from to give global coverage for accessibility of your application.
	GeoLocations interface{}
	Kind         interface{}
	// The location of the resource group.
	Location interface{}
	// Specifies the name of the Application Insights WebTest. Changing this forces a
	// new resource to be created.
	Name              interface{}
	ResourceGroupName interface{}
	// Allow for retries should this WebTest fail.
	RetryEnabled       interface{}
	SyntheticMonitorId interface{}
	// Resource tags.
	Tags interface{}
	// Seconds until this WebTest will timeout and fail. Default is `30`.
	Timeout interface{}
}

Input properties used for looking up and filtering WebTest resources.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL