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. |
AccessGroupName
Required
AccessGroupName interface{}
- Type: interface{}
Property accessGroupName: Permission group name.
FileSystemType
Optional
FileSystemType interface{}
- Type: interface{}
Property fileSystemType: The type of file system.
Values: standard: the general NAS extreme: the extreme NAS
Ipv6SourceCidrIp
Optional
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.
Priority
Optional
Priority interface{}
- Type: interface{}
Property priority: Priority level.
Range: 1-100. Default value: 1
RwAccessType
Optional
RwAccessType interface{}
- Type: interface{}
Property rwAccessType: Read-write permission type: RDWR (default), RDONLY.
SourceCidrIp
Optional
SourceCidrIp interface{}
- Type: interface{}
Property sourceCidrIp: Address or address segment.
UserAccessType
Optional
UserAccessType interface{}
- Type: interface{}
Property userAccessType: User permission type: no_squash (default), root_squash, all_squash.