1. Packages
  2. Azure Native
  3. API Docs
  4. applicationinsights
  5. getTestResultFile
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.0.1 published on Monday, Apr 7, 2025 by Pulumi

azure-native.applicationinsights.getTestResultFile

Explore with Pulumi AI

This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.0.1 published on Monday, Apr 7, 2025 by Pulumi

Returns a file test result for the matching test

Uses Azure REST API version 2020-02-10-preview.

Using getTestResultFile

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 getTestResultFile(args: GetTestResultFileArgs, opts?: InvokeOptions): Promise<GetTestResultFileResult>
function getTestResultFileOutput(args: GetTestResultFileOutputArgs, opts?: InvokeOptions): Output<GetTestResultFileResult>
Copy
def get_test_result_file(continuation_token: Optional[str] = None,
                         download_as: Optional[str] = None,
                         geo_location_id: Optional[str] = None,
                         resource_group_name: Optional[str] = None,
                         test_successful_criteria: Optional[bool] = None,
                         time_stamp: Optional[int] = None,
                         web_test_name: Optional[str] = None,
                         opts: Optional[InvokeOptions] = None) -> GetTestResultFileResult
def get_test_result_file_output(continuation_token: Optional[pulumi.Input[str]] = None,
                         download_as: Optional[pulumi.Input[str]] = None,
                         geo_location_id: Optional[pulumi.Input[str]] = None,
                         resource_group_name: Optional[pulumi.Input[str]] = None,
                         test_successful_criteria: Optional[pulumi.Input[bool]] = None,
                         time_stamp: Optional[pulumi.Input[int]] = None,
                         web_test_name: Optional[pulumi.Input[str]] = None,
                         opts: Optional[InvokeOptions] = None) -> Output[GetTestResultFileResult]
Copy
func GetTestResultFile(ctx *Context, args *GetTestResultFileArgs, opts ...InvokeOption) (*GetTestResultFileResult, error)
func GetTestResultFileOutput(ctx *Context, args *GetTestResultFileOutputArgs, opts ...InvokeOption) GetTestResultFileResultOutput
Copy

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

public static class GetTestResultFile 
{
    public static Task<GetTestResultFileResult> InvokeAsync(GetTestResultFileArgs args, InvokeOptions? opts = null)
    public static Output<GetTestResultFileResult> Invoke(GetTestResultFileInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetTestResultFileResult> getTestResultFile(GetTestResultFileArgs args, InvokeOptions options)
public static Output<GetTestResultFileResult> getTestResultFile(GetTestResultFileArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: azure-native:applicationinsights:getTestResultFile
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

DownloadAs This property is required. string
The format to use when returning the webtest result.
GeoLocationId This property is required. string
The location ID where the webtest was physically run.
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group. The name is case insensitive.
TimeStamp This property is required. int
The posix (epoch) time stamp for the webtest result.
WebTestName
This property is required.
Changes to this property will trigger replacement.
string
The name of the Application Insights webtest resource.
ContinuationToken string
The continuation token.
TestSuccessfulCriteria bool
The success state criteria for the webtest result.
DownloadAs This property is required. string
The format to use when returning the webtest result.
GeoLocationId This property is required. string
The location ID where the webtest was physically run.
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group. The name is case insensitive.
TimeStamp This property is required. int
The posix (epoch) time stamp for the webtest result.
WebTestName
This property is required.
Changes to this property will trigger replacement.
string
The name of the Application Insights webtest resource.
ContinuationToken string
The continuation token.
TestSuccessfulCriteria bool
The success state criteria for the webtest result.
downloadAs This property is required. String
The format to use when returning the webtest result.
geoLocationId This property is required. String
The location ID where the webtest was physically run.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The name of the resource group. The name is case insensitive.
timeStamp This property is required. Integer
The posix (epoch) time stamp for the webtest result.
webTestName
This property is required.
Changes to this property will trigger replacement.
String
The name of the Application Insights webtest resource.
continuationToken String
The continuation token.
testSuccessfulCriteria Boolean
The success state criteria for the webtest result.
downloadAs This property is required. string
The format to use when returning the webtest result.
geoLocationId This property is required. string
The location ID where the webtest was physically run.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group. The name is case insensitive.
timeStamp This property is required. number
The posix (epoch) time stamp for the webtest result.
webTestName
This property is required.
Changes to this property will trigger replacement.
string
The name of the Application Insights webtest resource.
continuationToken string
The continuation token.
testSuccessfulCriteria boolean
The success state criteria for the webtest result.
download_as This property is required. str
The format to use when returning the webtest result.
geo_location_id This property is required. str
The location ID where the webtest was physically run.
resource_group_name
This property is required.
Changes to this property will trigger replacement.
str
The name of the resource group. The name is case insensitive.
time_stamp This property is required. int
The posix (epoch) time stamp for the webtest result.
web_test_name
This property is required.
Changes to this property will trigger replacement.
str
The name of the Application Insights webtest resource.
continuation_token str
The continuation token.
test_successful_criteria bool
The success state criteria for the webtest result.
downloadAs This property is required. String
The format to use when returning the webtest result.
geoLocationId This property is required. String
The location ID where the webtest was physically run.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The name of the resource group. The name is case insensitive.
timeStamp This property is required. Number
The posix (epoch) time stamp for the webtest result.
webTestName
This property is required.
Changes to this property will trigger replacement.
String
The name of the Application Insights webtest resource.
continuationToken String
The continuation token.
testSuccessfulCriteria Boolean
The success state criteria for the webtest result.

getTestResultFile Result

The following output properties are available:

Data string
File contents.
NextLink string
The URI that can be used to request the next section of the result file in the event the file is too large for a single request.
Data string
File contents.
NextLink string
The URI that can be used to request the next section of the result file in the event the file is too large for a single request.
data String
File contents.
nextLink String
The URI that can be used to request the next section of the result file in the event the file is too large for a single request.
data string
File contents.
nextLink string
The URI that can be used to request the next section of the result file in the event the file is too large for a single request.
data str
File contents.
next_link str
The URI that can be used to request the next section of the result file in the event the file is too large for a single request.
data String
File contents.
nextLink String
The URI that can be used to request the next section of the result file in the event the file is too large for a single request.

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 v2 docs if using the v2 version of this package.
Azure Native v3.0.1 published on Monday, Apr 7, 2025 by Pulumi