alicloud_nas_access_group

Provides a NAS Access Group resource. File system Access Group.

In NAS, the permission group acts as a whitelist that allows you to restrict file system access. You can allow specified IP addresses or CIDR blocks to access the file system, and assign different levels of access permission to different IP addresses or CIDR blocks by adding rules to the permission group. For information about NAS Access Group and how to use it, see What is NAS Access Group

Example Usage

Basic Usage

resource "alicloud_nas_access_group" "foo" {
  access_group_name = "terraform-example"
  access_group_type = "Vpc"
  description       = "terraform-example"
  file_system_type  = "extreme"
}

Argument Reference

The following arguments are supported:

Attributes Reference

The following attributes are exported:

Timeouts

The timeouts block allows you to specify timeouts for certain actions:

Import

NAS Access Group can be imported using the id, e.g.

$ terraform import alicloud_nas_access_group.example <access_group_name>:<file_system_type>