Skip to content

MountTargetProps

Properties for defining a MountTarget.

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

Initializer

import ros_cdk_nas
ros_cdk_nas.MountTargetProps(
  access_group_name: typing.Union[str, IResolvable],
  file_system_id: typing.Union[str, IResolvable],
  network_type: typing.Union[str, IResolvable],
  enable_ipv6: typing.Union[bool, IResolvable] = None,
  security_group_id: typing.Union[str, IResolvable] = None,
  status: typing.Union[str, IResolvable] = None,
  vpc_id: typing.Union[str, IResolvable] = None,
  v_switch_id: typing.Union[str, IResolvable] = None
)

Properties

Name Type Description
access_group_name typing.Union[str, ros_cdk_core.IResolvable] Property accessGroupName: The name of the permission group.
file_system_id typing.Union[str, ros_cdk_core.IResolvable] Property fileSystemId: The ID of the file system.
network_type typing.Union[str, ros_cdk_core.IResolvable] Property networkType: Network type, including Vpc and Classic networks.
enable_ipv6 typing.Union[bool, ros_cdk_core.IResolvable] Property enableIpv6: Whether to create an IPv6 mount point.Value: true: create false (default): do not create Note Currently, only the ultra-fast NAS in mainland China supports the IPv6 function, and the file system needs to enable the IPv6 function.
security_group_id typing.Union[str, ros_cdk_core.IResolvable] Property securityGroupId: Security group Id.
status typing.Union[str, ros_cdk_core.IResolvable] Property status: Status, including Active and Inactive.
vpc_id typing.Union[str, ros_cdk_core.IResolvable] Property vpcId: VPC network ID.
v_switch_id typing.Union[str, ros_cdk_core.IResolvable] Property vSwitchId: VSwitch ID.

access_group_nameRequired

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

Property accessGroupName: The name of the permission group.

This parameter is required if you create a mount target for a General-purpose NAS file system or an Extreme NAS file system. The default permission group for virtual private clouds (VPCs) is named DEFAULT_VPC_GROUP_NAME.


file_system_idRequired

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

Property fileSystemId: The ID of the file system.

  • Sample ID of a General-purpose NAS file system: 31a8e4****.
  • The IDs of Extreme NAS file systems must start with extreme-, for example, extreme-0015****.
  • The IDs of CPFS file systems must start with cpfs-. Example: cpfs-125487****.

network_typeRequired

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

Property networkType: Network type, including Vpc and Classic networks.


enable_ipv6Optional

enable_ipv6: typing.Union[bool, IResolvable]
  • Type: typing.Union[bool, ros_cdk_core.IResolvable]

Property enableIpv6: Whether to create an IPv6 mount point.Value: true: create false (default): do not create Note Currently, only the ultra-fast NAS in mainland China supports the IPv6 function, and the file system needs to enable the IPv6 function.


security_group_idOptional

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

Property securityGroupId: Security group Id.


statusOptional

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

Property status: Status, including Active and Inactive.


vpc_idOptional

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

Property vpcId: VPC network ID.


v_switch_idOptional

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

Property vSwitchId: VSwitch ID.