Skip to content

MountTargetProps

Properties for defining a MountTarget.

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

Initializer

import com.aliyun.ros.cdk.nas.MountTargetProps;
MountTargetProps.builder()
    .accessGroupName(java.lang.String)
    .accessGroupName(IResolvable)
    .fileSystemId(java.lang.String)
    .fileSystemId(IResolvable)
    .networkType(java.lang.String)
    .networkType(IResolvable)
//  .enableIpv6(java.lang.Boolean)
//  .enableIpv6(IResolvable)
//  .securityGroupId(java.lang.String)
//  .securityGroupId(IResolvable)
//  .status(java.lang.String)
//  .status(IResolvable)
//  .vpcId(java.lang.String)
//  .vpcId(IResolvable)
//  .vSwitchId(java.lang.String)
//  .vSwitchId(IResolvable)
    .build();

Properties

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

accessGroupNameRequired

public java.lang.Object getAccessGroupName();
  • Type: java.lang.String OR com.aliyun.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 java.lang.Object getFileSystemId();
  • Type: java.lang.String OR com.aliyun.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 java.lang.Object getNetworkType();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

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


enableIpv6Optional

public java.lang.Object getEnableIpv6();
  • Type: java.lang.Boolean OR com.aliyun.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 java.lang.Object getSecurityGroupId();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property securityGroupId: Security group Id.


statusOptional

public java.lang.Object getStatus();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property status: Status, including Active and Inactive.


vpcIdOptional

public java.lang.Object getVpcId();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property vpcId: VPC network ID.


vSwitchIdOptional

public java.lang.Object getVSwitchId();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property vSwitchId: VSwitch ID.