Create a NAS file system.
Operation description
Each standard workspace can create one NAS file system to meet the need for sharing files between cloud desktops in the workspace.
The system will automatically create a general-purpose NAS file system (with storage specifications of Capacity and Performance, with capacities of 10 PiB and 1 PiB respectively) and generate a default mount point.
The NAS file system uses pay-as-you-go by default. You need to pay for the actual storage usage. You can also purchase storage packages to offset the storage usage.
For more information, see Creating Shared Storage NAS.
Try it now
Test
RAM authorization
Action | Access level | Resource type | Condition key | Dependent action |
ecd:CreateNASFileSystem | create | *All Resource
| None | None |
Request parameters
Parameter | Type | Required | Description | Example |
RegionId | string | Yes | Region ID. | cn-hangzhou |
OfficeSiteId | string | Yes | Workspace ID. | cn-hangzhou+dir-363353**** |
Name | string | No | Name of the NAS file system. The file name must follow these rules:
| testNAS |
Description | string | No | Description of the NAS file system. | testDescription |
StorageType | string | No | Storage specification type of the NAS file system. Valid values:
| Capacity |
EncryptType | string | No | Whether the file system is encrypted. Uses KMS service-managed keys to encrypt the file system's on-disk data. No decryption is required when reading and writing encrypted data. Valid values:
| 0 |
Response elements
Element | Type | Description | Example |
object | Return object. | ||
FileSystemId | string | ID of the NAS file system. | 04f314**** |
FileSystemName | string | Name of the NAS file system. | testNAS |
MountTargetDomain | string | Mount point domain. | 04f314****-at***.cn-hangzhou.nas.aliyuncs.com |
RequestId | string | Request ID. | 269BDB16-2CD8-4865-84BD-11C40BC21DB0 |
OfficeSiteId | string | Workspace ID. | cn-hangzhou+dir-363353**** |
Examples
Success response
JSON format
{
"FileSystemId": "04f314****",
"FileSystemName": "testNAS",
"MountTargetDomain": "04f314****-at***.cn-hangzhou.nas.aliyuncs.com",
"RequestId": "269BDB16-2CD8-4865-84BD-11C40BC21DB0",
"OfficeSiteId": "cn-hangzhou+dir-363353****"
}Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.