All Products
Search
Document Center

DescribeResourcePackageProduct

Last Updated: Oct 17, 2018

API Name

DescribeResourcePackageProduct

Overview

You can call this operation to query the information about a specified resource package.

Request parameters

Name Type Required Description
productCode String Yes The type of the specified product.

Response parameters

Name Type Description
ResourcePackages ResourcePackage The array of the resource packages. For more information, see Data dictionary.

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.

Sample requests

  1. https://business.ap-southeast-1.aliyuncs.com/?Action=DescribeResourcePackageProduct
  2. &ProductCode=flowpack

Sample responses

  1. "Data": {
  2. "ResourcePackages": {
  3. "ResourcePackage": [
  4. {
  5. "Name": "Data Transfer Plan",
  6. "ProductCode": "flowpack",
  7. "PackageTypes": {
  8. "PackageType": [
  9. {
  10. "Name": "Overseas",
  11. "Specifications": {
  12. "Specification": [
  13. {
  14. "Name": "512GB",
  15. "Value": "512",
  16. "AvailableDurations": {
  17. "AvailableDuration": [
  18. {
  19. "Name": "1 Month",
  20. "Value": 1,
  21. "Unit": "Month"
  22. }
  23. ]
  24. }
  25. },
  26. {
  27. "Name": "1TB",
  28. "Value": "1024",
  29. "AvailableDurations": {
  30. "AvailableDuration": [
  31. {
  32. "Name": "1 Month",
  33. "Value": 1,
  34. "Unit": "Month"
  35. }
  36. ]
  37. }
  38. },
  39. {
  40. "Name": "2TB",
  41. "Value": "2048",
  42. "AvailableDurations": {
  43. "AvailableDuration": [
  44. {
  45. "Name": "1 Month",
  46. "Value": 1,
  47. "Unit": "Month"
  48. }
  49. ]
  50. }
  51. },
  52. {
  53. "Name": "3TB",
  54. "Value": "3072",
  55. "AvailableDurations": {
  56. "AvailableDuration": [
  57. {
  58. "Name": "1 Month",
  59. "Value": 1,
  60. "Unit": "Month"
  61. }
  62. ]
  63. }
  64. },
  65. {
  66. "Name": "4TB",
  67. "Value": "4096",
  68. "AvailableDurations": {
  69. "AvailableDuration": [
  70. {
  71. "Name": "1 Month",
  72. "Value": 1,
  73. "Unit": "Month"
  74. }
  75. ]
  76. }
  77. },
  78. {
  79. "Name": "5TB",
  80. "Value": "5120",
  81. "AvailableDurations": {
  82. "AvailableDuration": [
  83. {
  84. "Name": "1 Month",
  85. "Value": 1,
  86. "Unit": "Month"
  87. }
  88. ]
  89. }
  90. },
  91. {
  92. "Name": "50GB",
  93. "Value": "50",
  94. "AvailableDurations": {
  95. "AvailableDuration": [
  96. {
  97. "Name": "1 Month",
  98. "Value": 1,
  99. "Unit": "Month"
  100. }
  101. ]
  102. }
  103. }
  104. ]
  105. },
  106. "Code": "FPT_generalnetwork_deadlineAcc_overseas_intl",
  107. "Properties": {
  108. "Property": []
  109. }
  110. },
  111. {
  112. "Name": "Hong Kong",
  113. "Specifications": {
  114. "Specification": [
  115. {
  116. "Name": "512GB",
  117. "Value": "512",
  118. "AvailableDurations": {
  119. "AvailableDuration": [
  120. {
  121. "Name": "1 Month",
  122. "Value": 1,
  123. "Unit": "Month"
  124. }
  125. ]
  126. }
  127. },
  128. {
  129. "Name": "1TB",
  130. "Value": "1024",
  131. "AvailableDurations": {
  132. "AvailableDuration": [
  133. {
  134. "Name": "1 Month",
  135. "Value": 1,
  136. "Unit": "Month"
  137. }
  138. ]
  139. }
  140. },
  141. {
  142. "Name": "2TB",
  143. "Value": "2048",
  144. "AvailableDurations": {
  145. "AvailableDuration": [
  146. {
  147. "Name": "1 Month",
  148. "Value": 1,
  149. "Unit": "Month"
  150. }
  151. ]
  152. }
  153. },
  154. {
  155. "Name": "3TB",
  156. "Value": "3072",
  157. "AvailableDurations": {
  158. "AvailableDuration": [
  159. {
  160. "Name": "1 Month",
  161. "Value": 1,
  162. "Unit": "Month"
  163. }
  164. ]
  165. }
  166. },
  167. {
  168. "Name": "4TB",
  169. "Value": "4096",
  170. "AvailableDurations": {
  171. "AvailableDuration": [
  172. {
  173. "Name": "1 Month",
  174. "Value": 1,
  175. "Unit": "Month"
  176. }
  177. ]
  178. }
  179. },
  180. {
  181. "Name": "5TB",
  182. "Value": "5120",
  183. "AvailableDurations": {
  184. "AvailableDuration": [
  185. {
  186. "Name": "1 Month",
  187. "Value": 1,
  188. "Unit": "Month"
  189. }
  190. ]
  191. }
  192. },
  193. {
  194. "Name": "50GB",
  195. "Value": "50",
  196. "AvailableDurations": {
  197. "AvailableDuration": [
  198. {
  199. "Name": "1 Month",
  200. "Value": 1,
  201. "Unit": "Month"
  202. }
  203. ]
  204. }
  205. }
  206. ]
  207. },
  208. "Code": "FPT_generalnetwork_deadlineAcc_hk_intl",
  209. "Properties": {
  210. "Property": []
  211. }
  212. }
  213. ]
  214. }
  215. }
  216. ]
  217. }