Search
API Name
DescribePricingModule
Overview
You can call this operation to query module code of a specific Alibaba Cloud product.
Request parameters
| Name |
Type |
Required |
Description |
| ProductCode |
String |
Yes |
Product code |
| ProductType |
String |
No |
Product type |
| SubscriptionType |
String |
Yes |
Subscription,PayAsYouGo |
Response parameters
| Name |
Type |
Description |
| ModuleList |
Module |
Module list |
| AttributeList |
Attribute |
Module attribute list |
| Success |
Boolean |
Success request or not |
| Code |
String |
Error code |
| Message |
String |
Description |
| RequestId |
String |
RequestId |
ModuleList
| Name |
Type |
Description |
| ModuleName |
String |
Module name |
| ModuleCode |
String |
Module cde |
| PriceType |
String |
Price types:Usage,Hour,Day,Week,Month,Year |
| Currency |
String |
Currency by default is USD |
| ConfigList |
List |
Module configure list |
AttributeList
| Name |
Type |
Description |
| Name |
String |
Attribute name |
| Code |
String |
Attribute Code |
| Unit |
String |
|
| AttributeValue |
Item |
See “AttributeValue” |
AttributeValue
| Name |
Type |
Description |
| Name |
String |
Module name |
| Type |
String |
Module type |
| Value |
String |
Attribute value |
| Remark |
String |
Description information |
Error codes
| Error code |
Description |
HTTP status code |
Description |
| NotApplicable |
This API is not applicable for caller. |
400 |
The error message returned when you are not authorized to use the API. |
| MissingParameter |
The specified parameter xx is mandatory for this request. |
400 |
The error message returned when the xx parameter is not specified. |
| InvalidParameter |
The specified parameter xx is not valid. |
400 |
The error message returned when the xx parameter is invalid. |
| InvalidModuleCode |
The specified moduleCode is not valid. |
400 |
The error message returned when the specified moduleCode parameter is invalid. |
| InvalidConfigCode |
The specified configCode is not valid. |
400 |
The error message returned when the specified configCode parameter is invalid. |
| InvalidOwner |
The specified owner doesn’t belong to caller. |
400 |
The error message returned when the specified owner does not belong to the caller. |
| InvalidCaller |
The specified caller doesn’t exists. |
400 |
The error message returned when the caller is invalid. |
| InternalError |
The request processing has failed due to some unknown error, exception or failure. |
400 |
The error message returned when an unknown internal error occurs. |
| ProductNotFind |
Can not find inquired product, it may not exist. |
400 |
The error message returned when the specified product is invalid. |
Thank you! We've received your feedback.