All Products
Search
Document Center

Elastic Desktop Service:DescribeRenewalPrice

Last Updated:Nov 14, 2025

Queries the renewal price of an Alibaba Cloud Workspace service.

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:DescribeRenewalPricelist
*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
InstanceIdstringNo

The instance ID. The value you specify depends on the resource type (ResourceType) you're querying the renewal price for.

  • When ResourceType is set to Desktop, you must provide the cloud computer ID as the value of InstanceId.
  • When ResourceType is set to DesktopGroup, you must provide the share ID as the value of InstanceId.
  • When ResourceType is set to Bandwidth, you must provide the ID of the premium bandwidth plan as the value of InstanceId.
ecd-6ldllk9zxcpfhs****
ResourceTypestringNo

The resource type.

Valid values:

  • Desktop (default): cloud computers.
  • Bandwidth: premium bandwidth plans.
  • DesktopGroup: cloud computer shares.
Desktop
PeriodUnitstringNo

The unit of the renewal duration specified by Period.

Valid values:

  • Month (default)
  • Year
Month
PeriodintegerNo

The renewal duration. The valid values for this parameter depend on the value of PeriodUnit.

  • If you set PeriodUnit to Month, set the value of this parameter to 1, 2, 3, or 6.
  • If you set PeriodUnit to Year, set the value of this parameter to 1, 2, or 3.

Default value: 1.

1
InstanceIdsarrayNo

The instance IDs. The value you specify depends on the resource type (ResourceType) you're querying the renewal price for.

stringNo

The instance ID. This parameter has the same effect as InstanceId.

ecd-6ldllk9zxcpfhs****

Response parameters

ParameterTypeDescriptionExample
object
RequestIdstring

The request ID.

72E47B1E-6B11-5A11-A27C-7A80F866****
PriceInfoobject

The price details.

Rulesarray<object>

The promotion rules.

Ruleobject

The promotion rule.

Descriptionstring

The rule description.

RuleIdlong

The rule ID.

29644
Priceobject

The price.

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 promotions.

Promotionobject

The promotion.

PromotionDescstring

The promotion description.

OptionCodestring

The description of the promotion rule.

test
Selectedboolean

Indicates whether an item is selected.

false
PromotionIdstring

The promotion ID.

promo_option
PromotionNamestring

The promotion name.

OrderLinesobject

The orders.

string

The order.

5376483****

Examples

Sample success responses

JSONformat

{
  "RequestId": "72E47B1E-6B11-5A11-A27C-7A80F866****",
  "PriceInfo": {
    "Rules": [
      {
        "Description": "",
        "RuleId": 29644
      }
    ],
    "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

HTTP status codeError codeError message
500InternalErrorThe request processing has failed due to some unknown error, exception or failure.

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

Change history

Change timeSummary of changesOperation
2024-11-01The Error code has changed. The request parameters of the API has changedView Change Details
2021-11-04The Error code has changed. The request parameters of the API has changedView Change Details
2021-11-04The Error code has changed. The request parameters of the API has changedView Change Details