ProtocolMountTargetProps
Properties for defining a ProtocolMountTarget.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-nas-protocolmounttarget
Initializer
import com.aliyun.ros.cdk.nas.ProtocolMountTargetProps;
ProtocolMountTargetProps.builder()
.fileSystemId(java.lang.String)
.fileSystemId(IResolvable)
.protocolServiceId(java.lang.String)
.protocolServiceId(IResolvable)
.vpcId(java.lang.String)
.vpcId(IResolvable)
.vSwitchId(java.lang.String)
.vSwitchId(IResolvable)
// .accessGroupName(java.lang.String)
// .accessGroupName(IResolvable)
// .description(java.lang.String)
// .description(IResolvable)
// .fsetId(java.lang.String)
// .fsetId(IResolvable)
// .path(java.lang.String)
// .path(IResolvable)
.build();
Properties
| Name | Type | Description |
|---|---|---|
fileSystemId | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Property fileSystemId: File system ID. |
protocolServiceId | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Property protocolServiceId: Agreement service ID. |
vpcId | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Property vpcId: Proper network ID exported by the protocol service. |
vSwitchId | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Property vSwitchId: The vSwitch ID of the export directory. |
accessGroupName | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Property accessGroupName: The name of the permissions group. |
description | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Property description: The description of the export directory for the protocol service. |
fsetId | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Property fsetId: Fileset ID needs to be exported. |
path | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Property path: The path of the CPFS directory that you want to export. |
fileSystemIdRequired
public java.lang.Object getFileSystemId();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property fileSystemId: File system ID.
protocolServiceIdRequired
public java.lang.Object getProtocolServiceId();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property protocolServiceId: Agreement service ID.
vpcIdRequired
public java.lang.Object getVpcId();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property vpcId: Proper network ID exported by the protocol service.
vSwitchIdRequired
public java.lang.Object getVSwitchId();
- Type: java.lang.String OR com.aliyun.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 java.lang.Object getAccessGroupName();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property accessGroupName: The name of the permissions group.
Default value: DEFAULT_VPC_GROUP_NAME
descriptionOptional
public java.lang.Object getDescription();
- Type: java.lang.String OR com.aliyun.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:\/\/orhttps:\/\/. - The description can contain letters, digits, colons (:), underscores (_), and hyphens (-).
fsetIdOptional
public java.lang.Object getFsetId();
- Type: java.lang.String OR com.aliyun.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 java.lang.Object getPath();
- Type: java.lang.String OR com.aliyun.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
\/.