Sunucusuz bir kümenin yapılandırmasını sorgular.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
polardb:DescribeDBClusterServerlessConf |
get |
*DBCluster
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| DBClusterId |
string |
Yes |
Sunucusuz kümenin kimliği. |
pc-bp10gr51qasnl**** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
İstek kimliği. |
5E71541A-6007-4DCC-A38A-F872C31FEB45 |
| ScaleMin |
string |
PolarDB Kapasite Birimi (PCU) cinsinden tek bir düğümün minimum işlem kapasitesi. Geçerli değerler: 1 ile 31 arası. |
1 |
| ScaleMax |
string |
PCU cinsinden tek bir düğümün maksimum işlem kapasitesi. Geçerli değerler: 1 ile 32 arası. |
3 |
| ScaleRoNumMin |
string |
Ölçeklendirme için minimum salt okunur düğüm sayısı. Geçerli değerler: 0 ile 15 arası. |
2 |
| ScaleRoNumMax |
string |
Ölçeklendirme için maksimum salt okunur düğüm sayısı. Geçerli değerler: 0 ile 15 arası. |
4 |
| AllowShutDown |
string |
Hareketsizlik durumunda askıya alma özelliğinin etkin olup olmadığını gösterir. Geçerli değerler:
|
true |
| SecondsUntilAutoPause |
string |
Hareketsizlik durumunda askıya alma için saniye cinsinden algılama süresi. Değer, 300 ile 86.400 arasında bir tam sayı olmalı ve 300'ün katı olmalıdır. |
10 |
| DBClusterId |
string |
Sunucusuz kümenin kimliği. |
pc-bp10gr51qasnl**** |
| ScaleApRoNumMin |
string |
Minimum salt okunur sütun deposu düğümü sayısı. Geçerli değerler: 0 ile 15 arası. |
1 |
| ScaleApRoNumMax |
string |
Maksimum salt okunur sütun deposu düğümü sayısı. Geçerli değerler: 0 ile 15 arası. |
1 |
| Switchs |
string |
Kararlı durum modunun etkin olup olmadığını gösterir. Geçerli değerler: 1: Etkin 0: Devre dışı |
1 |
| ServerlessRuleMode |
string |
Esneklik duyarlılığı. Geçerli değerler:
|
normal |
| ServerlessRuleCpuEnlargeThreshold |
string |
CPU ölçek büyütme eşiği. |
60 |
| ServerlessRuleCpuShrinkThreshold |
string |
CPU ölçek küçültme eşiği. |
30 |
| TraditionalScaleMaxThreshold |
string |
Kararlı durum modundaki bir küme için PCU cinsinden maksimum kapasite. Kararlı durum modu, sabit teknik özelliklere sahip düğümlere sunucusuz özellikleri ekler. |
16 |
| AgileScaleMax |
string |
Çevik moddaki bir küme için PCU cinsinden maksimum kapasite. Çevik modda küme yalnızca sunucusuz düğümlerden oluşur. |
32 |
Examples
Success response
JSON format
{
"RequestId": "5E71541A-6007-4DCC-A38A-F872C31FEB45",
"ScaleMin": "1",
"ScaleMax": "3",
"ScaleRoNumMin": "2",
"ScaleRoNumMax": "4",
"AllowShutDown": "true",
"SecondsUntilAutoPause": "10",
"DBClusterId": "pc-bp10gr51qasnl****",
"ScaleApRoNumMin": "1",
"ScaleApRoNumMax": "1",
"Switchs": "1",
"ServerlessRuleMode": "normal",
"ServerlessRuleCpuEnlargeThreshold": "60",
"ServerlessRuleCpuShrinkThreshold": "30",
"TraditionalScaleMaxThreshold": "16",
"AgileScaleMax": "32"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | InvalidDBClusterId.Malformed | The specified parameter DBClusterId is not valid. | |
| 400 | InvalidEngine.Unsupported | The specified Engine does not support this feature. | |
| 403 | OperationDenied.ClusterCategory | The operation is not permitted due to cluster category. | |
| 404 | InvalidDBCluster.NotFound | The DBClusterId provided does not exist in our records. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.