调用DescribeCommodity接口查询全球加速商品信息。
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
调试
授权信息
|
操作 |
访问级别 |
资源类型 |
条件关键字 |
关联操作 |
|
ga:DescribeCommodity |
get |
*全部资源
|
无 | 无 |
请求参数
|
名称 |
类型 |
必填 |
描述 |
示例值 |
| RegionId |
string |
是 |
全球加速实例所属的地域 ID,仅取值:cn-hangzhou。 |
cn-hangzhou |
| CommodityCode |
string |
是 |
商品 Code。 中国站示例值:
国际站示例值:
|
ga_gapluspre_public_cn |
| OrderType |
string |
是 |
订单类型。取值:
|
BUY |
返回参数
|
名称 |
类型 |
描述 |
示例值 |
|
object |
返回参数列表。 |
||
| CommodityCode |
string |
商品 Code。 中国站返回示例值:
国际站返回示例值:
|
ga_gapluspre_public_cn |
| CommodityName |
string |
商品名称。 |
Global Accelerator_Instance Type (Subscription) |
| Components |
array<object> |
商品模块信息。 不同商品返回内容不同。 |
|
|
array<object> |
商品模块信息。 不同商品返回内容不同。 |
||
| ComponentCode |
string |
商品模块 Code。 不同商品模块返回内容不同。 |
Subscription duration |
| ComponentName |
string |
商品模块名称。 不同商品模块返回内容不同。 |
Subscription duration |
| Properties |
array<object> |
商品模块属性。 不同商品模块返回内容不同。 |
|
|
array<object> |
商品模块属性。 不同商品模块返回内容不同。 |
||
| Code |
string |
商品模块属性 Code。 不同商品模块返回内容不同。 |
ord_time |
| Name |
string |
商品模块属性名称。 不同商品模块返回内容不同。 |
Subscription duration |
| PropertyValueList |
array<object> |
商品模块属性值列表。 不同商品模块返回内容不同。 |
|
|
object |
商品模块属性值列表。 不同商品模块返回内容不同。 |
||
| Text |
string |
商品模块属性内容。 不同商品模块返回内容不同。 |
1 month |
| Value |
string |
商品模块属性值。 不同商品模块返回内容不同。 |
1:Month |
| Tips |
string |
商品模块属性提示信息。 不同商品模块返回内容不同。 |
1 month |
| OrderIndex |
integer |
商品模块属性显示顺序。 不同商品模块返回内容不同。 |
1 |
| RequestId |
string |
请求 ID。 |
04F0F334-1335-436C-A1D7-6C044FE73368 |
示例
正常返回示例
JSON格式
{
"CommodityCode": "ga_gapluspre_public_cn",
"CommodityName": "Global Accelerator_Instance Type (Subscription)",
"Components": [
{
"ComponentCode": "Subscription duration",
"ComponentName": "Subscription duration",
"Properties": [
{
"Code": "ord_time",
"Name": "Subscription duration",
"PropertyValueList": [
{
"Text": "1 month",
"Value": "1:Month",
"Tips": "1 month",
"OrderIndex": 1
}
]
}
]
}
],
"RequestId": "04F0F334-1335-436C-A1D7-6C044FE73368"
}
错误码
|
HTTP status code |
错误码 |
错误信息 |
描述 |
|---|---|---|---|
| 500 | UnknownError | An error occurred while processing your request. Please try again. If the error persists, please submit a ticket. | 处理请求时出现错误,请稍后重试。 |
访问错误中心查看更多错误码。
变更历史
更多信息,参考变更详情。