Skip to content

ProtocolMountTargetProps

Properties for defining a ProtocolMountTarget.

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

Initializer

import { ProtocolMountTargetProps } from '@alicloud/ros-cdk-nas'
const protocolMountTargetProps: ProtocolMountTargetProps = { ... }

Properties

Name Type Description
fileSystemId string | @alicloud/ros-cdk-core.IResolvable Property fileSystemId: File system ID.
protocolServiceId string | @alicloud/ros-cdk-core.IResolvable Property protocolServiceId: Agreement service ID.
vpcId string | @alicloud/ros-cdk-core.IResolvable Property vpcId: Proper network ID exported by the protocol service.
vSwitchId string | @alicloud/ros-cdk-core.IResolvable Property vSwitchId: The vSwitch ID of the export directory.
accessGroupName string | @alicloud/ros-cdk-core.IResolvable Property accessGroupName: The name of the permissions group.
description string | @alicloud/ros-cdk-core.IResolvable Property description: The description of the export directory for the protocol service.
fsetId string | @alicloud/ros-cdk-core.IResolvable Property fsetId: Fileset ID needs to be exported.
path string | @alicloud/ros-cdk-core.IResolvable Property path: The path of the CPFS directory that you want to export.

fileSystemIdRequired

public readonly fileSystemId: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property fileSystemId: File system ID.


protocolServiceIdRequired

public readonly protocolServiceId: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property protocolServiceId: Agreement service ID.


vpcIdRequired

public readonly vpcId: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

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


vSwitchIdRequired

public readonly vSwitchId: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

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

public readonly accessGroupName: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property accessGroupName: The name of the permissions group.

Default value: DEFAULT_VPC_GROUP_NAME


descriptionOptional

public readonly description: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

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

public readonly fsetId: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

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

public readonly path: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

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 \/.