UNPKG

@pulumi/azure-native

Version:

[![Slack](http://www.pulumi.com/images/docs/badges/slack.svg)](https://slack.pulumi.com) [![NPM version](https://badge.fury.io/js/%40pulumi%2Fazure-native.svg)](https://npmjs.com/package/@pulumi/azure-native) [![Python version](https://badge.fury.io/py/pu

87 lines (86 loc) 2.5 kB
import * as pulumi from "@pulumi/pulumi"; /** * Returns a file test result for the matching test * * Uses Azure REST API version 2020-02-10-preview. */ export declare function getTestResultFile(args: GetTestResultFileArgs, opts?: pulumi.InvokeOptions): Promise<GetTestResultFileResult>; export interface GetTestResultFileArgs { /** * The continuation token. */ continuationToken?: string; /** * The format to use when returning the webtest result. */ downloadAs: string; /** * The location ID where the webtest was physically run. */ geoLocationId: string; /** * The name of the resource group. The name is case insensitive. */ resourceGroupName: string; /** * The success state criteria for the webtest result. */ testSuccessfulCriteria?: boolean; /** * The posix (epoch) time stamp for the webtest result. */ timeStamp: number; /** * The name of the Application Insights webtest resource. */ webTestName: string; } /** * Test result. */ export interface GetTestResultFileResult { /** * File contents. */ readonly data?: 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. */ readonly nextLink?: string; } /** * Returns a file test result for the matching test * * Uses Azure REST API version 2020-02-10-preview. */ export declare function getTestResultFileOutput(args: GetTestResultFileOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetTestResultFileResult>; export interface GetTestResultFileOutputArgs { /** * The continuation token. */ continuationToken?: pulumi.Input<string>; /** * The format to use when returning the webtest result. */ downloadAs: pulumi.Input<string>; /** * The location ID where the webtest was physically run. */ geoLocationId: pulumi.Input<string>; /** * The name of the resource group. The name is case insensitive. */ resourceGroupName: pulumi.Input<string>; /** * The success state criteria for the webtest result. */ testSuccessfulCriteria?: pulumi.Input<boolean>; /** * The posix (epoch) time stamp for the webtest result. */ timeStamp: pulumi.Input<number>; /** * The name of the Application Insights webtest resource. */ webTestName: pulumi.Input<string>; }