Mengubah instans sumber dan target Tugas DTS (Data Transmission Service).
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
polardb:ModifyDBClusterMigrationEndpoint |
update |
*全部资源
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| DBClusterId |
string |
Yes |
ID Kluster. Catatan
Panggil operasi DescribeDBClusters untuk melihat Tampilan informasi tentang semua kluster di Wilayah tujuan, termasuk ID kluster. |
pc-bp1w68hcomx235jaz |
| MigrationConfig |
string |
Yes |
Parameter untuk mengubah Tugas DTS. dtsJobId: ID Tugas DTS. endpoint: Titik akhir yang akan dialihkan. Tetapkan nilai ke src untuk titik akhir sumber atau dst untuk titik akhir tujuan. endpointInstanceId: ID instans cloud. |
[{\"dtsJobId\":\"di4w4d9r12m38mb\",\"endpoint\":\"src\",\"endpointInstanceId\":\"pc-k2j96w169uhu868l8\"}] |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
The response body. |
||
| DBClusterId |
string |
The ID of the cluster. Catatan
Call the DescribeDBClusters operation to view information about all clusters in the destination region, including the cluster ID. |
pc-k2j1qqukj583di7n9 |
| RequestId |
string |
The ID of the request. |
F901FB05-8109-547F-A0B9-9C4FF7F4927A |
| TaskId |
string |
The ID of the task. |
21498490 |
Contoh
Respons sukses
JSONformat
{
"DBClusterId": "pc-k2j1qqukj583di7n9",
"RequestId": "F901FB05-8109-547F-A0B9-9C4FF7F4927A",
"TaskId": "21498490"
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 404 | InvalidDBClusterId.Malformed | The specified parameter DBClusterId is not valid. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.