Skip to content

FileSystemProps

Properties for defining a FileSystem.

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

Initializer

import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkdfs"
&alicloudroscdkdfs.FileSystemProps {
    ProtocolType: interface{},
    SpaceCapacity: interface{},
    StorageType: interface{},
    ZoneId: interface{},
    DataRedundancyType: interface{},
    Description: interface{},
    FileSystemName: interface{},
    PartitionNumber: interface{},
    ProvisionedThroughputInMiBps: interface{},
    StorageSetName: interface{},
    ThroughputMode: interface{},
}

Properties

Name Type Description
ProtocolType interface{} Property protocolType: Protocol type, only support HDFS(HadoopFileSystem).
SpaceCapacity interface{} Property spaceCapacity: Capacity of the file system.
StorageType interface{} Property storageType: Type of storage media.
ZoneId interface{} Property zoneId: zone id.
DataRedundancyType interface{} Property dataRedundancyType: Data redundancy mode of the file system.
Description interface{} Property description: The description of the file system.
FileSystemName interface{} Property fileSystemName: File system name.
PartitionNumber interface{} Property partitionNumber: The reserved parameters.
ProvisionedThroughputInMiBps interface{} Property provisionedThroughputInMiBps: Preset throughput.
StorageSetName interface{} Property storageSetName: The reserved parameters.
ThroughputMode interface{} Property throughputMode: Throughput mode Values: Standard(default): standard throughputProvisioned: preset throughput.

ProtocolTypeRequired

ProtocolType interface{}
  • Type: interface{}

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


SpaceCapacityRequired

SpaceCapacity interface{}
  • Type: interface{}

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

StorageType interface{}
  • Type: interface{}

Property storageType: Type of storage media.

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


ZoneIdRequired

ZoneId interface{}
  • Type: interface{}

Property zoneId: zone id.


DataRedundancyTypeOptional

DataRedundancyType interface{}
  • Type: interface{}

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 interface{}
  • Type: interface{}

Property description: The description of the file system.


FileSystemNameOptional

FileSystemName interface{}
  • Type: interface{}

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

PartitionNumber interface{}
  • Type: interface{}

Property partitionNumber: The reserved parameters.


ProvisionedThroughputInMiBpsOptional

ProvisionedThroughputInMiBps interface{}
  • Type: interface{}

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

StorageSetName interface{}
  • Type: interface{}

Property storageSetName: The reserved parameters.


ThroughputModeOptional

ThroughputMode interface{}
  • Type: interface{}

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