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 agreement 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: 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 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 agreement service.

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


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: 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

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.