Microsoft.NetApp netAppAccounts/backupPolicies 2020-06-01

The netAppAccounts/backupPolicies resource type can be deployed to: Resource groups.

To learn about resource group deployments, see Bicep or ARM template.

Template format

To create a Microsoft.NetApp/netAppAccounts/backupPolicies resource, add the following Bicep or JSON to your template.

resource symbolicname 'Microsoft.NetApp/netAppAccounts/backupPolicies@2020-06-01' = {
  name: 'string'
  location: 'string'
  tags: {
    tagName1: 'tagValue1'
    tagName2: 'tagValue2'
  parent: parentSymbolicName
  properties: {
    dailyBackupsToKeep: int
    enabled: bool
    monthlyBackupsToKeep: int
    volumeBackups: [
        backupsCount: int
        policyEnabled: bool
        volumeName: 'string'
    volumesAssigned: int
    weeklyBackupsToKeep: int
    yearlyBackupsToKeep: int

Property values


Name Description Value
type The resource type

For Bicep, set this value in the resource declaration.
apiVersion The resource api version

For Bicep, set this value in the resource declaration.
name The resource name

See how to set names and types for child resources in Bicep or JSON ARM templates.
string (required)
location Resource location string (required)
tags Tags are a list of key-value pairs that describe the resource Dictionary of tag names and values. See Tags in templates
parent In Bicep, you can specify the parent resource for a child resource. You only need to add this property when the child resource is declared outside of the parent resource.

For more information, see Child resource outside parent resource.
properties Backup policy properties BackupPolicyProperties (required)


Name Description Value
dailyBackupsToKeep Daily backups count to keep int
enabled The property to decide policy is enabled or not bool
monthlyBackupsToKeep Monthly backups count to keep int
volumeBackups A list of volumes assigned to this policy VolumeBackups[]
volumesAssigned Volumes using current backup policy int
weeklyBackupsToKeep Weekly backups count to keep int
yearlyBackupsToKeep Yearly backups count to keep int


Name Description Value
backupsCount Total count of backups for volume int
policyEnabled Policy enabled bool
volumeName Volume name string