Skip to content

ProtocolServiceProps

Properties for defining a ProtocolService.

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

Initializer

import com.aliyun.ros.cdk.nas.ProtocolServiceProps;
ProtocolServiceProps.builder()
    .fileSystemId(java.lang.String)
    .fileSystemId(IResolvable)
    .protocolSpec(java.lang.String)
    .protocolSpec(IResolvable)
    .protocolType(java.lang.String)
    .protocolType(IResolvable)
    .vpcId(java.lang.String)
    .vpcId(IResolvable)
    .vSwitchId(java.lang.String)
    .vSwitchId(IResolvable)
//  .description(java.lang.String)
//  .description(IResolvable)
//  .throughput(java.lang.Number)
//  .throughput(IResolvable)
    .build();

Properties

Name Type Description
fileSystemId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property fileSystemId: File system ID.
protocolSpec java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property protocolSpec: The spec of protocol service.
protocolType java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property protocolType: The protocol type of agreement service.
vpcId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property vpcId: The protocol service VPCID needs to be consistent with the file system VPC.
vSwitchId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property vSwitchId: Agreement service vswitchid.
description java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property description: Description of protocol service.The console shows the "protocol service 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 (-).
throughput java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable Property throughput: The bandwidth of the agreement service.

fileSystemIdRequired

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

Property fileSystemId: File system ID.


protocolSpecRequired

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

Property protocolSpec: The spec of protocol service.

Default: General. Values: General


protocolTypeRequired

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

Property protocolType: The protocol type of agreement service.

Ranges: NFS: Agreement service supports NFS protocol access. The default value: NFS.


vpcIdRequired

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

Property vpcId: The protocol service VPCID needs to be consistent with the file system VPC.


vSwitchIdRequired

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

Property vSwitchId: Agreement service vswitchid.


descriptionOptional

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

Property description: Description of protocol service.The console shows the "protocol service 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 (-).


throughputOptional

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

Property throughput: The bandwidth of the agreement service.

Unit: MB/S.