共用方式為


WebTest Class

Definition

An Application Insights web test definition.

[Microsoft.Rest.Serialization.JsonTransformation]
public class WebTest : Microsoft.Azure.Management.ApplicationInsights.Management.Models.WebtestsResource
[<Microsoft.Rest.Serialization.JsonTransformation>]
type WebTest = class
    inherit WebtestsResource
Public Class WebTest
Inherits WebtestsResource
Inheritance
Attributes

Constructors

WebTest()

Initializes a new instance of the WebTest class.

WebTest(String, String, String, WebTestKind, IList<WebTestGeolocation>, String, String, String, IDictionary<String,String>, Nullable<WebTestKind>, String, Nullable<Boolean>, Nullable<Int32>, Nullable<Int32>, Nullable<Boolean>, WebTestPropertiesConfiguration, String)

Initializes a new instance of the WebTest class.

Properties

Configuration

Gets or sets an XML configuration specification for a WebTest.

Description

Gets or sets purpose/user defined descriptive test for this WebTest.

Enabled

Gets or sets is the test actively being monitored.

Frequency

Gets or sets interval in seconds between test runs for this WebTest. Default value is 300.

Id

Gets azure resource Id

(Inherited from WebtestsResource)
Kind

Gets or sets the kind of web test that this web test watches. Choices are ping and multistep. Possible values include: 'ping', 'multistep'

Location

Gets or sets resource location

(Inherited from WebtestsResource)
Locations

Gets or sets a list of where to physically run the tests from to give global coverage for accessibility of your application.

Name

Gets azure resource name

(Inherited from WebtestsResource)
ProvisioningState

Gets current state of this component, whether or not is has been provisioned within the resource group it is defined. Users cannot change this value but are able to read from it. Values will include Succeeded, Deploying, Canceled, and Failed.

RetryEnabled

Gets or sets allow for retries should this WebTest fail.

SyntheticMonitorId

Gets or sets unique ID of this WebTest. This is typically the same value as the Name field.

Tags

Gets or sets resource tags

(Inherited from WebtestsResource)
Timeout

Gets or sets seconds until this WebTest will timeout and fail. Default value is 30.

Type

Gets azure resource type

(Inherited from WebtestsResource)
WebTestKind

Gets or sets the kind of web test this is, valid choices are ping and multistep. Possible values include: 'ping', 'multistep'

WebTestName

Gets or sets user defined name if this WebTest.

Methods

Validate()

Validate the object.

Applies to