Creates a parameter template for PolarDB.
Syntax
{
"Type": "ALIYUN::POLARDB::ParameterGroup",
"Properties": {
"Parameters": List,
"DbVersion": String,
"ResourceGroupId": String,
"ParameterGroupName": String,
"ParameterGroupDesc": String,
"DbType": String
}
}
Properties
|
Property |
Type |
Required |
Editable |
Description |
Constraint |
|
Parameters |
List |
Yes |
No |
The parameters in the parameter template. |
For more information, see Parameters properties. Note
You can call the DescribeParameterTemplates operation to query all parameters in a cluster of a specified database engine version, including parameter names and valid values. |
|
DbVersion |
String |
Yes |
No |
The version of the database engine. |
Valid values:
|
|
ResourceGroupId |
String |
No |
No |
The ID of the resource group. |
None. |
|
ParameterGroupName |
String |
Yes |
No |
The name of the parameter template. |
The name must meet the following requirements:
|
|
ParameterGroupDesc |
String |
No |
No |
The description of the parameter template. |
The description can be up to 199 characters in length. |
|
DbType |
String |
Yes |
No |
The type of the database engine. |
Only MySQL is supported. |
Parameters syntax
"Parameters": [
{
"ParamValue": String,
"ParamName": String
}
]
Parameters properties
|
Property |
Type |
Required |
Editable |
Description |
Constraint |
|
ParamValue |
String |
Yes |
No |
The value of the parameter. |
None. |
|
ParamName |
String |
Yes |
No |
The name of the parameter. |
None. |
Return values
Fn::GetAtt
-
Parameters: the parameters in the parameter template.
-
ParameterGroupId: the ID of the parameter template.
-
DbVersion: the version of the database engine.
-
ForceRestart: indicates whether the cluster must be restarted for the parameter template to take effect.
-
ParameterGroupName: the name of the parameter template.
-
ParameterGroupDesc: the description of the parameter template.
-
ParameterGroupType: the type of the parameter template.
-
CreateTime: the time when the parameter template was created.
-
ParameterCounts: the number of parameters in the parameter template.
-
DbType: the type of the database engine.