@pulumi/azure-native
Version:
[](https://slack.pulumi.com) [](https://npmjs.com/package/@pulumi/azure-native) [ • 2.82 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
/**
* Gets the download URL of the test execution console log file.
*
* Uses Azure REST API version 2023-11-01-preview.
*
* Other available API versions: 2022-04-01-preview. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native testbase [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details.
*/
export declare function getTestResultConsoleLogDownloadURL(args: GetTestResultConsoleLogDownloadURLArgs, opts?: pulumi.InvokeOptions): Promise<GetTestResultConsoleLogDownloadURLResult>;
export interface GetTestResultConsoleLogDownloadURLArgs {
/**
* The log file name corresponding to the download URL.
*/
logFileName: string;
/**
* The resource name of the Test Base Package.
*/
packageName: string;
/**
* The name of the resource group. The name is case insensitive.
*/
resourceGroupName: string;
/**
* The resource name of the Test Base Account.
*/
testBaseAccountName: string;
/**
* The Test Result Name. It equals to TestResult-{TestResultId} string.
*/
testResultName: string;
}
/**
* The response of getting a download URL.
*/
export interface GetTestResultConsoleLogDownloadURLResult {
/**
* The download URL.
*/
readonly downloadUrl: string;
/**
* Expiry date of the download URL.
*/
readonly expirationTime: string;
}
/**
* Gets the download URL of the test execution console log file.
*
* Uses Azure REST API version 2023-11-01-preview.
*
* Other available API versions: 2022-04-01-preview. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native testbase [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details.
*/
export declare function getTestResultConsoleLogDownloadURLOutput(args: GetTestResultConsoleLogDownloadURLOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetTestResultConsoleLogDownloadURLResult>;
export interface GetTestResultConsoleLogDownloadURLOutputArgs {
/**
* The log file name corresponding to the download URL.
*/
logFileName: pulumi.Input<string>;
/**
* The resource name of the Test Base Package.
*/
packageName: pulumi.Input<string>;
/**
* The name of the resource group. The name is case insensitive.
*/
resourceGroupName: pulumi.Input<string>;
/**
* The resource name of the Test Base Account.
*/
testBaseAccountName: pulumi.Input<string>;
/**
* The Test Result Name. It equals to TestResult-{TestResultId} string.
*/
testResultName: pulumi.Input<string>;
}