Skip to content

ProtocolServiceProps

Properties for defining a ProtocolService.

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

Initializer

import ros_cdk_nas
ros_cdk_nas.ProtocolServiceProps(
  file_system_id: typing.Union[str, IResolvable],
  protocol_spec: typing.Union[str, IResolvable],
  protocol_type: typing.Union[str, IResolvable],
  vpc_id: typing.Union[str, IResolvable],
  v_switch_id: typing.Union[str, IResolvable],
  description: typing.Union[str, IResolvable] = None,
  throughput: typing.Union[typing.Union[int, float], IResolvable] = None
)

Properties

Name Type Description
file_system_id typing.Union[str, ros_cdk_core.IResolvable] Property fileSystemId: File system ID.
protocol_spec typing.Union[str, ros_cdk_core.IResolvable] Property protocolSpec: The spec of protocol service.
protocol_type typing.Union[str, ros_cdk_core.IResolvable] Property protocolType: The protocol type of the protocol service.
vpc_id typing.Union[str, ros_cdk_core.IResolvable] Property vpcId: The protocol service VPCID needs to be consistent with the file system VPC.
v_switch_id typing.Union[str, ros_cdk_core.IResolvable] Property vSwitchId: Agreement service vswitchid.
description typing.Union[str, ros_cdk_core.IResolvable] Property description: The description of the protocol service.
throughput typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable] Property throughput: The bandwidth of the agreement service.

file_system_idRequired

file_system_id: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property fileSystemId: File system ID.


protocol_specRequired

protocol_spec: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property protocolSpec: The spec of protocol service.

Default: General. Values: General


protocol_typeRequired

protocol_type: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property protocolType: The protocol type of the protocol service.

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


vpc_idRequired

vpc_id: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

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


v_switch_idRequired

v_switch_id: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property vSwitchId: Agreement service vswitchid.


descriptionOptional

description: typing.Union[str, IResolvable]
  • Type: typing.Union[str, 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

throughput: typing.Union[typing.Union[int, float], IResolvable]
  • Type: typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable]

Property throughput: The bandwidth of the agreement service.

Unit: MB/S.