AccessGroup

class AccessGroup : KotlinCustomResource

Provides a NAS Access Group resource. 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

NOTE: Available in v1.33.0+.

Example Usage

Basic Usage

package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.alicloud.nas.AccessGroup;
import com.pulumi.alicloud.nas.AccessGroupArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var foo = new AccessGroup("foo", AccessGroupArgs.builder()
.accessGroupName("terraform-example")
.accessGroupType("Vpc")
.description("terraform-example")
.fileSystemType("extreme")
.build());
}
}

Import

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

$ pulumi import alicloud:nas/accessGroup:AccessGroup foo tf_testAccNasConfig:standard

Properties

Link copied to clipboard
val accessGroupName: Output<String>

A Name of one Access Group.

Link copied to clipboard
val accessGroupType: Output<String>

A Type of one Access Group. Valid values: Vpc and Classic.

Link copied to clipboard
val description: Output<String>?

The Access Group description.

Link copied to clipboard
val fileSystemType: Output<String>?

The type of file system. Valid values: standard and extreme. Default to standard. Note that the extreme only support Vpc Network.

Link copied to clipboard
val id: Output<String>
Link copied to clipboard
val name: Output<String>

Replaced by access_group_name after version 1.92.0.

Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val type: Output<String>

Replaced by access_group_type after version 1.92.0.

Link copied to clipboard
val urn: Output<String>