All Products
Search
Document Center

Elastic Desktop Service:DescribeRenewalPrice

Last Updated:Jun 11, 2026

Retrieves the renewal price for an Elastic Desktop Service product.

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

The table below describes the authorization required to call this API. You can define it in a Resource Access Management (RAM) policy. The table's columns are detailed below:

  • Action: The actions can be used in the Action element of RAM permission policy statements to grant permissions to perform the operation.

  • API: The API that you can call to perform the action.

  • Access level: The predefined level of access granted for each API. Valid values: create, list, get, update, and delete.

  • Resource type: The type of the resource that supports authorization to perform the action. It indicates if the action supports resource-level permission. The specified resource must be compatible with the action. Otherwise, the policy will be ineffective.

    • For APIs with resource-level permissions, required resource types are marked with an asterisk (*). Specify the corresponding Alibaba Cloud Resource Name (ARN) in the Resource element of the policy.

    • For APIs without resource-level permissions, it is shown as All Resources. Use an asterisk (*) in the Resource element of the policy.

  • Condition key: The condition keys defined by the service. The key allows for granular control, applying to either actions alone or actions associated with specific resources. In addition to service-specific condition keys, Alibaba Cloud provides a set of common condition keys applicable across all RAM-supported services.

  • Dependent action: The dependent actions required to run the action. To complete the action, the RAM user or the RAM role must have the permissions to perform all dependent actions.

Action

Access level

Resource type

Condition key

Dependent action

ecd:DescribeRenewalPrice

list

*All Resource

*

None None

Request parameters

Parameter

Type

Required

Description

Example

RegionId

string

Yes

The region ID. You can call DescribeRegions to get a list of regions supported by Elastic Desktop Service.

cn-hangzhou

InstanceId

string

No

The instance ID. The value for this parameter depends on the resource type:

  • If ResourceType is set to Desktop, set InstanceId to the cloud desktop ID.

  • If ResourceType is set to DesktopGroup, set InstanceId to the computer pool ID.

  • If ResourceType is set to Bandwidth, set InstanceId to the premium bandwidth ID.

ecd-6ldllk9zxcpfhs****

ResourceType

string

No

The resource type.

Valid values:

  • Desktop :

    A cloud desktop. [default]

  • Bandwidth :

    Premium bandwidth.

  • DesktopGroup :

    A computer pool.

Desktop

PeriodUnit

string

No

The time unit for the Period parameter.

Valid values:

  • Month :

    month [default]

  • Year :

    year

Month

Period

integer

No

The renewal duration. The valid values depend on the PeriodUnit parameter.

  • If PeriodUnit is set to Month, the valid values are 1, 2, 3, and 6.

  • If PeriodUnit is set to Year, the valid values are 1, 2, and 3.

Default value: 1.

1

InstanceIds

array

No

The instance IDs. The values to provide depend on the resource type (ResourceType).

string

No

The instance ID. For details, see the description of the InstanceId parameter.

ecd-6ldllk9zxcpfhs****

PromotionId

string

No

ResellerOwnerUid

integer

No

Response elements

Element

Type

Description

Example

object

RequestId

string

The request ID.

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

PriceInfo

object

The price details.

Rules

array<object>

The promotion rules.

object

The promotion rule.

Description

string

The rule description.

买满1年,立享官网价格8.5折优惠。

RuleId

integer

The rule ID.

29644

Price

object

The price.

OriginalPrice

number

The original price.

79.0

DiscountPrice

number

The discount.

15.8

Currency

string

The unit of currency. The value is USD.

CNY

TradePrice

number

The final price. This is the value of OriginalPrice minus DiscountPrice.

63.2

Promotions

array<object>

The promotion details.

object

The promotion details.

PromotionDesc

string

The promotion description.

新品上市,立享优惠

OptionCode

string

The promotion rule description.

test

Selected

boolean

Indicates whether the promotion is selected.

false

PromotionId

string

The promotion ID.

promo_option

PromotionName

string

The promotion name.

精选特惠

OrderLines

object

The order details.

string

The order details.

5376483****

Examples

Success response

JSON format

{
  "RequestId": "72E47B1E-6B11-5A11-A27C-7A80F866****",
  "PriceInfo": {
    "Rules": [
      {
        "Description": "买满1年,立享官网价格8.5折优惠。",
        "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 code

Error code

Error message

Description

500 InternalError The request processing has failed due to some unknown error, exception or failure.

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.