Microsoft.NetApp netAppAccounts/backupPolicies
- Latest
- 2024-07-01
- 2024-07-01-preview
- 2024-05-01
- 2024-05-01-preview
- 2024-03-01
- 2024-03-01-preview
- 2024-01-01
- 2023-11-01
- 2023-11-01-preview
- 2023-07-01
- 2023-07-01-preview
- 2023-05-01
- 2023-05-01-preview
- 2022-11-01
- 2022-11-01-preview
- 2022-09-01
- 2022-05-01
- 2022-03-01
- 2022-01-01
- 2021-10-01
- 2021-08-01
- 2021-06-01
- 2021-04-01
- 2021-04-01-preview
- 2021-02-01
- 2020-12-01
- 2020-11-01
- 2020-09-01
- 2020-08-01
- 2020-07-01
- 2020-06-01
- 2020-05-01
Bicep resource definition
The netAppAccounts/backupPolicies resource type can be deployed with operations that target:
- Resource groups - See resource group deployment commands
For a list of changed properties in each API version, see change log.
Resource format
To create a Microsoft.NetApp/netAppAccounts/backupPolicies resource, add the following Bicep to your template.
resource symbolicname 'Microsoft.NetApp/netAppAccounts/backupPolicies@2024-07-01' = {
parent: resourceSymbolicName
location: 'string'
name: 'string'
properties: {
dailyBackupsToKeep: int
enabled: bool
monthlyBackupsToKeep: int
weeklyBackupsToKeep: int
}
tags: {
{customized property}: 'string'
}
}
Property values
BackupPolicyProperties
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 |
weeklyBackupsToKeep | Weekly backups count to keep | int |
Microsoft.NetApp/netAppAccounts/backupPolicies
Name | Description | Value |
---|---|---|
location | The geo-location where the resource lives | string (required) |
name | The resource name | string (required) |
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. |
Symbolic name for resource of type: netAppAccounts |
properties | Backup policy Properties | BackupPolicyProperties (required) |
tags | Resource tags | Dictionary of tag names and values. See Tags in templates |
TrackedResourceTags
Name | Description | Value |
---|
ARM template resource definition
The netAppAccounts/backupPolicies resource type can be deployed with operations that target:
- Resource groups - See resource group deployment commands
For a list of changed properties in each API version, see change log.
Resource format
To create a Microsoft.NetApp/netAppAccounts/backupPolicies resource, add the following JSON to your template.
{
"type": "Microsoft.NetApp/netAppAccounts/backupPolicies",
"apiVersion": "2024-07-01",
"name": "string",
"location": "string",
"properties": {
"dailyBackupsToKeep": "int",
"enabled": "bool",
"monthlyBackupsToKeep": "int",
"weeklyBackupsToKeep": "int"
},
"tags": {
"{customized property}": "string"
}
}
Property values
BackupPolicyProperties
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 |
weeklyBackupsToKeep | Weekly backups count to keep | int |
Microsoft.NetApp/netAppAccounts/backupPolicies
Name | Description | Value |
---|---|---|
apiVersion | The api version | '2024-07-01' |
location | The geo-location where the resource lives | string (required) |
name | The resource name | string (required) |
properties | Backup policy Properties | BackupPolicyProperties (required) |
tags | Resource tags | Dictionary of tag names and values. See Tags in templates |
type | The resource type | 'Microsoft.NetApp/netAppAccounts/backupPolicies' |
TrackedResourceTags
Name | Description | Value |
---|
Terraform (AzAPI provider) resource definition
The netAppAccounts/backupPolicies resource type can be deployed with operations that target:
- Resource groups
For a list of changed properties in each API version, see change log.
Resource format
To create a Microsoft.NetApp/netAppAccounts/backupPolicies resource, add the following Terraform to your template.
resource "azapi_resource" "symbolicname" {
type = "Microsoft.NetApp/netAppAccounts/backupPolicies@2024-07-01"
name = "string"
location = "string"
tags = {
{customized property} = "string"
}
body = jsonencode({
properties = {
dailyBackupsToKeep = int
enabled = bool
monthlyBackupsToKeep = int
weeklyBackupsToKeep = int
}
})
}
Property values
BackupPolicyProperties
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 |
weeklyBackupsToKeep | Weekly backups count to keep | int |
Microsoft.NetApp/netAppAccounts/backupPolicies
Name | Description | Value |
---|---|---|
location | The geo-location where the resource lives | string (required) |
name | The resource name | string (required) |
parent_id | The ID of the resource that is the parent for this resource. | ID for resource of type: netAppAccounts |
properties | Backup policy Properties | BackupPolicyProperties (required) |
tags | Resource tags | Dictionary of tag names and values. |
type | The resource type | "Microsoft.NetApp/netAppAccounts/backupPolicies@2024-07-01" |
TrackedResourceTags
Name | Description | Value |
---|