Creates an Apsara File Storage NAS file system.

Description

  • You can create a NAS file system for each workspace so that cloud desktops within the workspace can share files.
  • The system creates a General-purpose Capacity NAS file system with a capacity of 10 PiB and generates a default mount target.
  • 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 storage plans to offset the bills for the used storage of NAS file systems.

For more information, see Create a NAS file system.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request parameters

Parameter Type Required Example Description
Action String Yes CreateNASFileSystem

The operation that you want to perform. Set the value to CreateNASFileSystem.

Description String Yes testDescription

The description of the NAS file system.

Name String Yes testNAS

The name of the NAS file system.

OfficeSiteId String Yes cn-hangzhou+dir-363353****

The ID of the workspace.

RegionId String Yes cn-hangzhou

The ID of the region.

Response parameters

Parameter Type Example Description
FileSystemId String 04f314****

The ID of the NAS file system.

FileSystemName String testNAS

The name of the NAS file system.

MountTargetDomain String 04f314****-at***.cn-hangzhou.nas.aliyuncs.com

The domain name of the mount target.

OfficeSiteId String cn-hangzhou+dir-363353****

The ID of the workspace.

RequestId String 269BDB16-2CD8-4865-84BD-11C40BC21DB0

The ID of the request.

Examples

Sample requests

https://ecd.cn-hangzhou.aliyuncs.com/?Action=CreateNASFileSystem
&Description=testDescription
&Name=testNAS
&OfficeSiteId=cn-hangzhou+dir-363353****
&RegionId=cn-hangzhou
&<Common request parameters>

Sample success responses

XML format

<CreateNASFileSystemResponse>
      <OfficeSiteId>cn-hangzhou+dir-363353****</OfficeSiteId>
      <RequestId>269BDB16-2CD8-4865-84BD-11C40BC21DB0</RequestId>
      <MountTargetDomain>04f314****-at***.cn-hangzhou.nas.aliyuncs.com</MountTargetDomain>
      <FileSystemName>testNAS</FileSystemName>
      <FileSystemId>04f314****</FileSystemId>
</CreateNASFileSystemResponse>

JSON format

{
    "OfficeSiteId": "cn-hangzhou+dir-363353****",
    "RequestId": "269BDB16-2CD8-4865-84BD-11C40BC21DB0",
    "MountTargetDomain": "04f314****-at***.cn-hangzhou.nas.aliyuncs.com",
    "FileSystemName": "testNAS",
    "FileSystemId": "04f314****"
}