import * as pulumi from "@pulumi/pulumi"; /** * Use this data source to access information about an existing Batch Application instance. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as azure from "@pulumi/azure"; * * const example = azure.batch.getApplication({ * name: "testapplication", * resourceGroupName: "test", * accountName: "testbatchaccount", * }); * export const batchApplicationId = example.then(example => example.id); * ``` * * ## API Providers * * * This data source uses the following Azure API Providers: * * * `Microsoft.Batch` - 2024-07-01 */ export declare function getApplication(args: GetApplicationArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getApplication. */ export interface GetApplicationArgs { /** * The name of the Batch account. */ accountName: string; /** * The name of the Application. */ name: string; /** * The name of the Resource Group where this Batch account exists. */ resourceGroupName: string; } /** * A collection of values returned by getApplication. */ export interface GetApplicationResult { readonly accountName: string; /** * May packages within the application be overwritten using the same version string. */ readonly allowUpdates: boolean; /** * The package to use if a client requests the application but does not specify a version. */ readonly defaultVersion: string; /** * The display name for the application. */ readonly displayName: string; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * The Batch application name. */ readonly name: string; readonly resourceGroupName: string; } /** * Use this data source to access information about an existing Batch Application instance. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as azure from "@pulumi/azure"; * * const example = azure.batch.getApplication({ * name: "testapplication", * resourceGroupName: "test", * accountName: "testbatchaccount", * }); * export const batchApplicationId = example.then(example => example.id); * ``` * * ## API Providers * * * This data source uses the following Azure API Providers: * * * `Microsoft.Batch` - 2024-07-01 */ export declare function getApplicationOutput(args: GetApplicationOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getApplication. */ export interface GetApplicationOutputArgs { /** * The name of the Batch account. */ accountName: pulumi.Input; /** * The name of the Application. */ name: pulumi.Input; /** * The name of the Resource Group where this Batch account exists. */ resourceGroupName: pulumi.Input; }