All Products
Search
Document Center

Elastic Desktop Service:DescribeModificationPrice

Last Updated:Nov 03, 2025

Queries the price for changing the specifications of a monthly subscription cloud computer with unlimited hours or a premium bandwidth plan.

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:DescribeModificationPricenone
*All Resources
*
    none
none

Request parameters

ParameterTypeRequiredDescriptionExample
RegionIdstringYes

The region ID. You can call the DescribeRegions operation to query the list of regions where Elastic Desktop Service (EDS) Enterprise is available.

cn-hangzhou
InstanceIdstringYes

The ID of either the monthly subscription cloud computer with unlimited hours or the premium bandwidth plan.

ecd-0gfv2z3sf95zvt****
InstanceTypestringNo

The specifications.

  • Valid values when you set ResourceType to Desktop:

    • ecd.basic.small
    • ecd.basic.large
    • ecd.advanced.large
    • ecd.advanced.xlarge
    • ecd.performance.2xlarge
    • ecd.graphics.xlarge
    • ecd.graphics.2xlarge
    • ecd.advanced.xlarge_s8d2
    • ecd.advanced.xlarge_s8d7
    • ecd.graphics.1g72c
    • eds.general.2c2g
    • eds.general.2c4g
    • eds.general.2c8g
    • eds.general.4c8g
    • eds.general.4c16g
    • eds.general.8c16g
    • eds.general.8c32g
    • eds.general.16c32g
  • You can skip this parameter if ResourceType is set to NetworkPackage.

eds.enterprise_office.8c16g
RootDiskSizeGibintegerNo

The size of the system disk. Unit: GiB.

80
UserDiskSizeGibintegerNo

The size of the data disk. Unit: GiB.

50
ResourceTypestringNo

The resource type. The required parameters depend on the resource type.

  • When ResourceType is set to Desktop, the required parameters are InstanceType, RootDiskSizeGib, and UserDiskSizeGib.
  • When ResourceType is set to NetworkPackage, the required parameter is Bandwidth.

Valid values:

  • Desktop (default): cloud computers.
  • NetworkPackage: premium bandwidth plans.
Desktop
BandwidthintegerNo

The maximum public bandwidth. Unit: Mbit/s.

Note Valid values when PayByTraffic is set to PayByBandwidth: 10 to 1000.
20

Response parameters

ParameterTypeDescriptionExample
object
RequestIdstring

The request ID.

48174475-5EB2-5F99-A9E9-6F892D645****
PriceInfoobject

The price details.

Rulesarray<object>

The promotion rules.

Ruleobject

The promotion rule.

Descriptionstring

The rule description.

RuleIdlong

The rule ID.

14806
Priceobject

The price information.

OriginalPricefloat

The original price.

79.0
DiscountPricefloat

The discounted amount.

15.8
Currencystring

The unit of currency (USD).

CNY
TradePricefloat

The actual price. The actual price is the original price minus the discount.

63.2
Promotionsarray<object>

The promotion activities.

Promotionobject

The promotion activity.

PromotionDescstring

The promotion description.

OptionCodestring

The description of the promotion rule.

test
Selectedboolean

Indicates whether an item is selected.

false
PromotionIdstring

The ID of the promotion activity.

promo_option
PromotionNamestring

The name of the promotion activity.

OrderLinesobject

The orders.

string

The order.

5376483****

Examples

Sample success responses

JSONformat

{
  "RequestId": "48174475-5EB2-5F99-A9E9-6F892D645****",
  "PriceInfo": {
    "Rules": [
      {
        "Description": "",
        "RuleId": 14806
      }
    ],
    "Price": {
      "OriginalPrice": 79,
      "DiscountPrice": 15.8,
      "Currency": "CNY",
      "TradePrice": 63.2,
      "Promotions": [
        {
          "PromotionDesc": "",
          "OptionCode": "test",
          "Selected": false,
          "PromotionId": "promo_option",
          "PromotionName": ""
        }
      ],
      "OrderLines": {
        "key": "5376483****"
      }
    }
  }
}

Error codes

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

Change history

Change timeSummary of changesOperation
2021-08-19The request parameters of the API has changedView Change Details
2021-08-19The request parameters of the API has changedView Change Details