Query the resources that you can purchase when creating a NAS file system.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
ens:DescribeNASAvailableResourceInfo |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
No parameters required.
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Response information. |
||
| RequestId |
string |
Request ID. |
AAE90880-4970-4D81-A534-A6C0F3631F74 |
| Code |
string |
Business status code. Returns 0 on success. |
0 |
| Message |
string |
Error message. |
you are not authorized to this workspace, or workspace not exists. |
| NasAvailableResourceInfo |
array<object> |
Available NAS resource information. |
|
|
object |
Array of available NAS resource information. |
||
| EnsRegionId |
string |
ENS edge zone ID. |
cn-chenzhou-telecom_unicom_cmcc |
| NasAvailableAmount |
integer |
Available NAS resource count. |
1 |
| NasAvailableStorgeType |
string |
Available NAS resource type. |
capacity |
| EnsRegionName |
string |
ENS edge zone name. |
China Hangzhou36 |
| Area |
string |
Area to which the ENS edge zone belongs. |
SouthWestChina |
| EnName |
string |
English name. |
cn-chenzhou-telecom_unicom_cmcc |
| Province |
string |
Province to which the ENS edge zone belongs. |
Hubei Province |
| Ability |
array |
Edge zone product capabilities. |
|
|
string |
The capabilities of the node product. |
nas |
Examples
Success response
JSON format
{
"RequestId": "AAE90880-4970-4D81-A534-A6C0F3631F74",
"Code": "0",
"Message": "you are not authorized to this workspace, or workspace not exists.",
"NasAvailableResourceInfo": [
{
"EnsRegionId": "cn-chenzhou-telecom_unicom_cmcc",
"NasAvailableAmount": 1,
"NasAvailableStorgeType": "capacity",
"EnsRegionName": "China Hangzhou36",
"Area": "SouthWestChina",
"EnName": "cn-chenzhou-telecom_unicom_cmcc",
"Province": "Hubei Province",
"Ability": [
"nas"
]
}
]
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | IdempotentParameterMismatch | The request uses the same client token as a previous, but non-identical request. Do not reuse a client token with different requests, unless the requests are identical. | |
| 400 | NoPermission | Permission denied. | |
| 400 | InvalidParameter.%s | The specified field %s invalid. Please check it again. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.