Data Source: azurerm_netapp_snapshot_policy

Uses this data source to access information about an existing NetApp Snapshot Policy.

NetApp Snapshot Policy Usage

data "azurerm_netapp_snapshot_policy" "example" {
  resource_group_name = "acctestRG"
  account_name        = "acctestnetappaccount"
  name                = "example-snapshot-policy"
}

output "id" {
  value = data.azurerm_netapp_snapshot_policy.example.id
}

output "name" {
  value = data.azurerm_netapp_snapshot_policy.example.name
}

output "enabled" {
  value = data.azurerm_netapp_snapshot_policy.example.enabled
}

output "hourly_schedule" {
  value = data.azurerm_netapp_snapshot_policy.example.hourly_schedule
}

output "daily_schedule" {
  value = data.azurerm_netapp_snapshot_policy.example.daily_schedule
}

output "weekly_schedule" {
  value = data.azurerm_netapp_snapshot_policy.example.weekly_schedule
}

output "monthly_schedule" {
  value = data.azurerm_netapp_snapshot_policy.example.monthly_schedule
}

Argument Reference

The following arguments are supported:

Attributes Reference

The following attributes are exported:


An hourly_schedule block exports the following:


A daily_schedule block exports the following:


A weekly_schedule block supports the following:


A weekly_schedule block supports the following:


Timeouts

The timeouts block allows you to specify timeouts for certain actions: