Meningkatkan versi kernel kluster PolarDB Basis Data Relasional Cloud-Native for MySQL.
Deskripsi operasi
You can update only the revision version of a PolarDB for MySQL cluster, for example, from 8.0.1.1.3 to 8.0.1.1.4.
You can use only your Alibaba Cloud account to create scheduled tasks that update the kernel version of a PolarDB for MySQL cluster. RAM users are not authorized to update the kernel version of a PolarDB for MySQL cluster.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
polardb:UpgradeDBClusterVersion |
update |
*dbcluster
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| DBClusterId |
string |
Yes |
ID kluster. |
pc-**************** |
| UpgradePolicy |
string |
No |
Kebijakan peningkatan versi engine. Nilai valid:
|
HOT |
| UpgradeLabel |
string |
No |
Tag peningkatan. Nilai ditetapkan sebagai INNOVATE. Catatan
|
INNOVATE |
| PlannedStartTime |
string |
No |
Waktu mulai paling awal untuk menjalankan tugas yang memperbarui versi kernel kluster. Tentukan waktu dalam format Catatan
|
2021-01-14T09:00:00Z |
| PlannedEndTime |
string |
No |
Pengatur waktu mulai paling akhir untuk menjalankan tugas yang memperbarui versi kernel kluster. Tentukan pengatur waktu dalam format Catatan
|
2021-01-14T09:30:00Z |
| FromTimeService |
boolean |
No |
Apakah akan segera menjalankan tugas peningkatan kernel. Nilai valid:
Catatan
Parameter ini tidak diperlukan saat Anda memanggil operasi. |
false |
| UpgradeType |
string |
No |
Tipe pembaruan. Nilai valid:
|
PROXY |
| TargetDBRevisionVersionCode |
string |
No |
Kode versi database tujuan Peningkatan kluster. Anda dapat memanggil operasi DescribeDBClusterVersion untuk mengkueri kode versi. |
20230707 |
| TargetProxyRevisionVersionCode |
string |
No |
Kode versi proksi tujuan Peningkatan kluster. Anda dapat memanggil operasi DescribeDBClusterVersion untuk mengkueri kode versi. |
20240702 |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The ID of the request. |
CAE6755F-B79A-4861-B227-801FE8****** |
Contoh
Respons sukses
JSONformat
{
"RequestId": "CAE6755F-B79A-4861-B227-801FE8******"
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | ScheduleTaskExist | The specified dbCluster already has a scheduled task. | |
| 400 | InvalidUpgradeLabel.Malformed | The specified parameter UpgradeLabel is not valid. | |
| 400 | InvalidEngine.Unsupported | The specified Engine does not support this feature. | |
| 400 | InvalidEngineMinorVersion.Malformed | The specified parameter MinorVersion is not valid. | |
| 400 | InvalidEngineVersion.Unsupported | The specified engineVersion is not supported. | |
| 400 | InvalidUpgradePolicy.Malformed | The specified parameter UpgradePolicy is not valid. | |
| 400 | InvalidSwitchTimeMode.Malformed | The specified parameter SwitchTimeMode is not valid. | |
| 403 | OperationDenied.UpgradeType | The operation is not permitted due to gdn limit | |
| 403 | IncorrectGdnStandbyDBVersion | Current gdn standby cluster is not the latest db version. | |
| 404 | InvalidDBCluster.NotFound | The DBClusterId provided does not exist in our records. | |
| 404 | InvalidDBClusterId.Malformed | The specified parameter DBClusterId is not valid. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.