» alicloud_nas_mount_targets

This data source provides MountTargets available to the user.

» Example Usage

data "alicloud_nas_mount_targets" "mt" {
  file_system_id    = "1a2sc4d"
  access_group_name = "tf-testAccNasConfig"

output "alicloud_nas_mount_targets_id" {
  value = "${data.alicloud_nas_mount_targets.mt.targets.0.id}"

» Argument Reference

The following arguments are supported:

  • file_system_id - (Required ForceNew) The ID of the FileSystem that owns the MountTarget.
  • access_group_name - (Optional) Filter results by a specific AccessGroupName.
  • type - (Optional) Filter results by a specific NetworkType.
  • mount_target_domain - (Deprecated, Optional) Filter results by a specific MountTargetDomain.
  • vpc_id - (Optional) Filter results by a specific VpcId.
  • vswitch_id - (Optional) Filter results by a specific VSwitchId.
  • ids - (Optional, Available 1.53.0+) A list of MountTargetDomain.
  • output_file - (Optional) File name where to save data source results (after running terraform plan).

» Attributes Reference

The following attributes are exported in addition to the arguments listed above:

  • ids - A list of MountTargetDomain.
  • targets - A list of MountTargetDomains. Each element contains the following attributes: