Creates an Apsara File Storage NAS (NAS) file system.
Operation Description
- You can create a NAS file system for each standard workspace so that cloud desktops within the workspace can share files.
- The system creates a General-purpose NAS file system and generates a default mount target. The storage types of the NAS file system includes Capacity type and Performance type. The Capacity type provides 10 PiB of storage while the Performance type provides only 1 PiB of storage.
- NAS file systems are billed on a pay-as-you-go basis. You are charged based on the amount of used storage. You can also purchase resource plans to offset the storage fees of the NAS file systems.
For more information, see Create a NAS file system.
Authorization information
There is currently no authorization information disclosed in the API.
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
RegionId | string | Yes | The ID of the region. | cn-hangzhou |
OfficeSiteId | string | Yes | The ID of the workspace. | cn-hangzhou+dir-363353**** |
Description | string | Yes | The description of the NAS file system. | testDescription |
StorageType | string | No | The storage type of the NAS file system. Valid values:
Default value: Capacity. | Capacity |
EncryptType | string | No | Specifies whether to encrypt the data in the NAS file system. You can use keys that are managed by Key Management Service (KMS) to encrypt the data that is stored in a NAS file system. When you read and write the encrypted data, the data is automatically decrypted. Valid values:
Default value: 0. | 0 |
Response parameters
Examples
Sample success responses
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
For a list of error codes, visit the Service error codes.