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 the protocol 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: The description of the protocol service.
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 the protocol service.

Valid value: NFS (default). Only NFSv3 is supported.


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: The description of the protocol service.

The name of the protocol service 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:\/\/ or https:\/\/. * The description can contain letters, digits, colons (:), underscores (_), and hyphens (-).


throughputOptional

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

Property throughput: The bandwidth of the agreement service.

Unit: MB\/S.