Share via


ApplicationInsightsWebTestData Class

Definition

A class representing the ApplicationInsightsWebTest data model. An Application Insights WebTest definition.

public class ApplicationInsightsWebTestData : Azure.ResourceManager.Models.TrackedResourceData, System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.ApplicationInsights.ApplicationInsightsWebTestData>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.ApplicationInsights.ApplicationInsightsWebTestData>
type ApplicationInsightsWebTestData = class
    inherit TrackedResourceData
    interface IJsonModel<ApplicationInsightsWebTestData>
    interface IPersistableModel<ApplicationInsightsWebTestData>
Public Class ApplicationInsightsWebTestData
Inherits TrackedResourceData
Implements IJsonModel(Of ApplicationInsightsWebTestData), IPersistableModel(Of ApplicationInsightsWebTestData)
Inheritance
ApplicationInsightsWebTestData
Implements

Constructors

ApplicationInsightsWebTestData(AzureLocation)

Initializes a new instance of ApplicationInsightsWebTestData.

Properties

Description

User defined description for this WebTest.

FrequencyInSeconds

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

Id

Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.

(Inherited from ResourceData)
IsEnabled

Is the test actively being monitored.

IsRetryEnabled

Allow for retries should this WebTest fail.

Kind

The kind of WebTest that this web test watches. Choices are ping, multistep and standard.

Location

The geo-location where the resource lives.

(Inherited from TrackedResourceData)
Locations

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

Name

The name of the resource.

(Inherited from ResourceData)
ProvisioningState

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.

Request

The collection of request properties.

ResourceType

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".

(Inherited from ResourceData)
SyntheticMonitorId

Unique ID of this WebTest. This is typically the same value as the Name field.

SystemData

Azure Resource Manager metadata containing createdBy and modifiedBy information.

(Inherited from ResourceData)
Tags

Resource tags.

(Inherited from TrackedResourceData)
TimeoutInSeconds

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

ValidationRules

The collection of validation rule properties.

WebTest

The XML specification of a WebTest to run against an application.

WebTestKind

The kind of web test this is, valid choices are ping, multistep and standard.

WebTestName

User defined name if this WebTest.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) (Inherited from TrackedResourceData)

Explicit Interface Implementations

IJsonModel<ApplicationInsightsWebTestData>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<ApplicationInsightsWebTestData>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ApplicationInsightsWebTestData>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ApplicationInsightsWebTestData>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<ApplicationInsightsWebTestData>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to