Operasi ini mengkueri template parameter di Wilayah tertentu.
Deskripsi operasi
Parameter templates allow you to manage cluster parameters in batches and quickly apply them to PolarDB clusters. For more information, see Use parameter templates.
This feature is available only for PolarDB for MySQL clusters.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
polardb:DescribeParameterGroups |
get |
*全部资源
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
Yes |
ID Wilayah. Catatan
Panggil operasi DescribeRegions untuk mengkueri informasi tentang semua Wilayah yang tersedia di akun Anda, termasuk format ID Wilayah. |
cn-hangzhou |
| DBType |
string |
No |
Tipe mesin database. Hanya MySQL yang didukung. |
MySQL |
| DBVersion |
string |
No |
Versi mesin database. Nilai valid:
|
8.0 |
| ResourceGroupId |
string |
No |
ID kelompok sumber daya. |
rg-************ |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| RequestId |
string |
The request ID. |
944CED46-A6F7-40C6-B6DC-C6E5CC****** |
| ParameterGroups |
array<object> |
The list of parameter templates. |
|
|
object |
|||
| DBType |
string |
The type of the database engine. |
MySQL |
| DBVersion |
string |
The version of the database engine. |
8.0 |
| ParameterGroupName |
string |
The name of the parameter template. |
test |
| ForceRestart |
string |
Indicates whether a cluster restart is required for the parameter template to take effect. Valid values:
|
1 |
| ParameterGroupType |
string |
The type of the parameter template. Valid values:
|
1 |
| ParameterCounts |
integer |
The number of parameters in the parameter template. |
2 |
| ParameterGroupDesc |
string |
The description of the parameter template. |
testgroup |
| CreateTime |
string |
The time when the parameter template was created. The time is in the |
2023-03-10T08:40:39Z |
| ParameterGroupId |
string |
The ID of the parameter template. |
pcpg-************** |
Contoh
Respons sukses
JSONformat
{
"RequestId": "944CED46-A6F7-40C6-B6DC-C6E5CC******",
"ParameterGroups": [
{
"DBType": "MySQL",
"DBVersion": "8.0",
"ParameterGroupName": "test",
"ForceRestart": "1",
"ParameterGroupType": "1",
"ParameterCounts": 2,
"ParameterGroupDesc": "testgroup",
"CreateTime": "2023-03-10T08:40:39Z",
"ParameterGroupId": "pcpg-**************"
}
]
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | InvalidRegionId.Malformed | The specified parameter RegionId is not valid. | |
| 400 | InvalidEngine.Unsupported | The specified Engine does not support this feature. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.