import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Use this data source to access information about an existing Batch Account. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as azure from "@pulumi/azure"; * * const example = azure.batch.getAccount({ * name: "testbatchaccount", * resourceGroupName: "test", * }); * export const poolAllocationMode = example.then(example => example.poolAllocationMode); * ``` * * ## API Providers * * * This data source uses the following Azure API Providers: * * * `Microsoft.Batch` - 2024-07-01 */ export declare function getAccount(args: GetAccountArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getAccount. */ export interface GetAccountArgs { /** * The name of the Batch account. */ name: string; /** * The Name of the Resource Group where this Batch account exists. */ resourceGroupName: string; } /** * A collection of values returned by getAccount. */ export interface GetAccountResult { /** * The account endpoint used to interact with the Batch service. */ readonly accountEndpoint: string; /** * The `encryption` block that describes the Azure KeyVault key reference used to encrypt data for the Azure Batch account. */ readonly encryptions: outputs.batch.GetAccountEncryption[]; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * The `keyVaultReference` block that describes the Azure KeyVault reference to use when deploying the Azure Batch account using the `UserSubscription` pool allocation mode. */ readonly keyVaultReferences: outputs.batch.GetAccountKeyVaultReference[]; /** * The Azure Region in which this Batch account exists. */ readonly location: string; /** * The Batch account name. */ readonly name: string; /** * The pool allocation mode configured for this Batch account. */ readonly poolAllocationMode: string; /** * The Batch account primary access key. */ readonly primaryAccessKey: string; readonly resourceGroupName: string; /** * The Batch account secondary access key. */ readonly secondaryAccessKey: string; /** * The ID of the Storage Account used for this Batch account. */ readonly storageAccountId: string; /** * A map of tags assigned to the Batch account. */ readonly tags: { [key: string]: string; }; } /** * Use this data source to access information about an existing Batch Account. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as azure from "@pulumi/azure"; * * const example = azure.batch.getAccount({ * name: "testbatchaccount", * resourceGroupName: "test", * }); * export const poolAllocationMode = example.then(example => example.poolAllocationMode); * ``` * * ## API Providers * * * This data source uses the following Azure API Providers: * * * `Microsoft.Batch` - 2024-07-01 */ export declare function getAccountOutput(args: GetAccountOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getAccount. */ export interface GetAccountOutputArgs { /** * The name of the Batch account. */ name: pulumi.Input; /** * The Name of the Resource Group where this Batch account exists. */ resourceGroupName: pulumi.Input; }