ArmApplicationInsightsModelFactory.ApplicationInsightsWebTestData Method

Definition

Initializes a new instance of ApplicationInsightsWebTestData.

public static Azure.ResourceManager.ApplicationInsights.ApplicationInsightsWebTestData ApplicationInsightsWebTestData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, System.Collections.Generic.IDictionary<string,string> tags = default, Azure.Core.AzureLocation location = default, Azure.ResourceManager.ApplicationInsights.Models.WebTestKind? kind = default, string syntheticMonitorId = default, string webTestName = default, string description = default, bool? isEnabled = default, int? frequencyInSeconds = default, int? timeoutInSeconds = default, Azure.ResourceManager.ApplicationInsights.Models.WebTestKind? webTestKind = default, bool? isRetryEnabled = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.ApplicationInsights.Models.WebTestGeolocation> locations = default, string webTest = default, string provisioningState = default, Azure.ResourceManager.ApplicationInsights.Models.WebTestRequest request = default, Azure.ResourceManager.ApplicationInsights.Models.WebTestValidationRules validationRules = default);
static member ApplicationInsightsWebTestData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * System.Collections.Generic.IDictionary<string, string> * Azure.Core.AzureLocation * Nullable<Azure.ResourceManager.ApplicationInsights.Models.WebTestKind> * string * string * string * Nullable<bool> * Nullable<int> * Nullable<int> * Nullable<Azure.ResourceManager.ApplicationInsights.Models.WebTestKind> * Nullable<bool> * seq<Azure.ResourceManager.ApplicationInsights.Models.WebTestGeolocation> * string * string * Azure.ResourceManager.ApplicationInsights.Models.WebTestRequest * Azure.ResourceManager.ApplicationInsights.Models.WebTestValidationRules -> Azure.ResourceManager.ApplicationInsights.ApplicationInsightsWebTestData
Public Shared Function ApplicationInsightsWebTestData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional location As AzureLocation = Nothing, Optional kind As Nullable(Of WebTestKind) = Nothing, Optional syntheticMonitorId As String = Nothing, Optional webTestName As String = Nothing, Optional description As String = Nothing, Optional isEnabled As Nullable(Of Boolean) = Nothing, Optional frequencyInSeconds As Nullable(Of Integer) = Nothing, Optional timeoutInSeconds As Nullable(Of Integer) = Nothing, Optional webTestKind As Nullable(Of WebTestKind) = Nothing, Optional isRetryEnabled As Nullable(Of Boolean) = Nothing, Optional locations As IEnumerable(Of WebTestGeolocation) = Nothing, Optional webTest As String = Nothing, Optional provisioningState As String = Nothing, Optional request As WebTestRequest = Nothing, Optional validationRules As WebTestValidationRules = Nothing) As ApplicationInsightsWebTestData

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

tags
IDictionary<String,String>

The tags.

location
AzureLocation

The location.

kind
Nullable<WebTestKind>

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

syntheticMonitorId
String

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

webTestName
String

User defined name if this WebTest.

description
String

User defined description for this WebTest.

isEnabled
Nullable<Boolean>

Is the test actively being monitored.

frequencyInSeconds
Nullable<Int32>

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

timeoutInSeconds
Nullable<Int32>

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

webTestKind
Nullable<WebTestKind>

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

isRetryEnabled
Nullable<Boolean>

Allow for retries should this WebTest fail.

locations
IEnumerable<WebTestGeolocation>

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

webTest
String

An XML configuration specification for a WebTest.

provisioningState
String

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
WebTestRequest

The collection of request properties.

validationRules
WebTestValidationRules

The collection of validation rule properties.

Returns

A new ApplicationInsightsWebTestData instance for mocking.

Applies to