Memodifikasi pasangan replikasi asinkron.
Deskripsi operasi
Description
Untuk informasi mengenai wilayah yang mendukung fitur replikasi asinkron, lihat Overview of asynchronous replication.
Anda hanya dapat memodifikasi nama atau deskripsi pasangan replikasi saat pasangan tersebut berada dalam status Created (
created) atau Stopped (stopped).
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
ebs:ModifyDiskReplicaPair |
update |
*DiskReplicaPair
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
Yes |
ID wilayah dari disk primary atau secondary dalam pasangan replikasi. Anda dapat memanggil DescribeRegions untuk menanyakan wilayah yang mendukung replikasi asinkron. |
cn-beijing |
| ReplicaPairId |
string |
Yes |
ID pasangan replikasi. |
pair-cn-dsa**** |
| PairName |
string |
No |
Nama pasangan replikasi. |
TestReplicaPair |
| Description |
string |
No |
Deskripsi pasangan replikasi. |
This is description. |
| ClientToken |
string |
No |
Token klien untuk memastikan idempotensi permintaan. Hasilkan nilai untuk parameter ini dari klien Anda. Pastikan nilainya unik di antara permintaan yang berbeda. Nilai ClientToken hanya boleh berisi karakter ASCII dan tidak boleh melebihi 64 karakter. Untuk informasi selengkapnya, lihat How to ensure idempotence. |
123e4567-e89b-12d3-a456-42665544**** |
| Bandwidth |
integer |
No |
Bandwidth untuk replikasi asinkron, dalam Kbps. Catatan
Parameter ini belum tersedia. |
10240 |
| RPO |
integer |
No |
Tujuan titik pemulihan (recovery point objective/RPO) dari kelompok konsisten pasangan replikasi. Satuan: detik. Saat ini, hanya nilai 900 yang didukung. |
900 |
| EnableRtc |
boolean |
No |
Menentukan apakah akan mengaktifkan kontrol waktu replikasi (replication time control/RTC). Nilai yang valid:
Nilai default: false. Catatan
Jika pasangan replikasi merupakan bagian dari grup replikasi, pengaturan RTC-nya sama dengan pengaturan grup tersebut. |
true |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
Skema respons |
||
| RequestId |
string |
ID permintaan. |
C123F94F-4E38-19AE-942A-A8D6F44F**** |
Contoh
Respons sukses
JSONformat
{
"RequestId": "C123F94F-4E38-19AE-942A-A8D6F44F****"
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 500 | InternalError | The request processing has failed due to some unknown error, exception or failure. | |
| 403 | OperationDenied | The operation is not allowed. | |
| 403 | OperationDenied.InvalidStatus | The operation is not allowed in current status. | |
| 403 | OperationDenied.OperateNotAllowedForPrimary | Operation is not allowed on the primary site. | |
| 403 | OperationDenied.OperateNotAllowedForStandby | Operation is not allowed on the secondary site. | |
| 403 | Forbidden | User is not authorized to operate. | |
| 403 | Forbidden.Action | User is not authorized to operate this action. | |
| 404 | NoSuchResource | The specified resource does not exist. | |
| 504 | RequestTimeout | The request is timeout, please try again later. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.