Skip to content

ProtocolMountTargetProps

Properties for defining a ProtocolMountTarget.

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

Initializer

import ros_cdk_nas
ros_cdk_nas.ProtocolMountTargetProps(
  file_system_id: typing.Union[str, IResolvable],
  protocol_service_id: typing.Union[str, IResolvable],
  vpc_id: typing.Union[str, IResolvable],
  v_switch_id: typing.Union[str, IResolvable],
  access_group_name: typing.Union[str, IResolvable] = None,
  description: typing.Union[str, IResolvable] = None,
  fset_id: typing.Union[str, IResolvable] = None,
  path: typing.Union[str, IResolvable] = None
)

Properties

Name Type Description
file_system_id typing.Union[str, ros_cdk_core.IResolvable] Property fileSystemId: File system ID.
protocol_service_id typing.Union[str, ros_cdk_core.IResolvable] Property protocolServiceId: Agreement service ID.
vpc_id typing.Union[str, ros_cdk_core.IResolvable] Property vpcId: Proper network ID exported by the protocol service.
v_switch_id typing.Union[str, ros_cdk_core.IResolvable] Property vSwitchId: The vSwitch ID of the export directory.
access_group_name typing.Union[str, ros_cdk_core.IResolvable] Property accessGroupName: The name of the permissions group.
description typing.Union[str, ros_cdk_core.IResolvable] Property description: The description of the export directory for the protocol service.
fset_id typing.Union[str, ros_cdk_core.IResolvable] Property fsetId: Fileset ID needs to be exported.
path typing.Union[str, ros_cdk_core.IResolvable] Property path: The path of the CPFS directory that you want to export.

file_system_idRequired

file_system_id: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property fileSystemId: File system ID.


protocol_service_idRequired

protocol_service_id: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property protocolServiceId: Agreement service ID.


vpc_idRequired

vpc_id: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

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


v_switch_idRequired

v_switch_id: typing.Union[str, IResolvable]
  • Type: typing.Union[str, 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.


access_group_nameOptional

access_group_name: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property accessGroupName: The name of the permissions group.

Default value: DEFAULT_VPC_GROUP_NAME


descriptionOptional

description: typing.Union[str, IResolvable]
  • Type: typing.Union[str, 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 (-).

fset_idOptional

fset_id: typing.Union[str, IResolvable]
  • Type: typing.Union[str, 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

path: typing.Union[str, IResolvable]
  • Type: typing.Union[str, 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 \/.