import * as pulumi from "@pulumi/pulumi"; /** * Manages a Backup Instance to back up Data Lake Storage. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as azure from "@pulumi/azure"; * * const example = new azure.core.ResourceGroup("example", { * name: "example-resources", * location: "West Europe", * }); * const exampleAccount = new azure.storage.Account("example", { * name: "storageaccountname", * resourceGroupName: example.name, * location: example.location, * accountTier: "Standard", * accountReplicationType: "LRS", * isHnsEnabled: true, * }); * const exampleContainer = new azure.storage.Container("example", { * name: "example-container", * storageAccountId: exampleAccount.id, * }); * const example2 = new azure.storage.Container("example2", { * name: "example-container2", * storageAccountId: exampleAccount.id, * }); * const exampleBackupVault = new azure.dataprotection.BackupVault("example", { * name: "example-backup-vault", * resourceGroupName: example.name, * location: example.location, * datastoreType: "VaultStore", * redundancy: "LocallyRedundant", * identity: { * type: "SystemAssigned", * }, * }); * const exampleAssignment = new azure.authorization.Assignment("example", { * scope: exampleAccount.id, * roleDefinitionName: "Storage Account Backup Contributor", * principalId: exampleBackupVault.identity.apply(identity => identity?.principalId), * }); * const exampleBackupPolicyDataLakeStorage = new azure.dataprotection.BackupPolicyDataLakeStorage("example", { * name: "example-backup-policy", * dataProtectionBackupVaultId: exampleBackupVault.id, * backupSchedules: ["R/2021-05-23T02:30:00+00:00/P1W"], * defaultRetentionDuration: "P4M", * }); * const exampleBackupInstanceDataLakeStorage = new azure.dataprotection.BackupInstanceDataLakeStorage("example", { * name: "example-data-protection-backup-instance-data-lake-storage", * dataProtectionBackupVaultId: exampleBackupVault.id, * location: example.location, * storageAccountId: exampleAccount.id, * backupPolicyDataLakeStorageId: exampleBackupPolicyDataLakeStorage.id, * storageContainerNames: [ * exampleContainer.name, * example2.name, * ], * }, { * dependsOn: [exampleAssignment], * }); * ``` * * ## API Providers * * * This resource uses the following Azure API Providers: * * * `Microsoft.DataProtection` - 2025-07-01 * * ## Import * * Backup Instance Data Lake Storages can be imported using the `resource id`, e.g. * * ```sh * $ pulumi import azure:dataprotection/backupInstanceDataLakeStorage:BackupInstanceDataLakeStorage example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.DataProtection/backupVaults/vault1/backupInstances/backupInstance1 * ``` */ export declare class BackupInstanceDataLakeStorage extends pulumi.CustomResource { /** * Get an existing BackupInstanceDataLakeStorage 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?: BackupInstanceDataLakeStorageState, opts?: pulumi.CustomResourceOptions): BackupInstanceDataLakeStorage; /** * Returns true if the given object is an instance of BackupInstanceDataLakeStorage. 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 BackupInstanceDataLakeStorage; /** * The ID of the Backup Policy. */ readonly backupPolicyDataLakeStorageId: pulumi.Output; /** * The ID of the Backup Vault within which the Backup Instance Data Lake Storage should exist. Changing this forces a new resource to be created. */ readonly dataProtectionBackupVaultId: pulumi.Output; /** * The location of the source Storage Account. Changing this forces a new resource to be created. */ readonly location: pulumi.Output; /** * The name which should be used for this Backup Instance Data Lake Storage. Changing this forces a new resource to be created. */ readonly name: pulumi.Output; /** * The protection state of the Backup Instance Data Lake Storage. */ readonly protectionState: pulumi.Output; /** * The ID of the source Storage Account. The Storage Account must have Hierarchical Namespace enabled. Changing this forces a new resource to be created. */ readonly storageAccountId: pulumi.Output; /** * The names of the storage containers of the source Storage Account. */ readonly storageContainerNames: pulumi.Output; /** * Create a BackupInstanceDataLakeStorage 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: BackupInstanceDataLakeStorageArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering BackupInstanceDataLakeStorage resources. */ export interface BackupInstanceDataLakeStorageState { /** * The ID of the Backup Policy. */ backupPolicyDataLakeStorageId?: pulumi.Input; /** * The ID of the Backup Vault within which the Backup Instance Data Lake Storage should exist. Changing this forces a new resource to be created. */ dataProtectionBackupVaultId?: pulumi.Input; /** * The location of the source Storage Account. Changing this forces a new resource to be created. */ location?: pulumi.Input; /** * The name which should be used for this Backup Instance Data Lake Storage. Changing this forces a new resource to be created. */ name?: pulumi.Input; /** * The protection state of the Backup Instance Data Lake Storage. */ protectionState?: pulumi.Input; /** * The ID of the source Storage Account. The Storage Account must have Hierarchical Namespace enabled. Changing this forces a new resource to be created. */ storageAccountId?: pulumi.Input; /** * The names of the storage containers of the source Storage Account. */ storageContainerNames?: pulumi.Input[]>; } /** * The set of arguments for constructing a BackupInstanceDataLakeStorage resource. */ export interface BackupInstanceDataLakeStorageArgs { /** * The ID of the Backup Policy. */ backupPolicyDataLakeStorageId: pulumi.Input; /** * The ID of the Backup Vault within which the Backup Instance Data Lake Storage should exist. Changing this forces a new resource to be created. */ dataProtectionBackupVaultId: pulumi.Input; /** * The location of the source Storage Account. Changing this forces a new resource to be created. */ location?: pulumi.Input; /** * The name which should be used for this Backup Instance Data Lake Storage. Changing this forces a new resource to be created. */ name?: pulumi.Input; /** * The ID of the source Storage Account. The Storage Account must have Hierarchical Namespace enabled. Changing this forces a new resource to be created. */ storageAccountId: pulumi.Input; /** * The names of the storage containers of the source Storage Account. */ storageContainerNames: pulumi.Input[]>; }