修改一個雲端硬碟非同步複製關係。
介面說明
介面說明
非同步複製功能支援的地區請參見雲端硬碟非同步複製概述。
當非同步複製關係處於已建立(
created)或已停止(stopped)狀態時,可以修改名稱或者描述資訊。
調試
您可以在OpenAPI Explorer中直接運行該介面,免去您計算簽名的困擾。運行成功後,OpenAPI Explorer可以自動產生SDK程式碼範例。
調試
授權資訊
|
操作 |
存取層級 |
資源類型 |
條件關鍵字 |
關聯操作 |
|
ebs:ModifyDiskReplicaPair |
update |
*DiskReplicaPair
|
無 | 無 |
請求參數
|
名稱 |
類型 |
必填 |
描述 |
樣本值 |
| RegionId |
string |
是 |
非同步複製關係中主盤或從盤所屬的地區 ID。您可以調用 DescribeRegions 查詢非同步複製功能支援的地區資訊。 |
cn-beijing |
| ReplicaPairId |
string |
是 |
非同步複製關係的 ID。 |
pair-cn-dsa**** |
| PairName |
string |
否 |
非同步複製關係的名稱。 |
TestReplicaPair |
| Description |
string |
否 |
非同步複製關係的描述資訊。 |
This is description. |
| ClientToken |
string |
否 |
保證請求等冪性。從您的用戶端產生一個參數值,確保不同請求間該參數值唯一。ClientToken 只支援 ASCII 字元,且不能超過 64 個字元。更多資訊,請參見如何保證等冪性。 |
123e4567-e89b-12d3-a456-42665544**** |
| Bandwidth |
integer |
否 |
頻寬值,單位 Kbps。 說明
該參數暫未開放使用。 |
10240 |
| RPO |
integer |
否 |
一致性組設定的 RPO 值,單位:秒。當前僅支援 900 秒。 |
900 |
| EnableRtc |
boolean |
否 |
是否開啟複製時間控制。 |
true |
返回參數
|
名稱 |
類型 |
描述 |
樣本值 |
|
object |
Schema of Response |
||
| RequestId |
string |
請求 ID。 |
C123F94F-4E38-19AE-942A-A8D6F44F**** |
樣本
正常返回樣本
JSON格式
{
"RequestId": "C123F94F-4E38-19AE-942A-A8D6F44F****"
}
錯誤碼
|
HTTP status code |
錯誤碼 |
錯誤資訊 |
描述 |
|---|---|---|---|
| 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. | 該請求逾時,請稍後再重試。 |
訪問錯誤中心查看更多錯誤碼。
變更歷史
更多資訊,參考變更詳情。