Show / Hide Table of Contents

Class WebTest

Manages an Application Insights WebTest.

Inheritance
System.Object
Resource
CustomResource
WebTest
Inherited Members
CustomResource.Id
Resource.GetResourceType()
Resource.GetResourceName()
Resource.Urn
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.Azure.AppInsights
Assembly: Pulumi.Azure.dll
Syntax
public class WebTest : CustomResource

Constructors

View Source

WebTest(String, WebTestArgs, CustomResourceOptions)

Create a WebTest resource with the given unique name, arguments, and options.

Declaration
public WebTest(string name, WebTestArgs args, CustomResourceOptions options = null)
Parameters
Type Name Description
System.String name

The unique name of the resource

WebTestArgs args

The arguments used to populate this resource's properties

CustomResourceOptions options

A bag of options that control this resource's behavior

Properties

View Source

ApplicationInsightsId

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

Declaration
public Output<string> ApplicationInsightsId { get; }
Property Value
Type Description
Output<System.String>
View Source

Configuration

An XML configuration specification for a WebTest.

Declaration
public Output<string> Configuration { get; }
Property Value
Type Description
Output<System.String>
View Source

Description

Purpose/user defined descriptive test for this WebTest.

Declaration
public Output<string> Description { get; }
Property Value
Type Description
Output<System.String>
View Source

Enabled

Is the test actively being monitored.

Declaration
public Output<bool?> Enabled { get; }
Property Value
Type Description
Output<System.Nullable<System.Boolean>>
View Source

Frequency

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

Declaration
public Output<int?> Frequency { get; }
Property Value
Type Description
Output<System.Nullable<System.Int32>>
View Source

GeoLocations

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

Declaration
public Output<ImmutableArray<string>> GeoLocations { get; }
Property Value
Type Description
Output<System.Collections.Immutable.ImmutableArray<System.String>>
View Source

Kind

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

Declaration
public Output<string> Kind { get; }
Property Value
Type Description
Output<System.String>
View Source

Location

The location of the resource group.

Declaration
public Output<string> Location { get; }
Property Value
Type Description
Output<System.String>
View Source

Name

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

Declaration
public Output<string> Name { get; }
Property Value
Type Description
Output<System.String>
View Source

ResourceGroupName

Declaration
public Output<string> ResourceGroupName { get; }
Property Value
Type Description
Output<System.String>
View Source

RetryEnabled

Allow for retries should this WebTest fail.

Declaration
public Output<bool?> RetryEnabled { get; }
Property Value
Type Description
Output<System.Nullable<System.Boolean>>
View Source

SyntheticMonitorId

Declaration
public Output<string> SyntheticMonitorId { get; }
Property Value
Type Description
Output<System.String>
View Source

Tags

Resource tags.

Declaration
public Output<ImmutableDictionary<string, string>> Tags { get; }
Property Value
Type Description
Output<System.Collections.Immutable.ImmutableDictionary<System.String, System.String>>
View Source

Timeout

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

Declaration
public Output<int?> Timeout { get; }
Property Value
Type Description
Output<System.Nullable<System.Int32>>

Methods

View Source

Get(String, Input<String>, WebTestState, CustomResourceOptions)

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

Declaration
public static WebTest Get(string name, Input<string> id, WebTestState state = null, CustomResourceOptions options = null)
Parameters
Type Name Description
System.String name

The unique name of the resulting resource.

Input<System.String> id

The unique provider ID of the resource to lookup.

WebTestState state

Any extra arguments used during the lookup.

CustomResourceOptions options

A bag of options that control this resource's behavior

Returns
Type Description
WebTest
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.