alicloud_nas_snapshots

This data source provides the Nas Snapshots of the current Alibaba Cloud user.

Example Usage

Basic Usage

data "alicloud_nas_snapshots" "ids" {}
output "nas_snapshot_id_1" {
  value = data.alicloud_nas_snapshots.ids.snapshots.0.id
}

data "alicloud_nas_snapshots" "nameRegex" {
  name_regex = "^my-Snapshot"
}
output "nas_snapshot_id_2" {
  value = data.alicloud_nas_snapshots.nameRegex.snapshots.0.id
}

Argument Reference

The following arguments are supported:

Argument Reference

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