Skip to content

FileSystemProps

Properties for defining a FileSystem.

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

Initializer

import ros_cdk_nas
ros_cdk_nas.FileSystemProps(
  protocol_type: typing.Union[str, IResolvable],
  storage_type: typing.Union[str, IResolvable],
  bandwidth: typing.Union[typing.Union[int, float], IResolvable] = None,
  capacity: typing.Union[typing.Union[int, float], IResolvable] = None,
  charge_type: typing.Union[str, IResolvable] = None,
  deletion_force: typing.Union[bool, IResolvable] = None,
  description: typing.Union[str, IResolvable] = None,
  duration: typing.Union[typing.Union[int, float], IResolvable] = None,
  encrypt_type: typing.Union[typing.Union[int, float], IResolvable] = None,
  file_system_type: typing.Union[str, IResolvable] = None,
  snapshot_id: typing.Union[str, IResolvable] = None,
  tags: typing.List[TagsProperty] = None,
  vpc_id: typing.Union[str, IResolvable] = None,
  v_switch_id: typing.Union[str, IResolvable] = None,
  zone_id: typing.Union[str, IResolvable] = None
)

Properties

Name Type Description
protocol_type typing.Union[str, ros_cdk_core.IResolvable] Property protocolType: Type of protocol used.
storage_type typing.Union[str, ros_cdk_core.IResolvable] Property storageType: The storage type of the file System.
bandwidth typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable] Property bandwidth: Maximum file system throughput, unit is MB\/s.
capacity typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable] Property capacity: File system capacity, the unit is GB.
charge_type typing.Union[str, ros_cdk_core.IResolvable] Property chargeType: Type of payment: PayAsYouGo (pay as you go) Subscription.
deletion_force typing.Union[bool, ros_cdk_core.IResolvable] Property deletionForce: Whether delete all mount targets on the file system and then delete file system.
description typing.Union[str, ros_cdk_core.IResolvable] Property description: File system description (space characters are not allowed).
duration typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable] Property duration: The period of subscription in months.
encrypt_type typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable] Property encryptType: Specifies whether to encrypt data.
file_system_type typing.Union[str, ros_cdk_core.IResolvable] Property fileSystemType: File system type.
snapshot_id typing.Union[str, ros_cdk_core.IResolvable] Property snapshotId: Snapshot ID.
tags typing.List[TagsProperty] Property tags: Tags to attach to filesystem.
vpc_id typing.Union[str, ros_cdk_core.IResolvable] Property vpcId: Vpc ID.
v_switch_id typing.Union[str, ros_cdk_core.IResolvable] Property vSwitchId: VSwitch ID.
zone_id typing.Union[str, ros_cdk_core.IResolvable] Property zoneId: Zone ID.

protocol_typeRequired

protocol_type: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property protocolType: Type of protocol used.

Valid values: NFS, SMB, cpfs.


storage_typeRequired

storage_type: typing.Union[str, IResolvable]
  • Type: typing.Union[str, 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

bandwidth: typing.Union[typing.Union[int, float], IResolvable]
  • Type: typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable]

Property bandwidth: Maximum file system throughput, unit is MB\/s.

Required and valid only when FileSystemType=cpfs.


capacityOptional

capacity: typing.Union[typing.Union[int, float], IResolvable]
  • Type: typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable]

Property capacity: File system capacity, the unit is GB.

Required and valid when FileSystemType=extreme or cpfs.


charge_typeOptional

charge_type: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property chargeType: Type of payment: PayAsYouGo (pay as you go) Subscription.


deletion_forceOptional

deletion_force: typing.Union[bool, IResolvable]
  • Type: typing.Union[bool, ros_cdk_core.IResolvable]

Property deletionForce: Whether delete all mount targets on the file system and then delete file system.

Default is false


descriptionOptional

description: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property description: File system description (space characters are not allowed).


durationOptional

duration: typing.Union[typing.Union[int, float], IResolvable]
  • Type: typing.Union[typing.Union[int, float], 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.


encrypt_typeOptional

encrypt_type: typing.Union[typing.Union[int, float], IResolvable]
  • Type: typing.Union[typing.Union[int, float], 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.


file_system_typeOptional

file_system_type: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property fileSystemType: File system type.

Allowed values: standard(default), extreme, cpfs


snapshot_idOptional

snapshot_id: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property snapshotId: Snapshot ID.


tagsOptional

tags: typing.List[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.


vpc_idOptional

vpc_id: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property vpcId: Vpc ID.


v_switch_idOptional

v_switch_id: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property vSwitchId: VSwitch ID.


zone_idOptional

zone_id: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property zoneId: Zone ID.