ArmApplicationInsightsModelFactory.WebTestData Method
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.
Initializes a new instance of WebTestData.
public static Azure.ResourceManager.ApplicationInsights.WebTestData WebTestData (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.WebTestPropertiesRequest request = default, Azure.ResourceManager.ApplicationInsights.Models.WebTestPropertiesValidationRules validationRules = default);
static member WebTestData : 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.WebTestPropertiesRequest * Azure.ResourceManager.ApplicationInsights.Models.WebTestPropertiesValidationRules -> Azure.ResourceManager.ApplicationInsights.WebTestData
Public Shared Function WebTestData (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 WebTestPropertiesRequest = Nothing, Optional validationRules As WebTestPropertiesValidationRules = Nothing) As WebTestData
Parameters
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.
Interval in seconds between test runs for this WebTest. Default value is 300.
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.
- 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
- WebTestPropertiesRequest
The collection of request properties.
- validationRules
- WebTestPropertiesValidationRules
The collection of validation rule properties.
Returns
A new WebTestData instance for mocking.
Applies to
Azure SDK for .NET