PolarDB MySQL儲存效能變更配置。
調試
您可以在OpenAPI Explorer中直接運行該介面,免去您計算簽名的困擾。運行成功後,OpenAPI Explorer可以自動產生SDK程式碼範例。
調試
授權資訊
|
操作 |
存取層級 |
資源類型 |
條件關鍵字 |
關聯操作 |
|
polardb:ModifyDBClusterStoragePerformance |
update |
*DBCluster
|
無 | 無 |
請求參數
|
名稱 |
類型 |
必填 |
描述 |
樣本值 |
| DBClusterId |
string |
是 |
叢集 ID。 |
pc-************* |
| ClientToken |
string |
否 |
該參數用於保證請求的等冪性。由用戶端產生該參數值,保證在不同請求間該參數值的唯一性。該參數區分大小寫、長度不超過 64 個 ASCII 字元。 |
6000170000591aed949d0f****************** |
| ProvisionedIops |
integer |
否 |
|
2500 |
| StorageType |
string |
否 |
目標儲存類型,企業版儲存類型取值如下:
標準版儲存類型取值如下:
|
ESSDAUTOPL |
| BurstingEnabled |
string |
否 |
ESSD AutoPL 雲端硬碟是否開啟 IO 效能突發。取值:
說明
當 StorageType 為 ESSDAUTOPL 時才支援該參數。 |
false |
| ModifyType |
string |
否 |
變更類型,取值範圍如下:
|
Upgrade |
| AutoUseCoupon |
boolean |
否 |
||
| PromotionCode |
string |
否 |
727xxxxxx934 |
返回參數
|
名稱 |
類型 |
描述 |
樣本值 |
|
object |
|||
| DBClusterId |
string |
叢集 ID。 |
pc-************ |
| OrderId |
string |
產生的訂單 ID。 |
2035629****** |
| RequestId |
string |
請求 ID。 |
E56531A4-E552-40BA-9C58-137B80****** |
樣本
正常返回樣本
JSON格式
{
"DBClusterId": "pc-************\t\n",
"OrderId": "2035629******",
"RequestId": "E56531A4-E552-40BA-9C58-137B80******"
}
錯誤碼
|
HTTP status code |
錯誤碼 |
錯誤資訊 |
描述 |
|---|---|---|---|
| 400 | InvalidTaskOperation | There is a cooling period after the storage performance is successfully modified. | |
| 403 | OperationDenied.ClusterCategory | The operation is not permitted due to cluster category. | 該叢集不支援此產品系列。 |
| 404 | InvalidParameterValue.Limit | Provisioned IOPS must less than %s, current is %s. |
訪問錯誤中心查看更多錯誤碼。
變更歷史
更多資訊,參考變更詳情。