高性能弹性文件服务 SFS TURBO-快速入门:具体示例

时间:2024-11-13 09:07:28

具体示例

在已获取token的前提下,curl命令创建SFS Turbo文件系统的具体实例:

curl -k -i -X POST -H "X-Auth-Token: token_value" -H "Content-Type: application/json" -d '{"share": {"name": "sfs-turbo-test", "share_proto": "NFS", "share_type": "STANDARD", "size": 100, "availability_zone": "az1", "vpc_id": "d651ea2b-2b20-4c6d-8bbf-2adcec18dac9", "subnet_id": "b8884abe-f47b-4917-9f6c-f64825c365db", "security_group_id": "8c4ebbd0-6edf-4aae-8353-81ce6d06e1f4"}}' "https://127.0.0.1:8979/v1/xxxbxbex5cfx41f0a08ay915fd79240d/sfs-turbo/shares"
support.huaweicloud.com/api-sfsturbo/sfsturbo_02_0015.html