Management
Backup vault
Protect supported workloads such as Azure disks and blobs with Azure Data Protection. Microsoft documents private endpoint support separately for Recovery Services vaults.
Naming rules
- Abbreviation
- Length
- 2-50
- Allowed characters
- Alphanumerics and hyphens. Start with a letter.
- Uniqueness scope
- resource group
Azure Verified Modules naming utility v0.3.0 · AVM naming key backup_vault
Code examples
Adapt the examples to your environment and supply referenced resources and variables.
Terraform
Terraform documentationhcl
terraform {
required_providers {
azapi = {
source = "Azure/azapi"
version = "~> 2.0"
}
}
}
variable "location" {
type = string
}
variable "name" {
type = string
}
variable "parent_id" {
description = "Full Azure resource ID of the parent resource or resource group."
type = string
}
resource "azapi_resource" "example" {
type = "Microsoft.DataProtection/backupVaults@2026-07-01"
name = var.name
parent_id = var.parent_id
location = var.location
identity {
type = "SystemAssigned"
}
body = {
properties = {
storageSettings = [
{
datastoreType = "VaultStore"
type = "LocallyRedundant"
}
]
}
}
}
Bicep
Bicep documentationbicep
param location string
param name string
resource example 'Microsoft.DataProtection/backupVaults@2026-07-01' = {
name: name
location: location
identity: {
type: 'SystemAssigned'
}
properties: {
storageSettings: [
{
datastoreType: 'VaultStore'
type: 'LocallyRedundant'
}
]
}
}
ARM template
ARM template documentationjson
{
"$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#",
"contentVersion": "1.0.0.0",
"parameters": {
"location": {
"type": "string"
},
"name": {
"type": "string"
}
},
"resources": [
{
"type": "Microsoft.DataProtection/backupVaults",
"apiVersion": "2026-07-01",
"name": "[parameters('name')]",
"location": "[parameters('location')]",
"identity": {
"type": "SystemAssigned"
},
"properties": {
"storageSettings": [
{
"datastoreType": "VaultStore",
"type": "LocallyRedundant"
}
]
}
}
]
}
Private endpoints
Azure Backup documents private endpoints for Recovery Services vaults. Data Protection Backup vaults do not currently support them.
Service networking guidance