Skip to content

AccessRuleProps

Properties for defining a AccessRule.

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

Initializer

import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkdfs"
&alicloudroscdkdfs.AccessRuleProps {
    AccessGroupId: interface{},
    NetworkSegment: interface{},
    RwAccessType: interface{},
    Description: interface{},
    Priority: interface{},
}

Properties

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

AccessGroupIdRequired

AccessGroupId interface{}
  • Type: interface{}

Property accessGroupId: The resource ID of Access Group.


NetworkSegmentRequired

NetworkSegment interface{}
  • Type: interface{}

Property networkSegment: The NetworkSegment of the Access Rule.


RwAccessTypeRequired

RwAccessType interface{}
  • Type: interface{}

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

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


DescriptionOptional

Description interface{}
  • Type: interface{}

Property description: The Description of the Access Rule.


PriorityOptional

Priority interface{}
  • Type: interface{}

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.