Skip to content

ProtocolMountTargetProps

Properties for defining a ProtocolMountTarget.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-nas-protocolmounttarget

Initializer

import "github.com/alibabacloud-go/ros-cdk/alicloudroscdknas"
&alicloudroscdknas.ProtocolMountTargetProps {
    FileSystemId: interface{},
    ProtocolServiceId: interface{},
    VpcId: interface{},
    VSwitchId: interface{},
    AccessGroupName: interface{},
    Description: interface{},
    FsetId: interface{},
    Path: interface{},
}

Properties

Name Type Description
FileSystemId interface{} Property fileSystemId: File system ID.
ProtocolServiceId interface{} Property protocolServiceId: Agreement service ID.
VpcId interface{} Property vpcId: Proper network ID exported by the protocol service.
VSwitchId interface{} Property vSwitchId: The vSwitch ID of the export directory.
AccessGroupName interface{} Property accessGroupName: The name of the permissions group.
Description interface{} Property description: The description of the export directory for the protocol service.
FsetId interface{} Property fsetId: Fileset ID needs to be exported.
Path interface{} Property path: The path of the CPFS directory that you want to export.

FileSystemIdRequired

FileSystemId interface{}
  • Type: interface{}

Property fileSystemId: File system ID.


ProtocolServiceIdRequired

ProtocolServiceId interface{}
  • Type: interface{}

Property protocolServiceId: Agreement service ID.


VpcIdRequired

VpcId interface{}
  • Type: interface{}

Property vpcId: Proper network ID exported by the protocol service.


VSwitchIdRequired

VSwitchId interface{}
  • Type: interface{}

Property vSwitchId: The vSwitch ID of the export directory.

If the storage redundancy type of the file system is not zone-redundant (ZRS) and the VpcId is set, this field is required.


AccessGroupNameOptional

AccessGroupName interface{}
  • Type: interface{}

Property accessGroupName: The name of the permissions group.

Default value: DEFAULT_VPC_GROUP_NAME


DescriptionOptional

Description interface{}
  • Type: interface{}

Property description: The description of the export directory for the protocol service.

The name of the export directory appears in the console. Limits:

  • The description must be 2 to 128 characters in length.
  • The description must start with a letter but cannot start with http:\/\/ or https:\/\/.
  • The description can contain letters, digits, colons (:), underscores (_), and hyphens (-).

FsetIdOptional

FsetId interface{}
  • Type: interface{}

Property fsetId: Fileset ID needs to be exported.

limit: The Fileset must exist. A Fileset allows only one export directory. Fileset and Path can only specify one.


PathOptional

Path interface{}
  • Type: interface{}

Property path: The path of the CPFS directory that you want to export.

Limits:

  • The directory already exists in the CPFS file system.
  • You can create only one export directory for a directory.
  • You can specify either a fileset or a path. Format:
  • The path must be 1 to 1,024 characters in length.
  • The path must be encoded in UTF-8.
  • The path must start and end with a forward slash (/). The root directory is \/.