すべてのプロダクト
Search
ドキュメントセンター

:ModifyDBCluster

最終更新日:Jan 27, 2026

指定された ApsaraDB for SelectDB クラスターをスケールアウトまたはスケールインします。

今すぐお試しください

この API を OpenAPI Explorer でお試しください。手作業による署名は必要ありません。呼び出しに成功すると、入力したパラメーターに基づき、資格情報が組み込まれた SDK コードが自動的に生成されます。このコードをダウンロードしてローカルで使用できます。

テスト

RAM 認証

下表に、この API を呼び出すために必要な認証情報を示します。認証情報は、RAM (Resource Access Management) ポリシーを使用して定義できます。以下で各列名について説明します。

  • アクション:特定のリソースに対して実行可能な操作。ポリシー構文ではAction要素として指定します。

  • API:アクションを具体的に実行するための API。

  • アクセスレベル:各 API に対して事前定義されているアクセスの種類。有効な値:create、list、get、update、delete。

  • リソースタイプ:アクションが作用するリソースの種類。リソースレベルでの権限をサポートするかどうかを示すことができます。ポリシーの有効性を確保するため、アクションの対象として適切なリソースを指定してください。

    • リソースレベルの権限を持つ API の場合、必要なリソースタイプはアスタリスク (*) でマークされます。ポリシーのResource要素で対応する ARN を指定してください。

    • リソースレベルの権限を持たない API の場合、「すべてのリソース」と表示され、ポリシーのResource要素でアスタリスク (*) でマークされます。

  • 条件キー:サービスによって定義された条件のキー。このキーにより、きめ細やかなアクセス制御が可能になります。この制御は、アクション単体に適用することも、特定のリソースに対するアクションに適用することもできます。Alibaba Cloud は、サービス固有の条件キーに加えて、すべての RAM 統合サービスに適用可能な一連の共通条件キーを提供しています。

  • 依存アクション:ある特定のアクションを実行するために、前提として実行が必要となる他のアクション。依存アクションの権限も RAM ユーザーまたは RAM ロールに付与する必要があります。

アクション

アクセスレベル

リソースタイプ

条件キー

依存アクション

selectdb:ModifyDBCluster

update

*All Resource

*

なし なし

リクエストパラメーター

パラメーター

必須 / 任意

説明

DBInstanceId

string

必須

インスタンス ID。

selectdb-cn-7213cjv****

RegionId

string

必須

リージョン ID。

cn-hangzhou

DBClusterId

string

必須

クラスター ID。

selectdb-xxxb9f2w-be

DBClusterClass

string

必須

クラスターのインスタンスクラス。有効な値:

  • selectdb.xlarge:4 コア、32 GB メモリ。

  • selectdb.2xlarge:8 コア、64 GB メモリ。

  • selectdb.4xlarge:16 コア、128 GB メモリ。

  • selectdb.8xlarge:32 コア、256 GB メモリ。

  • selectdb.16xlarge:16 コア、512 GB メモリ。

  • selectdb.24xlarge:24 コア、768 GB メモリ。

  • selectdb.32xlarge:32 コア、1024 GB メモリ。

selectdb.2xlarge

Engine

string

任意

データベースタイプ。値は selectdb に固定されています。

selectdb

CacheSize

string

任意

予約済みキャッシュのサイズ。

200

ClusterNodeType

string

任意

ClusterNodeCount

integer

任意

ScaleMax

number

任意

ScaleMin

number

任意

レスポンスフィールド

フィールド

説明

object

応答のスキーマ

RequestId

string

リクエスト ID。

0BF61F90-ACED-55DF-A6FE-56714B2BFCF6

DBInstanceId

string

インスタンス ID。

selectdb-cn-7213cjv****

Data

object

返されたデータ。

DBInstanceId

string

インスタンス ID。

selectdb-cn-7213cjv****

DBClusterId

string

クラスター ID。

selectdb-cn-7213cjv****

OrderId

integer

注文 ID。

219396937240838

成功レスポンス

JSONJSON

{
  "RequestId": "0BF61F90-ACED-55DF-A6FE-56714B2BFCF6",
  "DBInstanceId": "selectdb-cn-7213cjv****",
  "Data": {
    "DBInstanceId": "selectdb-cn-7213cjv****",
    "DBClusterId": "selectdb-cn-7213cjv****",
    "OrderId": 219396937240838
  }
}

エラーコード

HTTP ステータスコード

エラーコード

エラーメッセージ

説明

400 InvalidCacheSize.NotSupport The specified parameter "CacheSize" does not meet the requirements.
400 InvalidUpdowngradeConfig.NoChange The upgrade or downgrade configuration is not changed, please re-select.
400 OperationDenied.OrderProcessing There are orders in process.
400 DocumentConvertFailed.ExceedFileSizeLimit The conversion has been failed, exceed file size limit. 日文说明1
400 Forbidden User not authorized to operate on the specified resource, or this API does not support RAM. 日文说明1
400 InvalidDBName The specified database name is not allowed. 日文说明1
400 CreateOrderFailed Failed to create order. 注文の作成に失敗しました。
400 ClusterNotSupport Current instance cluster does not support this operation. この操作は現在のクラスタステータスではサポートされていません。
400 PAY.INSUFFICIENT_BALANCE Insufficient account available balance.
400 ORDER.INST_HAS_UNPAID_ORDER Instance has unpaid order.
403 OperationDenied.ScalingRuleIsEnabled the operator is not permitted due to scaling rule is enabled.
403 DBClusterNotSupported The requested operation can not be performed while the cluster is not sale. 日文说明1
403 IncorrectDBInstanceState Current DB instance state does not support this operation. 日文说明1
403 InstanceEngineType.NotSupport The instance engine and type does not support operations. 日文说明1
403 InvalidDBInstanceState.NotSupport The specified instance state does't support this operation. 日文说明1
403 MoneyLessThan100 The Account Monet less Than 100. 日文说明1
403 OperationDenied.DBNameAndAccountPrivilegeCount The operation is not permitted due to count of database or account privilege. 日文说明1
403 InsufficientResourceCapacity The resource is out of usage. リソースが不足しています。しばらくしてからやり直してください。
403 INSUFFICIENT_AVAILABLE_QUOTA Your account available limit is less than 0, please recharge before trying to purchase.
403 OperationDenied.SpecificClassCodeNotSupported The uid is not in specific classcode whitelist.
404 InvalidDBInstanceId.NotFound The DBInstanceId provided does not exist in our records.
404 InvalidDBClusterState.NotSupport The specified cluster state does't support this operation.
404 DBInstanceLocked The current instance lock mode does not support this operation. 日文说明1
404 IncorrectVswitchId The specified parameter VSwitchId is not valid. 日文说明1
404 InvalidApi.NotFound Specified api is not found, please check your url and method.
404 InvalidDBInstance.NotFound The specified instance is not found. 日文说明1
404 InvalidDBInstanceClass.NotFound The specified instance classic does not exist. 日文说明1
404 InvalidRegionId.NotFound The provided RegionId does not exist in our records. 日文说明1
404 QueryPrice.Failed The inquiry failed. Contact Alibaba Cloud customer service representatives. 日文说明1

完全なリストについては、「エラーコード」をご参照ください。

変更履歴

完全なリストについては、「変更履歴」をご参照ください。