@pulumi/azure-native
Version:
[](https://slack.pulumi.com) [](https://npmjs.com/package/@pulumi/azure-native) [ • 2 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
/**
* Gets draft package path and temp working path with SAS.
*
* Uses Azure REST API version 2023-11-01-preview.
*/
export declare function getDraftPackagePath(args: GetDraftPackagePathArgs, opts?: pulumi.InvokeOptions): Promise<GetDraftPackagePathResult>;
export interface GetDraftPackagePathArgs {
/**
* The resource name of the Test Base Draft Package.
*/
draftPackageName: 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 response of getting a download URL.
*/
export interface GetDraftPackagePathResult {
/**
* The base URL of the storage account.
*/
readonly baseUrl: string;
/**
* The relative path of the folder hosting package files.
*/
readonly draftPackagePath: string;
/**
* Expiry date of the SAS token.
*/
readonly expirationTime: string;
/**
* A SAS token for the storage account to access workspace.
*/
readonly sasToken: string;
/**
* The relative path for a temporary folder for package creation work.
*/
readonly workingPath: string;
}
/**
* Gets draft package path and temp working path with SAS.
*
* Uses Azure REST API version 2023-11-01-preview.
*/
export declare function getDraftPackagePathOutput(args: GetDraftPackagePathOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetDraftPackagePathResult>;
export interface GetDraftPackagePathOutputArgs {
/**
* The resource name of the Test Base Draft Package.
*/
draftPackageName: 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>;
}