import * as pulumi from "@pulumi/pulumi"; /** * Use this data source to access information about an existing NetApp Backup Vault. * * ## NetApp Backup Policy Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as azure from "@pulumi/azure"; * * const example = azure.netapp.getBackupPolicy({ * resourceGroupName: "example-resource-group", * accountName: "example-netappaccount", * name: "example-backuppolicy", * }); * export const backupPolicyId = example.then(example => example.id); * ``` * * ## API Providers * * * This data source uses the following Azure API Providers: * * * `Microsoft.NetApp` - 2025-12-01 */ export declare function getBackupPolicy(args: GetBackupPolicyArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getBackupPolicy. */ export interface GetBackupPolicyArgs { /** * The name of the NetApp Account in which the NetApp Policy exists. */ accountName: string; /** * The name of the NetApp Backup Policy. */ name: string; /** * The name of the resource group where the NetApp Backup Policy exists. */ resourceGroupName: string; } /** * A collection of values returned by getBackupPolicy. */ export interface GetBackupPolicyResult { /** * The name of the NetApp account in which the NetApp Policy exists. */ readonly accountName: string; /** * The number of daily backups to keep. */ readonly dailyBackupsToKeep: number; /** * Whether the Backup Policy is enabled. */ readonly enabled: boolean; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * NetApp Backup Policy location. */ readonly location: string; /** * The number of monthly backups to keep. */ readonly monthlyBackupsToKeep: number; readonly name: string; readonly resourceGroupName: string; /** * List of tags assigned to the resource. */ readonly tags: { [key: string]: string; }; /** * The number of weekly backups to keep. */ readonly weeklyBackupsToKeep: number; } /** * Use this data source to access information about an existing NetApp Backup Vault. * * ## NetApp Backup Policy Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as azure from "@pulumi/azure"; * * const example = azure.netapp.getBackupPolicy({ * resourceGroupName: "example-resource-group", * accountName: "example-netappaccount", * name: "example-backuppolicy", * }); * export const backupPolicyId = example.then(example => example.id); * ``` * * ## API Providers * * * This data source uses the following Azure API Providers: * * * `Microsoft.NetApp` - 2025-12-01 */ export declare function getBackupPolicyOutput(args: GetBackupPolicyOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getBackupPolicy. */ export interface GetBackupPolicyOutputArgs { /** * The name of the NetApp Account in which the NetApp Policy exists. */ accountName: pulumi.Input; /** * The name of the NetApp Backup Policy. */ name: pulumi.Input; /** * The name of the resource group where the NetApp Backup Policy exists. */ resourceGroupName: pulumi.Input; }