| 1 | package nas |
| 2 | |
| 3 | type DescribeFileSystemsRequest struct { |
| 4 | FileSystemName string |
| 5 | Version string |
| 6 | RegionId string |
| 7 | } |
| 8 | |
| 9 | type DescribeFileSystemsResponse struct { |
| 10 | FileSystems []FileSystem |
| 11 | Code string |
| 12 | } |
| 13 | |
| 14 | type FileSystem struct { |
| 15 | CreateTime uint64 |
| 16 | MountTargetCount uint64 |
| 17 | PackageId string |
| 18 | FileSystemName string |
| 19 | FileSystemType string |
| 20 | MeteredSize uint64 |
| 21 | FileSystemDesc string |
| 22 | QuotaSize uint64 |
| 23 | ZoneId string |
| 24 | } |
| 25 | |
| 26 | func (client *Client) DescribeFileSystems(args *DescribeFileSystemsRequest) (resp DescribeFileSystemsResponse, err error) { |
| 27 | response := DescribeFileSystemsResponse{} |
| 28 | args.Version = VERSION |
| 29 | err = client.Invoke("DescribeFileSystems", args, &response) |
| 30 | return response, err |
| 31 | } |