Skip to content

AccessRuleProps

Properties for defining a AccessRule.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-dfs-accessrule

Initializer

using AlibabaCloud.SDK.ROS.CDK.Dfs;
new AccessRuleProps {
    object AccessGroupId,
    object NetworkSegment,
    object RwAccessType,
    object Description = null,
    object Priority = null
};

Properties

Name Type Description
AccessGroupId object Property accessGroupId: The resource ID of Access Group.
NetworkSegment object Property networkSegment: The NetworkSegment of the Access Rule.
RwAccessType object Property rwAccessType: The read\/write permission of the authorized object on the file system.
Description object Property description: The Description of the Access Rule.
Priority object Property priority: The Priority of the Access Rule.

AccessGroupIdRequired

public object AccessGroupId { get; set; }
  • Type: object

Property accessGroupId: The resource ID of Access Group.


NetworkSegmentRequired

public object NetworkSegment { get; set; }
  • Type: object

Property networkSegment: The NetworkSegment of the Access Rule.


RwAccessTypeRequired

public object RwAccessType { get; set; }
  • Type: object

Property rwAccessType: The read\/write permission of the authorized object on the file system.

Values: RDWR (default) : read and write. RDONLY: read-only


DescriptionOptional

public object Description { get; set; }
  • Type: object

Property description: The Description of the Access Rule.


PriorityOptional

public object Priority { get; set; }
  • Type: object

Property priority: The Priority of the Access Rule.

Valid values: 1 to 100. NOTE: When multiple rules are matched by the same authorized object, the high-priority rule takes effect. 1 is the highest priority.