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

178 lines (177 loc) 5.48 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Gets a Test Base Draft Package. * * Uses Azure REST API version 2023-11-01-preview. */ export declare function getDraftPackage(args: GetDraftPackageArgs, opts?: pulumi.InvokeOptions): Promise<GetDraftPackageResult>; export interface GetDraftPackageArgs { /** * 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 Test Base Draft Package resource. */ export interface GetDraftPackageResult { /** * The name of the app file. */ readonly appFileName?: string; /** * Application name */ readonly applicationName?: string; /** * The Azure API version of the resource. */ readonly azureApiVersion: string; /** * Comments added by user. */ readonly comments?: string; /** * The relative path of the folder hosting package files. */ readonly draftPackagePath: string; /** * Specifies whether this draft package is used to edit a package. */ readonly editPackage?: boolean; /** * The executable launch command for script auto-fill. Will be used to run the application. */ readonly executableLaunchCommand?: string; /** * The list of first party applications to test along with user application. */ readonly firstPartyApps?: outputs.testbase.FirstPartyAppDefinitionResponse[]; /** * The flighting ring for feature update. */ readonly flightingRing?: string; /** * The list of gallery apps to test along with user application. */ readonly galleryApps?: outputs.testbase.GalleryAppDefinitionResponse[]; /** * The highlight files in the package. */ readonly highlightedFiles?: outputs.testbase.HighlightedFileResponse[]; /** * Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}" */ readonly id: string; /** * Specifies the baseline os and target os for inplace upgrade. */ readonly inplaceUpgradeOSPair?: outputs.testbase.InplaceUpgradeOSInfoResponse; /** * The metadata of Intune enrollment. */ readonly intuneEnrollmentMetadata?: outputs.testbase.IntuneEnrollmentMetadataResponse; /** * Metadata used to generate draft package folder and scripts. */ readonly intuneMetadata?: outputs.testbase.DraftPackageIntuneAppMetadataResponse; /** * The UTC timestamp when the package was last modified. */ readonly lastModifiedTime: string; /** * The name of the resource */ readonly name: string; /** * Specifies the package id from which the draft package copied. */ readonly packageId?: string; /** * Tags of the package to be created. */ readonly packageTags?: { [key: string]: string; }; /** * The process name for script auto-fill. Will be used to identify the application process. */ readonly processName?: string; /** * The provisioning state of the resource. */ readonly provisioningState: string; /** * The source type. */ readonly sourceType?: string; /** * Azure Resource Manager metadata containing createdBy and modifiedBy information. */ readonly systemData: outputs.testbase.SystemDataResponse; /** * Tab state. */ readonly tabState?: outputs.testbase.TabStateResponse; /** * Specifies the target OSs of specific OS Update types. */ readonly targetOSList?: outputs.testbase.TargetOSInfoResponse[]; /** * OOB, functional or flow driven. Mapped to the data in 'tests' property. */ readonly testTypes?: string[]; /** * The detailed test information. */ readonly tests?: outputs.testbase.TestResponse[]; /** * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" */ readonly type: string; /** * Indicates whether user choose to enable script auto-fill. */ readonly useAutofill?: boolean; /** * Specifies whether a sample package should be used instead of the one uploaded by the user. */ readonly useSample?: boolean; /** * Application version */ readonly version?: string; /** * The relative path for a temporarily folder for package creation work. */ readonly workingPath: string; } /** * Gets a Test Base Draft Package. * * Uses Azure REST API version 2023-11-01-preview. */ export declare function getDraftPackageOutput(args: GetDraftPackageOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetDraftPackageResult>; export interface GetDraftPackageOutputArgs { /** * 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>; }