FileSystemProps
Properties for defining a FileSystem
.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-nas-filesystem
Initializer
import "github.com/alibabacloud-go/ros-cdk/alicloudroscdknas"
&alicloudroscdknas.FileSystemProps {
ProtocolType: interface{},
StorageType: interface{},
Bandwidth: interface{},
Capacity: interface{},
ChargeType: interface{},
DeletionForce: interface{},
Description: interface{},
Duration: interface{},
EncryptType: interface{},
FileSystemType: interface{},
SnapshotId: interface{},
Tags: *[]github.com/alibabacloud-go/ros-cdk/alicloudroscdknas.RosFileSystem.TagsProperty,
VpcId: interface{},
VSwitchId: interface{},
ZoneId: interface{},
}
Properties
Name | Type | Description |
---|---|---|
ProtocolType |
interface{} |
Property protocolType: Type of protocol used. |
StorageType |
interface{} |
Property storageType: The storage type of the file System. |
Bandwidth |
interface{} |
Property bandwidth: Maximum file system throughput, unit is MB\/s. |
Capacity |
interface{} |
Property capacity: File system capacity, the unit is GB. |
ChargeType |
interface{} |
Property chargeType: Type of payment: PayAsYouGo (pay as you go) Subscription. |
DeletionForce |
interface{} |
Property deletionForce: Whether delete all mount targets on the file system and then delete file system. |
Description |
interface{} |
Property description: File system description (space characters are not allowed). |
Duration |
interface{} |
Property duration: The period of subscription in months. |
EncryptType |
interface{} |
Property encryptType: Specifies whether to encrypt data. |
FileSystemType |
interface{} |
Property fileSystemType: File system type. |
SnapshotId |
interface{} |
Property snapshotId: Snapshot ID. |
Tags |
*[]TagsProperty |
Property tags: Tags to attach to filesystem. |
VpcId |
interface{} |
Property vpcId: Vpc ID. |
VSwitchId |
interface{} |
Property vSwitchId: VSwitch ID. |
ZoneId |
interface{} |
Property zoneId: Zone ID. |
ProtocolType
Required
ProtocolType interface{}
- Type: interface{}
Property protocolType: Type of protocol used.
Valid values: NFS, SMB, cpfs.
StorageType
Required
StorageType interface{}
- Type: interface{}
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
Bandwidth interface{}
- Type: interface{}
Property bandwidth: Maximum file system throughput, unit is MB\/s.
Required and valid only when FileSystemType=cpfs.
Capacity
Optional
Capacity interface{}
- Type: interface{}
Property capacity: File system capacity, the unit is GB.
Required and valid when FileSystemType=extreme or cpfs.
ChargeType
Optional
ChargeType interface{}
- Type: interface{}
Property chargeType: Type of payment: PayAsYouGo (pay as you go) Subscription.
DeletionForce
Optional
DeletionForce interface{}
- Type: interface{}
Property deletionForce: Whether delete all mount targets on the file system and then delete file system.
Default is false
Description
Optional
Description interface{}
- Type: interface{}
Property description: File system description (space characters are not allowed).
Duration
Optional
Duration interface{}
- Type: interface{}
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
EncryptType interface{}
- Type: interface{}
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
FileSystemType interface{}
- Type: interface{}
Property fileSystemType: File system type.
Allowed values: standard(default), extreme, cpfs
SnapshotId
Optional
SnapshotId interface{}
- Type: interface{}
Property snapshotId: Snapshot ID.
Tags
Optional
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.
VpcId
Optional
VpcId interface{}
- Type: interface{}
Property vpcId: Vpc ID.
VSwitchId
Optional
VSwitchId interface{}
- Type: interface{}
Property vSwitchId: VSwitch ID.
ZoneId
Optional
ZoneId interface{}
- Type: interface{}
Property zoneId: Zone ID.