Tüm Ürünler
Search
Belge Merkezi

:ModifyDBCluster

Son Güncelleme:Oct 12, 2026

Belirtilen bir ApsaraDB for SelectDB örneğinin cluster'ını ölçeklendirir.

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

The table below describes the authorization required to call this API. You can define it in a Resource Access Management (RAM) policy. The table's columns are detailed below:

  • Action: The actions can be used in the Action element of RAM permission policy statements to grant permissions to perform the operation.

  • API: The API that you can call to perform the action.

  • Access level: The predefined level of access granted for each API. Valid values: create, list, get, update, and delete.

  • Resource type: The type of the resource that supports authorization to perform the action. It indicates if the action supports resource-level permission. The specified resource must be compatible with the action. Otherwise, the policy will be ineffective.

    • For APIs with resource-level permissions, required resource types are marked with an asterisk (*). Specify the corresponding Alibaba Cloud Resource Name (ARN) in the Resource element of the policy.

    • For APIs without resource-level permissions, it is shown as All Resources. Use an asterisk (*) in the Resource element of the policy.

  • Condition key: The condition keys defined by the service. The key allows for granular control, applying to either actions alone or actions associated with specific resources. In addition to service-specific condition keys, Alibaba Cloud provides a set of common condition keys applicable across all RAM-supported services.

  • Dependent action: The dependent actions required to run the action. To complete the action, the RAM user or the RAM role must have the permissions to perform all dependent actions.

Action

Access level

Resource type

Condition key

Dependent action

selectdb:ModifyDBCluster

update

*Tüm kaynaklar.

*

None None

Request parameters

Parameter

Type

Required

Description

Example

DBInstanceId

string

Yes

Örnek kimliği.

selectdb-cn-7213cjv****

RegionId

string

Yes

Bölge kimliği.

cn-hangzhou

DBClusterId

string

Yes

Cluster kimliği.

selectdb-xxxb9f2w-be

DBClusterClass

string

Yes

Cluster teknik özellikleri. Geçerli değerler:

  • selectdb.xlarge: 4 çekirdek ve 32 GB.

  • selectdb.2xlarge: 8 çekirdek ve 64 GB.

  • selectdb.4xlarge: 16 çekirdek ve 128 GB.

  • selectdb.8xlarge: 32 çekirdek ve 256 GB.

  • selectdb.16xlarge: 16 çekirdek ve 512 GB.

  • selectdb.24xlarge: 24 çekirdek ve 768 GB.

  • selectdb.32xlarge: 32 çekirdek ve 1024 GB.

selectdb.2xlarge

Engine

string

No

Veritabanı motoru türü. Değeri selectdb olarak ayarlayın.

selectdb

CacheSize

string

No

Ayrılmış önbellek boyutu.

200

ClusterNodeType

string

No

Cluster düğüm türü. Bu parametre yalnızca Serverless modunda geçerlidir.

ClusterNodeCount

integer

No

Cluster düğüm sayısı. Bu parametre yalnızca Serverless modunda geçerlidir.

1

ScaleMax

number

No

Örnek RCU (RDS Capacity Unit) otomatik ölçeklendirme aralığının maksimum değeri.

32

ScaleMin

number

No

Örnek RCU (RDS Capacity Unit) otomatik ölçeklendirme aralığının minimum değeri.

4

Response elements

Element

Type

Description

Example

object

Yanıt şeması.

RequestId

string

İstek kimliği.

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

DBInstanceId

string

Örnek kimliği.

selectdb-cn-7213cjv****

Data

object

Döndürülen veriler.

DBInstanceId

string

Örnek kimliği.

selectdb-cn-7213cjv****

DBClusterId

string

Cluster kimliği.

selectdb-cn-7213cjv****

OrderId

integer

Sipariş kimliği.

219396937240838

Examples

Success response

JSON format

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

Error codes

HTTP status code

Error code

Error message

Description

400 InvalidCacheSize.NotSupport The specified parameter "CacheSize" does not meet the requirements. CacheSize parametresi gereksinimleri karşılamaz.
400 InvalidUpdowngradeConfig.NoChange The upgrade or downgrade configuration is not changed, please re-select. Yükseltme veya düşürme yapılandırması değişmedi. Farklı bir yapılandırma seçin.
400 OperationDenied.OrderProcessing There are orders in process. Şu anda bir sipariş işleniyor.
400 DocumentConvertFailed.ExceedFileSizeLimit The conversion has been failed, exceed file size limit. Dosya boyutu sistem sınırını aştığı için belge dönüştürme işlemi başarısız oldu.
400 Forbidden User not authorized to operate on the specified resource, or this API does not support RAM. RAM kullanıcısı gerekli izinlere sahip değildir. Önce gerekli izinleri verin.
400 InvalidDBName The specified database name is not allowed. Veritabanı adı gereksinimleri karşılamıyor. Veritabanı adının doğru olup olmadığını kontrol edin.
400 CreateOrderFailed Failed to create order. Sipariş oluşturulamadı.
400 ClusterNotSupport Current instance cluster does not support this operation. Mevcut küme durumu bu işlemi desteklemez.
400 PAY.INSUFFICIENT_BALANCE Insufficient account available balance. Hesabın kullanılabilir bakiyesi yetersizdir.
400 ORDER.INST_HAS_UNPAID_ORDER Instance has unpaid order. Örneğin ödenmemiş siparişleri bulunmaktadır.
400 InvalidParameters.Format Specified parameters is not valid. Belirtilen parametre geçersiz.
400 InvalidInstanceClass.MultiAZ The instance with 4-core BE cluster does not support multi-zone redundancy. 4 vCPU'lu BE kümeleri, çoklu bölge felaket kurtarma işlemini desteklemiyor.
400 InvalidInstanceClass.ForMultiAZ The instance with 4-core BE cluster does not support upgrading to multi-zone redundancy. 4 vCPU'lu BE kümeleri, çoklu bölge felaket kurtarma işlemini desteklemiyor.
400 InvalidDBClusterClass.SeriesMismatch The specified cluster class series doesn't match with the existing clusters in the instance. İstenen küme teknik özellikleri serisi, mevcut örneğin küme teknik özellikleri serisiyle eşleşmiyor.
403 OperationDenied.ScalingRuleIsEnabled the operator is not permitted due to scaling rule is enabled. Zamana dayalı esnek ölçeklendirme politikası etkinleştirildiğinde manuel küme ölçeklendirmesi başlatılamaz.
403 DBClusterNotSupported The requested operation can not be performed while the cluster is not sale. Küme çalışır durumda değilken istenen işlem gerçekleştirilemez.
403 IncorrectDBInstanceState Current DB instance state does not support this operation. Mevcut örnek durumu bu işlemi desteklemez.
403 InstanceEngineType.NotSupport The instance engine and type does not support operations. Örnek motoru ve türü bu işlemi desteklemediği için işlem başarısız oldu.
403 InvalidDBInstanceState.NotSupport The specified instance state does't support this operation. Belirtilen örnek durumu bu işlemi desteklemiyor.
403 MoneyLessThan100 The Account Monet less Than 100. Mevcut Alibaba Cloud hesap bakiyesi 100'den az. Hesabınıza bakiye yükleyin.
403 OperationDenied.DBNameAndAccountPrivilegeCount The operation is not permitted due to count of database or account privilege. Veritabanı sayısı ile izin sayısı eşleşmediğinden işlem başarısız oldu.
403 InsufficientResourceCapacity The resource is out of usage. Kaynaklar yetersiz. Daha sonra tekrar deneyin.
403 INSUFFICIENT_AVAILABLE_QUOTA Your account available limit is less than 0, please recharge before trying to purchase. Hesap bakiyeniz 0'dan az. Hesabınıza para yükleyip tekrar satın almayı deneyin.
403 OperationDenied.SpecificClassCodeNotSupported The uid is not in specific classcode whitelist. Seçili örnek türü mevcut hesap için kullanılamaz.
404 InvalidDBInstanceId.NotFound The DBInstanceId provided does not exist in our records. SelectDB örneği mevcut değil.
404 InvalidDBClusterState.NotSupport The specified cluster state does't support this operation. Mevcut küme durumu bu işlemi desteklemez.
404 DBInstanceLocked The current instance lock mode does not support this operation. Mevcut örnek kilitli olduğu için işlem başarısız oldu.
404 IncorrectVswitchId The specified parameter VSwitchId is not valid. vSwitch parametresi geçersiz.
404 InvalidApi.NotFound Specified api is not found, please check your url and method.
404 InvalidDBInstance.NotFound The specified instance is not found. Belirtilen örnek bulunamadı. Örnek kimliğinin doğru olup olmadığını kontrol edin.
404 InvalidDBInstanceClass.NotFound The specified instance classic does not exist. Seçilen yapılandırma veya örnek türü mevcut değil ya da artık kullanılamıyor. Farklı bir tane seçin.
404 InvalidRegionId.NotFound The provided RegionId does not exist in our records. Belirtilen bölge ve kullanılabilirlik bölgesi mevcut olmadığı için işlem başarısız oldu.
404 QueryPrice.Failed The inquiry failed. Contact Alibaba Cloud customer service representatives. Fiyat sorgulaması başarısız oldu. Müşteri hizmetleri ile iletişime geçin.

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.