All Products
Search
Document Center

Elastic Desktop Service:ModifyDiskSpec

Last Updated:Mar 17, 2026

Modify the performance level of a cloud desktop's system disk or data disk.

Operation description

When you create a WUYING Workspace, you can define its specifications using a custom template. Graphics and High-frequency workspaces use Enhanced SSDs (ESSDs) by default, which lets you set the disk capacity and performance level. You can modify the performance level of the system disk or data disk as needed.

Note

Only Graphics and High-frequency WUYING Workspaces support modifying the disk performance level.

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

No authorization for this operation. If you encounter issues with this operation, contact technical support.

Request parameters

Parameter

Type

Required

Description

Example

RegionId

string

Yes

The region ID. Call DescribeRegions to get a list of supported regions for WUYING Workspace.

cn-hangzhou

DesktopId

string

Yes

The ID of the cloud desktop.

ecd-2yjhqxo1monbf****

RootDiskPerformanceLevel

string

No

The performance level of the system disk. You can set the performance level for Graphics or High-frequency workspaces.

Valid values:

  • PL1 :

    PL1

  • PL0 :

    PL0

  • PL3 :

    PL3

  • PL2 :

    PL2

PL1

UserDiskPerformanceLevel

string

No

The performance level of the data disk. You can set the performance level for Graphics or High-frequency workspaces.

Valid values:

  • PL1 :

    PL1

  • PL0 :

    PL0

  • PL3 :

    PL3

  • PL2 :

    PL2

PL1

PromotionId

string

No

The promotion ID. Call a pricing inquiry API to get a list of applicable promotion IDs.

youhuiquan_promotion_option_id_for_blank

AutoPay

boolean

No

Specifies whether to enable automatic payment.

  • If set to true, ensure your account has a sufficient balance. Otherwise, an abnormal order is generated.

  • If set to false, log on to the console. Then, go to the Expenses and Costs page to pay for the order using the returned order ID.

Valid values:

  • true :

    Enables automatic payment. [Default]

  • false :

    Generates an order but does not complete the payment.

false

ResellerOwnerUid

integer

No

Response elements

Element

Type

Description

Example

object

OrderId

string

The order ID. You can find the order ID in Expenses and Costs > Order Management.

219861020660568

RequestId

string

The ID of the request.

F89BBB13-8B3B-5C8A-A700-EEFDC17B8227

Examples

Success response

JSON format

{
  "OrderId": "219861020660568",
  "RequestId": "F89BBB13-8B3B-5C8A-A700-EEFDC17B8227"
}

Error codes

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.