ModifyInstanceSpec - 修改叢集規格和儲存空間
修改叢集規格和儲存空間。
調試
您可以在OpenAPI Explorer中直接運行該介面,免去您計算簽名的困擾。運行成功後,OpenAPI Explorer可以自動產生SDK程式碼範例。
調試
授權資訊
|
操作 |
存取層級 |
資源類型 |
條件關鍵字 |
關聯操作 |
|
oceanbase:ModifyInstanceSpec |
update |
*全部資源
|
無 | 無 |
請求參數
|
名稱 |
類型 |
必填 |
描述 |
樣本值 |
| InstanceId |
string |
是 |
OceanBase 叢集的 ID。 |
ob317v4uif**** |
| InstanceClass |
string |
否 |
叢集規格資訊。
|
14C70GB |
| DiskSize |
integer |
否 |
儲存空間大小,單位 GB。 儲存空間的限制根據叢集規格不同而不同,具體如下:
|
200 |
| DryRun |
boolean |
否 |
是否只預檢此次請求, 預設為 false。取值範圍:
|
false |
| DiskType |
string |
否 |
儲存類型。 |
cloud_essd_pl1 |
| UpgradeSpecNative |
boolean |
否 |
是否原地變更配置 |
返回參數
|
名稱 |
類型 |
描述 |
樣本值 |
|
object |
請求的返回結果。 |
||
| RequestId |
string |
請求 ID。 |
EE205C00-30E4-****-****-87E3A8A2AA0C |
| Data |
object |
請求返回的資料。 |
1234567890 |
| OrderId |
string |
訂單 ID。 |
21329031xxxxxxx |
| DryRunResult |
boolean |
預檢查請求的結果。
|
false |
樣本
正常返回樣本
JSON格式
{
"RequestId": "EE205C00-30E4-****-****-87E3A8A2AA0C",
"Data": {
"OrderId": "21329031xxxxxxx",
"DryRunResult": false
}
}
錯誤碼
|
HTTP status code |
錯誤碼 |
錯誤資訊 |
描述 |
|---|---|---|---|
| 400 | Instance.Order.CreateFailed | Instance.Order.CreateFailed | |
| 400 | InstanceDataSize.Invalid | InstanceDataSize.Invalid | |
| 400 | InstanceClassSpecification.Invalid | InstanceClassSpecification.Invalid | |
| 400 | InstanceOrder.NotAvailable | InstanceOrder.NotAvailable | |
| 400 | InstanceNodeNum.Invalid | InstanceNodeNum.Invalid | |
| 400 | InstanceLogSize.Invalid | InstanceLogSize.Invalid | |
| 400 | Instance.ExpandLogDisk.Unsupport | Instance.ExpandLogDisk.Unsupport | |
| 400 | InstanceStatus.Invalid | InstanceStatus.Invalid | |
| 400 | InstanceName.ModifyFailed | InstanceName.ModifyFailed | |
| 400 | InstanceClass.InvalidValue | InstanceClass.InvalidValue | |
| 400 | InstanceType.Unsupport | InstanceType.Unsupport | |
| 400 | ZoneList.Unsupport | ZoneList.Unsupport | |
| 400 | InstanceId.Invalid | InstanceId.Invalid | |
| 400 | InstanceId.Missing | InstanceId.Missing | |
| 400 | Instance.Name.Missing | Instance.Name.Missing | |
| 400 | ListCluster.Fail | ListCluster.Fail | |
| 400 | GetCluster.Fail | GetCluster.Fail | |
| 400 | ListClusterGroup.Fail | ListClusterGroup.Fail | |
| 400 | GetClusterGroup.Fail | GetClusterGroup.Fail | |
| 400 | ListInstance.Fail | ListInstance.Fail | |
| 400 | GetInstance.Fail | GetInstance.Fail | |
| 400 | ListTenant.Fail | ListTenant.Fail | |
| 400 | GetTenant.Fail | GetTenant.Fail | |
| 400 | Instance.ListAliyunInstance.Fail | Instance.ListAliyunInstance.Fail | |
| 400 | Instance.GetAliyunInstance.Fail | Instance.GetAliyunInstance.Fail | |
| 400 | ListZone.Fail | ListZone.Fail | |
| 400 | GetObServer.Fail | GetObServer.Fail | |
| 400 | CreateInstanceParameters.Error | CreateInstanceParameters.Error | |
| 400 | CreateInstance.Fail | CreateInstance.Fail | |
| 400 | StandbyInstance.StillOnline | StandbyInstance.StillOnline | |
| 400 | InstanceServiceName.Missing | InstanceServiceName.Missing | |
| 400 | PrimaryInstanceStatus.Invalid | PrimaryInstanceStatus.Invalid | |
| 400 | StandbyInstanceStatus.Invalid | StandbyInstanceStatus.Invalid | |
| 400 | StandbyInstance.NotSupport | StandbyInstance.NotSupport | |
| 400 | StandbyInstance.Disconnect.NotAllowed | StandbyInstance.Disconnect.NotAllowed | |
| 400 | InstanceDiskSize.Invalid | InstanceDiskSize.Invalid | |
| 400 | CreateInstance.Spec.NotSupport | CreateInstance.Spec.NotSupport | |
| 400 | MissingParameterDiskSize | MissingParameterDiskSize | |
| 400 | CreateInstance.ReplicaMode.InvalidValue | CreateInstance.ReplicaMode.InvalidValue | |
| 400 | CreateInstance.DeployType.InvalidValue | CreateInstance.DeployType.InvalidValue | |
| 400 | AliyunInstance.NotExists | AliyunInstance.NotExists | |
| 500 | Instance.Order.CreateFailed | Instance.Order.CreateFailed |
訪問錯誤中心查看更多錯誤碼。
變更歷史
更多資訊,參考變更詳情。