SFS.FileSystem
Element Description
SFS provides high-performance file storage which supports on-demand scaling. It can be shared by multiple ECSs.
Element Properties
Property |
Mandatory |
Descripiton |
---|---|---|
size |
Yes |
Storage space size (unit: GB). The minimum value is 1 and the maximum value is 511800. Type: integer Value Description: The value ranges from 1 to 511800. Default: 1 Value Constraint: [1, 511800] |
vpcId |
Yes |
ID of the belonged VPC. Only ECSs in the VPC can access the SFS file system. Type: Cloud.VPC.VPC.Id Value Description: Use the ID of an existing VPC or a new VPC. Value Constraint: The value must satisfy the UUID generation rule. Suggestion: 1. Use the get_input function to set this field, and then the value can be automatically selected on the AOS console. 2. Obtain the ID of the created VPC from the VPC console. |
description |
Yes |
Shared description Type: string Value Description: Customize the value. Default: "" Value Constraint: [0, 255] |
name |
Yes |
SFS instance name Type: string Value Description: Customize the value. Default: "" Value Constraint: [0, 255] |
availabilityZone |
Yes |
AZ to which the file system belongs Type: Cloud.ECS.AvailabilityZone.Name Value Description: AZ where the to-be-shared file system is located. The name of the AZ needs to be specified. Value Constraint: The value varies depending on regions. |
accessLevel |
Yes |
Permission level of the shared access Type: string Value Description: Customize the value. Default: rw Value Constraint: The options are ro and rw. ro indicates read-only, and rw indicates read and write. |
Relationships Between Elements
Description |
Target |
---|---|
Inclusion |
Return Value
Property |
Type |
Description |
---|---|---|
ShareAccessId |
string |
UUID of a share access rule |
export_location |
string |
Sharing path |
refID |
string |
SFS ID |
export_locations |
string |
Sharing path |
Blueprint Example
tosca_definitions_version: cloud_tosca_version_1_0 inputs: name: default: my-sfs availabilityZone: type: Cloud.ECS.AvailabilityZone.Name vpcId: type: Cloud.VPC.VPC.Id accessLevel: default: "ro" size: default: 10 node_templates: my-sfs: type: Cloud.SFS.FileSystem properties: name: {get_input: name} size: {get_input: size} availabilityZone: {get_input: availabilityZone} accessLevel: {get_input: accessLevel} vpcId: {get_input: vpcId}
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot