WebTest Constructors
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.
Overloads
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. |
WebTest()
Initializes a new instance of the WebTest class.
public WebTest ();
Public Sub New ()
Applies to
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.
public WebTest (string location, string syntheticMonitorId, string webTestName, Microsoft.Azure.Management.ApplicationInsights.Management.Models.WebTestKind webTestKind, System.Collections.Generic.IList<Microsoft.Azure.Management.ApplicationInsights.Management.Models.WebTestGeolocation> locations, string id = default, string name = default, string type = default, System.Collections.Generic.IDictionary<string,string> tags = default, Microsoft.Azure.Management.ApplicationInsights.Management.Models.WebTestKind? kind = default, string description = default, bool? enabled = default, int? frequency = default, int? timeout = default, bool? retryEnabled = default, Microsoft.Azure.Management.ApplicationInsights.Management.Models.WebTestPropertiesConfiguration configuration = default, string provisioningState = default);
new Microsoft.Azure.Management.ApplicationInsights.Management.Models.WebTest : string * string * string * Microsoft.Azure.Management.ApplicationInsights.Management.Models.WebTestKind * System.Collections.Generic.IList<Microsoft.Azure.Management.ApplicationInsights.Management.Models.WebTestGeolocation> * string * string * string * System.Collections.Generic.IDictionary<string, string> * Nullable<Microsoft.Azure.Management.ApplicationInsights.Management.Models.WebTestKind> * string * Nullable<bool> * Nullable<int> * Nullable<int> * Nullable<bool> * Microsoft.Azure.Management.ApplicationInsights.Management.Models.WebTestPropertiesConfiguration * string -> Microsoft.Azure.Management.ApplicationInsights.Management.Models.WebTest
Public Sub New (location As String, syntheticMonitorId As String, webTestName As String, webTestKind As WebTestKind, locations As IList(Of WebTestGeolocation), Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional kind As Nullable(Of WebTestKind) = Nothing, Optional description As String = Nothing, Optional enabled As Nullable(Of Boolean) = Nothing, Optional frequency As Nullable(Of Integer) = Nothing, Optional timeout As Nullable(Of Integer) = Nothing, Optional retryEnabled As Nullable(Of Boolean) = Nothing, Optional configuration As WebTestPropertiesConfiguration = Nothing, Optional provisioningState As String = Nothing)
Parameters
- location
- String
Resource location
- 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.
- webTestKind
- WebTestKind
The kind of web test this is, valid choices are ping and multistep. Possible values include: 'ping', 'multistep'
- locations
- IList<WebTestGeolocation>
A list of where to physically run the tests from to give global coverage for accessibility of your application.
- id
- String
Azure resource Id
- name
- String
Azure resource name
- type
- String
Azure resource type
- tags
- IDictionary<String,String>
Resource tags
- kind
- Nullable<WebTestKind>
The kind of web test that this web test watches. Choices are ping and multistep. Possible values include: 'ping', 'multistep'
- description
- String
Purpose/user defined descriptive test for this WebTest.
Interval in seconds between test runs for this WebTest. Default value is 300.
- configuration
- WebTestPropertiesConfiguration
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.