1. Packages
  2. Azure Native v1
  3. API Docs
  4. insights
  5. getWebTest
These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi

azure-native.insights.getWebTest

Explore with Pulumi AI

azure-native-v1 logo
These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi

    Get a specific Application Insights web test definition. API Version: 2015-05-01.

    Using getWebTest

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

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

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

    public static class GetWebTest 
    {
        public static Task<GetWebTestResult> InvokeAsync(GetWebTestArgs args, InvokeOptions? opts = null)
        public static Output<GetWebTestResult> Invoke(GetWebTestInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetWebTestResult> getWebTest(GetWebTestArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: azure-native:insights:getWebTest
      arguments:
        # arguments dictionary

    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.
    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.
    resourceGroupName String
    The name of the resource group. The name is case insensitive.
    webTestName String
    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 List<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 Integer
    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 Map<String,String>
    Resource tags
    timeout Integer
    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.
    id String
    Azure resource Id
    location String
    Resource location
    locations List<Property Map>
    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 Property Map
    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 Map<String>
    Resource tags
    timeout Number
    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 string
    Location ID for the webtest to run from.
    location str
    Location ID for the webtest to run from.
    location String
    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.
    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.
    webTest String
    The XML specification of a WebTest to run against an application.

    Package Details

    Repository
    azure-native-v1 pulumi/pulumi-azure-native
    License
    Apache-2.0
    azure-native-v1 logo
    These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
    Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi