AccessRuleProps
Properties for defining a AccessRule
.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-nas-accessrule
Initializer
import { AccessRuleProps } from '@alicloud/ros-cdk-nas'
const accessRuleProps: AccessRuleProps = { ... }
Properties
Name | Type | Description |
---|---|---|
accessGroupName |
string | @alicloud/ros-cdk-core.IResolvable |
Property accessGroupName: Permission group name. |
fileSystemType |
string | @alicloud/ros-cdk-core.IResolvable |
Property fileSystemType: The type of file system. |
ipv6SourceCidrIp |
string | @alicloud/ros-cdk-core.IResolvable |
Property ipv6SourceCidrIp: Source IPv6 CIDR address segment. |
priority |
number | @alicloud/ros-cdk-core.IResolvable |
Property priority: Priority level. |
rwAccessType |
string | @alicloud/ros-cdk-core.IResolvable |
Property rwAccessType: Read-write permission type: RDWR (default), RDONLY. |
sourceCidrIp |
string | @alicloud/ros-cdk-core.IResolvable |
Property sourceCidrIp: Address or address segment. |
userAccessType |
string | @alicloud/ros-cdk-core.IResolvable |
Property userAccessType: User permission type: no_squash (default), root_squash, all_squash. |
accessGroupName
Required
public readonly accessGroupName: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property accessGroupName: Permission group name.
fileSystemType
Optional
public readonly fileSystemType: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property fileSystemType: The type of file system.
Values: standard: the general NAS extreme: the extreme NAS
ipv6SourceCidrIp
Optional
public readonly ipv6SourceCidrIp: string | IResolvable;
- Type: string | @alicloud/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.
priority
Optional
public readonly priority: number | IResolvable;
- Type: number | @alicloud/ros-cdk-core.IResolvable
Property priority: Priority level.
Range: 1-100. Default value: 1
rwAccessType
Optional
public readonly rwAccessType: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property rwAccessType: Read-write permission type: RDWR (default), RDONLY.
sourceCidrIp
Optional
public readonly sourceCidrIp: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property sourceCidrIp: Address or address segment.
userAccessType
Optional
public readonly userAccessType: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property userAccessType: User permission type: no_squash (default), root_squash, all_squash.