WebTestData Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
A class representing the WebTest data model. An Application Insights WebTest definition.
public class WebTestData : Azure.ResourceManager.Models.TrackedResourceData, System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.ApplicationInsights.WebTestData>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.ApplicationInsights.WebTestData>
type WebTestData = class
inherit TrackedResourceData
interface IJsonModel<WebTestData>
interface IPersistableModel<WebTestData>
Public Class WebTestData
Inherits TrackedResourceData
Implements IJsonModel(Of WebTestData), IPersistableModel(Of WebTestData)
- Inheritance
- Implements
Constructors
WebTestData(AzureLocation) |
Initializes a new instance of WebTestData. |
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<WebTestData>.Create(Utf8JsonReader, ModelReaderWriterOptions) |
Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model. |
IJsonModel<WebTestData>.Write(Utf8JsonWriter, ModelReaderWriterOptions) |
Writes the model to the provided Utf8JsonWriter. |
IPersistableModel<WebTestData>.Create(BinaryData, ModelReaderWriterOptions) |
Converts the provided BinaryData into a model. |
IPersistableModel<WebTestData>.GetFormatFromOptions(ModelReaderWriterOptions) |
Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service. |
IPersistableModel<WebTestData>.Write(ModelReaderWriterOptions) |
Writes the model into a BinaryData. |