Skip to content

ProtocolServiceProps

Properties for defining a ProtocolService.

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

Initializer

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

Properties

Name Type Description
fileSystemId string | @alicloud/ros-cdk-core.IResolvable Property fileSystemId: File system ID.
protocolSpec string | @alicloud/ros-cdk-core.IResolvable Property protocolSpec: The spec of protocol service.
protocolType string | @alicloud/ros-cdk-core.IResolvable Property protocolType: The protocol type of agreement service.
vpcId string | @alicloud/ros-cdk-core.IResolvable Property vpcId: The protocol service VPCID needs to be consistent with the file system VPC.
vSwitchId string | @alicloud/ros-cdk-core.IResolvable Property vSwitchId: Agreement service vswitchid.
description string | @alicloud/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 number | @alicloud/ros-cdk-core.IResolvable Property throughput: The bandwidth of the agreement service.

fileSystemIdRequired

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

Property fileSystemId: File system ID.


protocolSpecRequired

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

Property protocolSpec: The spec of protocol service.

Default: General. Values: General


protocolTypeRequired

public readonly protocolType: string | IResolvable;
  • Type: string | @alicloud/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 readonly vpcId: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

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


vSwitchIdRequired

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

Property vSwitchId: Agreement service vswitchid.


descriptionOptional

public readonly description: string | IResolvable;
  • Type: string | @alicloud/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 readonly throughput: number | IResolvable;
  • Type: number | @alicloud/ros-cdk-core.IResolvable

Property throughput: The bandwidth of the agreement service.

Unit: MB\/S.