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: 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: Name of the file system.
partitionNumber number | @alicloud/ros-cdk-core.IResolvable Property partitionNumber: The reserved parameters.
provisionedThroughputInMiBps number | @alicloud/ros-cdk-core.IResolvable Property provisionedThroughputInMiBps: Preset handling capacity.
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 data volume reaches the file system capacity, data cannot be written. Unit: GB


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

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


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: 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 (_).


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 handling capacity.

Unit: MB\/sdata range: 1-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.