published on Thursday, May 14, 2026 by Volcengine
published on Thursday, May 14, 2026 by Volcengine
Volcano Engine Cloud Database MySQL version parameter template for managing and applying MySQL instance parameter configurations in bulk
Example Usage
Example coming soon!
Example coming soon!
Example coming soon!
Example coming soon!
Example coming soon!
resources:
rDSMySQLParameterTemplateDemo:
type: volcenginecc:rdsmysql:ParameterTemplate
name: RDSMySQLParameterTemplateDemo
properties:
templateName: test-parametertemplate
templateType: Mysql
templateTypeVersion: MySQL_5_7
templateParams:
- name: auto_increment_increment
running_value: '33'
- name: automatic_sp_privileges
running_value: on
templateDesc: 测试参数模板
engineType: InnoDB
projectName: default
Example coming soon!
Create ParameterTemplate Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ParameterTemplate(name: string, args: ParameterTemplateArgs, opts?: CustomResourceOptions);@overload
def ParameterTemplate(resource_name: str,
args: ParameterTemplateArgs,
opts: Optional[ResourceOptions] = None)
@overload
def ParameterTemplate(resource_name: str,
opts: Optional[ResourceOptions] = None,
template_name: Optional[str] = None,
template_params: Optional[Sequence[ParameterTemplateTemplateParamArgs]] = None,
engine_type: Optional[str] = None,
project_name: Optional[str] = None,
template_desc: Optional[str] = None,
template_type: Optional[str] = None,
template_type_version: Optional[str] = None)func NewParameterTemplate(ctx *Context, name string, args ParameterTemplateArgs, opts ...ResourceOption) (*ParameterTemplate, error)public ParameterTemplate(string name, ParameterTemplateArgs args, CustomResourceOptions? opts = null)
public ParameterTemplate(String name, ParameterTemplateArgs args)
public ParameterTemplate(String name, ParameterTemplateArgs args, CustomResourceOptions options)
type: volcenginecc:rdsmysql:ParameterTemplate
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "volcenginecc_rdsmysql_parametertemplate" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args ParameterTemplateArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args ParameterTemplateArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args ParameterTemplateArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ParameterTemplateArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ParameterTemplateArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var parameterTemplateResource = new Volcenginecc.Rdsmysql.ParameterTemplate("parameterTemplateResource", new()
{
TemplateName = "string",
TemplateParams = new[]
{
new Volcenginecc.Rdsmysql.Inputs.ParameterTemplateTemplateParamArgs
{
Name = "string",
RunningValue = "string",
},
},
EngineType = "string",
ProjectName = "string",
TemplateDesc = "string",
TemplateType = "string",
TemplateTypeVersion = "string",
});
example, err := rdsmysql.NewParameterTemplate(ctx, "parameterTemplateResource", &rdsmysql.ParameterTemplateArgs{
TemplateName: pulumi.String("string"),
TemplateParams: rdsmysql.ParameterTemplateTemplateParamArray{
&rdsmysql.ParameterTemplateTemplateParamArgs{
Name: pulumi.String("string"),
RunningValue: pulumi.String("string"),
},
},
EngineType: pulumi.String("string"),
ProjectName: pulumi.String("string"),
TemplateDesc: pulumi.String("string"),
TemplateType: pulumi.String("string"),
TemplateTypeVersion: pulumi.String("string"),
})
resource "volcenginecc_rdsmysql_parametertemplate" "parameterTemplateResource" {
template_name = "string"
template_params {
name = "string"
running_value = "string"
}
engine_type = "string"
project_name = "string"
template_desc = "string"
template_type = "string"
template_type_version = "string"
}
var parameterTemplateResource = new ParameterTemplate("parameterTemplateResource", ParameterTemplateArgs.builder()
.templateName("string")
.templateParams(ParameterTemplateTemplateParamArgs.builder()
.name("string")
.runningValue("string")
.build())
.engineType("string")
.projectName("string")
.templateDesc("string")
.templateType("string")
.templateTypeVersion("string")
.build());
parameter_template_resource = volcenginecc.rdsmysql.ParameterTemplate("parameterTemplateResource",
template_name="string",
template_params=[{
"name": "string",
"running_value": "string",
}],
engine_type="string",
project_name="string",
template_desc="string",
template_type="string",
template_type_version="string")
const parameterTemplateResource = new volcenginecc.rdsmysql.ParameterTemplate("parameterTemplateResource", {
templateName: "string",
templateParams: [{
name: "string",
runningValue: "string",
}],
engineType: "string",
projectName: "string",
templateDesc: "string",
templateType: "string",
templateTypeVersion: "string",
});
type: volcenginecc:rdsmysql:ParameterTemplate
properties:
engineType: string
projectName: string
templateDesc: string
templateName: string
templateParams:
- name: string
runningValue: string
templateType: string
templateTypeVersion: string
ParameterTemplate Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The ParameterTemplate resource accepts the following input properties:
- Template
Name string - Parameter template name
- Template
Params List<Volcengine.Parameter Template Template Param> - Engine
Type string - Database engine type. Values: InnoDB (InnoDB engine), RocksDB (RocksDB engine). Default: InnoDB
- Project
Name string - Associated project
- Template
Desc string - Parameter template description
- Template
Type string - Database type of the parameter template. Default: Mysql
- Template
Type stringVersion - Database version of the parameter template. Value range: MySQL57 (MySQL 5.7 version), MySQL80 (MySQL 8.0 version)
- Template
Name string - Parameter template name
- Template
Params []ParameterTemplate Template Param Args - Engine
Type string - Database engine type. Values: InnoDB (InnoDB engine), RocksDB (RocksDB engine). Default: InnoDB
- Project
Name string - Associated project
- Template
Desc string - Parameter template description
- Template
Type string - Database type of the parameter template. Default: Mysql
- Template
Type stringVersion - Database version of the parameter template. Value range: MySQL57 (MySQL 5.7 version), MySQL80 (MySQL 8.0 version)
- template_
name string - Parameter template name
- template_
params list(object) - engine_
type string - Database engine type. Values: InnoDB (InnoDB engine), RocksDB (RocksDB engine). Default: InnoDB
- project_
name string - Associated project
- template_
desc string - Parameter template description
- template_
type string - Database type of the parameter template. Default: Mysql
- template_
type_ stringversion - Database version of the parameter template. Value range: MySQL57 (MySQL 5.7 version), MySQL80 (MySQL 8.0 version)
- template
Name String - Parameter template name
- template
Params List<ParameterTemplate Template Param> - engine
Type String - Database engine type. Values: InnoDB (InnoDB engine), RocksDB (RocksDB engine). Default: InnoDB
- project
Name String - Associated project
- template
Desc String - Parameter template description
- template
Type String - Database type of the parameter template. Default: Mysql
- template
Type StringVersion - Database version of the parameter template. Value range: MySQL57 (MySQL 5.7 version), MySQL80 (MySQL 8.0 version)
- template
Name string - Parameter template name
- template
Params ParameterTemplate Template Param[] - engine
Type string - Database engine type. Values: InnoDB (InnoDB engine), RocksDB (RocksDB engine). Default: InnoDB
- project
Name string - Associated project
- template
Desc string - Parameter template description
- template
Type string - Database type of the parameter template. Default: Mysql
- template
Type stringVersion - Database version of the parameter template. Value range: MySQL57 (MySQL 5.7 version), MySQL80 (MySQL 8.0 version)
- template_
name str - Parameter template name
- template_
params Sequence[ParameterTemplate Template Param Args] - engine_
type str - Database engine type. Values: InnoDB (InnoDB engine), RocksDB (RocksDB engine). Default: InnoDB
- project_
name str - Associated project
- template_
desc str - Parameter template description
- template_
type str - Database type of the parameter template. Default: Mysql
- template_
type_ strversion - Database version of the parameter template. Value range: MySQL57 (MySQL 5.7 version), MySQL80 (MySQL 8.0 version)
- template
Name String - Parameter template name
- template
Params List<Property Map> - engine
Type String - Database engine type. Values: InnoDB (InnoDB engine), RocksDB (RocksDB engine). Default: InnoDB
- project
Name String - Associated project
- template
Desc String - Parameter template description
- template
Type String - Database type of the parameter template. Default: Mysql
- template
Type StringVersion - Database version of the parameter template. Value range: MySQL57 (MySQL 5.7 version), MySQL80 (MySQL 8.0 version)
Outputs
All input properties are implicitly available as output properties. Additionally, the ParameterTemplate resource produces the following output properties:
- Account
Id string - Account ID
- Create
Time string - Creation time (UTC+8), format: yyyy-MM-dd HH:mm:ss
- Id string
- The provider-assigned unique ID for this managed resource.
- Need
Restart bool - Whether the template contains parameters that require a restart
- Parameter
Num int - Number of parameters included in the template
- Template
Category string - Template category. Value: DBEngine (database engine parameter)
- Template
Id string - Parameter template ID, automatically generated by the system
- Template
Source string - Parameter template type. Values: System (system template), User (user template)
- Update
Time string - Template modification time
- Account
Id string - Account ID
- Create
Time string - Creation time (UTC+8), format: yyyy-MM-dd HH:mm:ss
- Id string
- The provider-assigned unique ID for this managed resource.
- Need
Restart bool - Whether the template contains parameters that require a restart
- Parameter
Num int - Number of parameters included in the template
- Template
Category string - Template category. Value: DBEngine (database engine parameter)
- Template
Id string - Parameter template ID, automatically generated by the system
- Template
Source string - Parameter template type. Values: System (system template), User (user template)
- Update
Time string - Template modification time
- account_
id string - Account ID
- create_
time string - Creation time (UTC+8), format: yyyy-MM-dd HH:mm:ss
- id string
- The provider-assigned unique ID for this managed resource.
- need_
restart bool - Whether the template contains parameters that require a restart
- parameter_
num number - Number of parameters included in the template
- template_
category string - Template category. Value: DBEngine (database engine parameter)
- template_
id string - Parameter template ID, automatically generated by the system
- template_
source string - Parameter template type. Values: System (system template), User (user template)
- update_
time string - Template modification time
- account
Id String - Account ID
- create
Time String - Creation time (UTC+8), format: yyyy-MM-dd HH:mm:ss
- id String
- The provider-assigned unique ID for this managed resource.
- need
Restart Boolean - Whether the template contains parameters that require a restart
- parameter
Num Integer - Number of parameters included in the template
- template
Category String - Template category. Value: DBEngine (database engine parameter)
- template
Id String - Parameter template ID, automatically generated by the system
- template
Source String - Parameter template type. Values: System (system template), User (user template)
- update
Time String - Template modification time
- account
Id string - Account ID
- create
Time string - Creation time (UTC+8), format: yyyy-MM-dd HH:mm:ss
- id string
- The provider-assigned unique ID for this managed resource.
- need
Restart boolean - Whether the template contains parameters that require a restart
- parameter
Num number - Number of parameters included in the template
- template
Category string - Template category. Value: DBEngine (database engine parameter)
- template
Id string - Parameter template ID, automatically generated by the system
- template
Source string - Parameter template type. Values: System (system template), User (user template)
- update
Time string - Template modification time
- account_
id str - Account ID
- create_
time str - Creation time (UTC+8), format: yyyy-MM-dd HH:mm:ss
- id str
- The provider-assigned unique ID for this managed resource.
- need_
restart bool - Whether the template contains parameters that require a restart
- parameter_
num int - Number of parameters included in the template
- template_
category str - Template category. Value: DBEngine (database engine parameter)
- template_
id str - Parameter template ID, automatically generated by the system
- template_
source str - Parameter template type. Values: System (system template), User (user template)
- update_
time str - Template modification time
- account
Id String - Account ID
- create
Time String - Creation time (UTC+8), format: yyyy-MM-dd HH:mm:ss
- id String
- The provider-assigned unique ID for this managed resource.
- need
Restart Boolean - Whether the template contains parameters that require a restart
- parameter
Num Number - Number of parameters included in the template
- template
Category String - Template category. Value: DBEngine (database engine parameter)
- template
Id String - Parameter template ID, automatically generated by the system
- template
Source String - Parameter template type. Values: System (system template), User (user template)
- update
Time String - Template modification time
Look up Existing ParameterTemplate Resource
Get an existing ParameterTemplate resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: ParameterTemplateState, opts?: CustomResourceOptions): ParameterTemplate@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
account_id: Optional[str] = None,
create_time: Optional[str] = None,
engine_type: Optional[str] = None,
need_restart: Optional[bool] = None,
parameter_num: Optional[int] = None,
project_name: Optional[str] = None,
template_category: Optional[str] = None,
template_desc: Optional[str] = None,
template_id: Optional[str] = None,
template_name: Optional[str] = None,
template_params: Optional[Sequence[ParameterTemplateTemplateParamArgs]] = None,
template_source: Optional[str] = None,
template_type: Optional[str] = None,
template_type_version: Optional[str] = None,
update_time: Optional[str] = None) -> ParameterTemplatefunc GetParameterTemplate(ctx *Context, name string, id IDInput, state *ParameterTemplateState, opts ...ResourceOption) (*ParameterTemplate, error)public static ParameterTemplate Get(string name, Input<string> id, ParameterTemplateState? state, CustomResourceOptions? opts = null)public static ParameterTemplate get(String name, Output<String> id, ParameterTemplateState state, CustomResourceOptions options)resources: _: type: volcenginecc:rdsmysql:ParameterTemplate get: id: ${id}import {
to = volcenginecc_rdsmysql_parametertemplate.example
id = "${id}"
}
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Account
Id string - Account ID
- Create
Time string - Creation time (UTC+8), format: yyyy-MM-dd HH:mm:ss
- Engine
Type string - Database engine type. Values: InnoDB (InnoDB engine), RocksDB (RocksDB engine). Default: InnoDB
- Need
Restart bool - Whether the template contains parameters that require a restart
- Parameter
Num int - Number of parameters included in the template
- Project
Name string - Associated project
- Template
Category string - Template category. Value: DBEngine (database engine parameter)
- Template
Desc string - Parameter template description
- Template
Id string - Parameter template ID, automatically generated by the system
- Template
Name string - Parameter template name
- Template
Params List<Volcengine.Parameter Template Template Param> - Template
Source string - Parameter template type. Values: System (system template), User (user template)
- Template
Type string - Database type of the parameter template. Default: Mysql
- Template
Type stringVersion - Database version of the parameter template. Value range: MySQL57 (MySQL 5.7 version), MySQL80 (MySQL 8.0 version)
- Update
Time string - Template modification time
- Account
Id string - Account ID
- Create
Time string - Creation time (UTC+8), format: yyyy-MM-dd HH:mm:ss
- Engine
Type string - Database engine type. Values: InnoDB (InnoDB engine), RocksDB (RocksDB engine). Default: InnoDB
- Need
Restart bool - Whether the template contains parameters that require a restart
- Parameter
Num int - Number of parameters included in the template
- Project
Name string - Associated project
- Template
Category string - Template category. Value: DBEngine (database engine parameter)
- Template
Desc string - Parameter template description
- Template
Id string - Parameter template ID, automatically generated by the system
- Template
Name string - Parameter template name
- Template
Params []ParameterTemplate Template Param Args - Template
Source string - Parameter template type. Values: System (system template), User (user template)
- Template
Type string - Database type of the parameter template. Default: Mysql
- Template
Type stringVersion - Database version of the parameter template. Value range: MySQL57 (MySQL 5.7 version), MySQL80 (MySQL 8.0 version)
- Update
Time string - Template modification time
- account_
id string - Account ID
- create_
time string - Creation time (UTC+8), format: yyyy-MM-dd HH:mm:ss
- engine_
type string - Database engine type. Values: InnoDB (InnoDB engine), RocksDB (RocksDB engine). Default: InnoDB
- need_
restart bool - Whether the template contains parameters that require a restart
- parameter_
num number - Number of parameters included in the template
- project_
name string - Associated project
- template_
category string - Template category. Value: DBEngine (database engine parameter)
- template_
desc string - Parameter template description
- template_
id string - Parameter template ID, automatically generated by the system
- template_
name string - Parameter template name
- template_
params list(object) - template_
source string - Parameter template type. Values: System (system template), User (user template)
- template_
type string - Database type of the parameter template. Default: Mysql
- template_
type_ stringversion - Database version of the parameter template. Value range: MySQL57 (MySQL 5.7 version), MySQL80 (MySQL 8.0 version)
- update_
time string - Template modification time
- account
Id String - Account ID
- create
Time String - Creation time (UTC+8), format: yyyy-MM-dd HH:mm:ss
- engine
Type String - Database engine type. Values: InnoDB (InnoDB engine), RocksDB (RocksDB engine). Default: InnoDB
- need
Restart Boolean - Whether the template contains parameters that require a restart
- parameter
Num Integer - Number of parameters included in the template
- project
Name String - Associated project
- template
Category String - Template category. Value: DBEngine (database engine parameter)
- template
Desc String - Parameter template description
- template
Id String - Parameter template ID, automatically generated by the system
- template
Name String - Parameter template name
- template
Params List<ParameterTemplate Template Param> - template
Source String - Parameter template type. Values: System (system template), User (user template)
- template
Type String - Database type of the parameter template. Default: Mysql
- template
Type StringVersion - Database version of the parameter template. Value range: MySQL57 (MySQL 5.7 version), MySQL80 (MySQL 8.0 version)
- update
Time String - Template modification time
- account
Id string - Account ID
- create
Time string - Creation time (UTC+8), format: yyyy-MM-dd HH:mm:ss
- engine
Type string - Database engine type. Values: InnoDB (InnoDB engine), RocksDB (RocksDB engine). Default: InnoDB
- need
Restart boolean - Whether the template contains parameters that require a restart
- parameter
Num number - Number of parameters included in the template
- project
Name string - Associated project
- template
Category string - Template category. Value: DBEngine (database engine parameter)
- template
Desc string - Parameter template description
- template
Id string - Parameter template ID, automatically generated by the system
- template
Name string - Parameter template name
- template
Params ParameterTemplate Template Param[] - template
Source string - Parameter template type. Values: System (system template), User (user template)
- template
Type string - Database type of the parameter template. Default: Mysql
- template
Type stringVersion - Database version of the parameter template. Value range: MySQL57 (MySQL 5.7 version), MySQL80 (MySQL 8.0 version)
- update
Time string - Template modification time
- account_
id str - Account ID
- create_
time str - Creation time (UTC+8), format: yyyy-MM-dd HH:mm:ss
- engine_
type str - Database engine type. Values: InnoDB (InnoDB engine), RocksDB (RocksDB engine). Default: InnoDB
- need_
restart bool - Whether the template contains parameters that require a restart
- parameter_
num int - Number of parameters included in the template
- project_
name str - Associated project
- template_
category str - Template category. Value: DBEngine (database engine parameter)
- template_
desc str - Parameter template description
- template_
id str - Parameter template ID, automatically generated by the system
- template_
name str - Parameter template name
- template_
params Sequence[ParameterTemplate Template Param Args] - template_
source str - Parameter template type. Values: System (system template), User (user template)
- template_
type str - Database type of the parameter template. Default: Mysql
- template_
type_ strversion - Database version of the parameter template. Value range: MySQL57 (MySQL 5.7 version), MySQL80 (MySQL 8.0 version)
- update_
time str - Template modification time
- account
Id String - Account ID
- create
Time String - Creation time (UTC+8), format: yyyy-MM-dd HH:mm:ss
- engine
Type String - Database engine type. Values: InnoDB (InnoDB engine), RocksDB (RocksDB engine). Default: InnoDB
- need
Restart Boolean - Whether the template contains parameters that require a restart
- parameter
Num Number - Number of parameters included in the template
- project
Name String - Associated project
- template
Category String - Template category. Value: DBEngine (database engine parameter)
- template
Desc String - Parameter template description
- template
Id String - Parameter template ID, automatically generated by the system
- template
Name String - Parameter template name
- template
Params List<Property Map> - template
Source String - Parameter template type. Values: System (system template), User (user template)
- template
Type String - Database type of the parameter template. Default: Mysql
- template
Type StringVersion - Database version of the parameter template. Value range: MySQL57 (MySQL 5.7 version), MySQL80 (MySQL 8.0 version)
- update
Time String - Template modification time
Supporting Types
ParameterTemplateTemplateParam, ParameterTemplateTemplateParamArgs
- Name string
- Instance parameter name
- Running
Value string - Parameter runtime value
- Name string
- Instance parameter name
- Running
Value string - Parameter runtime value
- name string
- Instance parameter name
- running_
value string - Parameter runtime value
- name String
- Instance parameter name
- running
Value String - Parameter runtime value
- name string
- Instance parameter name
- running
Value string - Parameter runtime value
- name str
- Instance parameter name
- running_
value str - Parameter runtime value
- name String
- Instance parameter name
- running
Value String - Parameter runtime value
Import
$ pulumi import volcenginecc:rdsmysql/parameterTemplate:ParameterTemplate example "template_id"
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- volcenginecc volcengine/pulumi-volcenginecc
- License
- MPL-2.0
- Notes
- This Pulumi package is based on the
volcengineccTerraform Provider.
published on Thursday, May 14, 2026 by Volcengine
