Welcome to Pulumi Registry, your window into the cloud. Read the announcement.

Azure Native

v1.42.0 published on Monday, Oct 25, 2021 by Pulumi

getWebTest

An Application Insights web test definition. API Version: 2015-05-01.

Using getWebTest

function getWebTest(args: GetWebTestArgs, opts?: InvokeOptions): Promise<GetWebTestResult>
def get_web_test(resource_group_name: Optional[str] = None,
                 web_test_name: Optional[str] = None,
                 opts: Optional[InvokeOptions] = None) -> GetWebTestResult
func LookupWebTest(ctx *Context, args *LookupWebTestArgs, opts ...InvokeOption) (*LookupWebTestResult, error)

Note: This function is named LookupWebTest in the Go SDK.

public static class GetWebTest {
    public static Task<GetWebTestResult> InvokeAsync(GetWebTestArgs args, InvokeOptions? opts = null)
}

The following arguments are supported:

ResourceGroupName string
The name of the resource group. The name is case insensitive.
WebTestName string
The name of the Application Insights webtest resource.
ResourceGroupName string
The name of the resource group. The name is case insensitive.
WebTestName string
The name of the Application Insights webtest resource.
resourceGroupName string
The name of the resource group. The name is case insensitive.
webTestName string
The name of the Application Insights webtest resource.
resource_group_name str
The name of the resource group. The name is case insensitive.
web_test_name str
The name of the Application Insights webtest resource.

getWebTest Result

The following output properties are available:

Id string
Azure resource Id
Location string
Resource location
Locations List<Pulumi.AzureNative.Insights.Outputs.WebTestGeolocationResponse>
A list of where to physically run the tests from to give global coverage for accessibility of your application.
Name string
Azure resource name
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.
SyntheticMonitorId string
Unique ID of this WebTest. This is typically the same value as the Name field.
Type string
Azure resource type
WebTestKind string
The kind of web test this is, valid choices are ping and multistep.
WebTestName string
User defined name if this WebTest.
Configuration Pulumi.AzureNative.Insights.Outputs.WebTestPropertiesResponseConfiguration
An XML configuration specification for a WebTest.
Description string
Purpose/user defined descriptive test for this WebTest.
Enabled bool
Is the test actively being monitored.
Frequency int
Interval in seconds between test runs for this WebTest. Default value is 300.
Kind string
The kind of web test that this web test watches. Choices are ping and multistep.
RetryEnabled bool
Allow for retries should this WebTest fail.
Tags Dictionary<string, string>
Resource tags
Timeout int
Seconds until this WebTest will timeout and fail. Default value is 30.
Id string
Azure resource Id
Location string
Resource location
Locations []WebTestGeolocationResponse
A list of where to physically run the tests from to give global coverage for accessibility of your application.
Name string
Azure resource name
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.
SyntheticMonitorId string
Unique ID of this WebTest. This is typically the same value as the Name field.
Type string
Azure resource type
WebTestKind string
The kind of web test this is, valid choices are ping and multistep.
WebTestName string
User defined name if this WebTest.
Configuration WebTestPropertiesResponseConfiguration
An XML configuration specification for a WebTest.
Description string
Purpose/user defined descriptive test for this WebTest.
Enabled bool
Is the test actively being monitored.
Frequency int
Interval in seconds between test runs for this WebTest. Default value is 300.
Kind string
The kind of web test that this web test watches. Choices are ping and multistep.
RetryEnabled bool
Allow for retries should this WebTest fail.
Tags map[string]string
Resource tags
Timeout int
Seconds until this WebTest will timeout and fail. Default value is 30.
id string
Azure resource Id
location string
Resource location
locations WebTestGeolocationResponse[]
A list of where to physically run the tests from to give global coverage for accessibility of your application.
name string
Azure resource name
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.
syntheticMonitorId string
Unique ID of this WebTest. This is typically the same value as the Name field.
type string
Azure resource type
webTestKind string
The kind of web test this is, valid choices are ping and multistep.
webTestName string
User defined name if this WebTest.
configuration WebTestPropertiesResponseConfiguration
An XML configuration specification for a WebTest.
description string
Purpose/user defined descriptive test for this WebTest.
enabled boolean
Is the test actively being monitored.
frequency number
Interval in seconds between test runs for this WebTest. Default value is 300.
kind string
The kind of web test that this web test watches. Choices are ping and multistep.
retryEnabled boolean
Allow for retries should this WebTest fail.
tags {[key: string]: string}
Resource tags
timeout number
Seconds until this WebTest will timeout and fail. Default value is 30.
id str
Azure resource Id
location str
Resource location
locations Sequence[WebTestGeolocationResponse]
A list of where to physically run the tests from to give global coverage for accessibility of your application.
name str
Azure resource name
provisioning_state str
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.
synthetic_monitor_id str
Unique ID of this WebTest. This is typically the same value as the Name field.
type str
Azure resource type
web_test_kind str
The kind of web test this is, valid choices are ping and multistep.
web_test_name str
User defined name if this WebTest.
configuration WebTestPropertiesResponseConfiguration
An XML configuration specification for a WebTest.
description str
Purpose/user defined descriptive test for this WebTest.
enabled bool
Is the test actively being monitored.
frequency int
Interval in seconds between test runs for this WebTest. Default value is 300.
kind str
The kind of web test that this web test watches. Choices are ping and multistep.
retry_enabled bool
Allow for retries should this WebTest fail.
tags Mapping[str, str]
Resource tags
timeout int
Seconds until this WebTest will timeout and fail. Default value is 30.

Supporting Types

WebTestGeolocationResponse

Location string
Location ID for the webtest to run from.
Location string
Location ID for the webtest to run from.
location string
Location ID for the webtest to run from.
location str
Location ID for the webtest to run from.

WebTestPropertiesResponseConfiguration

WebTest string
The XML specification of a WebTest to run against an application.
WebTest string
The XML specification of a WebTest to run against an application.
webTest string
The XML specification of a WebTest to run against an application.
web_test str
The XML specification of a WebTest to run against an application.

Package Details

Repository
https://github.com/pulumi/pulumi-azure-native
License
Apache-2.0