Tüm Ürünler
Search
Belge Merkezi

:EnableDBClusterServerless

Son Güncelleme:Sep 29, 2026

Kararlı durum sunucusuz özelliğini etkinleştirir.

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

polardb:EnableDBClusterServerless

update

*DBCluster

acs:polardb:{#regionId}:{#accountId}:dbcluster/{#DbClusterId}

None None

Request parameters

Parameter

Type

Required

Description

Example

DBClusterId

string

Yes

Küme kimliği.

pc-**************

ScaleMin

string

No

Düğüm başına minimum ölçeklendirme sınırı. Geçerli değerler: 0 PCU ile 16 PCU arası.

1

ScaleMax

string

No

Düğüm başına maksimum ölçeklendirme sınırı. Geçerli değerler: 0 PCU ile 16 PCU arası.

2

ScaleRoNumMin

string

No

Ölçeklendirme için minimum salt okunur düğüm sayısı. Geçerli değerler: 0 ile 15 arası.

1

ScaleRoNumMax

string

No

Ölçeklendirme için maksimum salt okunur düğüm sayısı. Geçerli değerler: 0 ile 15 arası.

2

ScaleApRoNumMin

string

No

Kararlı durum AP salt okunur düğümlerinin minimum sayısı. Geçerli değerler: 0 ile 7 arası.

1

ScaleApRoNumMax

string

No

Kararlı durum AP salt okunur düğümlerinin maksimum sayısı. Geçerli değerler: 0 ile 7 arası.

1

PlannedStartTime

string

No

Zamanlanmış görevi yürütmeye başlamak için en erken zaman (yani görev hedef zaman dilimi içinde yürütülür). Saati YYYY-AA-GGThh:mm:ssZ biçiminde (UTC) belirtin.

2022-04-28T14:00:00Z

PlannedEndTime

string

No

Hedef zamanlanmış görevi yürütmeye başlamak için en geç zaman. Saati YYYY-AA-GGThh:mm:ssZ biçiminde (UTC) belirtin.

2022-04-28T14:30:00Z

FromTimeService

boolean

No

Parametre değişikliğinin ve yeniden başlatmanın anında yürütülüp yürütülmeyeceğini veya zamanlanıp zamanlanmayacağını belirtir. Geçerli değerler:\n\n- false (varsayılan): Yürütmeyi zamanlar.\n- true: Anında yürütür.

false

Response elements

Element

Type

Description

Example

object

RequestId

string

İstek kimliği.

5E71541A-6007-4DCC-A38A-F872C31FEB45

DBClusterId

string

Sunucusuz küme kimliği.

pc-bp10gr51qasnl****

Examples

Success response

JSON format

{
  "RequestId": "5E71541A-6007-4DCC-A38A-F872C31FEB45",
  "DBClusterId": "pc-bp10gr51qasnl****"
}

Error codes

HTTP status code

Error code

Error message

Description

404 InvalidDBInstanceClass.NotFound rw class code must be equal with hot replica

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.