subcategory | layout | page_title | description |
---|---|---|---|
NetApp |
azurerm |
Azure Resource Manager: azurerm_netapp_volume |
Gets information about an existing NetApp Volume |
Uses this data source to access information about an existing NetApp Volume.
data "azurerm_netapp_volume" "example" {
resource_group_name = "acctestRG"
account_name = "acctestnetappaccount"
pool_name = "acctestnetapppool"
name = "example-volume"
}
output "netapp_volume_id" {
value = data.azurerm_netapp_volume.example.id
}
The following arguments are supported:
-
name
- The name of the NetApp Volume. -
resource_group_name
- The Name of the Resource Group where the NetApp Volume exists. -
account_name
- The name of the NetApp account where the NetApp pool exists. -
pool_name
- The name of the NetApp pool where the NetApp volume exists.
The following attributes are exported:
-
location
- The Azure Region where the NetApp Volume exists. -
mount_ip_addresses
- A list of IPv4 Addresses which should be used to mount the volume. -
volume_path
- The unique file path of the volume. -
service_level
- The service level of the file system. -
subnet_id
- The ID of a Subnet in which the NetApp Volume resides. -
storage_quota_in_gb
- The maximum Storage Quota in Gigabytes allowed for a file system.
The timeouts
block allows you to specify timeouts for certain actions:
read
- (Defaults to 5 minutes) Used when retrieving the NetApp Volume.