Manages a Pool within a NetApp Account.
resource "azurerm_resource_group" "example" {
name = "example-resources"
location = "West Europe"
}
resource "azurerm_netapp_account" "example" {
name = "example-netappaccount"
location = azurerm_resource_group.example.location
resource_group_name = azurerm_resource_group.example.name
}
resource "azurerm_netapp_pool" "example" {
name = "example-netapppool"
account_name = azurerm_netapp_account.example.name
location = azurerm_resource_group.example.location
resource_group_name = azurerm_resource_group.example.name
service_level = "Premium"
size_in_tb = 4
}
The following arguments are supported:
name
- (Required) The name of the NetApp Pool. Changing this forces a new resource to be created.
resource_group_name
- (Required) The name of the resource group where the NetApp Pool should be created. Changing this forces a new resource to be created.
account_name
- (Required) The name of the NetApp account in which the NetApp Pool should be created. Changing this forces a new resource to be created.
location
- (Required) Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
service_level
- (Required) The service level of the file system. Valid values include Premium
, Standard
, and Ultra
. Changing this forces a new resource to be created.
size_in_tb
- (Required) Provisioned size of the pool in TB. Value must be between 2
and 500
.
qos_type
- (Optional) QoS Type of the pool. Valid values include Auto
or Manual
.
encryption_type
- (Optional) The encryption type of the pool. Valid values include Single
, and Double
. Defaults to Single
. Changing this forces a new resource to be created.
tags
- (Optional) A mapping of tags to assign to the resource.
In addition to the Arguments listed above - the following Attributes are exported:
id
- The ID of the NetApp Pool.The timeouts
block allows you to specify timeouts for certain actions:
create
- (Defaults to 30 minutes) Used when creating the NetApp Pool.update
- (Defaults to 30 minutes) Used when updating the NetApp Pool.read
- (Defaults to 5 minutes) Used when retrieving the NetApp Pool.delete
- (Defaults to 30 minutes) Used when deleting the NetApp Pool.NetApp Pool can be imported using the resource id
, e.g.
terraform import azurerm_netapp_pool.example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1