FileSystemProps
Properties for defining a FileSystem
.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-nas-filesystem
Initializer
import com.aliyun.ros.cdk.nas.FileSystemProps;
FileSystemProps.builder()
.protocolType(java.lang.String)
.protocolType(IResolvable)
.storageType(java.lang.String)
.storageType(IResolvable)
// .bandwidth(java.lang.Number)
// .bandwidth(IResolvable)
// .capacity(java.lang.Number)
// .capacity(IResolvable)
// .chargeType(java.lang.String)
// .chargeType(IResolvable)
// .deletionForce(java.lang.Boolean)
// .deletionForce(IResolvable)
// .description(java.lang.String)
// .description(IResolvable)
// .duration(java.lang.Number)
// .duration(IResolvable)
// .encryptType(java.lang.Number)
// .encryptType(IResolvable)
// .fileSystemType(java.lang.String)
// .fileSystemType(IResolvable)
// .snapshotId(java.lang.String)
// .snapshotId(IResolvable)
// .tags(java.util.List<TagsProperty>)
// .vpcId(java.lang.String)
// .vpcId(IResolvable)
// .vSwitchId(java.lang.String)
// .vSwitchId(IResolvable)
// .zoneId(java.lang.String)
// .zoneId(IResolvable)
.build();
Properties
Name | Type | Description |
---|---|---|
protocolType |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property protocolType: Type of protocol used. |
storageType |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property storageType: The storage type of the file System. |
bandwidth |
java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable |
Property bandwidth: Maximum file system throughput, unit is MB\/s. |
capacity |
java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable |
Property capacity: File system capacity, the unit is GB. |
chargeType |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property chargeType: Type of payment: PayAsYouGo (pay as you go) Subscription. |
deletionForce |
java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable |
Property deletionForce: Whether delete all mount targets on the file system and then delete file system. |
description |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property description: File system description (space characters are not allowed). |
duration |
java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable |
Property duration: The period of subscription in months. |
encryptType |
java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable |
Property encryptType: Specifies whether to encrypt data. |
fileSystemType |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property fileSystemType: File system type. |
snapshotId |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property snapshotId: Snapshot ID. |
tags |
java.util.List<TagsProperty> |
Property tags: Tags to attach to filesystem. |
vpcId |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property vpcId: Vpc ID. |
vSwitchId |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property vSwitchId: VSwitch ID. |
zoneId |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property zoneId: Zone ID. |
protocolType
Required
public java.lang.Object getProtocolType();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property protocolType: Type of protocol used.
Valid values: NFS, SMB, cpfs.
storageType
Required
public java.lang.Object getStorageType();
- Type: java.lang.String OR com.aliyun.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)
bandwidth
Optional
public java.lang.Object getBandwidth();
- Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable
Property bandwidth: Maximum file system throughput, unit is MB\/s.
Required and valid only when FileSystemType=cpfs.
capacity
Optional
public java.lang.Object getCapacity();
- Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable
Property capacity: File system capacity, the unit is GB.
Required and valid when FileSystemType=extreme or cpfs.
chargeType
Optional
public java.lang.Object getChargeType();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property chargeType: Type of payment: PayAsYouGo (pay as you go) Subscription.
deletionForce
Optional
public java.lang.Object getDeletionForce();
- Type: java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable
Property deletionForce: Whether delete all mount targets on the file system and then delete file system.
Default is false
description
Optional
public java.lang.Object getDescription();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property description: File system description (space characters are not allowed).
duration
Optional
public java.lang.Object getDuration();
- Type: java.lang.Number OR com.aliyun.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.
encryptType
Optional
public java.lang.Object getEncryptType();
- Type: java.lang.Number OR com.aliyun.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.
fileSystemType
Optional
public java.lang.Object getFileSystemType();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property fileSystemType: File system type.
Allowed values: standard(default), extreme, cpfs
snapshotId
Optional
public java.lang.Object getSnapshotId();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property snapshotId: Snapshot ID.
tags
Optional
public java.util.List<TagsProperty> getTags();
- Type: java.util.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.
vpcId
Optional
public java.lang.Object getVpcId();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property vpcId: Vpc ID.
vSwitchId
Optional
public java.lang.Object getVSwitchId();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property vSwitchId: VSwitch ID.
zoneId
Optional
public java.lang.Object getZoneId();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property zoneId: Zone ID.