AccessRuleProps
Properties for defining a AccessRule.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-nas-accessrule
Initializer
import com.aliyun.ros.cdk.nas.AccessRuleProps;
AccessRuleProps.builder()
.accessGroupName(java.lang.String)
.accessGroupName(IResolvable)
// .fileSystemType(java.lang.String)
// .fileSystemType(IResolvable)
// .ipv6SourceCidrIp(java.lang.String)
// .ipv6SourceCidrIp(IResolvable)
// .priority(java.lang.Number)
// .priority(IResolvable)
// .rwAccessType(java.lang.String)
// .rwAccessType(IResolvable)
// .sourceCidrIp(java.lang.String)
// .sourceCidrIp(IResolvable)
// .userAccessType(java.lang.String)
// .userAccessType(IResolvable)
.build();
Properties
| Name | Type | Description |
|---|---|---|
accessGroupName |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property accessGroupName: Permission group name. |
fileSystemType |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property fileSystemType: The type of file system. |
ipv6SourceCidrIp |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property ipv6SourceCidrIp: Source IPv6 CIDR address segment. |
priority |
java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable |
Property priority: Priority level. |
rwAccessType |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property rwAccessType: Read-write permission type: RDWR (default), RDONLY. |
sourceCidrIp |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property sourceCidrIp: Address or address segment. |
userAccessType |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property userAccessType: User permission type: no_squash (default), root_squash, all_squash. |
accessGroupNameRequired
public java.lang.Object getAccessGroupName();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property accessGroupName: Permission group name.
fileSystemTypeOptional
public java.lang.Object getFileSystemType();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property fileSystemType: The type of file system.
Values: standard: the general NAS extreme: the extreme NAS
ipv6SourceCidrIpOptional
public java.lang.Object getIpv6SourceCidrIp();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property ipv6SourceCidrIp: Source IPv6 CIDR address segment.
IP addresses in CIDR format and IPv6 format are supported. Currently, only the ultra-fast NAS in mainland China supports the IPv6 function, and the file system needs to enable the IPv6 function. Only VPC private network is supported. IPv4 and IPv6 are mutually exclusive, and the types cannot be converted.
priorityOptional
public java.lang.Object getPriority();
- Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable
Property priority: Priority level.
Range: 1-100. Default value: 1
rwAccessTypeOptional
public java.lang.Object getRwAccessType();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property rwAccessType: Read-write permission type: RDWR (default), RDONLY.
sourceCidrIpOptional
public java.lang.Object getSourceCidrIp();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property sourceCidrIp: Address or address segment.
userAccessTypeOptional
public java.lang.Object getUserAccessType();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property userAccessType: User permission type: no_squash (default), root_squash, all_squash.