WebTest

Manages an Application Insights WebTest.

Create a WebTest Resource

new WebTest(name: string, args: WebTestArgs, opts?: CustomResourceOptions);
def WebTest(resource_name, opts=None, application_insights_id=None, configuration=None, description=None, enabled=None, frequency=None, geo_locations=None, kind=None, location=None, name=None, resource_group_name=None, retry_enabled=None, tags=None, timeout=None, __props__=None);
func NewWebTest(ctx *Context, name string, args WebTestArgs, opts ...ResourceOption) (*WebTest, error)
public WebTest(string name, WebTestArgs args, CustomResourceOptions? opts = null)
name string
The unique name of the resource.
args WebTestArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name str
The unique name of the resource.
opts ResourceOptions
A bag of options that control this resource's behavior.
ctx Context
Context object for the current deployment.
name string
The unique name of the resource.
args WebTestArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args WebTestArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.

WebTest Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Programming Model docs.

Inputs

The WebTest resource accepts the following input properties:

ApplicationInsightsId string

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

Configuration string

An XML configuration specification for a WebTest.

GeoLocations List<string>

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

Kind string

= (Required) The kind of web test that this web test watches. Choices are ping and multistep.

ResourceGroupName string
Description string

Purpose/user defined descriptive test for this WebTest.

Enabled bool

Is the test actively being monitored.

Frequency int

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

Location string

The location of the resource group.

Name string

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

RetryEnabled bool

Allow for retries should this WebTest fail.

Tags Dictionary<string, string>

Resource tags.

Timeout int

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

ApplicationInsightsId string

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

Configuration string

An XML configuration specification for a WebTest.

GeoLocations []string

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

Kind string

= (Required) The kind of web test that this web test watches. Choices are ping and multistep.

ResourceGroupName string
Description string

Purpose/user defined descriptive test for this WebTest.

Enabled bool

Is the test actively being monitored.

Frequency int

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

Location string

The location of the resource group.

Name string

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

RetryEnabled bool

Allow for retries should this WebTest fail.

Tags map[string]string

Resource tags.

Timeout int

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

applicationInsightsId string

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

configuration string

An XML configuration specification for a WebTest.

geoLocations string[]

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

kind string

= (Required) The kind of web test that this web test watches. Choices are ping and multistep.

resourceGroupName string
description string

Purpose/user defined descriptive test for this WebTest.

enabled boolean

Is the test actively being monitored.

frequency number

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

location string

The location of the resource group.

name string

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

retryEnabled boolean

Allow for retries should this WebTest fail.

tags {[key: string]: string}

Resource tags.

timeout number

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

application_insights_id str

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

configuration str

An XML configuration specification for a WebTest.

geo_locations List[str]

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

kind str

= (Required) The kind of web test that this web test watches. Choices are ping and multistep.

resource_group_name str
description str

Purpose/user defined descriptive test for this WebTest.

enabled bool

Is the test actively being monitored.

frequency float

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

location str

The location of the resource group.

name str

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

retry_enabled bool

Allow for retries should this WebTest fail.

tags Dict[str, str]

Resource tags.

timeout float

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

Outputs

All input properties are implicitly available as output properties. Additionally, the WebTest resource produces the following output properties:

Id string
The provider-assigned unique ID for this managed resource.
SyntheticMonitorId string
Id string
The provider-assigned unique ID for this managed resource.
SyntheticMonitorId string
id string
The provider-assigned unique ID for this managed resource.
syntheticMonitorId string
id str
The provider-assigned unique ID for this managed resource.
synthetic_monitor_id str

Look up an Existing WebTest Resource

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

public static get(name: string, id: Input<ID>, state?: WebTestState, opts?: CustomResourceOptions): WebTest
static get(resource_name, id, opts=None, application_insights_id=None, configuration=None, description=None, enabled=None, frequency=None, geo_locations=None, kind=None, location=None, name=None, resource_group_name=None, retry_enabled=None, synthetic_monitor_id=None, tags=None, timeout=None, __props__=None);
func GetWebTest(ctx *Context, name string, id IDInput, state *WebTestState, opts ...ResourceOption) (*WebTest, error)
public static WebTest Get(string name, Input<string> id, WebTestState? state, CustomResourceOptions? opts = null)
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
resource_name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.

The following state arguments are supported:

ApplicationInsightsId string

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

Configuration string

An XML configuration specification for a WebTest.

Description string

Purpose/user defined descriptive test for this WebTest.

Enabled bool

Is the test actively being monitored.

Frequency int

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

GeoLocations List<string>

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

Kind string

= (Required) The kind of web test that this web test watches. Choices are ping and multistep.

Location string

The location of the resource group.

Name string

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

ResourceGroupName string
RetryEnabled bool

Allow for retries should this WebTest fail.

SyntheticMonitorId string
Tags Dictionary<string, string>

Resource tags.

Timeout int

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

ApplicationInsightsId string

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

Configuration string

An XML configuration specification for a WebTest.

Description string

Purpose/user defined descriptive test for this WebTest.

Enabled bool

Is the test actively being monitored.

Frequency int

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

GeoLocations []string

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

Kind string

= (Required) The kind of web test that this web test watches. Choices are ping and multistep.

Location string

The location of the resource group.

Name string

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

ResourceGroupName string
RetryEnabled bool

Allow for retries should this WebTest fail.

SyntheticMonitorId string
Tags map[string]string

Resource tags.

Timeout int

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

applicationInsightsId string

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

configuration string

An XML configuration specification for a WebTest.

description string

Purpose/user defined descriptive test for this WebTest.

enabled boolean

Is the test actively being monitored.

frequency number

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

geoLocations string[]

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

kind string

= (Required) The kind of web test that this web test watches. Choices are ping and multistep.

location string

The location of the resource group.

name string

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

resourceGroupName string
retryEnabled boolean

Allow for retries should this WebTest fail.

syntheticMonitorId string
tags {[key: string]: string}

Resource tags.

timeout number

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

application_insights_id str

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

configuration str

An XML configuration specification for a WebTest.

description str

Purpose/user defined descriptive test for this WebTest.

enabled bool

Is the test actively being monitored.

frequency float

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

geo_locations List[str]

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

kind str

= (Required) The kind of web test that this web test watches. Choices are ping and multistep.

location str

The location of the resource group.

name str

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

resource_group_name str
retry_enabled bool

Allow for retries should this WebTest fail.

synthetic_monitor_id str
tags Dict[str, str]

Resource tags.

timeout float

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

Package Details

Repository
https://github.com/pulumi/pulumi-azure
License
Apache-2.0
Notes
This Pulumi package is based on the azurerm Terraform Provider.