Queries file systems and mount targets by calling ListFileSystemWithMountTargets.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
ehpc:ListFileSystemWithMountTargets |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| PageNumber |
integer |
No |
The page number for the paging query. |
1 |
| PageSize |
integer |
No |
The number of entries per page. Valid values: 1 to 50. Default value: 10. |
10 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| PageSize |
integer |
The number of entries per page in the paging query. Settings: 1 to 50. Default value: 10. |
10 |
| RequestId |
string |
The request ID. |
25638B77-2F19-5DC5-B578-7790CE92052B |
| PageNumber |
integer |
The page number of the paging query. |
1 |
| TotalCount |
integer |
The total number of entries in the list. |
1 |
| FileSystemList |
object |
||
| FileSystems |
array<object> |
The file system list. |
|
|
array<object> |
The file system list. |
||
| Status |
string |
The file system status. Valid values:
|
Running |
| Capacity |
integer |
The capacity of the file system. Unit: GiB. |
5120 |
| CreateTime |
string |
The time when the file system was created. The time is in the YYYY-MM-DD HH:mm:ss format. |
2018-07-26 16:36:27 |
| StorageType |
string |
The storage specification type.
|
Performance |
| BandWidth |
integer |
The bandwidth of the file system. Unit: MB/s. |
150 |
| RegionId |
string |
The region ID. |
cn-hangzhou |
| FileSystemId |
string |
The file system ID. |
088b**** |
| FileSystemType |
string |
The file system type. Valid values:
|
standard |
| MeteredSize |
integer |
The used capacity of the NAS file system. Unit: bytes. |
1216816455 |
| EncryptType |
integer |
Indicates whether the file system is encrypted. A key hosted by Key Management Service (KMS) is used to encrypt data stored on the file system. Encrypted data does not need to be decrypted during read and write operations. Valid values:
|
0 |
| ProtocolType |
string |
The protocol type of the file system. Valid values:
|
NFS |
| Destription |
string |
The description of the file system. |
FilesDescription |
| PackageList |
object |
||
| Packages |
array<object> |
The storage plan information list. |
|
|
object |
The storage plan information list. |
||
| PackageId |
string |
The storage plan ID. |
naspackage-0be9c4b624-37**** |
| MountTargetList |
object |
||
| MountTargets |
array<object> |
The mount target list. |
|
|
object |
The mount target list. |
||
| Status |
string |
The mount target status. Valid values:
|
Active |
| VpcId |
string |
The VPC ID. |
vpc-8vbvb34rtyh6xb3zrehs1**** |
| MountTargetDomain |
string |
The mount target domain. |
088b****-lj2.cn-hangzhou.nas.aliyuncs.com |
| AccessGroup |
string |
Indicates whether the permission group is the default permission group of the user. Valid values:
|
DEFAULT_VPC_GROUP_NAME |
| VswId |
string |
The vSwitch ID. |
vsw-8vb34rtyh6xb3zrehs1**** |
| NetworkType |
string |
The network type. Valid values:
|
vpc |
| VpcId |
string |
The VPC ID. |
vpc-bp132kgui8n0targbn1cm |
Examples
Success response
JSON format
{
"PageSize": 10,
"RequestId": "25638B77-2F19-5DC5-B578-7790CE92052B",
"PageNumber": 1,
"TotalCount": 1,
"FileSystemList": {
"FileSystems": [
{
"Status": "Running",
"Capacity": 5120,
"CreateTime": "2018-07-26 16:36:27",
"StorageType": "Performance",
"BandWidth": 150,
"RegionId": "cn-hangzhou",
"FileSystemId": "088b****",
"FileSystemType": "standard",
"MeteredSize": 1216816455,
"EncryptType": 0,
"ProtocolType": "NFS",
"Destription": "FilesDescription",
"PackageList": {
"Packages": [
{
"PackageId": "naspackage-0be9c4b624-37****"
}
]
},
"MountTargetList": {
"MountTargets": [
{
"Status": "Active",
"VpcId": "vpc-8vbvb34rtyh6xb3zrehs1****",
"MountTargetDomain": "088b****-lj2.cn-hangzhou.nas.aliyuncs.com",
"AccessGroup": "DEFAULT_VPC_GROUP_NAME",
"VswId": "vsw-8vb34rtyh6xb3zrehs1****",
"NetworkType": "vpc"
}
]
},
"VpcId": "vpc-bp132kgui8n0targbn1cm"
}
]
}
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 500 | UnknownError | An unknown error occurred. | An unknown error occurred. |
| 503 | ServiceUnavailable | The request has failed due to a temporary failure of the server | The request has failed due to a temporary failure of the server. |
| 406 | NasError | NAS API request failed. | Failed to request the NAS interface. |
| 406 | DbError | A database service error occurred. | Database request failed. |
| 407 | NotAuthorized | You are not authorized by RAM for this request. | The request is not authorized by RAM. |
| 407 | EntityNotExist.Role | The role does not exist. | The role does not exist. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.