| 1 | package nas |
| 2 | |
| 3 | type CreateFileSystemRequest struct { |
| 4 | ZoneId string |
| 5 | Version string |
| 6 | RegionId string |
| 7 | } |
| 8 | |
| 9 | type CreateFileSystemResponse struct { |
| 10 | FileSystemName string |
| 11 | RequestId string |
| 12 | Code string |
| 13 | } |
| 14 | |
| 15 | func (client *Client) CreateFileSystem(args *CreateFileSystemRequest) (resp CreateFileSystemResponse, err error) { |
| 16 | response := CreateFileSystemResponse{} |
| 17 | args.Version = VERSION |
| 18 | |
| 19 | err = client.Invoke("CreateFileSystem", args, &response) |
| 20 | return response, err |
| 21 | } |