import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Use this data source to access information about an existing Backup Vault. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as azure from "@pulumi/azure"; * * const example = azure.dataprotection.getBackupVault({ * name: "existing-backup-vault", * resourceGroupName: "existing-resource-group", * }); * export const azurermDataProtectionBackupVaultId = exampleAzurermVpnGateway.id; * export const azurermDataProtectionBackupVaultPrincipalId = example.then(example => example.identities?.[0]?.principalId); * ``` * * ## API Providers * * * This data source uses the following Azure API Providers: * * * `Microsoft.DataProtection` - 2025-07-01 */ export declare function getBackupVault(args: GetBackupVaultArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getBackupVault. */ export interface GetBackupVaultArgs { /** * Specifies the name of the Backup Vault. */ name: string; /** * The name of the Resource Group where the Backup Vault exists. */ resourceGroupName: string; } /** * A collection of values returned by getBackupVault. */ export interface GetBackupVaultResult { /** * Specifies the type of the data store. */ readonly datastoreType: string; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * A `identity` block as defined below. */ readonly identities: outputs.dataprotection.GetBackupVaultIdentity[]; /** * The Azure Region where the Backup Vault exists. */ readonly location: string; readonly name: string; /** * Specifies the backup storage redundancy. */ readonly redundancy: string; readonly resourceGroupName: string; /** * A mapping of tags which are assigned to the Backup Vault. */ readonly tags: { [key: string]: string; }; } /** * Use this data source to access information about an existing Backup Vault. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as azure from "@pulumi/azure"; * * const example = azure.dataprotection.getBackupVault({ * name: "existing-backup-vault", * resourceGroupName: "existing-resource-group", * }); * export const azurermDataProtectionBackupVaultId = exampleAzurermVpnGateway.id; * export const azurermDataProtectionBackupVaultPrincipalId = example.then(example => example.identities?.[0]?.principalId); * ``` * * ## API Providers * * * This data source uses the following Azure API Providers: * * * `Microsoft.DataProtection` - 2025-07-01 */ export declare function getBackupVaultOutput(args: GetBackupVaultOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getBackupVault. */ export interface GetBackupVaultOutputArgs { /** * Specifies the name of the Backup Vault. */ name: pulumi.Input; /** * The name of the Resource Group where the Backup Vault exists. */ resourceGroupName: pulumi.Input; }