価格を照会します。
今すぐお試しください
テスト
RAM 認証
|
アクション |
アクセスレベル |
リソースタイプ |
条件キー |
依存アクション |
|
dds:DescribePrice |
get |
*All Resource
|
なし | なし |
リクエストパラメーター
|
パラメーター |
型 |
必須 / 任意 |
説明 |
例 |
| RegionId |
string |
任意 |
リージョン ID。 DescribeRegions 操作を呼び出して、リージョン ID を照会します。 |
cn-hangzhou |
| OrderType |
string |
必須 |
注文タイプ。有効な値:
|
BUY |
| DBInstances |
string |
必須 |
インスタンスに関する情報を含む JSON 文字列。パラメーターと JSON の例の詳細については、「DescribePrice 操作の DBInstances パラメーター」をご参照ください。 |
[ { "DBInstanceId":"dds-bp1b6e54e7cc****", "RegionId":"cn-hangzhou", "ZoneId":"cn-hangzhou-h", "Engine":"MongoDB", "EngineVersion":" 5.0", "DBInstanceClass":"mdb.shard.2x.xlarge.d", "DBInstanceStorage":30, "ChargeType":"PrePaid", "Period":1, "StorageType":"cloud_essd1" } ] |
| CommodityCode |
string |
任意 |
インスタンスの商品コード。有効な値:
|
badds |
| ProductCode |
string |
任意 |
プロダクトコード。デフォルト値は dds です。 |
dds |
| BusinessInfo |
string |
任意 |
ビジネス情報。これは追加パラメーターです。 |
{"AccountPassword":"Pw123456","DBInstanceDescription":"test"} |
| CouponNo |
string |
任意 |
クーポンを使用するかどうかを指定します。有効な値:
|
default |
| OrderParamOut |
string |
任意 |
注文パラメーターを返すかどうかを指定します。有効な値:
|
true |
| ResourceGroupId |
string |
任意 |
リソースグループ ID。リソースグループの詳細については、「リソースグループの基本情報を表示」をご参照ください。 |
rg-acfmyiu4ekp**** |
レスポンスフィールド
|
フィールド |
型 |
説明 |
例 |
|
object |
注文情報のリスト。 |
||
| Order |
object |
注文情報のリスト。 |
|
| Coupons |
object |
||
| Coupon |
array<object> |
クーポン情報のリスト。 |
|
|
array<object> |
注文のクーポン情報。 |
||
| Description |
string |
説明。 |
ceshi |
| IsSelected |
string |
クーポンが選択されているかどうかを示します。有効な値:
|
true |
| CouponNo |
string |
クーポンコード。 |
youhuiquan_promotion_option_id_for_blank |
| Name |
string |
クーポン名。 |
youhuiquan111 |
| PromotionRuleIdList |
object |
||
| PromotionRuleId |
array |
クーポンに対応するルール ID のリスト。 |
|
|
integer |
クーポンに対応するルール ID。 |
18772041**** |
|
| PromotionOptionCode |
string |
プロモーション情報。これはプロモーションオプションのコードです。 |
youhui_quan |
| OptionCode |
string |
クーポンコード。 |
youhui_quan |
| ActivityCategory |
string |
クーポンアクティビティのタイプ。有効な値:
|
payondemand |
| Effective |
boolean |
クーポンが有効かどうかを示します。 |
true |
| ActivityExtInfo |
object |
クーポンの追加情報。 |
|
| OriginalAmount |
string |
注文の元の価格。 |
322.4 |
| DiscountAmount |
string |
注文の割引額。 |
322.4 |
| RuleIds |
object |
||
| RuleId |
array |
注文のルール情報。 |
|
|
string |
プロモーションルール ID のセット。 |
{ "RuleId": [ 2075**** ] } |
|
| TradeAmount |
string |
注文の実際の取引価格。 |
0 |
| Currency |
string |
通貨。 |
USD |
| ShowDiscountInfo |
boolean |
割引情報を表示するかどうかを示します。 |
true |
| OptionalPromotions |
string |
プロモーション情報のリスト。 |
"[{\"activityCategory\":\"discount\",\"activityExtInfo\":{\"noUseYouhuiquan\":\"true\",\"activityId\":\"191156098xxxx\",\"activityExtraAttr\":\"{\\\"forbiddenCpsProfit\\\":\\\"true\\\",\\\"forbiddenCouponsRestricted\\\":\\\"true\\\",\\\"forbiddenAmbassadorProfit\\\":\\\"true\\\"}\",\"isActivityIdFromWanHuaTong\":\"true\",\"isContractActivity\":\"false\"},\"canPromFee\":906130,\"optionCode\":\"wanhua_activity\",\"promotionName\":\"FY24--MongoDB 副本集--首购--1年*折--ft首购权益\",\"promotionOptionNo\":\"19115609882xxxx\",\"promotionRuleIdList\":[2091xxxx],\"selected\":true,\"targetArticleItemCodes\":[]},{\"activityCategory\":\"discount\",\"activityExtInfo\":{\"activityId\":\"1018040010xxxxx\",\"wanHuaOrderExpireSec\":\"604800\",\"isActivityIdFromWanHuaTong\":\"true\",\"isContractActivity\":\"false\"},\"canPromFee\":339799,\"optionCode\":\"wanhua_activity\",\"promotionName\":\"FY24--MongoDB年付折扣\",\"promotionOptionNo\":\"10180400107xxxxx\",\"promotionRuleIdList\":[xxxxx],\"selected\":false,\"targetArticleItemCodes\":[]}]" |
| PromDetailList |
string |
一致したプロモーション。 |
[{\"finalPromFee\":90xxx,\"optionCode\":\"wanhua_activity\",\"promType\":\"discount\",\"promotionId\":2091xxxx,\"promotionName\":\"新用户购买云数据库 MongoDB 副本集1年享*折优惠,限1台\"}]" |
| DepreciateInfo |
object |
値下げに関する情報。 |
|
| ListPrice |
number |
リスト価格。 |
1* |
| OriginalStandAmount |
number |
元の合計価格。 |
12* |
| CheapStandAmount |
number |
値下げ後の合計価格。 |
9* |
| CheapRate |
number |
値下げ率。 |
30% |
| Differential |
number |
差額割引。これは注文の合計価格に表示されます。 |
** |
| DifferentialName |
string |
差額割引の名前。 |
XXXXX |
| MonthPrice |
number |
月額料金。 |
** |
| IsContractActivity |
boolean |
契約プロモーションが一致したかどうかを示します。 |
false |
| IsShow |
string |
値下げを表示するかどうかを示します。 |
true |
| ContractActivity |
object |
契約プロモーション。 |
|
| FinalPromFee |
number |
合計割引額。 |
3621.6 |
| FinalFee |
number |
割引後の価格。 |
20522.4 |
| ProdFee |
number |
元の価格。 |
24144.0 |
| ActivityId |
integer |
プロモーション ID。 |
41120065996xxxxx |
| OptionCode |
string |
プロモーション ID です。 |
wanhua_activity |
| ActivityName |
string |
プロモーション名。 |
合同优惠_整单_xxx折 |
| OptionIds |
object |
||
| OptionId |
array |
プロモーション ID のリスト。 |
|
|
integer |
プロモーション ID。 |
200000614xxxx |
|
| StandDiscountPrice |
number |
割引価格。 |
0 |
| StandPrice |
number |
割引価格。 |
0 |
| ContractActivity |
boolean |
契約プロモーションが一致したかどうかを示します。 |
false |
| Code |
string |
注文コード。 |
"" |
| Message |
string |
注文情報。 |
"" |
| IsContractActivity |
boolean |
契約プロモーションが一致したかどうかを示します。 |
false |
| TotalCostAmount |
number |
注文の合計価格。 |
483.14 |
| RequestId |
string |
リクエスト ID。 |
27227A3D-6B86-56F3-9E03-9E60F001CE12 |
| SubOrders |
object |
||
| SubOrder |
array<object> |
クーポンのルール。 |
|
|
array<object> |
クーポンルールの詳細。 |
||
| OriginalAmount |
string |
注文の元の価格。 |
322.4 |
| DiscountAmount |
string |
注文の割引額。 |
322.4 |
| RuleIds |
object |
||
| RuleId |
array |
プロモーションルールのリスト。 |
|
|
string |
プロモーションルール ID のセット。 |
{ "RuleId": [ 2075**** ] } |
|
| TradeAmount |
string |
注文の実際の取引価格。 |
0 |
| InstanceId |
string |
インスタンス ID。 |
dds-bp1b6e54e7cc**** |
| DepreciateInfo |
object |
値下げ情報。 |
|
| ListPrice |
number |
リスト価格。 |
1* |
| OriginalStandAmount |
number |
元の合計価格。 |
12* |
| CheapStandAmount |
number |
値下げ後の合計価格。 |
9* |
| CheapRate |
number |
値下げ率。 |
30% |
| Differential |
number |
差額割引。これは注文の合計価格に表示されます。 |
** |
| DifferentialName |
string |
差額割引の名前。 |
XXXXX |
| MonthPrice |
number |
月額料金。 |
** |
| IsContractActivity |
boolean |
契約プロモーションが一致したかどうかを示します。 |
false |
| IsShow |
string |
値下げを表示するかどうかを示します。 |
true |
| ContractActivity |
object |
プロモーション情報。 |
|
| FinalPromFee |
number |
合計割引額。 |
3621.6 |
| FinalFee |
number |
割引後の価格。 |
20522.4 |
| ProdFee |
number |
元の価格。 |
24144.0 |
| ActivityId |
integer |
プロモーション ID。 |
41120065996xxxxx |
| OptionCode |
string |
プロモーション ID。 |
wanhua_activity |
| ActivityName |
string |
プロモーション名。 |
合同优惠_整单_xxx折 |
| OptionIds |
object |
||
| OptionId |
array |
プロモーション ID のリスト。 |
|
|
integer |
プロモーション ID。 |
2388xxxx |
|
| StartTime |
string |
プロモーションの開始時刻。 |
2024-02-29 10:30:00 |
| IsNewOfficialActivity |
string |
値下げプロモーションが一致したかどうかを示します。 |
命中降价优惠。 |
| ModuleInstance |
object |
||
| ModuleInstance |
array<object> |
注文項目のインスタンス構成。 |
|
|
array<object> |
注文項目のインスタンス構成のサブオブジェクト。 |
||
| CycleFee |
string |
モジュールのサイクル料金。 |
0.0 |
| PromDetailList |
object |
||
| PromDetail |
array<object> |
割引の詳細。 |
|
|
array<object> |
割引情報。 |
||
| FinalPromFee |
number |
割引額。 |
0.0 |
| ActivityExtInfo |
object |
割引詳細に関する追加情報。 |
{ "activityId": "1512010241743170" } |
| OptionCode |
string |
クーポンの商品コード。 |
wanhua_activity |
| PromType |
string |
割引のサブタイプ。 |
discount |
| PromotionId |
integer |
プロモーション ID。 |
8105187xxxx |
| PromotionName |
string |
プロモーション名。 |
【xxxx-x月降价项目】MongoDB全规格--xxxxx |
| PromotionCode |
string |
クーポンコード。 |
aliwood-xxx |
| DerivedPromType |
string |
割引のサブタイプ。 |
subPrice |
| DepreciateInfo |
object |
プロモーション情報。 |
|
| ListPrice |
number |
リスト価格。 |
1* |
| OriginalStandAmount |
number |
元の合計価格。 |
12* |
| CheapStandAmount |
number |
値下げ後の合計価格。 |
9* |
| CheapRate |
number |
値下げ率。 |
30% |
| Differential |
number |
差額割引。これは注文の合計価格に表示されます。 |
** |
| DifferentialName |
string |
差額割引の名前。 |
XXXXX |
| MonthPrice |
number |
月額料金。 |
** |
| IsContractActivity |
boolean |
契約プロモーションが一致したかどうかを示します。 |
false |
| IsShow |
string |
値下げを表示するかどうかを示します。 |
true |
| DiscountFee |
string |
割引額。 |
0.0 |
| ModuleAttrs |
object |
||
| moduleAttr |
array<object> |
モジュールプロパティ。 |
|
|
object |
注文パラメーター。 |
||
| Code |
string |
プロパティコード。 |
dds_dbtype |
| Name |
string |
プロパティ名。 |
MongoDB |
| Type |
string |
プロパティタイプ。 |
3 |
| Value |
string |
プロパティ値。 |
MongoDB |
| ModuleCode |
string |
モジュールコード。 |
dds_dbtype |
| ModuleId |
integer |
モジュール ID。 |
1017110000415xxx |
| ModuleName |
string |
モジュール名。 |
数据库类型 |
| NeedOrderPay |
boolean |
モジュールが注文で支払いが必要かどうかを示します。 |
true |
| PayFee |
number |
支払額。 |
0.0 |
| PricingModule |
boolean |
モジュールが課金項目であるかどうかを示します。 |
false |
| StandPrice |
number |
割引価格。 |
0 |
| TotalProductFee |
number |
製品の元の価格。 |
0.0 |
| ContractActivity |
boolean |
契約プロモーションが一致したかどうかを示します。 |
false |
| StandDiscountPrice |
number |
割引価格。 |
451.00 |
| priceUnit |
string |
価格単位。 |
xxxx |
| priceType |
string |
価格タイプ。 |
monthPrice |
| UnitPriceUnit4Buy |
string |
価格単位。 |
USD/Hour |
| ContractActivity |
boolean |
契約プロモーションが一致したかどうかを示します。 |
false |
| OptionalPromotions |
object |
||
| OptionalPromotion |
array<object> |
利用可能なプロモーションオプションのリスト。 |
|
|
array<object> |
|||
| ActivityCategory |
string |
プロモーションタイプ。 |
discount |
| ActivityExtInfo |
object |
プロモーションに関する追加情報。 |
{ "activityId": "1512010241743170" } |
| CanPromFee |
number |
割引可能価格。 |
4560789 |
| OptionCode |
string |
プロモーションタイプ。 |
wanhua_activity |
| PromotionName |
string |
プロモーション名。 |
【xxx月降价项目】MongoDB全规格--xxx |
| PromotionOptionNo |
string |
プロモーション番号。 |
1512010241xxxxx |
| Selected |
boolean |
プロモーションが外部で選択されているかどうかを示します。 |
false |
| Show |
boolean |
プロモーションを表示するかどうかを示します。 |
true |
| TargetArticleItemCodes |
object |
||
| targetArticleItemCode |
array |
対象の商品仕様コードのリスト。 |
|
|
string |
対象の商品仕様コード。 |
"" |
|
| PromotionRuleIdList |
object |
||
| promotionRuleId |
array |
プロモーション ID のリスト。 |
|
|
string |
プロモーション ID。 |
43289909 |
|
| PromDetailList |
object |
||
| PromDetail |
array<object> |
割引の詳細。 |
|
|
array<object> |
割引情報。 |
||
| FinalPromFee |
number |
割引額。 |
0.0 |
| ActivityExtInfo |
object |
プロモーションに関する追加情報。 |
{ "activityId": "1512010241743170" } |
| OptionCode |
string |
クーポンコード。 |
youhui_quan |
| PromType |
string |
割引のサブタイプ。 |
discount |
| PromotionId |
integer |
プロモーション ID。 |
233xxxxx |
| PromotionName |
string |
プロモーション名。 |
【xxxx-x月降价项目】MongoDB全规格--xxxxx |
| PromotionCode |
string |
クーポンコード。 |
ali-wood |
| DerivedPromType |
string |
割引のサブタイプ。 |
subPrice |
| StandDiscountPrice |
number |
割引価格。 |
8687 |
| StandPrice |
number |
割引価格。 |
62982 |
| IsContractActivity |
boolean |
契約プロモーションが一致したかどうかを示します。 |
false |
| TraceId |
string |
トレース ID。 |
27227A3D-6B87-56F3-9E03-9E60F001**** |
| OrderParams |
string |
注文パラメーター。 説明
このパラメーターは、OrderParamOut が true に設定されている場合にのみ返されます。 |
{\"autoPay\":false}" |
| Rules |
object |
||
| Rule |
array<object> |
プロモーションルールのリスト。 |
|
|
object |
プロモーションルール情報。 |
||
| RuleDescId |
integer |
ポリシー ID。 |
2075**** |
| Title |
string |
ルールタイトル。 |
demo |
| Name |
string |
ルール名。 |
demoname |
例
成功レスポンス
JSONJSON
{
"Order": {
"Coupons": {
"Coupon": [
{
"Description": "ceshi",
"IsSelected": "true",
"CouponNo": "youhuiquan_promotion_option_id_for_blank",
"Name": "youhuiquan111",
"PromotionRuleIdList": {
"PromotionRuleId": [
0
]
},
"PromotionOptionCode": "youhui_quan",
"OptionCode": "youhui_quan",
"ActivityCategory": "payondemand",
"Effective": true,
"ActivityExtInfo": {
"test": "test",
"test2": 1
}
}
]
},
"OriginalAmount": "322.4",
"DiscountAmount": "322.4",
"RuleIds": {
"RuleId": [
"{ \"RuleId\": [ 2075**** ] }"
]
},
"TradeAmount": "0",
"Currency": "USD",
"ShowDiscountInfo": true,
"OptionalPromotions": "\"[{\\\"activityCategory\\\":\\\"discount\\\",\\\"activityExtInfo\\\":{\\\"noUseYouhuiquan\\\":\\\"true\\\",\\\"activityId\\\":\\\"191156098xxxx\\\",\\\"activityExtraAttr\\\":\\\"{\\\\\\\"forbiddenCpsProfit\\\\\\\":\\\\\\\"true\\\\\\\",\\\\\\\"forbiddenCouponsRestricted\\\\\\\":\\\\\\\"true\\\\\\\",\\\\\\\"forbiddenAmbassadorProfit\\\\\\\":\\\\\\\"true\\\\\\\"}\\\",\\\"isActivityIdFromWanHuaTong\\\":\\\"true\\\",\\\"isContractActivity\\\":\\\"false\\\"},\\\"canPromFee\\\":906130,\\\"optionCode\\\":\\\"wanhua_activity\\\",\\\"promotionName\\\":\\\"FY24--MongoDB 副本集--首购--1年*折--ft首购权益\\\",\\\"promotionOptionNo\\\":\\\"19115609882xxxx\\\",\\\"promotionRuleIdList\\\":[2091xxxx],\\\"selected\\\":true,\\\"targetArticleItemCodes\\\":[]},{\\\"activityCategory\\\":\\\"discount\\\",\\\"activityExtInfo\\\":{\\\"activityId\\\":\\\"1018040010xxxxx\\\",\\\"wanHuaOrderExpireSec\\\":\\\"604800\\\",\\\"isActivityIdFromWanHuaTong\\\":\\\"true\\\",\\\"isContractActivity\\\":\\\"false\\\"},\\\"canPromFee\\\":339799,\\\"optionCode\\\":\\\"wanhua_activity\\\",\\\"promotionName\\\":\\\"FY24--MongoDB年付折扣\\\",\\\"promotionOptionNo\\\":\\\"10180400107xxxxx\\\",\\\"promotionRuleIdList\\\":[xxxxx],\\\"selected\\\":false,\\\"targetArticleItemCodes\\\":[]}]\"",
"PromDetailList": "[{\\\"finalPromFee\\\":90xxx,\\\"optionCode\\\":\\\"wanhua_activity\\\",\\\"promType\\\":\\\"discount\\\",\\\"promotionId\\\":2091xxxx,\\\"promotionName\\\":\\\"新用户购买云数据库 MongoDB 副本集1年享*折优惠,限1台\\\"}]\"",
"DepreciateInfo": {
"ListPrice": 0,
"OriginalStandAmount": 0,
"CheapStandAmount": 0,
"CheapRate": 0,
"Differential": 0,
"DifferentialName": "XXXXX",
"MonthPrice": 0,
"IsContractActivity": false,
"IsShow": "true",
"ContractActivity": {
"FinalPromFee": 3621.6,
"FinalFee": 20522.4,
"ProdFee": 24144,
"ActivityId": 0,
"OptionCode": "wanhua_activity",
"ActivityName": "合同优惠_整单_xxx折",
"OptionIds": {
"OptionId": [
0
]
}
}
},
"StandDiscountPrice": 0,
"StandPrice": 0,
"ContractActivity": false,
"Code": "\"\"",
"Message": "\"\"",
"IsContractActivity": false,
"TotalCostAmount": 483.14
},
"RequestId": "27227A3D-6B86-56F3-9E03-9E60F001CE12",
"SubOrders": {
"SubOrder": [
{
"OriginalAmount": "322.4",
"DiscountAmount": "322.4",
"RuleIds": {
"RuleId": [
"{ \"RuleId\": [ 2075**** ] }"
]
},
"TradeAmount": "0",
"InstanceId": "dds-bp1b6e54e7cc****",
"DepreciateInfo": {
"ListPrice": 0,
"OriginalStandAmount": 0,
"CheapStandAmount": 0,
"CheapRate": 0,
"Differential": 0,
"DifferentialName": "XXXXX",
"MonthPrice": 0,
"IsContractActivity": false,
"IsShow": "true",
"ContractActivity": {
"FinalPromFee": 3621.6,
"FinalFee": 20522.4,
"ProdFee": 24144,
"ActivityId": 0,
"OptionCode": "wanhua_activity",
"ActivityName": "合同优惠_整单_xxx折",
"OptionIds": {
"OptionId": [
0
]
}
},
"StartTime": "2024-02-29 10:30:00"
},
"IsNewOfficialActivity": "命中降价优惠。",
"ModuleInstance": {
"ModuleInstance": [
{
"CycleFee": "0.0",
"PromDetailList": {
"PromDetail": [
{
"FinalPromFee": 0,
"ActivityExtInfo": {
"activityId": "1512010241743170"
},
"OptionCode": "wanhua_activity",
"PromType": "discount",
"PromotionId": 0,
"PromotionName": "【xxxx-x月降价项目】MongoDB全规格--xxxxx",
"PromotionCode": "aliwood-xxx",
"DerivedPromType": "subPrice"
}
]
},
"DepreciateInfo": {
"ListPrice": 0,
"OriginalStandAmount": 0,
"CheapStandAmount": 0,
"CheapRate": 0,
"Differential": 0,
"DifferentialName": "XXXXX",
"MonthPrice": 0,
"IsContractActivity": false,
"IsShow": "true"
},
"DiscountFee": "0.0",
"ModuleAttrs": {
"moduleAttr": [
{
"Code": "dds_dbtype",
"Name": "MongoDB",
"Type": "3",
"Value": "MongoDB"
}
]
},
"ModuleCode": "dds_dbtype",
"ModuleId": 0,
"ModuleName": "数据库类型",
"NeedOrderPay": true,
"PayFee": 0,
"PricingModule": false,
"StandPrice": 0,
"TotalProductFee": 0,
"ContractActivity": false,
"StandDiscountPrice": 451,
"priceUnit": "xxxx",
"priceType": "monthPrice",
"UnitPriceUnit4Buy": "USD/Hour"
}
]
},
"ContractActivity": false,
"OptionalPromotions": {
"OptionalPromotion": [
{
"ActivityCategory": "discount",
"ActivityExtInfo": {
"activityId": "1512010241743170"
},
"CanPromFee": 4560789,
"OptionCode": "wanhua_activity",
"PromotionName": "【xxx月降价项目】MongoDB全规格--xxx",
"PromotionOptionNo": "1512010241xxxxx",
"Selected": false,
"Show": true,
"TargetArticleItemCodes": {
"targetArticleItemCode": [
"\"\""
]
},
"PromotionRuleIdList": {
"promotionRuleId": [
"43289909"
]
}
}
]
},
"PromDetailList": {
"PromDetail": [
{
"FinalPromFee": 0,
"ActivityExtInfo": {
"activityId": "1512010241743170"
},
"OptionCode": "youhui_quan",
"PromType": "discount",
"PromotionId": 0,
"PromotionName": "【xxxx-x月降价项目】MongoDB全规格--xxxxx",
"PromotionCode": "ali-wood",
"DerivedPromType": "subPrice"
}
]
},
"StandDiscountPrice": 8687,
"StandPrice": 62982,
"IsContractActivity": false
}
]
},
"TraceId": "27227A3D-6B87-56F3-9E03-9E60F001****",
"OrderParams": "{\\\"autoPay\\\":false}\"",
"Rules": {
"Rule": [
{
"RuleDescId": 0,
"Title": "demo",
"Name": "demoname"
}
]
}
}
エラーコード
|
HTTP ステータスコード |
エラーコード |
エラーメッセージ |
説明 |
|---|---|---|---|
| 400 | MissingParameter | Period is mandatory for this action. | |
| 400 | InvalidParam | Specified parameter Period is not valid. | |
| 400 | OriginPriceError | Origin price error. |
完全なリストについては、「エラーコード」をご参照ください。
変更履歴
完全なリストについては、「変更履歴」をご参照ください。