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 |
Required |
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: HuaweiCloud.VPC.VPC.Id Value Description: Supports the use of an existing or new VPC ID. Value Constraint: The value must satisfy the UUID generation rule. Suggestion: 1. Use the get_input function to import this field. The value can be automatically selected on the AOS page. 2. Obtain the created VPC ID on the VPC page,See https://console.huaweicloud.com/vpc?&locale=en-us. |
|
description |
Yes |
Shared description Type: string Value Description: Supports customization. Default: '' Value Constraint: [0, 255] |
|
name |
Yes |
SFS instance name Type: string Value Description: Supports customization. Default: '' Value Constraint: [0, 255] |
|
availabilityZone |
Yes |
AZ to which the fileSystem belongs Type: HuaweiCloud.ECS.AvailabilityZone.Name Value Description: Indicates the AZ where the to-be-created ECS is located. The name of the AZ needs to be specified, for example, cn-north-1a.For details, visit https://developer-intl.huaweicloud.com/en-us/endpoint. Value Constraint: The value varies depending on the belonged region. |
|
accessLevel |
Yes |
Permission level of the shared access Type: string Value Description: Supports customization. Default: rw Value Constraint: Supports ro and rw. ro indicates read-only, and rw indicates read and write. |
Relationships Between Elements
|
Description |
Target |
|---|---|
|
ContainedIn |
Return Value
|
Property |
Type |
Description |
|---|---|---|
|
ShareAccessId |
string |
Share Access Id |
|
export_location |
string |
Share Access Path |
|
refID |
string |
SYS FileSystem ID |
|
export_locations |
string |
Share Access Path |
Blueprint Example
tosca_definitions_version: huaweicloud_tosca_version_1_0
inputs:
name:
default: my-sfs
availabilityZone:
type: HuaweiCloud.ECS.AvailabilityZone.Name
vpcId:
type: HuaweiCloud.VPC.VPC.Id
accessLevel:
default: "ro"
size:
default: 10
node_templates:
my-sfs:
type: HuaweiCloud.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.