published on Monday, May 25, 2026 by Volcengine
published on Monday, May 25, 2026 by Volcengine
Volcano Engine Cloud Database Redis Edition parameter group, used to manage and apply Redis instance parameter configurations in bulk
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as volcenginecc from "@pulumi/volcenginecc";
const redisParameterGroupDemo = new volcenginecc.index.RedisParametergroup("RedisParameterGroupDemo", {
engineVersion: "6.0",
description: "用于测试的Redis 6.0自定义参数组",
paramValues: [
{
value: "allkeys-lru",
name: "maxmemory-policy",
},
{
value: "300",
name: "proxy-client-idle-timeout",
},
],
name: "test-redis6-param-group",
});
import pulumi
import pulumi_volcenginecc as volcenginecc
redis_parameter_group_demo = volcenginecc.index.RedisParametergroup("RedisParameterGroupDemo",
engine_version=6.0,
description=用于测试的Redis 6.0自定义参数组,
param_values=[
{
value: allkeys-lru,
name: maxmemory-policy,
},
{
value: 300,
name: proxy-client-idle-timeout,
},
],
name=test-redis6-param-group)
package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/volcengine/pulumi-volcenginecc/sdk/go/volcenginecc"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := volcenginecc.NewRedisParametergroup(ctx, "RedisParameterGroupDemo", &volcenginecc.RedisParametergroupArgs{
EngineVersion: "6.0",
Description: "用于测试的Redis 6.0自定义参数组",
ParamValues: []map[string]interface{}{
map[string]interface{}{
"value": "allkeys-lru",
"name": "maxmemory-policy",
},
map[string]interface{}{
"value": "300",
"name": "proxy-client-idle-timeout",
},
},
Name: "test-redis6-param-group",
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Volcenginecc = Pulumi.Volcenginecc;
return await Deployment.RunAsync(() =>
{
var redisParameterGroupDemo = new Volcenginecc.Index.RedisParametergroup("RedisParameterGroupDemo", new()
{
EngineVersion = "6.0",
Description = "用于测试的Redis 6.0自定义参数组",
ParamValues = new[]
{
{
{ "value", "allkeys-lru" },
{ "name", "maxmemory-policy" },
},
{
{ "value", "300" },
{ "name", "proxy-client-idle-timeout" },
},
},
Name = "test-redis6-param-group",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.volcenginecc.redisParametergroup;
import com.pulumi.volcenginecc.redisParametergroupArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var redisParameterGroupDemo = new RedisParametergroup("redisParameterGroupDemo", RedisParametergroupArgs.builder()
.engineVersion("6.0")
.description("用于测试的Redis 6.0自定义参数组")
.paramValues(List.of(
Map.ofEntries(
Map.entry("value", "allkeys-lru"),
Map.entry("name", "maxmemory-policy")
),
Map.ofEntries(
Map.entry("value", "300"),
Map.entry("name", "proxy-client-idle-timeout")
)))
.name("test-redis6-param-group")
.build());
}
}
resources:
redisParameterGroupDemo:
type: volcenginecc:redisParametergroup
name: RedisParameterGroupDemo
properties:
engineVersion: '6.0'
description: 用于测试的Redis 6.0自定义参数组
paramValues:
- value: allkeys-lru
name: maxmemory-policy
- value: '300'
name: proxy-client-idle-timeout
name: test-redis6-param-group
Example coming soon!
Create ParameterGroup Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ParameterGroup(name: string, args: ParameterGroupArgs, opts?: CustomResourceOptions);@overload
def ParameterGroup(resource_name: str,
args: ParameterGroupArgs,
opts: Optional[ResourceOptions] = None)
@overload
def ParameterGroup(resource_name: str,
opts: Optional[ResourceOptions] = None,
engine_version: Optional[str] = None,
name: Optional[str] = None,
param_values: Optional[Sequence[ParameterGroupParamValueArgs]] = None,
description: Optional[str] = None)func NewParameterGroup(ctx *Context, name string, args ParameterGroupArgs, opts ...ResourceOption) (*ParameterGroup, error)public ParameterGroup(string name, ParameterGroupArgs args, CustomResourceOptions? opts = null)
public ParameterGroup(String name, ParameterGroupArgs args)
public ParameterGroup(String name, ParameterGroupArgs args, CustomResourceOptions options)
type: volcenginecc:redis:ParameterGroup
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "volcenginecc_redis_parametergroup" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args ParameterGroupArgs
- 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 ParameterGroupArgs
- 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 ParameterGroupArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ParameterGroupArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ParameterGroupArgs
- 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 parameterGroupResource = new Volcenginecc.Redis.ParameterGroup("parameterGroupResource", new()
{
EngineVersion = "string",
Name = "string",
ParamValues = new[]
{
new Volcenginecc.Redis.Inputs.ParameterGroupParamValueArgs
{
Name = "string",
Value = "string",
},
},
Description = "string",
});
example, err := redis.NewParameterGroup(ctx, "parameterGroupResource", &redis.ParameterGroupArgs{
EngineVersion: pulumi.String("string"),
Name: pulumi.String("string"),
ParamValues: redis.ParameterGroupParamValueArray{
&redis.ParameterGroupParamValueArgs{
Name: pulumi.String("string"),
Value: pulumi.String("string"),
},
},
Description: pulumi.String("string"),
})
resource "volcenginecc_redis_parametergroup" "parameterGroupResource" {
engine_version = "string"
name = "string"
param_values {
name = "string"
value = "string"
}
description = "string"
}
var parameterGroupResource = new ParameterGroup("parameterGroupResource", ParameterGroupArgs.builder()
.engineVersion("string")
.name("string")
.paramValues(ParameterGroupParamValueArgs.builder()
.name("string")
.value("string")
.build())
.description("string")
.build());
parameter_group_resource = volcenginecc.redis.ParameterGroup("parameterGroupResource",
engine_version="string",
name="string",
param_values=[{
"name": "string",
"value": "string",
}],
description="string")
const parameterGroupResource = new volcenginecc.redis.ParameterGroup("parameterGroupResource", {
engineVersion: "string",
name: "string",
paramValues: [{
name: "string",
value: "string",
}],
description: "string",
});
type: volcenginecc:redis:ParameterGroup
properties:
description: string
engineVersion: string
name: string
paramValues:
- name: string
value: string
ParameterGroup 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 ParameterGroup resource accepts the following input properties:
- Engine
Version string - Redis engine version for the parameter group
- Name string
- Parameter group name
- Param
Values List<Volcengine.Parameter Group Param Value> - Description string
- Parameter group description
- Engine
Version string - Redis engine version for the parameter group
- Name string
- Parameter group name
- Param
Values []ParameterGroup Param Value Args - Description string
- Parameter group description
- engine_
version string - Redis engine version for the parameter group
- name string
- Parameter group name
- param_
values list(object) - description string
- Parameter group description
- engine
Version String - Redis engine version for the parameter group
- name String
- Parameter group name
- param
Values List<ParameterGroup Param Value> - description String
- Parameter group description
- engine
Version string - Redis engine version for the parameter group
- name string
- Parameter group name
- param
Values ParameterGroup Param Value[] - description string
- Parameter group description
- engine_
version str - Redis engine version for the parameter group
- name str
- Parameter group name
- param_
values Sequence[ParameterGroup Param Value Args] - description str
- Parameter group description
- engine
Version String - Redis engine version for the parameter group
- name String
- Parameter group name
- param
Values List<Property Map> - description String
- Parameter group description
Outputs
All input properties are implicitly available as output properties. Additionally, the ParameterGroup resource produces the following output properties:
- Create
Time string - Parameter group creation time
- Default bool
- Whether it is the default parameter group
- Id string
- The provider-assigned unique ID for this managed resource.
- Parameter
Group stringId - Parameter group ID, automatically generated by the system
- Parameters
List<Volcengine.
Parameter Group Parameter> - Source string
- Parameter group source. Values: System (system parameter group), User (user parameter group)
- Update
Time string - Parameter group update time
- Create
Time string - Parameter group creation time
- Default bool
- Whether it is the default parameter group
- Id string
- The provider-assigned unique ID for this managed resource.
- Parameter
Group stringId - Parameter group ID, automatically generated by the system
- Parameters
[]Parameter
Group Parameter - Source string
- Parameter group source. Values: System (system parameter group), User (user parameter group)
- Update
Time string - Parameter group update time
- create_
time string - Parameter group creation time
- default bool
- Whether it is the default parameter group
- id string
- The provider-assigned unique ID for this managed resource.
- parameter_
group_ stringid - Parameter group ID, automatically generated by the system
- parameters list(object)
- source string
- Parameter group source. Values: System (system parameter group), User (user parameter group)
- update_
time string - Parameter group update time
- create
Time String - Parameter group creation time
- default_ Boolean
- Whether it is the default parameter group
- id String
- The provider-assigned unique ID for this managed resource.
- parameter
Group StringId - Parameter group ID, automatically generated by the system
- parameters
List<Parameter
Group Parameter> - source String
- Parameter group source. Values: System (system parameter group), User (user parameter group)
- update
Time String - Parameter group update time
- create
Time string - Parameter group creation time
- default boolean
- Whether it is the default parameter group
- id string
- The provider-assigned unique ID for this managed resource.
- parameter
Group stringId - Parameter group ID, automatically generated by the system
- parameters
Parameter
Group Parameter[] - source string
- Parameter group source. Values: System (system parameter group), User (user parameter group)
- update
Time string - Parameter group update time
- create_
time str - Parameter group creation time
- default bool
- Whether it is the default parameter group
- id str
- The provider-assigned unique ID for this managed resource.
- parameter_
group_ strid - Parameter group ID, automatically generated by the system
- parameters
Sequence[Parameter
Group Parameter] - source str
- Parameter group source. Values: System (system parameter group), User (user parameter group)
- update_
time str - Parameter group update time
- create
Time String - Parameter group creation time
- default Boolean
- Whether it is the default parameter group
- id String
- The provider-assigned unique ID for this managed resource.
- parameter
Group StringId - Parameter group ID, automatically generated by the system
- parameters List<Property Map>
- source String
- Parameter group source. Values: System (system parameter group), User (user parameter group)
- update
Time String - Parameter group update time
Look up Existing ParameterGroup Resource
Get an existing ParameterGroup 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?: ParameterGroupState, opts?: CustomResourceOptions): ParameterGroup@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
create_time: Optional[str] = None,
default: Optional[bool] = None,
description: Optional[str] = None,
engine_version: Optional[str] = None,
name: Optional[str] = None,
param_values: Optional[Sequence[ParameterGroupParamValueArgs]] = None,
parameter_group_id: Optional[str] = None,
parameters: Optional[Sequence[ParameterGroupParameterArgs]] = None,
source: Optional[str] = None,
update_time: Optional[str] = None) -> ParameterGroupfunc GetParameterGroup(ctx *Context, name string, id IDInput, state *ParameterGroupState, opts ...ResourceOption) (*ParameterGroup, error)public static ParameterGroup Get(string name, Input<string> id, ParameterGroupState? state, CustomResourceOptions? opts = null)public static ParameterGroup get(String name, Output<String> id, ParameterGroupState state, CustomResourceOptions options)resources: _: type: volcenginecc:redis:ParameterGroup get: id: ${id}import {
to = volcenginecc_redis_parametergroup.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.
- Create
Time string - Parameter group creation time
- Default bool
- Whether it is the default parameter group
- Description string
- Parameter group description
- Engine
Version string - Redis engine version for the parameter group
- Name string
- Parameter group name
- Param
Values List<Volcengine.Parameter Group Param Value> - Parameter
Group stringId - Parameter group ID, automatically generated by the system
- Parameters
List<Volcengine.
Parameter Group Parameter> - Source string
- Parameter group source. Values: System (system parameter group), User (user parameter group)
- Update
Time string - Parameter group update time
- Create
Time string - Parameter group creation time
- Default bool
- Whether it is the default parameter group
- Description string
- Parameter group description
- Engine
Version string - Redis engine version for the parameter group
- Name string
- Parameter group name
- Param
Values []ParameterGroup Param Value Args - Parameter
Group stringId - Parameter group ID, automatically generated by the system
- Parameters
[]Parameter
Group Parameter Args - Source string
- Parameter group source. Values: System (system parameter group), User (user parameter group)
- Update
Time string - Parameter group update time
- create_
time string - Parameter group creation time
- default bool
- Whether it is the default parameter group
- description string
- Parameter group description
- engine_
version string - Redis engine version for the parameter group
- name string
- Parameter group name
- param_
values list(object) - parameter_
group_ stringid - Parameter group ID, automatically generated by the system
- parameters list(object)
- source string
- Parameter group source. Values: System (system parameter group), User (user parameter group)
- update_
time string - Parameter group update time
- create
Time String - Parameter group creation time
- default_ Boolean
- Whether it is the default parameter group
- description String
- Parameter group description
- engine
Version String - Redis engine version for the parameter group
- name String
- Parameter group name
- param
Values List<ParameterGroup Param Value> - parameter
Group StringId - Parameter group ID, automatically generated by the system
- parameters
List<Parameter
Group Parameter> - source String
- Parameter group source. Values: System (system parameter group), User (user parameter group)
- update
Time String - Parameter group update time
- create
Time string - Parameter group creation time
- default boolean
- Whether it is the default parameter group
- description string
- Parameter group description
- engine
Version string - Redis engine version for the parameter group
- name string
- Parameter group name
- param
Values ParameterGroup Param Value[] - parameter
Group stringId - Parameter group ID, automatically generated by the system
- parameters
Parameter
Group Parameter[] - source string
- Parameter group source. Values: System (system parameter group), User (user parameter group)
- update
Time string - Parameter group update time
- create_
time str - Parameter group creation time
- default bool
- Whether it is the default parameter group
- description str
- Parameter group description
- engine_
version str - Redis engine version for the parameter group
- name str
- Parameter group name
- param_
values Sequence[ParameterGroup Param Value Args] - parameter_
group_ strid - Parameter group ID, automatically generated by the system
- parameters
Sequence[Parameter
Group Parameter Args] - source str
- Parameter group source. Values: System (system parameter group), User (user parameter group)
- update_
time str - Parameter group update time
- create
Time String - Parameter group creation time
- default Boolean
- Whether it is the default parameter group
- description String
- Parameter group description
- engine
Version String - Redis engine version for the parameter group
- name String
- Parameter group name
- param
Values List<Property Map> - parameter
Group StringId - Parameter group ID, automatically generated by the system
- parameters List<Property Map>
- source String
- Parameter group source. Values: System (system parameter group), User (user parameter group)
- update
Time String - Parameter group update time
Supporting Types
ParameterGroupParamValue, ParameterGroupParamValueArgs
ParameterGroupParameter, ParameterGroupParameterArgs
- Current
Value string - Current parameter value
- Description string
- Parameter description
- Need
Reboot bool - Whether modifying this parameter requires a restart
- Param
Name string - Parameter name
- Range string
- Parameter value range
- Type string
- Parameter type
- Unit string
- Parameter unit
- Current
Value string - Current parameter value
- Description string
- Parameter description
- Need
Reboot bool - Whether modifying this parameter requires a restart
- Param
Name string - Parameter name
- Range string
- Parameter value range
- Type string
- Parameter type
- Unit string
- Parameter unit
- current_
value string - Current parameter value
- description string
- Parameter description
- need_
reboot bool - Whether modifying this parameter requires a restart
- param_
name string - Parameter name
- range string
- Parameter value range
- type string
- Parameter type
- unit string
- Parameter unit
- current
Value String - Current parameter value
- description String
- Parameter description
- need
Reboot Boolean - Whether modifying this parameter requires a restart
- param
Name String - Parameter name
- range String
- Parameter value range
- type String
- Parameter type
- unit String
- Parameter unit
- current
Value string - Current parameter value
- description string
- Parameter description
- need
Reboot boolean - Whether modifying this parameter requires a restart
- param
Name string - Parameter name
- range string
- Parameter value range
- type string
- Parameter type
- unit string
- Parameter unit
- current_
value str - Current parameter value
- description str
- Parameter description
- need_
reboot bool - Whether modifying this parameter requires a restart
- param_
name str - Parameter name
- range str
- Parameter value range
- type str
- Parameter type
- unit str
- Parameter unit
- current
Value String - Current parameter value
- description String
- Parameter description
- need
Reboot Boolean - Whether modifying this parameter requires a restart
- param
Name String - Parameter name
- range String
- Parameter value range
- type String
- Parameter type
- unit String
- Parameter unit
Import
$ pulumi import volcenginecc:redis/parameterGroup:ParameterGroup example "parameter_group_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 Monday, May 25, 2026 by Volcengine