Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AnalyticsItem ¶
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.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-azure/sdk/v3/go/azure/appinsights" "github.com/pulumi/pulumi-azure/sdk/v3/go/azure/core" "github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { exampleResourceGroup, err := core.NewResourceGroup(ctx, "exampleResourceGroup", &core.ResourceGroupArgs{ Location: pulumi.String("West Europe"), }) if err != nil { return err } exampleInsights, err := appinsights.NewInsights(ctx, "exampleInsights", &appinsights.InsightsArgs{ Location: pulumi.String("West Europe"), ResourceGroupName: exampleResourceGroup.Name, ApplicationType: pulumi.String("web"), }) if err != nil { return err } _, err = appinsights.NewAnalyticsItem(ctx, "exampleAnalyticsItem", &appinsights.AnalyticsItemArgs{ ApplicationInsightsId: exampleInsights.ID(), Content: pulumi.String("requests //simple example query"), Scope: pulumi.String("shared"), Type: pulumi.String("query"), }) if err != nil { return err } return nil }) }
```
func GetAnalyticsItem ¶
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 ¶
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 ¶
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 ¶
func (AnalyticsItemArgs) ElementType() reflect.Type
type AnalyticsItemState ¶
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 ¶
func (AnalyticsItemState) ElementType() reflect.Type
type ApiKey ¶
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.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-azure/sdk/v3/go/azure/appinsights" "github.com/pulumi/pulumi-azure/sdk/v3/go/azure/core" "github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { exampleResourceGroup, err := core.NewResourceGroup(ctx, "exampleResourceGroup", &core.ResourceGroupArgs{ Location: pulumi.String("West Europe"), }) if err != nil { return err } exampleInsights, err := appinsights.NewInsights(ctx, "exampleInsights", &appinsights.InsightsArgs{ Location: pulumi.String("West Europe"), ResourceGroupName: exampleResourceGroup.Name, ApplicationType: pulumi.String("web"), }) if err != nil { return err } readTelemetry, err := appinsights.NewApiKey(ctx, "readTelemetry", &appinsights.ApiKeyArgs{ ApplicationInsightsId: exampleInsights.ID(), ReadPermissions: pulumi.StringArray{ pulumi.String("aggregate"), pulumi.String("api"), pulumi.String("draft"), pulumi.String("extendqueries"), pulumi.String("search"), }, }) if err != nil { return err } writeAnnotations, err := appinsights.NewApiKey(ctx, "writeAnnotations", &appinsights.ApiKeyArgs{ ApplicationInsightsId: exampleInsights.ID(), WritePermissions: pulumi.StringArray{ pulumi.String("annotations"), }, }) if err != nil { return err } authenticateSdkControlChannelApiKey, err := appinsights.NewApiKey(ctx, "authenticateSdkControlChannelApiKey", &appinsights.ApiKeyArgs{ ApplicationInsightsId: exampleInsights.ID(), ReadPermissions: pulumi.StringArray{ pulumi.String("agentconfig"), }, }) if err != nil { return err } fullPermissions, err := appinsights.NewApiKey(ctx, "fullPermissions", &appinsights.ApiKeyArgs{ ApplicationInsightsId: exampleInsights.ID(), ReadPermissions: pulumi.StringArray{ pulumi.String("agentconfig"), pulumi.String("aggregate"), pulumi.String("api"), pulumi.String("draft"), pulumi.String("extendqueries"), pulumi.String("search"), }, WritePermissions: pulumi.StringArray{ pulumi.String("annotations"), }, }) if err != nil { return err } ctx.Export("readTelemetryApiKey", readTelemetry.ApiKey) ctx.Export("writeAnnotationsApiKey", writeAnnotations.ApiKey) ctx.Export("authenticateSdkControlChannel", authenticateSdkControlChannelApiKey.ApiKey) ctx.Export("fullPermissionsApiKey", fullPermissions.ApiKey) return nil }) }
```
func GetApiKey ¶
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 ¶
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 ¶
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 ¶
func (ApiKeyArgs) ElementType() reflect.Type
type ApiKeyState ¶
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 ¶
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 Connection String for this Application Insights component. (Sensitive) ConnectionString pulumi.StringOutput `pulumi:"connectionString"` // Specifies the Application Insights component daily data volume cap in GB. DailyDataCapInGb pulumi.Float64Output `pulumi:"dailyDataCapInGb"` // Specifies if a notification email will be send when the daily data volume cap is met. DailyDataCapNotificationsDisabled pulumi.BoolOutput `pulumi:"dailyDataCapNotificationsDisabled"` // By default the real client ip is masked as `0.0.0.0` in the logs. Use this argument to disable masking and log the real client ip. Defaults to `false`. DisableIpMasking pulumi.BoolPtrOutput `pulumi:"disableIpMasking"` // 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`. Defaults to `90`. 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.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-azure/sdk/v3/go/azure/appinsights" "github.com/pulumi/pulumi-azure/sdk/v3/go/azure/core" "github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { exampleResourceGroup, err := core.NewResourceGroup(ctx, "exampleResourceGroup", &core.ResourceGroupArgs{ Location: pulumi.String("West Europe"), }) if err != nil { return err } exampleInsights, err := appinsights.NewInsights(ctx, "exampleInsights", &appinsights.InsightsArgs{ Location: exampleResourceGroup.Location, ResourceGroupName: exampleResourceGroup.Name, ApplicationType: pulumi.String("web"), }) if err != nil { return err } ctx.Export("instrumentationKey", exampleInsights.InstrumentationKey) ctx.Export("appId", exampleInsights.AppId) return nil }) }
```
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 Application Insights component daily data volume cap in GB. DailyDataCapInGb pulumi.Float64PtrInput // Specifies if a notification email will be send when the daily data volume cap is met. DailyDataCapNotificationsDisabled pulumi.BoolPtrInput // By default the real client ip is masked as `0.0.0.0` in the logs. Use this argument to disable masking and log the real client ip. Defaults to `false`. DisableIpMasking pulumi.BoolPtrInput // 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`. Defaults to `90`. 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 ¶
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 Connection String for this Application Insights component. (Sensitive) ConnectionString pulumi.StringPtrInput // Specifies the Application Insights component daily data volume cap in GB. DailyDataCapInGb pulumi.Float64PtrInput // Specifies if a notification email will be send when the daily data volume cap is met. DailyDataCapNotificationsDisabled pulumi.BoolPtrInput // By default the real client ip is masked as `0.0.0.0` in the logs. Use this argument to disable masking and log the real client ip. Defaults to `false`. DisableIpMasking pulumi.BoolPtrInput // 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`. Defaults to `90`. 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 ¶
func (InsightsState) ElementType() reflect.Type
type LookupInsightsArgs ¶
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 ¶
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"` // The connection string of the Application Insights component. (Sensitive) ConnectionString string `pulumi:"connectionString"` // 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 ¶
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.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-azure/sdk/v3/go/azure/appinsights" "github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { example, err := appinsights.LookupInsights(ctx, &appinsights.LookupInsightsArgs{ Name: "production", ResourceGroupName: "networking", }, nil) if err != nil { return err } ctx.Export("applicationInsightsInstrumentationKey", example.InstrumentationKey) return nil }) }
```
type WebTest ¶
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"` // = (Required) The kind of web test that this web test watches. Choices are `ping` and `multistep`. 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.
func GetWebTest ¶
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 ¶
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 ¶
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 // = (Required) The kind of web test that this web test watches. Choices are `ping` and `multistep`. 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 ¶
func (WebTestArgs) ElementType() reflect.Type
type WebTestState ¶
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 // = (Required) The kind of web test that this web test watches. Choices are `ping` and `multistep`. 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 ¶
func (WebTestState) ElementType() reflect.Type