You need to enable JavaScript to run this app.
RDS for MySQL

RDS for MySQL

Copy page
Download PDF
Resource plan management
DescribeResourcePackageSpec
Copy page
Download PDF
DescribeResourcePackageSpec

Call the DescribeResourcePackageSpec interface to query the specifications of the resource package.

Request type

Synchronous request.

Request parameters

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.

Response parameters

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.

Sample request

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"
}

Sample response

{
    "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"
        ]
    }
}

Error codes

For more details, refer to Error codes.

Last updated: 2025.12.08 15:47:13