FileSystemProps
Properties for defining a FileSystem.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-nas-filesystem
Initializer
import { FileSystemProps } from '@alicloud/ros-cdk-nas'
const fileSystemProps: FileSystemProps = { ... }
Properties
| Name | Type | Description |
|---|---|---|
protocolType |
string | @alicloud/ros-cdk-core.IResolvable |
Property protocolType: Type of protocol used. |
storageType |
string | @alicloud/ros-cdk-core.IResolvable |
Property storageType: The storage type of the file System. |
bandwidth |
number | @alicloud/ros-cdk-core.IResolvable |
Property bandwidth: Maximum file system throughput, unit is MB\/s. |
capacity |
number | @alicloud/ros-cdk-core.IResolvable |
Property capacity: File system capacity, the unit is GB. |
chargeType |
string | @alicloud/ros-cdk-core.IResolvable |
Property chargeType: Type of payment: PayAsYouGo (pay as you go) Subscription. |
deletionForce |
boolean | @alicloud/ros-cdk-core.IResolvable |
Property deletionForce: Whether delete all mount targets on the file system and then delete file system. |
description |
string | @alicloud/ros-cdk-core.IResolvable |
Property description: File system description (space characters are not allowed). |
duration |
number | @alicloud/ros-cdk-core.IResolvable |
Property duration: The period of subscription in months. |
encryptType |
number | @alicloud/ros-cdk-core.IResolvable |
Property encryptType: Specifies whether to encrypt data. |
fileSystemType |
string | @alicloud/ros-cdk-core.IResolvable |
Property fileSystemType: File system type. |
snapshotId |
string | @alicloud/ros-cdk-core.IResolvable |
Property snapshotId: Snapshot ID. |
tags |
TagsProperty[] |
Property tags: Tags to attach to filesystem. |
vpcId |
string | @alicloud/ros-cdk-core.IResolvable |
Property vpcId: Vpc ID. |
vSwitchId |
string | @alicloud/ros-cdk-core.IResolvable |
Property vSwitchId: VSwitch ID. |
zoneId |
string | @alicloud/ros-cdk-core.IResolvable |
Property zoneId: Zone ID. |
protocolTypeRequired
public readonly protocolType: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property protocolType: Type of protocol used.
Valid values: NFS, SMB, cpfs.
storageTypeRequired
public readonly storageType: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property storageType: The storage type of the file System.
Valid values: Performance、Capacity(Available when the file_system_type is standard) standard、advance(Available when the file_system_type is extreme) advance_100、advance_200(Available when the file_system_type is cpfs)
bandwidthOptional
public readonly bandwidth: number | IResolvable;
- Type: number | @alicloud/ros-cdk-core.IResolvable
Property bandwidth: Maximum file system throughput, unit is MB\/s.
Required and valid only when FileSystemType=cpfs.
capacityOptional
public readonly capacity: number | IResolvable;
- Type: number | @alicloud/ros-cdk-core.IResolvable
Property capacity: File system capacity, the unit is GB.
Required and valid when FileSystemType=extreme or cpfs.
chargeTypeOptional
public readonly chargeType: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property chargeType: Type of payment: PayAsYouGo (pay as you go) Subscription.
deletionForceOptional
public readonly deletionForce: boolean | IResolvable;
- Type: boolean | @alicloud/ros-cdk-core.IResolvable
Property deletionForce: Whether delete all mount targets on the file system and then delete file system.
Default is false
descriptionOptional
public readonly description: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property description: File system description (space characters are not allowed).
durationOptional
public readonly duration: number | IResolvable;
- Type: number | @alicloud/ros-cdk-core.IResolvable
Property duration: The period of subscription in months.
Required and valid when ChargeType is Subscription. When the annual and monthly subscription instance expires without renewal, the instance will automatically expire and be released.
encryptTypeOptional
public readonly encryptType: number | IResolvable;
- Type: number | @alicloud/ros-cdk-core.IResolvable
Property encryptType: Specifies whether to encrypt data.
You can use keys that are hosted by Key Management Service (KMS) to encrypt data stored on a file system. Data is automatically decrypted when you access encrypted data. Valid values: 0: specifies that no encryption is applied to data on the file system. 1: specifies that encryption is applied to data on the file system.
fileSystemTypeOptional
public readonly fileSystemType: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property fileSystemType: File system type.
Allowed values: standard(default), extreme, cpfs
snapshotIdOptional
public readonly snapshotId: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property snapshotId: Snapshot ID.
tagsOptional
public readonly tags: TagsProperty[];
- Type: TagsProperty[]
Property tags: Tags to attach to filesystem.
Max support 20 tags to add during create filesystem. Each tag with two properties Key and Value, and Key is required.
vpcIdOptional
public readonly vpcId: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property vpcId: Vpc ID.
vSwitchIdOptional
public readonly vSwitchId: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property vSwitchId: VSwitch ID.
zoneIdOptional
public readonly zoneId: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property zoneId: Zone ID.