调用 DescribeDBInstanceEngineMinorVersions 接口查询实例可升级的内核小版本。
同步请求。
参数 | 类型 | 是否必选 | 示例值 | 描述 |
---|---|---|---|---|
InstanceIds | String[] | 否 | ["mysql-19f81673****"] | 待查询可升级内核版本的实例 ID。支持传入多个进行批量查询。 说明
|
参数 | 类型 | 示例值 | 描述 |
---|---|---|---|
KernelVersions | String[] | [
"MySQL 5.7.32_20240315",
"MySQL 5.7.32_20240216",
"MySQL 5.7.32_20240416",
"MySQL 5.7.32_20240415",
"MySQL 8.0.32_20241015",
"MySQL 5.7.32_20241018",
"MySQL 5.7.32_20240618",
"MySQL 5.7.32_20240615",
"MySQL 8.0.32_20240816",
"MySQL 8.0.32_20241021",
"MySQL 5.7.32_20241015",
"MySQL 5.7.32_20241021",
"MySQL 5.7.32_20241020",
"MySQL 8.0.26_20240316"
] | 实例可升级的内核小版本。 |
查询单个实例可升级的内核小版本。
POST /?Action=DescribeDBInstanceEngineMinorVersions&Version=2022-01-01 HTTP/1.1 Content-Type: application/json Host: rds.volcengineapi.com X-Date: 20211202T101010Z Authorization: HMAC-SHA256 Credential=AKLTN2I0MmFiNzMxNWE5NDgzMzk4MmVjMTVkODlkZTZ****/20211202/cn-beijing/rds_mysql/request,SignedHeaders=x-date, Signature=71d31fc7bcf990142851c9833c5656391486cda0ae2e0b8ada733b7c6458**** { "InstanceIds": [ "mysql-19f81673add7" ] }
{ "ResponseMetadata": { "RequestId": "202412192015432E3286F81118CC551BB1-296bdf", "Action": "DescribeDBInstanceEngineMinorVersions", "Version": "2022-01-01", "Service": "rds_mysql", "Region": "cn-beijing" }, "Result": { "KernelVersions": [ "MySQL 8.0.32_20241216", "MySQL 8.0.32_20241215", "MySQL 8.0.32_20241021", "MySQL 8.0.32_20241020", "MySQL 8.0.32_20241019", "MySQL 8.0.32_20241018", "MySQL 8.0.32_20241017", "MySQL 8.0.32_20241016" ] } }
查询多个实例可升级的内核小版本。
POST /?Action=DescribeDBInstanceEngineMinorVersions&Version=2022-01-01 HTTP/1.1 Content-Type: application/json Host: rds.volcengineapi.com X-Date: 20211202T101010Z Authorization: HMAC-SHA256 Credential=AKLTN2I0MmFiNzMxNWE5NDgzMzk4MmVjMTVkODlkZTZ****/20211202/cn-beijing/rds_mysql/request,SignedHeaders=x-date, Signature=71d31fc7bcf990142851c9833c5656391486cda0ae2e0b8ada733b7c6458**** { "InstanceIds": [ "mysql-19f81673****", "mysql-67bda593****" ] }
{ "ResponseMetadata": { "RequestId": "202412192013409B15FAFEFF272039AC91-0552e5", "Action": "DescribeDBInstanceEngineMinorVersions", "Version": "2022-01-01", "Service": "rds_mysql", "Region": "cn-beijing" }, "Result": { "KernelVersions": [ "MySQL 8.0.32_20241216" ] } }
查询当前账号所有在用实例的可升级的内核小版本。
POST /?Action=DescribeDBInstanceEngineMinorVersions&Version=2022-01-01 HTTP/1.1 Content-Type: application/json Host: rds.volcengineapi.com X-Date: 20211202T101010Z Authorization: HMAC-SHA256 Credential=AKLTN2I0MmFiNzMxNWE5NDgzMzk4MmVjMTVkODlkZTZ****/20211202/cn-beijing/rds_mysql/request,SignedHeaders=x-date, Signature=71d31fc7bcf990142851c9833c5656391486cda0ae2e0b8ada733b7c6458****
{ "ResponseMetadata": { "RequestId": "202412192016072E3286F81118CC55263E-166a2c", "Action": "DescribeDBInstanceEngineMinorVersions", "Version": "2022-01-01", "Service": "rds_mysql", "Region": "cn-beijing" }, "Result": { "KernelVersions": [ "MySQL 5.7.32_20240315", "MySQL 5.7.32_20240216", "MySQL 5.7.32_20240416", "MySQL 5.7.32_20240415", "MySQL 8.0.32_20241015", "MySQL 5.7.32_20241018", "MySQL 5.7.32_20240618", "MySQL 5.7.32_20240615", "MySQL 8.0.32_20240816", "MySQL 8.0.32_20241021", "MySQL 5.7.32_20241015", "MySQL 5.7.32_20241021", "MySQL 5.7.32_20241020", "MySQL 8.0.26_20240316", "MySQL 5.7.32_20241216", "MySQL 8.0.32_20241216" ] } }
更多详情,请参见错误码。