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. |
AccessGroupNameRequired
public object AccessGroupName { get; set; }
- Type: object
Property accessGroupName: Permission group name.
FileSystemTypeOptional
public object FileSystemType { get; set; }
- Type: object
Property fileSystemType: The type of file system.
Values: standard: the general NAS extreme: the extreme NAS
Ipv6SourceCidrIpOptional
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.
PriorityOptional
public object Priority { get; set; }
- Type: object
Property priority: Priority level.
Range: 1-100. Default value: 1
RwAccessTypeOptional
public object RwAccessType { get; set; }
- Type: object
Property rwAccessType: Read-write permission type: RDWR (default), RDONLY.
SourceCidrIpOptional
public object SourceCidrIp { get; set; }
- Type: object
Property sourceCidrIp: Address or address segment.
UserAccessTypeOptional
public object UserAccessType { get; set; }
- Type: object
Property userAccessType: User permission type: no_squash (default), root_squash, all_squash.