Skip to content

FileSystemProps

Properties for defining a FileSystem.

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

Initializer

import { FileSystemProps } from '@alicloud/ros-cdk-dfs'
const fileSystemProps: FileSystemProps = { ... }

Properties

Name Type Description
protocolType string | @alicloud/ros-cdk-core.IResolvable Property protocolType: Protocol type, only support HDFS(HadoopFileSystem).
spaceCapacity number | @alicloud/ros-cdk-core.IResolvable Property spaceCapacity: Capacity of the file system.
storageType string | @alicloud/ros-cdk-core.IResolvable Property storageType: Type of storage media.
zoneId string | @alicloud/ros-cdk-core.IResolvable Property zoneId: zone id.
dataRedundancyType string | @alicloud/ros-cdk-core.IResolvable Property dataRedundancyType: Data redundancy mode of the file system.
description string | @alicloud/ros-cdk-core.IResolvable Property description: The description of the file system.
fileSystemName string | @alicloud/ros-cdk-core.IResolvable Property fileSystemName: File system name.
partitionNumber number | @alicloud/ros-cdk-core.IResolvable Property partitionNumber: The reserved parameters.
provisionedThroughputInMiBps number | @alicloud/ros-cdk-core.IResolvable Property provisionedThroughputInMiBps: Preset throughput.
storageSetName string | @alicloud/ros-cdk-core.IResolvable Property storageSetName: The reserved parameters.
throughputMode string | @alicloud/ros-cdk-core.IResolvable Property throughputMode: Throughput mode Values: Standard(default): standard throughputProvisioned: preset throughput.

protocolTypeRequired

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

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


spaceCapacityRequired

public readonly spaceCapacity: number | IResolvable;
  • Type: number | @alicloud/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


storageTypeRequired

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

Property storageType: Type of storage media.

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


zoneIdRequired

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

Property zoneId: zone id.


dataRedundancyTypeOptional

public readonly dataRedundancyType: string | IResolvable;
  • Type: string | @alicloud/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

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

Property description: The description of the file system.


fileSystemNameOptional

public readonly fileSystemName: string | IResolvable;
  • Type: string | @alicloud/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 (-).


partitionNumberOptional

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

Property partitionNumber: The reserved parameters.


provisionedThroughputInMiBpsOptional

public readonly provisionedThroughputInMiBps: number | IResolvable;
  • Type: number | @alicloud/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


storageSetNameOptional

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

Property storageSetName: The reserved parameters.


throughputModeOptional

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

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