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

89 lines (88 loc) 3.06 kB
import * as pulumi from "@pulumi/pulumi"; /** * Gets information about the specified application. * * Uses Azure REST API version 2024-07-01. * * Other available API versions: 2023-05-01, 2023-11-01, 2024-02-01. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native batch [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details. */ export declare function getApplication(args: GetApplicationArgs, opts?: pulumi.InvokeOptions): Promise<GetApplicationResult>; export interface GetApplicationArgs { /** * The name of the Batch account. */ accountName: string; /** * The name of the application. This must be unique within the account. */ applicationName: string; /** * The name of the resource group that contains the Batch account. */ resourceGroupName: string; } /** * Contains information about an application in a Batch account. */ export interface GetApplicationResult { /** * A value indicating whether packages within the application may be overwritten using the same version string. */ readonly allowUpdates?: boolean; /** * The Azure API version of the resource. */ readonly azureApiVersion: string; /** * The package to use if a client requests the application but does not specify a version. This property can only be set to the name of an existing package. */ readonly defaultVersion?: string; /** * The display name for the application. */ readonly displayName?: string; /** * The ETag of the resource, used for concurrency statements. */ readonly etag: string; /** * The ID of the resource. */ readonly id: string; /** * The name of the resource. */ readonly name: string; /** * The tags of the resource. */ readonly tags?: { [key: string]: string; }; /** * The type of the resource. */ readonly type: string; } /** * Gets information about the specified application. * * Uses Azure REST API version 2024-07-01. * * Other available API versions: 2023-05-01, 2023-11-01, 2024-02-01. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native batch [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details. */ export declare function getApplicationOutput(args: GetApplicationOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetApplicationResult>; export interface GetApplicationOutputArgs { /** * The name of the Batch account. */ accountName: pulumi.Input<string>; /** * The name of the application. This must be unique within the account. */ applicationName: pulumi.Input<string>; /** * The name of the resource group that contains the Batch account. */ resourceGroupName: pulumi.Input<string>; }