All Products
Search
Document Center

Elastic Desktop Service:CreateAndBindNasFileSystem

Last Updated:Nov 14, 2025

Creates a File Storage NAS (NAS) file system and mount the file system to the workspace in which a desktop group resides.

Debugging

You can run this interface directly in OpenAPI Explorer, saving you the trouble of calculating signatures. After running successfully, OpenAPI Explorer can automatically generate SDK code samples.

Authorization information

The following table shows the authorization information corresponding to the API. The authorization information can be used in the Action policy element to grant a RAM user or RAM role the permissions to call this API operation. Description:

  • Operation: the value that you can use in the Action element to specify the operation on a resource.
  • Access level: the access level of each operation. The levels are read, write, and list.
  • Resource type: the type of the resource on which you can authorize the RAM user or the RAM role to perform the operation. Take note of the following items:
    • For mandatory resource types, indicate with a prefix of * .
    • If the permissions cannot be granted at the resource level, All Resources is used in the Resource type column of the operation.
  • Condition Key: the condition key that is defined by the cloud service.
  • Associated operation: other operations that the RAM user or the RAM role must have permissions to perform to complete the operation. To complete the operation, the RAM user or the RAM role must have the permissions to perform the associated operations.
OperationAccess levelResource typeCondition keyAssociated operation
ecd:CreateAndBindNasFileSystemcreate
*All Resources
*
    none
none

Request parameters

ParameterTypeRequiredDescriptionExample
RegionIdstringYes

The region ID.

cn-hangzhou
FileSystemNamestringYes

The name of the NAS file system.

szy-asp-upm-test
DescriptionstringNo

The description of the NAS file system.

newDescription
StorageTypestringYes

The storage type of the NAS file system. Valid values:

  • Capacity
  • Performance

Default value: Capacity.

Capacity
EncryptTypeintegerNo

Specifies whether to encrypt data in the NAS file system. You can use keys that are hosted by Key Management Service (KMS) to encrypt data in a file system. When you read and write the encrypted data, the data is automatically decrypted. Valid values:

  • 0: does not encrypt data in the NAS file system.
  • 1: encrypts data in the NAS file system by using a NAS-managed key. If you set FileSystemType to standard or extreme, you can use a NAS-managed key to encrypt data in a NAS file system.
  • 2: encrypts data in the NAS file system by using a KMS-managed key. If you set FileSystemType to extreme, you can use a KMS-managed key to encrypt data in a NAS file system.

Default value: 0.

0
OfficeSiteIdstringYes

The ID of the workspace.

cn-beijing+dir-15657*****
DesktopGroupIdstringYes

The ID of the desktop group.

dg-fh0vdzyh6rdc*****
EndUserIdsarrayNo

The list of users.

stringNo

The user ID.

bcl

Response parameters

ParameterTypeDescriptionExample
object
RequestIdstring

The request ID.

F7E4322D-D679-5ACB-A909-490D2F0E****

Examples

Sample success responses

JSONformat

{
  "RequestId": "F7E4322D-D679-5ACB-A909-490D2F0E****"
}

Error codes

For a list of error codes, visit the Service error codes.

Change history

Change timeSummary of changesOperation
No change history