Retrieves the renewal price for an Elastic Desktop Service product.
Try it now
Test
RAM authorization
|
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:
|
ecd-6ldllk9zxcpfhs**** |
| ResourceType |
string |
No |
The resource type. Valid values:
|
Desktop |
| PeriodUnit |
string |
No |
The time unit for the Valid values:
|
Month |
| Period |
integer |
No |
The renewal duration. The valid values depend on the
Default value: 1. |
1 |
| InstanceIds |
array |
No |
The instance IDs. The values to provide depend on the resource type ( |
|
|
string |
No |
The instance ID. For details, see the description of the |
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 |
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.