Queries the renewal price of WUYING Cloud Application resources.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
appstreaming:GetResourceRenewPrice |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| ProductType |
string |
Yes |
The product type. Valid values:
|
CloudApp |
| Period |
integer |
Yes |
The numeric part of the purchase duration. This parameter is used together with PeriodUnit to specify the complete purchase duration. |
1 |
| PeriodUnit |
string |
Yes |
The unit part of the purchase duration. This parameter is used together with Period to specify the complete purchase duration. Valid combinations of Period and PeriodUnit:
Note
This parameter is case-sensitive. For example, Valid values:
|
Week |
| AppInstanceGroupId |
string |
Yes |
The delivery group ID. You can call the ListAppInstanceGroup operation to obtain the ID. |
aig-9ciijz60n4xsv**** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response parameters. |
||
| RequestId |
string |
The request ID. |
1CBAFFAB-B697-4049-A9B1-67E1FC5F**** |
| Data |
object |
The price object. |
|
| Price |
object |
The price details. |
|
| OriginalPrice |
string |
The original price. |
11 |
| DiscountPrice |
string |
The discount. The actual price is calculated based on the following formula: Actual price = Original price - Discount. |
1 |
| TradePrice |
string |
The actual price. The actual price is calculated based on the following formula: Actual price = Original price - Discount. |
10 |
| Currency |
string |
The currency type. |
CNY |
| Promotions |
array<object> |
The coupon description. |
|
|
object |
|||
| OptionCode |
string |
The coupon code. |
coupon**** |
| PromotionId |
string |
The coupon ID. |
139965***** |
| PromotionName |
string |
The coupon name. |
**活动 |
| PromotionDesc |
string |
The coupon description. |
**活动 |
| Selected |
boolean |
Indicates whether the coupon was used. Valid values:
Valid values:
|
true |
| Rules |
array<object> |
The pricing rules. |
|
|
object |
The pricing rules. |
||
| RuleId |
integer |
The ID of the price calculation rule. |
20002**** |
| Description |
string |
The description of the price calculation rule. |
**活动 |
Examples
Success response
JSON format
{
"RequestId": "1CBAFFAB-B697-4049-A9B1-67E1FC5F****",
"Data": {
"Price": {
"OriginalPrice": "11\n",
"DiscountPrice": "1",
"TradePrice": "10",
"Currency": "CNY",
"Promotions": [
{
"OptionCode": "coupon****",
"PromotionId": "139965*****",
"PromotionName": "**活动",
"PromotionDesc": "**活动",
"Selected": true
}
]
},
"Rules": [
{
"RuleId": 0,
"Description": "**活动"
}
]
}
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.