Tüm Ürünler
Search
Belge Merkezi

:AddShardingNode

Son Güncelleme:Oct 02, 2026

Bir Tair küme örneğine bir veya daha fazla veri parçası ekler.

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

kvstore:AddShardingNode

create

*DBInstance

acs:kvstore:{#regionId}:{#accountId}:instance/{#instanceId}

None None

Request parameters

Parameter

Type

Required

Description

Example

InstanceId

string

Yes

Örneğin kimliği.

r-bp1zxszhcgatnx****

ShardCount

integer

No

Eklemek istediğiniz veri parçalarının sayısı. Varsayılan değer: 1.

Not

Örnek 2 ila 256 veri parçası içerebilir. Tek seferde en fazla 64 veri parçası ekleyebilirsiniz. Parça sayısının bu sınırı aşmadığından emin olun.

2

AutoPay

boolean

No

Otomatik yenilemenin etkinleştirilip etkinleştirilmeyeceğini belirtir. Geçerli değerler:

  • true: Otomatik yenilemeyi etkinleştirir. Hesabınızda yeterli bakiye bulunduğundan emin olun.

  • false: Otomatik yenilemeyi devre dışı bırakır. Örneğin süresi dolmadan önce örneği konsolda manuel olarak yenilemeniz gerekir. Daha fazla bilgi için bkz. Örnek yenileme.

Not

Varsayılan değer: true.

false

CouponNo

string

No

Kuponun kimliği.

youhuiquan_promotion_option_id_for_blank

BusinessInfo

string

No

İş bilgileri. Bu ek bir parametredir.

000000000

SourceBiz

string

No

İşlemin kaynağı. Bu parametre yalnızca dahili bakım için kullanılır. Bu parametreyi belirtmenize gerek yoktur.

SDK

ForceTrans

boolean

No

Yapılandırma değişikliği sırasında zorla aktarımın etkinleştirilip etkinleştirilmeyeceğini belirtir. Geçerli değerler:

  • false (varsayılan): Yapılandırma değişikliğinden önce sistem, örneğin alt sürümünü kontrol eder. Örneğin alt sürümü güncel değilse bir hata bildirilir. Örneğin alt sürümünü güncelleyip yeniden denemeniz gerekir.

  • true: Sistem sürüm kontrolünü atlar ve doğrudan yapılandırma değişikliğini gerçekleştirir.

false

VSwitchId

string

No

vSwitch kimliği. Aynı sanal özel bulut (VPC) içinde farklı bir vSwitch belirtebilirsiniz. Bu durumda, yeni veri parçaları belirtilen vSwitch'te oluşturulur. Bu parametreyi belirtmezseniz, yeni veri parçaları orijinal vSwitch'te oluşturulur.

vsw-bp1e7clcw529l773d****

Response elements

Element

Type

Description

Example

object

RequestId

string

İsteğin kimliği.

B79C1A90-495B-4E99-A2AA-A4DB13B8****

OrderId

integer

Siparişin kimliği.

20741011111111

NodeIds

array

Veri parçalarının kimlikleri.

string

Veri parçasının kimliği.

r-8vb0i6z4npbxrf****-db-4

Examples

Success response

JSON format

{
  "RequestId": "B79C1A90-495B-4E99-A2AA-A4DB13B8****",
  "OrderId": 20741011111111,
  "NodeIds": [
    "r-8vb0i6z4npbxrf****-db-4"
  ]
}

Error codes

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.