Documentation ¶
Overview ¶
nolint: lll
nolint: lll
nolint: lll
nolint: lll
nolint: lll
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 { pulumi.CustomResourceState // The ID of the Application Insights component on which the Analytics Item exists. Changing this forces a new resource to be created. ApplicationInsightsId pulumi.StringOutput `pulumi:"applicationInsightsId"` // The content for the Analytics Item, for example the query text if `type` is `query`. Content pulumi.StringOutput `pulumi:"content"` // The alias to use for the function. Required when `type` is `function`. FunctionAlias pulumi.StringPtrOutput `pulumi:"functionAlias"` // Specifies the name of the Application Insights Analytics Item. Changing this forces a new resource to be created. Name pulumi.StringOutput `pulumi:"name"` // 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 pulumi.StringOutput `pulumi:"scope"` // A string containing the time the Analytics Item was created. TimeCreated pulumi.StringOutput `pulumi:"timeCreated"` // A string containing the time the Analytics Item was last modified. TimeModified pulumi.StringOutput `pulumi:"timeModified"` // 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 pulumi.StringOutput `pulumi:"type"` // A string indicating the version of the query format Version pulumi.StringOutput `pulumi:"version"` }
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.IDInput, state *AnalyticsItemState, opts ...pulumi.ResourceOption) (*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.ResourceOption) (*AnalyticsItem, error)
NewAnalyticsItem registers a new resource with the given unique name, arguments, and options.
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 pulumi.StringInput // The content for the Analytics Item, for example the query text if `type` is `query`. Content pulumi.StringInput // The alias to use for the function. Required when `type` is `function`. FunctionAlias pulumi.StringPtrInput // Specifies the name of the Application Insights Analytics Item. Changing this forces a new resource to be created. Name pulumi.StringPtrInput // 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 pulumi.StringInput // 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 pulumi.StringInput }
The set of arguments for constructing a AnalyticsItem resource.
func (AnalyticsItemArgs) ElementType ¶ added in v1.12.0
func (AnalyticsItemArgs) ElementType() reflect.Type
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 pulumi.StringPtrInput // The content for the Analytics Item, for example the query text if `type` is `query`. Content pulumi.StringPtrInput // The alias to use for the function. Required when `type` is `function`. FunctionAlias pulumi.StringPtrInput // Specifies the name of the Application Insights Analytics Item. Changing this forces a new resource to be created. Name pulumi.StringPtrInput // 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 pulumi.StringPtrInput // A string containing the time the Analytics Item was created. TimeCreated pulumi.StringPtrInput // A string containing the time the Analytics Item was last modified. TimeModified pulumi.StringPtrInput // 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 pulumi.StringPtrInput // A string indicating the version of the query format Version pulumi.StringPtrInput }
func (AnalyticsItemState) ElementType ¶ added in v1.12.0
func (AnalyticsItemState) ElementType() reflect.Type
type ApiKey ¶ added in v0.16.7
type ApiKey struct { pulumi.CustomResourceState // The API Key secret (Sensitive). ApiKey pulumi.StringOutput `pulumi:"apiKey"` // The ID of the Application Insights component on which the API key operates. Changing this forces a new resource to be created. ApplicationInsightsId pulumi.StringOutput `pulumi:"applicationInsightsId"` // Specifies the name of the Application Insights API key. Changing this forces a // new resource to be created. Name pulumi.StringOutput `pulumi:"name"` // 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 pulumi.StringArrayOutput `pulumi:"readPermissions"` // 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 pulumi.StringArrayOutput `pulumi:"writePermissions"` }
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.IDInput, state *ApiKeyState, opts ...pulumi.ResourceOption) (*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.ResourceOption) (*ApiKey, error)
NewApiKey registers a new resource with the given unique name, arguments, and options.
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 pulumi.StringInput // Specifies the name of the Application Insights API key. Changing this forces a // new resource to be created. Name pulumi.StringPtrInput // 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 pulumi.StringArrayInput // 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 pulumi.StringArrayInput }
The set of arguments for constructing a ApiKey resource.
func (ApiKeyArgs) ElementType ¶ added in v1.12.0
func (ApiKeyArgs) ElementType() reflect.Type
type ApiKeyState ¶ added in v0.16.7
type ApiKeyState struct { // The API Key secret (Sensitive). ApiKey pulumi.StringPtrInput // The ID of the Application Insights component on which the API key operates. Changing this forces a new resource to be created. ApplicationInsightsId pulumi.StringPtrInput // Specifies the name of the Application Insights API key. Changing this forces a // new resource to be created. Name pulumi.StringPtrInput // 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 pulumi.StringArrayInput // 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 pulumi.StringArrayInput }
func (ApiKeyState) ElementType ¶ added in v1.12.0
func (ApiKeyState) ElementType() reflect.Type
type Insights ¶
type Insights struct { pulumi.CustomResourceState // The App ID associated with this Application Insights component. AppId pulumi.StringOutput `pulumi:"appId"` // 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 pulumi.StringOutput `pulumi:"applicationType"` // The Instrumentation Key for this Application Insights component. InstrumentationKey pulumi.StringOutput `pulumi:"instrumentationKey"` // Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created. Location pulumi.StringOutput `pulumi:"location"` // Specifies the name of the Application Insights component. Changing this forces a // new resource to be created. Name pulumi.StringOutput `pulumi:"name"` // The name of the resource group in which to // create the Application Insights component. ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"` // Specifies the retention period in days. Possible values are `30`, `60`, `90`, `120`, `180`, `270`, `365`, `550` or `730`. RetentionInDays pulumi.IntPtrOutput `pulumi:"retentionInDays"` // Specifies the percentage of the data produced by the monitored application that is sampled for Application Insights telemetry. SamplingPercentage pulumi.Float64PtrOutput `pulumi:"samplingPercentage"` // A mapping of tags to assign to the resource. Tags pulumi.StringMapOutput `pulumi:"tags"` }
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.IDInput, state *InsightsState, opts ...pulumi.ResourceOption) (*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.ResourceOption) (*Insights, error)
NewInsights registers a new resource with the given unique name, arguments, and options.
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 pulumi.StringInput // Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created. Location pulumi.StringPtrInput // Specifies the name of the Application Insights component. Changing this forces a // new resource to be created. Name pulumi.StringPtrInput // The name of the resource group in which to // create the Application Insights component. ResourceGroupName pulumi.StringInput // Specifies the retention period in days. Possible values are `30`, `60`, `90`, `120`, `180`, `270`, `365`, `550` or `730`. RetentionInDays pulumi.IntPtrInput // Specifies the percentage of the data produced by the monitored application that is sampled for Application Insights telemetry. SamplingPercentage pulumi.Float64PtrInput // A mapping of tags to assign to the resource. Tags pulumi.StringMapInput }
The set of arguments for constructing a Insights resource.
func (InsightsArgs) ElementType ¶ added in v1.12.0
func (InsightsArgs) ElementType() reflect.Type
type InsightsState ¶
type InsightsState struct { // The App ID associated with this Application Insights component. AppId pulumi.StringPtrInput // 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 pulumi.StringPtrInput // The Instrumentation Key for this Application Insights component. InstrumentationKey pulumi.StringPtrInput // Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created. Location pulumi.StringPtrInput // Specifies the name of the Application Insights component. Changing this forces a // new resource to be created. Name pulumi.StringPtrInput // The name of the resource group in which to // create the Application Insights component. ResourceGroupName pulumi.StringPtrInput // Specifies the retention period in days. Possible values are `30`, `60`, `90`, `120`, `180`, `270`, `365`, `550` or `730`. RetentionInDays pulumi.IntPtrInput // Specifies the percentage of the data produced by the monitored application that is sampled for Application Insights telemetry. SamplingPercentage pulumi.Float64PtrInput // A mapping of tags to assign to the resource. Tags pulumi.StringMapInput }
func (InsightsState) ElementType ¶ added in v1.12.0
func (InsightsState) ElementType() reflect.Type
type LookupInsightsArgs ¶ added in v1.12.0
type LookupInsightsArgs struct { // Specifies the name of the Application Insights component. Name string `pulumi:"name"` // Specifies the name of the resource group the Application Insights component is located in. ResourceGroupName string `pulumi:"resourceGroupName"` }
A collection of arguments for invoking getInsights.
type LookupInsightsResult ¶ added in v1.12.0
type LookupInsightsResult struct { // The App ID associated with this Application Insights component. AppId string `pulumi:"appId"` // The type of the component. ApplicationType string `pulumi:"applicationType"` // id is the provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // The instrumentation key of the Application Insights component. InstrumentationKey string `pulumi:"instrumentationKey"` // The Azure location where the component exists. Location string `pulumi:"location"` Name string `pulumi:"name"` ResourceGroupName string `pulumi:"resourceGroupName"` // The retention period in days. RetentionInDays int `pulumi:"retentionInDays"` // Tags applied to the component. Tags map[string]string `pulumi:"tags"` }
A collection of values returned by getInsights.
func LookupInsights ¶ added in v0.16.7
func LookupInsights(ctx *pulumi.Context, args *LookupInsightsArgs, opts ...pulumi.InvokeOption) (*LookupInsightsResult, 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 WebTest ¶ added in v0.18.5
type WebTest struct { pulumi.CustomResourceState // The ID of the Application Insights component on which the WebTest operates. Changing this forces a new resource to be created. ApplicationInsightsId pulumi.StringOutput `pulumi:"applicationInsightsId"` // An XML configuration specification for a WebTest. Configuration pulumi.StringOutput `pulumi:"configuration"` // Purpose/user defined descriptive test for this WebTest. Description pulumi.StringPtrOutput `pulumi:"description"` // Is the test actively being monitored. Enabled pulumi.BoolPtrOutput `pulumi:"enabled"` // Interval in seconds between test runs for this WebTest. Default is `300`. Frequency pulumi.IntPtrOutput `pulumi:"frequency"` // A list of where to physically run the tests from to give global coverage for accessibility of your application. GeoLocations pulumi.StringArrayOutput `pulumi:"geoLocations"` Kind pulumi.StringOutput `pulumi:"kind"` // The location of the resource group. Location pulumi.StringOutput `pulumi:"location"` // Specifies the name of the Application Insights WebTest. Changing this forces a // new resource to be created. Name pulumi.StringOutput `pulumi:"name"` ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"` // Allow for retries should this WebTest fail. RetryEnabled pulumi.BoolPtrOutput `pulumi:"retryEnabled"` SyntheticMonitorId pulumi.StringOutput `pulumi:"syntheticMonitorId"` // Resource tags. Tags pulumi.StringMapOutput `pulumi:"tags"` // Seconds until this WebTest will timeout and fail. Default is `30`. Timeout pulumi.IntPtrOutput `pulumi:"timeout"` }
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.IDInput, state *WebTestState, opts ...pulumi.ResourceOption) (*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.ResourceOption) (*WebTest, error)
NewWebTest registers a new resource with the given unique name, arguments, and options.
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 pulumi.StringInput // An XML configuration specification for a WebTest. Configuration pulumi.StringInput // Purpose/user defined descriptive test for this WebTest. Description pulumi.StringPtrInput // Is the test actively being monitored. Enabled pulumi.BoolPtrInput // Interval in seconds between test runs for this WebTest. Default is `300`. Frequency pulumi.IntPtrInput // A list of where to physically run the tests from to give global coverage for accessibility of your application. GeoLocations pulumi.StringArrayInput Kind pulumi.StringInput // The location of the resource group. Location pulumi.StringPtrInput // Specifies the name of the Application Insights WebTest. Changing this forces a // new resource to be created. Name pulumi.StringPtrInput ResourceGroupName pulumi.StringInput // Allow for retries should this WebTest fail. RetryEnabled pulumi.BoolPtrInput // Resource tags. Tags pulumi.StringMapInput // Seconds until this WebTest will timeout and fail. Default is `30`. Timeout pulumi.IntPtrInput }
The set of arguments for constructing a WebTest resource.
func (WebTestArgs) ElementType ¶ added in v1.12.0
func (WebTestArgs) ElementType() reflect.Type
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 pulumi.StringPtrInput // An XML configuration specification for a WebTest. Configuration pulumi.StringPtrInput // Purpose/user defined descriptive test for this WebTest. Description pulumi.StringPtrInput // Is the test actively being monitored. Enabled pulumi.BoolPtrInput // Interval in seconds between test runs for this WebTest. Default is `300`. Frequency pulumi.IntPtrInput // A list of where to physically run the tests from to give global coverage for accessibility of your application. GeoLocations pulumi.StringArrayInput Kind pulumi.StringPtrInput // The location of the resource group. Location pulumi.StringPtrInput // Specifies the name of the Application Insights WebTest. Changing this forces a // new resource to be created. Name pulumi.StringPtrInput ResourceGroupName pulumi.StringPtrInput // Allow for retries should this WebTest fail. RetryEnabled pulumi.BoolPtrInput SyntheticMonitorId pulumi.StringPtrInput // Resource tags. Tags pulumi.StringMapInput // Seconds until this WebTest will timeout and fail. Default is `30`. Timeout pulumi.IntPtrInput }
func (WebTestState) ElementType ¶ added in v1.12.0
func (WebTestState) ElementType() reflect.Type