AccessRuleProps
Properties for defining a AccessRule
.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-nas-accessrule
Initializer
using AlibabaCloud.SDK.ROS.CDK.Nas;
new AccessRuleProps {
object AccessGroupName,
object FileSystemType = null,
object Ipv6SourceCidrIp = null,
object Priority = null,
object RwAccessType = null,
object SourceCidrIp = null,
object UserAccessType = null
};
Properties
Name | Type | Description |
---|---|---|
AccessGroupName |
object |
Property accessGroupName: Permission group name. |
FileSystemType |
object |
Property fileSystemType: The type of file system. |
Ipv6SourceCidrIp |
object |
Property ipv6SourceCidrIp: Source IPv6 CIDR address segment. |
Priority |
object |
Property priority: Priority level. |
RwAccessType |
object |
Property rwAccessType: Read-write permission type: RDWR (default), RDONLY. |
SourceCidrIp |
object |
Property sourceCidrIp: Address or address segment. |
UserAccessType |
object |
Property userAccessType: User permission type: no_squash (default), root_squash, all_squash. |
AccessGroupName
Required
public object AccessGroupName { get; set; }
- Type: object
Property accessGroupName: Permission group name.
FileSystemType
Optional
public object FileSystemType { get; set; }
- Type: object
Property fileSystemType: The type of file system.
Values: standard: the general NAS extreme: the extreme NAS
Ipv6SourceCidrIp
Optional
public object Ipv6SourceCidrIp { get; set; }
- Type: object
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 object Priority { get; set; }
- Type: object
Property priority: Priority level.
Range: 1-100. Default value: 1
RwAccessType
Optional
public object RwAccessType { get; set; }
- Type: object
Property rwAccessType: Read-write permission type: RDWR (default), RDONLY.
SourceCidrIp
Optional
public object SourceCidrIp { get; set; }
- Type: object
Property sourceCidrIp: Address or address segment.
UserAccessType
Optional
public object UserAccessType { get; set; }
- Type: object
Property userAccessType: User permission type: no_squash (default), root_squash, all_squash.