This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.47.1 published on Monday, Jun 24, 2024 by Pulumi
azure-native.insights.getWebTest
Explore with Pulumi AI
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.47.1 published on Monday, Jun 24, 2024 by Pulumi
Get a specific Application Insights web test definition. Azure REST API version: 2022-06-15.
Other available API versions: 2020-10-05-preview.
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:
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Web
Test stringName - The name of the Application Insights WebTest resource.
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Web
Test stringName - The name of the Application Insights WebTest resource.
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- web
Test StringName - The name of the Application Insights WebTest resource.
- resource
Group stringName - The name of the resource group. The name is case insensitive.
- web
Test stringName - The name of the Application Insights WebTest resource.
- resource_
group_ strname - The name of the resource group. The name is case insensitive.
- web_
test_ strname - The name of the Application Insights WebTest resource.
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- web
Test StringName - 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.
Azure Native. Insights. Outputs. Web Test Geolocation Response> - A list of where to physically run the tests from to give global coverage for accessibility of your application.
- Name string
- Azure resource name
- Provisioning
State 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.
- Synthetic
Monitor stringId - Unique ID of this WebTest. This is typically the same value as the Name field.
- Type string
- Azure resource type
- Web
Test stringKind - The kind of web test this is, valid choices are ping, multistep and standard.
- Web
Test stringName - User defined name if this WebTest.
- Configuration
Pulumi.
Azure Native. Insights. Outputs. Web Test Properties Response Configuration - An XML configuration specification for a WebTest.
- Description string
- User defined description 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 WebTest that this web test watches. Choices are ping, multistep and standard.
- Request
Pulumi.
Azure Native. Insights. Outputs. Web Test Properties Response Request - The collection of request properties
- Retry
Enabled bool - Allow for retries should this WebTest fail.
- Dictionary<string, string>
- Resource tags
- Timeout int
- Seconds until this WebTest will timeout and fail. Default value is 30.
- Validation
Rules Pulumi.Azure Native. Insights. Outputs. Web Test Properties Response Validation Rules - The collection of validation rule properties
- Id string
- Azure resource Id
- Location string
- Resource location
- Locations
[]Web
Test Geolocation Response - A list of where to physically run the tests from to give global coverage for accessibility of your application.
- Name string
- Azure resource name
- Provisioning
State 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.
- Synthetic
Monitor stringId - Unique ID of this WebTest. This is typically the same value as the Name field.
- Type string
- Azure resource type
- Web
Test stringKind - The kind of web test this is, valid choices are ping, multistep and standard.
- Web
Test stringName - User defined name if this WebTest.
- Configuration
Web
Test Properties Response Configuration - An XML configuration specification for a WebTest.
- Description string
- User defined description 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 WebTest that this web test watches. Choices are ping, multistep and standard.
- Request
Web
Test Properties Response Request - The collection of request properties
- Retry
Enabled bool - Allow for retries should this WebTest fail.
- map[string]string
- Resource tags
- Timeout int
- Seconds until this WebTest will timeout and fail. Default value is 30.
- Validation
Rules WebTest Properties Response Validation Rules - The collection of validation rule properties
- id String
- Azure resource Id
- location String
- Resource location
- locations
List<Web
Test Geolocation Response> - A list of where to physically run the tests from to give global coverage for accessibility of your application.
- name String
- Azure resource name
- provisioning
State 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.
- synthetic
Monitor StringId - Unique ID of this WebTest. This is typically the same value as the Name field.
- type String
- Azure resource type
- web
Test StringKind - The kind of web test this is, valid choices are ping, multistep and standard.
- web
Test StringName - User defined name if this WebTest.
- configuration
Web
Test Properties Response Configuration - An XML configuration specification for a WebTest.
- description String
- User defined description 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 WebTest that this web test watches. Choices are ping, multistep and standard.
- request
Web
Test Properties Response Request - The collection of request properties
- retry
Enabled Boolean - Allow for retries should this WebTest fail.
- Map<String,String>
- Resource tags
- timeout Integer
- Seconds until this WebTest will timeout and fail. Default value is 30.
- validation
Rules WebTest Properties Response Validation Rules - The collection of validation rule properties
- id string
- Azure resource Id
- location string
- Resource location
- locations
Web
Test Geolocation Response[] - A list of where to physically run the tests from to give global coverage for accessibility of your application.
- name string
- Azure resource name
- provisioning
State 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.
- synthetic
Monitor stringId - Unique ID of this WebTest. This is typically the same value as the Name field.
- type string
- Azure resource type
- web
Test stringKind - The kind of web test this is, valid choices are ping, multistep and standard.
- web
Test stringName - User defined name if this WebTest.
- configuration
Web
Test Properties Response Configuration - An XML configuration specification for a WebTest.
- description string
- User defined description 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 WebTest that this web test watches. Choices are ping, multistep and standard.
- request
Web
Test Properties Response Request - The collection of request properties
- retry
Enabled boolean - Allow for retries should this WebTest fail.
- {[key: string]: string}
- Resource tags
- timeout number
- Seconds until this WebTest will timeout and fail. Default value is 30.
- validation
Rules WebTest Properties Response Validation Rules - The collection of validation rule properties
- id str
- Azure resource Id
- location str
- Resource location
- locations
Sequence[Web
Test Geolocation Response] - 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_ strid - Unique ID of this WebTest. This is typically the same value as the Name field.
- type str
- Azure resource type
- web_
test_ strkind - The kind of web test this is, valid choices are ping, multistep and standard.
- web_
test_ strname - User defined name if this WebTest.
- configuration
Web
Test Properties Response Configuration - An XML configuration specification for a WebTest.
- description str
- User defined description 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 WebTest that this web test watches. Choices are ping, multistep and standard.
- request
Web
Test Properties Response Request - The collection of request properties
- retry_
enabled bool - Allow for retries should this WebTest fail.
- Mapping[str, str]
- Resource tags
- timeout int
- Seconds until this WebTest will timeout and fail. Default value is 30.
- validation_
rules WebTest Properties Response Validation Rules - The collection of validation rule properties
- 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
- provisioning
State 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.
- synthetic
Monitor StringId - Unique ID of this WebTest. This is typically the same value as the Name field.
- type String
- Azure resource type
- web
Test StringKind - The kind of web test this is, valid choices are ping, multistep and standard.
- web
Test StringName - User defined name if this WebTest.
- configuration Property Map
- An XML configuration specification for a WebTest.
- description String
- User defined description 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 WebTest that this web test watches. Choices are ping, multistep and standard.
- request Property Map
- The collection of request properties
- retry
Enabled Boolean - Allow for retries should this WebTest fail.
- Map<String>
- Resource tags
- timeout Number
- Seconds until this WebTest will timeout and fail. Default value is 30.
- validation
Rules Property Map - The collection of validation rule properties
Supporting Types
HeaderFieldResponse
- Header
Field stringName - The name of the header.
- Header
Field stringValue - The value of the header.
- Header
Field stringName - The name of the header.
- Header
Field stringValue - The value of the header.
- header
Field StringName - The name of the header.
- header
Field StringValue - The value of the header.
- header
Field stringName - The name of the header.
- header
Field stringValue - The value of the header.
- header_
field_ strname - The name of the header.
- header_
field_ strvalue - The value of the header.
- header
Field StringName - The name of the header.
- header
Field StringValue - The value of the header.
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
- Web
Test string - The XML specification of a WebTest to run against an application.
- Web
Test string - The XML specification of a WebTest to run against an application.
- web
Test String - The XML specification of a WebTest to run against an application.
- web
Test 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.
- web
Test String - The XML specification of a WebTest to run against an application.
WebTestPropertiesResponseContentValidation
- Content
Match string - Content to look for in the return of the WebTest. Must not be null or empty.
- Ignore
Case bool - When set, this value makes the ContentMatch validation case insensitive.
- Pass
If boolText Found - When true, validation will pass if there is a match for the ContentMatch string. If false, validation will fail if there is a match
- Content
Match string - Content to look for in the return of the WebTest. Must not be null or empty.
- Ignore
Case bool - When set, this value makes the ContentMatch validation case insensitive.
- Pass
If boolText Found - When true, validation will pass if there is a match for the ContentMatch string. If false, validation will fail if there is a match
- content
Match String - Content to look for in the return of the WebTest. Must not be null or empty.
- ignore
Case Boolean - When set, this value makes the ContentMatch validation case insensitive.
- pass
If BooleanText Found - When true, validation will pass if there is a match for the ContentMatch string. If false, validation will fail if there is a match
- content
Match string - Content to look for in the return of the WebTest. Must not be null or empty.
- ignore
Case boolean - When set, this value makes the ContentMatch validation case insensitive.
- pass
If booleanText Found - When true, validation will pass if there is a match for the ContentMatch string. If false, validation will fail if there is a match
- content_
match str - Content to look for in the return of the WebTest. Must not be null or empty.
- ignore_
case bool - When set, this value makes the ContentMatch validation case insensitive.
- pass_
if_ booltext_ found - When true, validation will pass if there is a match for the ContentMatch string. If false, validation will fail if there is a match
- content
Match String - Content to look for in the return of the WebTest. Must not be null or empty.
- ignore
Case Boolean - When set, this value makes the ContentMatch validation case insensitive.
- pass
If BooleanText Found - When true, validation will pass if there is a match for the ContentMatch string. If false, validation will fail if there is a match
WebTestPropertiesResponseRequest
- Follow
Redirects bool - Follow redirects for this web test.
- Headers
List<Pulumi.
Azure Native. Insights. Inputs. Header Field Response> - List of headers and their values to add to the WebTest call.
- Http
Verb string - Http verb to use for this web test.
- Parse
Dependent boolRequests - Parse Dependent request for this WebTest.
- Request
Body string - Base64 encoded string body to send with this web test.
- Request
Url string - Url location to test.
- Follow
Redirects bool - Follow redirects for this web test.
- Headers
[]Header
Field Response - List of headers and their values to add to the WebTest call.
- Http
Verb string - Http verb to use for this web test.
- Parse
Dependent boolRequests - Parse Dependent request for this WebTest.
- Request
Body string - Base64 encoded string body to send with this web test.
- Request
Url string - Url location to test.
- follow
Redirects Boolean - Follow redirects for this web test.
- headers
List<Header
Field Response> - List of headers and their values to add to the WebTest call.
- http
Verb String - Http verb to use for this web test.
- parse
Dependent BooleanRequests - Parse Dependent request for this WebTest.
- request
Body String - Base64 encoded string body to send with this web test.
- request
Url String - Url location to test.
- follow
Redirects boolean - Follow redirects for this web test.
- headers
Header
Field Response[] - List of headers and their values to add to the WebTest call.
- http
Verb string - Http verb to use for this web test.
- parse
Dependent booleanRequests - Parse Dependent request for this WebTest.
- request
Body string - Base64 encoded string body to send with this web test.
- request
Url string - Url location to test.
- follow_
redirects bool - Follow redirects for this web test.
- headers
Sequence[Header
Field Response] - List of headers and their values to add to the WebTest call.
- http_
verb str - Http verb to use for this web test.
- parse_
dependent_ boolrequests - Parse Dependent request for this WebTest.
- request_
body str - Base64 encoded string body to send with this web test.
- request_
url str - Url location to test.
- follow
Redirects Boolean - Follow redirects for this web test.
- headers List<Property Map>
- List of headers and their values to add to the WebTest call.
- http
Verb String - Http verb to use for this web test.
- parse
Dependent BooleanRequests - Parse Dependent request for this WebTest.
- request
Body String - Base64 encoded string body to send with this web test.
- request
Url String - Url location to test.
WebTestPropertiesResponseValidationRules
- Content
Validation Pulumi.Azure Native. Insights. Inputs. Web Test Properties Response Content Validation - The collection of content validation properties
- Expected
Http intStatus Code - Validate that the WebTest returns the http status code provided.
- Ignore
Http boolStatus Code - When set, validation will ignore the status code.
- SSLCert
Remaining intLifetime Check - A number of days to check still remain before the the existing SSL cert expires. Value must be positive and the SSLCheck must be set to true.
- SSLCheck bool
- Checks to see if the SSL cert is still valid.
- Content
Validation WebTest Properties Response Content Validation - The collection of content validation properties
- Expected
Http intStatus Code - Validate that the WebTest returns the http status code provided.
- Ignore
Http boolStatus Code - When set, validation will ignore the status code.
- SSLCert
Remaining intLifetime Check - A number of days to check still remain before the the existing SSL cert expires. Value must be positive and the SSLCheck must be set to true.
- SSLCheck bool
- Checks to see if the SSL cert is still valid.
- content
Validation WebTest Properties Response Content Validation - The collection of content validation properties
- expected
Http IntegerStatus Code - Validate that the WebTest returns the http status code provided.
- ignore
Http BooleanStatus Code - When set, validation will ignore the status code.
- s
SLCert IntegerRemaining Lifetime Check - A number of days to check still remain before the the existing SSL cert expires. Value must be positive and the SSLCheck must be set to true.
- s
SLCheck Boolean - Checks to see if the SSL cert is still valid.
- content
Validation WebTest Properties Response Content Validation - The collection of content validation properties
- expected
Http numberStatus Code - Validate that the WebTest returns the http status code provided.
- ignore
Http booleanStatus Code - When set, validation will ignore the status code.
- s
SLCert numberRemaining Lifetime Check - A number of days to check still remain before the the existing SSL cert expires. Value must be positive and the SSLCheck must be set to true.
- s
SLCheck boolean - Checks to see if the SSL cert is still valid.
- content_
validation WebTest Properties Response Content Validation - The collection of content validation properties
- expected_
http_ intstatus_ code - Validate that the WebTest returns the http status code provided.
- ignore_
http_ boolstatus_ code - When set, validation will ignore the status code.
- s_
sl_ intcert_ remaining_ lifetime_ check - A number of days to check still remain before the the existing SSL cert expires. Value must be positive and the SSLCheck must be set to true.
- s_
sl_ boolcheck - Checks to see if the SSL cert is still valid.
- content
Validation Property Map - The collection of content validation properties
- expected
Http NumberStatus Code - Validate that the WebTest returns the http status code provided.
- ignore
Http BooleanStatus Code - When set, validation will ignore the status code.
- s
SLCert NumberRemaining Lifetime Check - A number of days to check still remain before the the existing SSL cert expires. Value must be positive and the SSLCheck must be set to true.
- s
SLCheck Boolean - Checks to see if the SSL cert is still valid.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.47.1 published on Monday, Jun 24, 2024 by Pulumi