Skip to content

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: Switch ID exported by the protocol service.
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: Description of the protocol service to export the directory.The console is displayed as the export directory name. limit: The length is 2 to 128 English or Chinese characters. Start with a lowercase letter or Chinese, and you cannot start with http:\/\/ and https: \/\/. It can contain numbers, half-horn colon (:), down line (_) or short lines (-).
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 needs to be exported.

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: Switch ID exported by the protocol service.


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: Description of the protocol service to export the directory.The console is displayed as the export directory name. limit: The length is 2 to 128 English or Chinese characters. Start with a lowercase letter or Chinese, and you cannot start with http:\/\/ and https: \/\/. It can contain numbers, half-horn colon (:), down line (_) or short lines (-).


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 needs to be exported.

limit: This directory must be existing directory on CPFS. The same directory allows only one export. Fileset and Path can only specify one. Format: The length is 1 to 1024 characters. Use UTF-8 encoding. It must start with the positive oblique line (/), and the root directory must be/.