Skip to content

MountTargetProps

Properties for defining a MountTarget.

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

Initializer

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

Properties

Name Type Description
accessGroupName string | @alicloud/ros-cdk-core.IResolvable Property accessGroupName: The name of the permission group.
fileSystemId string | @alicloud/ros-cdk-core.IResolvable Property fileSystemId: The ID of the file system.
networkType string | @alicloud/ros-cdk-core.IResolvable Property networkType: Network type, including Vpc and Classic networks.
enableIpv6 boolean | @alicloud/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.
securityGroupId string | @alicloud/ros-cdk-core.IResolvable Property securityGroupId: Security group Id.
status string | @alicloud/ros-cdk-core.IResolvable Property status: Status, including Active and Inactive.
vpcId string | @alicloud/ros-cdk-core.IResolvable Property vpcId: VPC network ID.
vSwitchId string | @alicloud/ros-cdk-core.IResolvable Property vSwitchId: VSwitch ID.

accessGroupNameRequired

public readonly accessGroupName: string | IResolvable;
  • Type: string | @alicloud/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.


fileSystemIdRequired

public readonly fileSystemId: string | IResolvable;
  • Type: string | @alicloud/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****.

networkTypeRequired

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

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


enableIpv6Optional

public readonly enableIpv6: boolean | IResolvable;
  • Type: boolean | @alicloud/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.


securityGroupIdOptional

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

Property securityGroupId: Security group Id.


statusOptional

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

Property status: Status, including Active and Inactive.


vpcIdOptional

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

Property vpcId: VPC network ID.


vSwitchIdOptional

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

Property vSwitchId: VSwitch ID.