Azure NetApp Pool
This page shows how to write Terraform and Azure Resource Manager for NetApp Pool and write them securely.
azurerm_netapp_pool (Terraform)
The Pool in NetApp can be configured in Terraform with the resource name azurerm_netapp_pool
. The following sections describe 10 examples of how to use the resource and its parameters.
Example Usage from GitHub
resource "azurerm_netapp_pool" "netapp_pool" {
name = var.netapp_pool_name
account_name = var.account_name
resource_group_name = var.resource_group_name
location = var.location
service_level = var.service_level
resource "azurerm_netapp_pool" "pool" {
# The capacity pool name must be unique for each NetApp account
name = var.settings.name
account_name = var.account_name
resource_group_name = var.resource_group_name
location = var.location
resource "azurerm_netapp_pool" "example" {
name = "example-netapppool"
location = azurerm_resource_group.example.location
resource_group_name = azurerm_resource_group.example.name
account_name = azurerm_netapp_account.example.name
service_level = "Premium"
resource "azurerm_netapp_pool" "pool" {
# The capacity pool name must be unique for each NetApp account
name = var.settings.name
account_name = var.account_name
resource_group_name = var.resource_group_name
location = var.location
resource "azurerm_netapp_pool" "netapp_pool" {
name = var.netapp_pool_name
location = var.deploy_location
resource_group_name = var.rg_name
account_name = var.netapp_acct_name
service_level = "Standard"
resource "azurerm_netapp_pool" "NetApp_pool" {
name = var.NetApp_pool_name
location = var.deploylocation
resource_group_name = var.rgname
account_name = var.NetApp_acct_name
service_level = "Standard"
resource "azurerm_netapp_pool" "this" {
account_name = var.account_name
location = var.location
name = var.name
resource_group_name = var.resource_group_name
service_level = var.service_level
resource "azurerm_netapp_pool" "example" {
name = var.netapp-pool-name
account_name = azurerm_netapp_account.example.name
location = azurerm_resource_group.example.location
resource_group_name = azurerm_resource_group.example.name
service_level = var.netapp-pool-service_level
resource "azurerm_netapp_pool" "this" {
account_name = var.account_name
location = var.location
name = var.name
resource_group_name = var.resource_group_name
service_level = var.service_level
resource "azurerm_netapp_pool" "pool" {
# The capacity pool name must be unique for each NetApp account
name = var.settings.name
account_name = var.account_name
resource_group_name = var.resource_group_name
location = var.location
Parameters
-
account_name
required - string -
id
optional computed - string -
location
required - string -
name
required - string -
resource_group_name
required - string -
service_level
required - string -
size_in_tb
required - number -
tags
optional - map from string to string -
timeouts
single block
Explanation in Terraform Registry
Manages a Pool within a NetApp Account.
Microsoft.NetApp/netAppAccounts/capacityPools (Azure Resource Manager)
The netAppAccounts/capacityPools in Microsoft.NetApp can be configured in Azure Resource Manager with the resource name Microsoft.NetApp/netAppAccounts/capacityPools
. The following sections describe how to use the resource and its parameters.
Example Usage from GitHub
{
"contentVersion": "1.0.0.0",
"parameters": {
"workbookDisplayName": {
"type": "string",
{
"contentVersion": "1.0.0.0",
"parameters": {
"workbookDisplayName": {
"type": "string",
{
"contentVersion": "1.0.0.0",
"parameters": {
"workbookDisplayName": {
"type": "string",
{
"contentVersion": "1.0.0.0",
"parameters": {
"workbookDisplayName": {
"type": "string",
Parameters
apiVersion
required - stringlocation
required - stringResource location
name
required - stringThe name of the capacity pool
properties
requiredcoolAccess
optional - booleanIf enabled (true) the pool can contain cool Access enabled volumes.
encryptionType
optional - stringEncryption type of the capacity pool, set encryption type for data at rest for this pool and all volumes in it. This value can only be set when creating new pool.
qosType
optional - stringThe qos type of the pool.
serviceLevel
required - stringsize
required - integerProvisioned size of the pool (in bytes). Allowed values are in 4TiB chunks (value must be multiply of 4398046511104).
tags
optional - stringTags are a list of key-value pairs that describe the resource
type
required - string
Frequently asked questions
What is Azure NetApp Pool?
Azure NetApp Pool is a resource for NetApp of Microsoft Azure. Settings can be wrote in Terraform.
Where can I find the example code for the Azure NetApp Pool?
For Terraform, the BartoszDopke/terraform-azurerm_netapp_files, anmoltoppo/Terraform and hyundonk/aztf-anf-demo source code examples are useful. See the Terraform Example section for further details.
For Azure Resource Manager, the HasanIftakher/Azure-Monitor, tulpy/Azure and lbournwhs/AzureMonitorCommunity source code examples are useful. See the Azure Resource Manager Example section for further details.