import * as pulumi from "@pulumi/pulumi"; /** * Manages Azure Batch Application instance. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as azure from "@pulumi/azure"; * * const example = new azure.core.ResourceGroup("example", { * name: "example-rg", * location: "West Europe", * }); * const exampleAccount = new azure.storage.Account("example", { * name: "examplesa", * resourceGroupName: example.name, * location: example.location, * accountTier: "Standard", * accountReplicationType: "LRS", * }); * const exampleAccount2 = new azure.batch.Account("example", { * name: "exampleba", * resourceGroupName: example.name, * location: example.location, * poolAllocationMode: "BatchService", * storageAccountId: exampleAccount.id, * storageAccountAuthenticationMode: "StorageKeys", * }); * const exampleApplication = new azure.batch.Application("example", { * name: "example-batch-application", * resourceGroupName: example.name, * accountName: exampleAccount2.name, * }); * ``` * * ## API Providers * * * This resource uses the following Azure API Providers: * * * `Microsoft.Batch` - 2024-07-01 * * ## Import * * Batch Applications can be imported using the `resource id`, e.g. * * ```sh * $ pulumi import azure:batch/application:Application example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/example-rg/providers/Microsoft.Batch/batchAccounts/exampleba/applications/example-batch-application * ``` */ export declare class Application extends pulumi.CustomResource { /** * Get an existing Application resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, state?: ApplicationState, opts?: pulumi.CustomResourceOptions): Application; /** * Returns true if the given object is an instance of Application. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is Application; /** * The name of the Batch account. Changing this forces a new resource to be created. */ readonly accountName: pulumi.Output; /** * A value indicating whether packages within the application may be overwritten using the same version string. Defaults to `true`. */ readonly allowUpdates: pulumi.Output; /** * 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: pulumi.Output; /** * The display name for the application. */ readonly displayName: pulumi.Output; /** * The name of the application. This must be unique within the account. Changing this forces a new resource to be created. */ readonly name: pulumi.Output; /** * The name of the resource group that contains the Batch account. Changing this forces a new resource to be created. */ readonly resourceGroupName: pulumi.Output; /** * Create a Application resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: ApplicationArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering Application resources. */ export interface ApplicationState { /** * The name of the Batch account. Changing this forces a new resource to be created. */ accountName?: pulumi.Input; /** * A value indicating whether packages within the application may be overwritten using the same version string. Defaults to `true`. */ allowUpdates?: pulumi.Input; /** * 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. */ defaultVersion?: pulumi.Input; /** * The display name for the application. */ displayName?: pulumi.Input; /** * The name of the application. This must be unique within the account. Changing this forces a new resource to be created. */ name?: pulumi.Input; /** * The name of the resource group that contains the Batch account. Changing this forces a new resource to be created. */ resourceGroupName?: pulumi.Input; } /** * The set of arguments for constructing a Application resource. */ export interface ApplicationArgs { /** * The name of the Batch account. Changing this forces a new resource to be created. */ accountName: pulumi.Input; /** * A value indicating whether packages within the application may be overwritten using the same version string. Defaults to `true`. */ allowUpdates?: pulumi.Input; /** * 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. */ defaultVersion?: pulumi.Input; /** * The display name for the application. */ displayName?: pulumi.Input; /** * The name of the application. This must be unique within the account. Changing this forces a new resource to be created. */ name?: pulumi.Input; /** * The name of the resource group that contains the Batch account. Changing this forces a new resource to be created. */ resourceGroupName: pulumi.Input; }