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: Data 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: File system name.
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 throughput.
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 storage data size reaches the file system capacity, no further data can be written. Unit: GiB


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: Data redundancy mode of the file system.

Valid values:

  • LRS (default): locally redundant storage
  • ZRS: zone-redundant storage. When ZRS is selected, the zoneId parameter must be a string containing a list of multiple zone IDs for zone-redundant deployment, for example, zoneId1,zoneId2.

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: File system name.

The naming convention is as follows:

  • Length must be 6 to 64 characters.
  • Must be globally unique and cannot be an empty string.
  • Supports English letters and can contain digits, underscores (_), and hyphens (-).

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 throughput.

This parameter is required when the ThroughputMode parameter is set to Provisioned. Unit: MB/s Valid values: 1 to 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.