edit-icon download-icon

CreateFileSystem

Last Updated: Apr 11, 2018

Description

Used to create a new file system.

Request parameters

Parameter name Type Required Description
Action String TRUE Operation interface name and system required parameter. Value: CreateFileSystem
StorageType String TRUE The file system type. Currently includes the Performance type and the Capacity type.
ProtocolType String TRUE Type of protocol used. Currently includes the NFS type and the SMB type.
Description String FALSE File system description (space characters are not allowed).

Response parameters

Parameter name Type Description
FileSystemId String ID of the file system created.

Example

Request example

  1. GET https://nas.cn-hangzhou.aliyuncs.com/?Action=CreateFileSystem
  2. &StorageType=Performance
  3. &ProtocolType=NFS
  4. &Description=balabala
  5. &<Public Request Parameter>

Response example

XML example

  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <CreateFileSystemResponse>
  3. <FileSystemId>1ca404a666</FileSystemId>
  4. <RequestId>98696EF0-1607-4E9D-B01D-F20930B68845</RequestId>
  5. </CreateFileSystemResponse>

JSON example

  1. {
  2. "RequestId": "98696EF0-1607-4E9D-B01D-F20930B68845",
  3. "FileSystemId": "1ca404a666"
  4. }
Thank you! We've received your feedback.