ALIYUN::POLARDB::ParameterGroup is used to create a parameter template of 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 | Details of the parameters in the parameter template. | For more information, see Parameters properties. Note You can call the DescribeParameterTemplates operation to query the details of all parameters in a cluster of a specified database engine version. The details include names and valid values of the parameters. |
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: details of 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 to allow 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.