AccessRuleProps
Properties for defining a AccessRule.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-nas-accessrule
Initializer
import "github.com/alibabacloud-go/ros-cdk/alicloudroscdknas"
&alicloudroscdknas.AccessRuleProps {
AccessGroupName: interface{},
FileSystemType: interface{},
Ipv6SourceCidrIp: interface{},
Priority: interface{},
RwAccessType: interface{},
SourceCidrIp: interface{},
UserAccessType: interface{},
}
Properties
| Name | Type | Description |
|---|---|---|
AccessGroupName |
interface{} |
Property accessGroupName: Permission group name. |
FileSystemType |
interface{} |
Property fileSystemType: The type of file system. |
Ipv6SourceCidrIp |
interface{} |
Property ipv6SourceCidrIp: Source IPv6 CIDR address segment. |
Priority |
interface{} |
Property priority: Priority level. |
RwAccessType |
interface{} |
Property rwAccessType: Read-write permission type: RDWR (default), RDONLY. |
SourceCidrIp |
interface{} |
Property sourceCidrIp: Address or address segment. |
UserAccessType |
interface{} |
Property userAccessType: User permission type: no_squash (default), root_squash, all_squash. |
AccessGroupNameRequired
AccessGroupName interface{}
- Type: interface{}
Property accessGroupName: Permission group name.
FileSystemTypeOptional
FileSystemType interface{}
- Type: interface{}
Property fileSystemType: The type of file system.
Values: standard: the general NAS extreme: the extreme NAS
Ipv6SourceCidrIpOptional
Ipv6SourceCidrIp interface{}
- Type: interface{}
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
Priority interface{}
- Type: interface{}
Property priority: Priority level.
Range: 1-100. Default value: 1
RwAccessTypeOptional
RwAccessType interface{}
- Type: interface{}
Property rwAccessType: Read-write permission type: RDWR (default), RDONLY.
SourceCidrIpOptional
SourceCidrIp interface{}
- Type: interface{}
Property sourceCidrIp: Address or address segment.
UserAccessTypeOptional
UserAccessType interface{}
- Type: interface{}
Property userAccessType: User permission type: no_squash (default), root_squash, all_squash.