Skip to content

FileSystemProps

Properties for defining a FileSystem.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-dfs-filesystem

Initializer

import ros_cdk_dfs
ros_cdk_dfs.FileSystemProps(
  protocol_type: typing.Union[str, IResolvable],
  space_capacity: typing.Union[typing.Union[int, float], IResolvable],
  storage_type: typing.Union[str, IResolvable],
  zone_id: typing.Union[str, IResolvable],
  data_redundancy_type: typing.Union[str, IResolvable] = None,
  description: typing.Union[str, IResolvable] = None,
  file_system_name: typing.Union[str, IResolvable] = None,
  partition_number: typing.Union[typing.Union[int, float], IResolvable] = None,
  provisioned_throughput_in_mi_bps: typing.Union[typing.Union[int, float], IResolvable] = None,
  storage_set_name: typing.Union[str, IResolvable] = None,
  throughput_mode: typing.Union[str, IResolvable] = None
)

Properties

Name Type Description
protocol_type typing.Union[str, ros_cdk_core.IResolvable] Property protocolType: Protocol type, only support HDFS(HadoopFileSystem).
space_capacity typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable] Property spaceCapacity: Capacity of the file system.
storage_type typing.Union[str, ros_cdk_core.IResolvable] Property storageType: Type of storage media.
zone_id typing.Union[str, ros_cdk_core.IResolvable] Property zoneId: zone id.
data_redundancy_type typing.Union[str, ros_cdk_core.IResolvable] Property dataRedundancyType: Redundancy mode of the file system.
description typing.Union[str, ros_cdk_core.IResolvable] Property description: The description of the file system.
file_system_name typing.Union[str, ros_cdk_core.IResolvable] Property fileSystemName: Name of the file system.
partition_number typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable] Property partitionNumber: The reserved parameters.
provisioned_throughput_in_mi_bps typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable] Property provisionedThroughputInMiBps: Preset handling capacity.
storage_set_name typing.Union[str, ros_cdk_core.IResolvable] Property storageSetName: The reserved parameters.
throughput_mode typing.Union[str, ros_cdk_core.IResolvable] Property throughputMode: Throughput mode Values: Standard(default): standard throughputProvisioned: preset throughput.

protocol_typeRequired

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

Property protocolType: Protocol type, only support HDFS(HadoopFileSystem).


space_capacityRequired

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

Property spaceCapacity: Capacity of the file system.

When the actual data volume reaches the file system capacity, data cannot be written. Unit: GB


storage_typeRequired

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

Property storageType: Type of storage media.

Values: STANDARD (default) : standard type. PERFORMANCE: performance type.


zone_idRequired

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

Property zoneId: zone id.


data_redundancy_typeOptional

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

Property dataRedundancyType: Redundancy mode of the file system.

Values: LRS (default) : local redundancy. ZRS: in-city redundancy.


descriptionOptional

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

Property description: The description of the file system.


file_system_nameOptional

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

Property fileSystemName: Name of the file system.

The naming rules are as follows: The value contains 6 to 100 characters. Globally unique and cannot be an empty string. The value can contain letters and digits and underscores (_).


partition_numberOptional

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

Property partitionNumber: The reserved parameters.


provisioned_throughput_in_mi_bpsOptional

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

Property provisionedThroughputInMiBps: Preset handling capacity.

Unit: MB/sdata range: 1-5120


storage_set_nameOptional

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

Property storageSetName: The reserved parameters.


throughput_modeOptional

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

Property throughputMode: Throughput mode Values: Standard(default): standard throughputProvisioned: preset throughput.