last sync: 2025-Jul-25 17:39:48 UTC

[Preview]: Configure backup for Azure Disks (Managed Disks) without a given tag to an existing backup vault in the same region

Azure BuiltIn Policy definition

Source Azure Portal
Display name [Preview]: Configure backup for Azure Disks (Managed Disks) without a given tag to an existing backup vault in the same region
Id 6e68865f-f3cd-48ec-9bba-54795672eaa4
Version 1.0.0-preview
Details on versioning
Versioning Versions supported for Versioning: 1
1.0.0-preview
Built-in Versioning [Preview]
Category Backup
Microsoft Learn
Description Enforce backup for all Azure Disks (Managed Disks) that do not contain a given tag to a central backup vault. Learn more at https://aka.ms/AB-DiskBackupAzPolicies
Cloud environments AzureCloud = true
AzureUSGovernment = unknown
AzureChinaCloud = unknown
Available in AzUSGov Unknown, no evidence if Policy definition is/not available in AzureUSGovernment
Mode Indexed
Type BuiltIn
Preview True
Deprecated False
Effect Default
DeployIfNotExists
Allowed
DeployIfNotExists, AuditIfNotExists, Disabled
RBAC role(s)
Role Name Role Id
Backup Contributor 5e467623-bb1f-42f4-a55d-6e525e11384b
Rule aliases none
Rule resource types IF (1)
THEN-Deployment (3)
Compliance Not a Compliance control
Initiatives usage none
History
Date/Time (UTC ymd) (i) Change type Change detail
2024-05-13 17:44:58 add 6e68865f-f3cd-48ec-9bba-54795672eaa4
JSON compare n/a
JSON
api-version=2021-06-01
EPAC
{7 items
  • displayName: "[Preview]: Configure backup for Azure Disks (Managed Disks) without a given tag to an existing backup vault in the same region",
  • policyType: "BuiltIn",
  • mode: "Indexed",
  • description: "Enforce backup for all Azure Disks (Managed Disks) that do not contain a given tag to a central backup vault. Learn more at https://aka.ms/AB-DiskBackupAzPolicies",
  • metadata: {3 items
    • version: "1.0.0-preview",
    • preview: true,
    • category: "Backup"
    },
  • parameters: {6 items
    • vaultLocation: {2 items
      • type: "String",
      • metadata: {3 items
        • displayName: "Location (Specify the location of the Azure Disks that you want to protect)",
        • description: "Specify the location of the Azure Disks that you want to protect. Azure Disks should be backed up to a vault in the same location. For example - CanadaCentral",
        • strongType: "location"
        }
      },
    • backupPolicyId: {2 items
      • type: "String",
      • metadata: {3 items
        • displayName: "Backup Policy (of type Azure Disks from a vault in the location chosen above)",
        • description: "Specify the backup policy to be used for configuring backup for Azure Disks. The selected Azure Backup policy should be of type Azure Disks. This policy needs to be in a vault that is present in the location chosen above. For example - /subscriptions/<SubscriptionId>/resourceGroups/<resourceGroupName>/providers/Microsoft.DataProtection/vaults/<VaultName>/backupPolicies/<BackupPolicyName>. Also, make sure that this Backup vault's managed identity has Disk Backup Reader role on the disks to be backed up, and Backup vault's managed identity has Disk Snapshot Contributor on the snapshot resource group.",
        • strongType: "Microsoft.DataProtection/backupVaults/backupPolicies"
        }
      },
    • snapshotResourceGroupName: {2 items
      • type: "String",
      • metadata: {3 items
        • displayName: "Snapshot Resource Group",
        • description: "Specify the name of the resource group (in the same subscription where the policy is being deployed) where the snapshot of the Azure disks will be created. Ensure that the backup vault's managed identity has the Disk Snapshot Contributor role on this resource group.",
        • strongType: "existingResourceGroups"
        }
      },
    • exclusionTagName: {2 items
      • type: "String",
      • metadata: {2 items
        • displayName: "Exclusion Tag Name",
        • description: "Name of the tag to use for excluding Azure Disks from the scope of this policy. This should be used along with the Exclusion Tag Values parameter."
        }
      },
    • exclusionTagValues: {2 items
      • type: "Array",
      • metadata: {2 items
        • displayName: "Exclusion Tag Values",
        • description: "Value of the tag to use for excluding Azure Disks from the scope of this policy (in case of multiple values, use a comma-separated list). This should be used along with the Exclusion Tag Name parameter."
        }
      },
    • effect: {4 items
      • type: "String",
      • metadata: {2 items
        • displayName: "Effect",
        • description: "Enable or disable the execution of the policy"
        },
      • allowedValues: [3 items
        • "DeployIfNotExists",
        • "AuditIfNotExists",
        • "Disabled"
        ],
      • defaultValue: "DeployIfNotExists"
      }
    },
  • policyRule: {2 items}
}