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:
- Application
Insights stringId 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.
- Geo
Locations 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
pingandmultistep.- Resource
Group stringName - 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.
- Retry
Enabled bool Allow for retries should this WebTest fail.
- Dictionary<string, string>
Resource tags.
- Timeout int
Seconds until this WebTest will timeout and fail. Default is
30.
- Application
Insights stringId 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.
- Geo
Locations []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
pingandmultistep.- Resource
Group stringName - 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.
- Retry
Enabled bool Allow for retries should this WebTest fail.
- map[string]string
Resource tags.
- Timeout int
Seconds until this WebTest will timeout and fail. Default is
30.
- application
Insights stringId 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.
- geo
Locations 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
pingandmultistep.- resource
Group stringName - 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.
- retry
Enabled boolean Allow for retries should this WebTest fail.
- {[key: string]: string}
Resource tags.
- timeout number
Seconds until this WebTest will timeout and fail. Default is
30.
- application_
insights_ strid 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
pingandmultistep.- resource_
group_ strname - 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.
- 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.
- Synthetic
Monitor stringId
- Id string
- The provider-assigned unique ID for this managed resource.
- Synthetic
Monitor stringId
- id string
- The provider-assigned unique ID for this managed resource.
- synthetic
Monitor stringId
- id str
- The provider-assigned unique ID for this managed resource.
- synthetic_
monitor_ strid
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): WebTeststatic 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:
- Application
Insights stringId 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.- Geo
Locations 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
pingandmultistep.- 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.
- Resource
Group stringName - Retry
Enabled bool Allow for retries should this WebTest fail.
- Synthetic
Monitor stringId - Dictionary<string, string>
Resource tags.
- Timeout int
Seconds until this WebTest will timeout and fail. Default is
30.
- Application
Insights stringId 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.- Geo
Locations []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
pingandmultistep.- 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.
- Resource
Group stringName - Retry
Enabled bool Allow for retries should this WebTest fail.
- Synthetic
Monitor stringId - map[string]string
Resource tags.
- Timeout int
Seconds until this WebTest will timeout and fail. Default is
30.
- application
Insights stringId 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.- geo
Locations 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
pingandmultistep.- 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.
- resource
Group stringName - retry
Enabled boolean Allow for retries should this WebTest fail.
- synthetic
Monitor stringId - {[key: string]: string}
Resource tags.
- timeout number
Seconds until this WebTest will timeout and fail. Default is
30.
- application_
insights_ strid 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
pingandmultistep.- 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_ strname - retry_
enabled bool Allow for retries should this WebTest fail.
- synthetic_
monitor_ strid - 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
azurermTerraform Provider.