@pulumi/azure-native
Version:
[](https://slack.pulumi.com) [](https://npmjs.com/package/@pulumi/azure-native) [ • 3.19 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
/**
* Returns a resource belonging to a resource group.
*
* Uses Azure REST API version 2025-01-01.
*
* Other available API versions: 2023-01-01, 2023-04-01-preview, 2023-05-01, 2023-06-01-preview, 2023-08-01-preview, 2023-11-01, 2023-12-01, 2024-02-01-preview, 2024-03-01, 2024-04-01, 2025-02-01, 2025-07-01, 2025-09-01. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native dataprotection [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details.
*/
export declare function getBackupVault(args: GetBackupVaultArgs, opts?: pulumi.InvokeOptions): Promise<GetBackupVaultResult>;
export interface GetBackupVaultArgs {
/**
* The name of the resource group. The name is case insensitive.
*/
resourceGroupName: string;
/**
* The name of the backup vault.
*/
vaultName: string;
}
/**
* Backup Vault Resource
*/
export interface GetBackupVaultResult {
/**
* The Azure API version of the resource.
*/
readonly azureApiVersion: string;
/**
* Optional ETag.
*/
readonly eTag?: string;
/**
* Resource Id represents the complete path to the resource.
*/
readonly id: string;
/**
* Input Managed Identity Details
*/
readonly identity?: outputs.dataprotection.DppIdentityDetailsResponse;
/**
* Resource location.
*/
readonly location: string;
/**
* Resource name associated with the resource.
*/
readonly name: string;
/**
* BackupVaultResource properties
*/
readonly properties: outputs.dataprotection.BackupVaultResponse;
/**
* Metadata pertaining to creation and last modification of the resource.
*/
readonly systemData: outputs.dataprotection.SystemDataResponse;
/**
* Resource tags.
*/
readonly tags?: {
[key: string]: string;
};
/**
* Resource type represents the complete path of the form Namespace/ResourceType/ResourceType/...
*/
readonly type: string;
}
/**
* Returns a resource belonging to a resource group.
*
* Uses Azure REST API version 2025-01-01.
*
* Other available API versions: 2023-01-01, 2023-04-01-preview, 2023-05-01, 2023-06-01-preview, 2023-08-01-preview, 2023-11-01, 2023-12-01, 2024-02-01-preview, 2024-03-01, 2024-04-01, 2025-02-01, 2025-07-01, 2025-09-01. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native dataprotection [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details.
*/
export declare function getBackupVaultOutput(args: GetBackupVaultOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetBackupVaultResult>;
export interface GetBackupVaultOutputArgs {
/**
* The name of the resource group. The name is case insensitive.
*/
resourceGroupName: pulumi.Input<string>;
/**
* The name of the backup vault.
*/
vaultName: pulumi.Input<string>;
}