Membuat image kustom untuk instans RDS Custom.
Deskripsi operasi
Mesin database yang didukung
RDS MySQL
RDS SQL Server
Dokumen fitur terkait
Penggunaan
Metode 1: Buat image kustom dari snapshot yang dihasilkan oleh disk sistem. Tentukan SnapshotId bersama dengan ImageName.
Metode 2: Buat image kustom dari instans Custom. Tentukan InstanceId bersama dengan ImageName.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
rds:CreateRCImage |
none |
*全部资源
|
None | None |
Sintaks permintaan
POST HTTP/1.1
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
No |
ID region. Anda dapat memanggil operasi DescribeRegions untuk menanyakan ID region. |
cn-beijing |
| SnapshotId |
string |
No |
ID snapshot yang digunakan untuk membuat image kustom. Anda dapat memanggil operasi DescribeRCSnapshots untuk menanyakan ID snapshot. |
rcds-c9bjdl79vz5dx******** |
| ImageName |
string |
No |
Nama image kustom. |
Created_from_rc-vma9w5z699x9******** |
| InstanceId |
string |
No |
ID instans RDS Custom. |
rc-vma9w5z699x93204**** |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
Detail parameter respons. |
||
| RequestId |
string |
ID permintaan. |
F8D78AED-5050-113C-A46E-7B346******* |
Contoh
Respons sukses
JSONformat
{
"RequestId": "F8D78AED-5050-113C-A46E-7B346*******"
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | InvalidInstanceId.NotFound | InstanceId is invalid, not found. | |
| 400 | InvalidParameter.ImageName | The image name is null. | |
| 400 | InvalidParameter.DuplicateImageName | The image name is duplicated. | |
| 500 | InvokeProxyFailure | The request processing has failed due to service failure of rds api. | |
| 404 | InvalidDBInstanceName.NotFound | The database instance does not exist. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.