Mengubah pasangan replikasi asinkron.
Deskripsi operasi
Description
-
For information about the regions that support the asynchronous replication feature, see Overview of asynchronous replication.
-
You can modify the name or description of a replication pair only when the pair is in the Created (
created) or Stopped (stopped) state.
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 disk primer atau sekunder dalam pasangan replikasi. Anda dapat memanggil DescribeRegions untuk mengkueri 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. Buat nilai untuk parameter ini dari klien Anda. Pastikan nilai tersebut unik di antara permintaan yang berbeda. Nilai ClientToken hanya dapat berisi karakter ASCII dan tidak boleh melebihi 64 karakter. Untuk informasi selengkapnya, lihat Cara memastikan idempotensi. |
123e4567-e89b-12d3-a456-42665544**** |
| Bandwidth |
integer |
No |
Bandwidth untuk replikasi asinkron, dalam Kbps. Catatan
Parameter ini belum tersedia. |
10240 |
| RPO |
integer |
No |
Recovery point objective (RPO) kelompok konsisten pasangan replikasi. Unit: detik. Saat ini, hanya nilai 900 yang didukung. |
900 |
| EnableRtc |
boolean |
No |
Apakah akan mengaktifkan pengontrol pengatur waktu replikasi (RTC). Nilai valid:
Nilai default: false. Catatan
Jika pasangan replikasi merupakan bagian dari grup replikasi, pengaturan RTC-nya sama dengan pengaturan grup. |
true |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
Response schema |
||
| RequestId |
string |
The request ID. |
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.