Tüm Ürünler
Search
Belge Merkezi

:ModifyDBNodesClass

Son Güncelleme:Sep 30, 2026

Bir PolarDB kümesindeki tek bir düğümün teknik özelliklerini değiş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:ModifyDBNodesClass

update

*DBCluster

acs:polardb:{#regionId}:{#accountId}:{#resource-type}/{#resource-id}

None None

Request parameters

Parameter

Type

Required

Description

Example

DBClusterId

string

Yes

Küme kimliği.

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

ModifyType

string

Yes

Teknik özellik değişikliğinin türü. Geçerli değerler:

  • Upgrade: Teknik özellikleri yükseltir.

  • Downgrade: Teknik özellikleri düşürür.

Upgrade

DBNode

array<object>

Yes

Küme düğümlerinin listesi.

object

No

DBNodeId

string

No

Küme düğümü kimliği.

Not

Bu parametre belirtilirse, DBNode.N.TargetClass parametresi gereklidir. N, 1'den başlayan bir tam sayıdır. Maksimum değer: 16 eksi mevcut düğüm sayısı.

pi-*************

TargetClass

string

No

Değiştirilecek düğümün teknik özellikleri. Düğüm teknik özellikleri hakkında daha fazla bilgi için İşlem düğümü teknik özellikleri belgesine bakın.

Not

Bu parametre belirtilirse, DBNode.N.DBNodeId parametresi gereklidir. N, 1'den başlayan bir tam sayıdır. Maksimum değer: 16 eksi mevcut düğüm sayısı.

polar.mysql.x4.medium

ClientToken

string

No

İsteğin yinelenemezliğini sağlamak için kullanılan istemci belirteci. Değeri oluşturmak için istemciyi kullanabilirsiniz. Değerin farklı istekler arasında benzersiz olduğundan emin olun. Belirteç büyük/küçük harfe duyarlıdır ve uzunluğu 64 ASCII karakterini aşamaz.

6000170000591aed949d0f54a343f1a4233c1e7d1c5c******

PlannedStartTime

string

No

Zamanlanmış (hedef zaman dilimi içinde yürütülen) teknik özellik yükseltme görevini başlatmak için en erken zaman. Zamanı YYYY-MM-DDThh:mm:ssZ biçiminde (UTC) belirtin.

Not
  • Bu parametre yalnızca ModifyType değeri Upgrade olarak ayarlandığında geçerli olur.

  • Başlangıç zamanı, sonraki 24 saat içindeki herhangi bir zaman noktası olabilir. Örneğin, mevcut zaman 2021-01-14T09:00:00Z ise, başlangıç zamanı 2021-01-14T09:00:00Z ile 2021-01-15T09:00:00Z arasında olabilir.

  • Bu parametre boş bırakılırsa, teknik özellik yükseltme görevi varsayılan olarak hemen yürütülür.

2021-01-14T09:00:00Z

PlannedEndTime

string

No

Zamanlanmış görevi başlatmak için en geç zaman. Zamanı YYYY-MM-DDThh:mm:ssZ biçiminde (UTC) belirtin.

Not
  • En geç zaman, başlangıç zamanından en az 30 dakika sonra olmalıdır.

  • PlannedStartTime ayarlanmış ancak bu parametre belirtilmemişse, görevi yürütmek için en geç zaman varsayılan olarak başlangıç zamanı + 30 dakika olur. Örneğin, PlannedStartTime değeri 2021-01-14T09:00:00Z olarak ayarlanmış ve bu parametre boş bırakılmışsa, görev en geç 2021-01-14T09:30:00Z zamanında başlar.

2021-01-14T09:30:00Z

SubCategory

string

No

Küme alt serisi. Geçerli değerler:

  • normal_exclusive: Özel

  • normal_general: Genel amaçlı

normal_general

PlannedFlashingOffTime

string

No

Planlanan geçici bağlantı kesintisi zamanı.

Zaman, UTC cinsinden ISO 8601 biçimindedir (biçim: YYYY-MM-DDTHH:mm:ssZ).

2021-01-14T09:30:00Z

CloudProvider

string

No

Örneğin ait olduğu bulut hizmeti sağlayıcısı.

ENS

AutoUseCoupon

boolean

No

Kuponların otomatik olarak kullanılıp kullanılmayacağını belirtir. Geçerli değerler:

  • true (varsayılan): Kuponları kullanır.

  • false: Kuponları kullanmaz.

PromotionCode

string

No

Kupon kodu. Bu parametre belirtilmezse, varsayılan kupon kullanılır.

727xxxxxx934

Response elements

Element

Type

Description

Example

object

RequestId

string

İstek kimliği.

685F028C-4FCD-407D-A559-072D63******

DBClusterId

string

Veritabanı kümesi kimliği.

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

OrderId

string

Sipariş kimliği.

2035629******

Examples

Success response

JSON format

{
  "RequestId": "685F028C-4FCD-407D-A559-072D63******",
  "DBClusterId": "pc-*************",
  "OrderId": "2035629******"
}

Error codes

HTTP status code

Error code

Error message

Description

400 InvalidModifyType.Malformed The specified parameter ModifyType is not valid.

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.