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.
zone
- The Availability Zone in which the Volume is located.
mount_ip_addresses
- A list of IPv4 Addresses which should be used to mount the volume.
protocols
- A list of protocol types enabled on volume.
service_level
- The service level of the file system.
subnet_id
- The ID of a Subnet in which the NetApp Volume resides.
network_features
- Network features in use Basic
or Standard
.
storage_quota_in_gb
- The maximum Storage Quota in Gigabytes allowed for a file system.
security_style
- Volume security style
data_protection_replication
- Volume data protection block
volume_path
- The unique file path of the volume.
smb_non_browsable_enabled
- Limits clients from browsing for an SMB share.
smb_access_based_enumeration_enabled
- Limits enumeration of files and folders (that is, listing the contents) in SMB only to users with allowed access on the share.
A data_protection_replication
block exports the following:
endpoint_type
- The endpoint type.
remote_volume_location
- Location of the primary volume.
remote_volume_resource_id
- Resource ID of the primary volume.
replication_frequency
- Frequency of replication.
The timeouts
block allows you to specify timeouts for certain actions:
read
- (Defaults to 5 minutes) Used when retrieving the NetApp Volume.