Call the DescribeResourcePackageSpec interface to query the specifications of the resource package.
Synchronous request.
Name | Type | Required | Example | Description |
|---|---|---|---|---|
PackageType | String | Yes | StoragePackage | The type of the resource package. Currently, only the value StoragePackage is supported, which means a storage package. |
Name | Type | Example | Description |
|---|---|---|---|
PackageSpecs | String[] | [ "100", "200", "300", "500", "1000", "2000", "5000", "10000" ] | The specification of the resource package. The unit is GiB. |
PackagePriceDetails | Object[] | Please refer to the return example. | The deduction items of the resource package and the corresponding deduction factors for the deduction items. |
DeductionItem | String | Regular backup space | Deduction items. The values can be Regular Backup Space, Backup Space of Deleted Instances, or Cross-regional Backup Space. |
DeductionFactor | String | 0.16 | Deduction factor. |
POST /?Action=DescribeResourcePackageSpec&Version=2022-01-01 HTTP/1.1 Content-Type: application/json Host: rds-mysql.cn-beijing.volcengineapi.com X-Date: 20211202T101010Z Authorization: HMAC-SHA256 Credential=AKLTN2I0MmFiNzMxNWE5NDgzMzk4MmVjMTVkODlkZTZ****/20211202/cn-beijing/rds_mysql/request,SignedHeaders=x-date, Signature=71d31fc7bcf990142851c9833c5656391486cda0ae2e0b8ada733b7c6458**** { "PackageType": "StoragePackage" }
{ "ResponseMetadata": { "RequestId": "202509222237438FA55B82971F2EDBA3D6-c76ee6", "Action": "DescribeResourcePackageSpec", "Version": "2022-01-01", "Service": "rds_mysql", "Region": "cn-beijing" }, "Result": { "PackagePriceDetails": [ { "DeductionFactor": "0.16", "DeductionItem": "常规备份空间" }, { "DeductionFactor": "0.16", "DeductionItem": "å·²åˆ é™¤å®žä¾‹å¤‡ä»½ç©ºé—´" }, { "DeductionFactor": "0.64", "DeductionItem": "跨地域备份空间" } ], "PackageSpecs": [ "100", "200", "300", "500", "1000", "2000", "5000", "10000" ] } }
For more details, refer to Error codes.