Melakukan kueri konfigurasi cluster serverless.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
polardb:DescribeDBClusterServerlessConf |
get |
*DBCluster
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| DBClusterId |
string |
Yes |
ID cluster serverless. |
pc-bp10gr51qasnl**** |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
ID permintaan. |
5E71541A-6007-4DCC-A38A-F872C31FEB45 |
| ScaleMin |
string |
Kapasitas komputasi minimum satu node dalam PolarDB Capacity Units (PCUs). Nilai yang valid: 1 hingga 31. |
1 |
| ScaleMax |
string |
Kapasitas komputasi maksimum satu node dalam PCUs. Nilai yang valid: 1 hingga 32. |
3 |
| ScaleRoNumMin |
string |
Jumlah minimum node read-only untuk penskalaan. Nilai yang valid: 0 hingga 15. |
2 |
| ScaleRoNumMax |
string |
Jumlah maksimum node read-only untuk penskalaan. Nilai yang valid: 0 hingga 15. |
4 |
| AllowShutDown |
string |
Menunjukkan apakah fitur penangguhan tanpa aktivitas diaktifkan. Nilai yang valid:
|
true |
| SecondsUntilAutoPause |
string |
Periode deteksi untuk penangguhan tanpa aktivitas, dalam detik. Nilai harus berupa bilangan bulat dari 300 hingga 86.400 dan harus kelipatan dari 300. |
10 |
| DBClusterId |
string |
ID cluster serverless. |
pc-bp10gr51qasnl**** |
| ScaleApRoNumMin |
string |
Jumlah minimum node column store read-only. Nilai yang valid: 0 hingga 15. |
1 |
| ScaleApRoNumMax |
string |
Jumlah maksimum node column store read-only. Nilai yang valid: 0 hingga 15. |
1 |
| Switchs |
string |
Menunjukkan apakah mode steady-state diaktifkan. Nilai yang valid: 1: Diaktifkan 0: Dinonaktifkan |
1 |
| ServerlessRuleMode |
string |
Sensitivitas elastisitas. Nilai yang valid:
|
normal |
| ServerlessRuleCpuEnlargeThreshold |
string |
Ambang batas scale-up CPU. |
60 |
| ServerlessRuleCpuShrinkThreshold |
string |
Ambang batas scale-down CPU. |
30 |
| TraditionalScaleMaxThreshold |
string |
Kapasitas maksimum, dalam PCUs, untuk cluster dalam mode steady-state. Mode steady-state menambahkan kemampuan serverless ke node yang memiliki spesifikasi tetap. |
16 |
| AgileScaleMax |
string |
Kapasitas maksimum, dalam PCUs, untuk cluster dalam mode agile. Dalam mode agile, cluster hanya terdiri dari node serverless. |
32 |
Contoh
Respons sukses
JSONformat
{
"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"
}
Kode kesalahan
|
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. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.