Mengambil konfigurasi kluster 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 kluster serverless. |
pc-bp10gr51qasnl**** |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
ID permintaan. |
5E71541A-6007-4DCC-A38A-F872C31FEB45 |
| ScaleMin |
string |
Jumlah minimum PolarDB Capacity Unit (PCU) untuk satu node. Nilai yang valid: 1 hingga 31. |
1 |
| ScaleMax |
string |
Jumlah maksimum PCU untuk satu node. 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 Penangguhan Tanpa Aktivitas diaktifkan. Nilai yang valid:
|
true |
| SecondsUntilAutoPause |
string |
Periode ketidakaktifan dalam detik setelah kluster secara otomatis dijeda. Nilai yang valid: 300 hingga 86.400. Nilai harus kelipatan 300. |
10 |
| DBClusterId |
string |
ID kluster serverless. |
pc-bp10gr51qasnl**** |
| ScaleApRoNumMin |
string |
Jumlah minimum node penyimpanan kolom read-only. Nilai yang valid: 0 hingga 15. |
1 |
| ScaleApRoNumMax |
string |
Jumlah maksimum node penyimpanan kolom read-only. Nilai yang valid: 0 hingga 15. |
1 |
| Switchs |
string |
Menunjukkan apakah steady-state diaktifkan. Nilai yang valid: 1: Diaktifkan 0: Dinonaktifkan |
1 |
| ServerlessRuleMode |
string |
Sensitivitas elastisitas. Nilai yang valid:
|
normal |
| ServerlessRuleCpuEnlargeThreshold |
string |
Ambang batas utilisasi CPU untuk penskalaan naik. |
60 |
| ServerlessRuleCpuShrinkThreshold |
string |
Ambang batas utilisasi CPU untuk penskalaan turun. |
30 |
| TraditionalScaleMaxThreshold |
string |
||
| AgileScaleMax |
string |
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": "",
"AgileScaleMax": ""
}
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.