1. Packages
  2. Tencentcloud Provider
  3. API Docs
  4. RedisParamTemplate
tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack

tencentcloud.RedisParamTemplate

Explore with Pulumi AI

tencentcloud logo
tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack

    Provides a resource to create a redis parameter template

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as tencentcloud from "@pulumi/tencentcloud";
    
    const example = new tencentcloud.RedisParamTemplate("example", {
        description: "This is an example redis param template.",
        paramsOverrides: [{
            key: "timeout",
            value: "7200",
        }],
        productType: 6,
    });
    
    import pulumi
    import pulumi_tencentcloud as tencentcloud
    
    example = tencentcloud.RedisParamTemplate("example",
        description="This is an example redis param template.",
        params_overrides=[{
            "key": "timeout",
            "value": "7200",
        }],
        product_type=6)
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/tencentcloud/tencentcloud"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := tencentcloud.NewRedisParamTemplate(ctx, "example", &tencentcloud.RedisParamTemplateArgs{
    			Description: pulumi.String("This is an example redis param template."),
    			ParamsOverrides: tencentcloud.RedisParamTemplateParamsOverrideArray{
    				&tencentcloud.RedisParamTemplateParamsOverrideArgs{
    					Key:   pulumi.String("timeout"),
    					Value: pulumi.String("7200"),
    				},
    			},
    			ProductType: pulumi.Float64(6),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Tencentcloud = Pulumi.Tencentcloud;
    
    return await Deployment.RunAsync(() => 
    {
        var example = new Tencentcloud.RedisParamTemplate("example", new()
        {
            Description = "This is an example redis param template.",
            ParamsOverrides = new[]
            {
                new Tencentcloud.Inputs.RedisParamTemplateParamsOverrideArgs
                {
                    Key = "timeout",
                    Value = "7200",
                },
            },
            ProductType = 6,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.tencentcloud.RedisParamTemplate;
    import com.pulumi.tencentcloud.RedisParamTemplateArgs;
    import com.pulumi.tencentcloud.inputs.RedisParamTemplateParamsOverrideArgs;
    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 example = new RedisParamTemplate("example", RedisParamTemplateArgs.builder()
                .description("This is an example redis param template.")
                .paramsOverrides(RedisParamTemplateParamsOverrideArgs.builder()
                    .key("timeout")
                    .value("7200")
                    .build())
                .productType(6)
                .build());
    
        }
    }
    
    resources:
      example:
        type: tencentcloud:RedisParamTemplate
        properties:
          description: This is an example redis param template.
          paramsOverrides:
            - key: timeout
              value: '7200'
          productType: 6
    

    Copy from another template

    import * as pulumi from "@pulumi/pulumi";
    import * as tencentcloud from "@pulumi/tencentcloud";
    
    const example = new tencentcloud.RedisParamTemplate("example", {
        description: "This is an example redis param template.",
        productType: 6,
        paramsOverrides: [{
            key: "timeout",
            value: "7200",
        }],
    });
    const exampleCopy = new tencentcloud.RedisParamTemplate("exampleCopy", {
        description: "This is an copied redis param template from tf-template.",
        templateId: example.redisParamTemplateId,
    });
    
    import pulumi
    import pulumi_tencentcloud as tencentcloud
    
    example = tencentcloud.RedisParamTemplate("example",
        description="This is an example redis param template.",
        product_type=6,
        params_overrides=[{
            "key": "timeout",
            "value": "7200",
        }])
    example_copy = tencentcloud.RedisParamTemplate("exampleCopy",
        description="This is an copied redis param template from tf-template.",
        template_id=example.redis_param_template_id)
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/tencentcloud/tencentcloud"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		example, err := tencentcloud.NewRedisParamTemplate(ctx, "example", &tencentcloud.RedisParamTemplateArgs{
    			Description: pulumi.String("This is an example redis param template."),
    			ProductType: pulumi.Float64(6),
    			ParamsOverrides: tencentcloud.RedisParamTemplateParamsOverrideArray{
    				&tencentcloud.RedisParamTemplateParamsOverrideArgs{
    					Key:   pulumi.String("timeout"),
    					Value: pulumi.String("7200"),
    				},
    			},
    		})
    		if err != nil {
    			return err
    		}
    		_, err = tencentcloud.NewRedisParamTemplate(ctx, "exampleCopy", &tencentcloud.RedisParamTemplateArgs{
    			Description: pulumi.String("This is an copied redis param template from tf-template."),
    			TemplateId:  example.RedisParamTemplateId,
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Tencentcloud = Pulumi.Tencentcloud;
    
    return await Deployment.RunAsync(() => 
    {
        var example = new Tencentcloud.RedisParamTemplate("example", new()
        {
            Description = "This is an example redis param template.",
            ProductType = 6,
            ParamsOverrides = new[]
            {
                new Tencentcloud.Inputs.RedisParamTemplateParamsOverrideArgs
                {
                    Key = "timeout",
                    Value = "7200",
                },
            },
        });
    
        var exampleCopy = new Tencentcloud.RedisParamTemplate("exampleCopy", new()
        {
            Description = "This is an copied redis param template from tf-template.",
            TemplateId = example.RedisParamTemplateId,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.tencentcloud.RedisParamTemplate;
    import com.pulumi.tencentcloud.RedisParamTemplateArgs;
    import com.pulumi.tencentcloud.inputs.RedisParamTemplateParamsOverrideArgs;
    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 example = new RedisParamTemplate("example", RedisParamTemplateArgs.builder()
                .description("This is an example redis param template.")
                .productType(6)
                .paramsOverrides(RedisParamTemplateParamsOverrideArgs.builder()
                    .key("timeout")
                    .value("7200")
                    .build())
                .build());
    
            var exampleCopy = new RedisParamTemplate("exampleCopy", RedisParamTemplateArgs.builder()
                .description("This is an copied redis param template from tf-template.")
                .templateId(example.redisParamTemplateId())
                .build());
    
        }
    }
    
    resources:
      example:
        type: tencentcloud:RedisParamTemplate
        properties:
          description: This is an example redis param template.
          productType: 6
          paramsOverrides:
            - key: timeout
              value: '7200'
      exampleCopy:
        type: tencentcloud:RedisParamTemplate
        properties:
          description: This is an copied redis param template from tf-template.
          templateId: ${example.redisParamTemplateId}
    

    Create RedisParamTemplate Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new RedisParamTemplate(name: string, args?: RedisParamTemplateArgs, opts?: CustomResourceOptions);
    @overload
    def RedisParamTemplate(resource_name: str,
                           args: Optional[RedisParamTemplateArgs] = None,
                           opts: Optional[ResourceOptions] = None)
    
    @overload
    def RedisParamTemplate(resource_name: str,
                           opts: Optional[ResourceOptions] = None,
                           description: Optional[str] = None,
                           name: Optional[str] = None,
                           params_overrides: Optional[Sequence[RedisParamTemplateParamsOverrideArgs]] = None,
                           product_type: Optional[float] = None,
                           redis_param_template_id: Optional[str] = None,
                           template_id: Optional[str] = None)
    func NewRedisParamTemplate(ctx *Context, name string, args *RedisParamTemplateArgs, opts ...ResourceOption) (*RedisParamTemplate, error)
    public RedisParamTemplate(string name, RedisParamTemplateArgs? args = null, CustomResourceOptions? opts = null)
    public RedisParamTemplate(String name, RedisParamTemplateArgs args)
    public RedisParamTemplate(String name, RedisParamTemplateArgs args, CustomResourceOptions options)
    
    type: tencentcloud:RedisParamTemplate
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args RedisParamTemplateArgs
    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 RedisParamTemplateArgs
    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 RedisParamTemplateArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args RedisParamTemplateArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args RedisParamTemplateArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    RedisParamTemplate 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 RedisParamTemplate resource accepts the following input properties:

    Description string
    Parameter template description.
    Name string
    Parameter template name.
    ParamsOverrides List<RedisParamTemplateParamsOverride>
    Specify override parameter list, NOTE: Do not remove override params once set, removing will not take effects to current value.
    ProductType double
    Specify product type. Valid values: 1 (Redis 2.8 Memory Edition in cluster architecture), 2 (Redis 2.8 Memory Edition in standard architecture), 3 (CKV 3.2 Memory Edition in standard architecture), 4 (CKV 3.2 Memory Edition in cluster architecture), 5 (Redis 2.8 Memory Edition in standalone architecture), 6 (Redis 4.0 Memory Edition in standard architecture), 7 (Redis 4.0 Memory Edition in cluster architecture), 8 (Redis 5.0 Memory Edition in standard architecture), 9 (Redis 5.0 Memory Edition in cluster architecture). If template_id is specified, this parameter can be left blank; otherwise, it is required.
    RedisParamTemplateId string
    ID of the resource.
    TemplateId string
    Specify which existed template import from.
    Description string
    Parameter template description.
    Name string
    Parameter template name.
    ParamsOverrides []RedisParamTemplateParamsOverrideArgs
    Specify override parameter list, NOTE: Do not remove override params once set, removing will not take effects to current value.
    ProductType float64
    Specify product type. Valid values: 1 (Redis 2.8 Memory Edition in cluster architecture), 2 (Redis 2.8 Memory Edition in standard architecture), 3 (CKV 3.2 Memory Edition in standard architecture), 4 (CKV 3.2 Memory Edition in cluster architecture), 5 (Redis 2.8 Memory Edition in standalone architecture), 6 (Redis 4.0 Memory Edition in standard architecture), 7 (Redis 4.0 Memory Edition in cluster architecture), 8 (Redis 5.0 Memory Edition in standard architecture), 9 (Redis 5.0 Memory Edition in cluster architecture). If template_id is specified, this parameter can be left blank; otherwise, it is required.
    RedisParamTemplateId string
    ID of the resource.
    TemplateId string
    Specify which existed template import from.
    description String
    Parameter template description.
    name String
    Parameter template name.
    paramsOverrides List<RedisParamTemplateParamsOverride>
    Specify override parameter list, NOTE: Do not remove override params once set, removing will not take effects to current value.
    productType Double
    Specify product type. Valid values: 1 (Redis 2.8 Memory Edition in cluster architecture), 2 (Redis 2.8 Memory Edition in standard architecture), 3 (CKV 3.2 Memory Edition in standard architecture), 4 (CKV 3.2 Memory Edition in cluster architecture), 5 (Redis 2.8 Memory Edition in standalone architecture), 6 (Redis 4.0 Memory Edition in standard architecture), 7 (Redis 4.0 Memory Edition in cluster architecture), 8 (Redis 5.0 Memory Edition in standard architecture), 9 (Redis 5.0 Memory Edition in cluster architecture). If template_id is specified, this parameter can be left blank; otherwise, it is required.
    redisParamTemplateId String
    ID of the resource.
    templateId String
    Specify which existed template import from.
    description string
    Parameter template description.
    name string
    Parameter template name.
    paramsOverrides RedisParamTemplateParamsOverride[]
    Specify override parameter list, NOTE: Do not remove override params once set, removing will not take effects to current value.
    productType number
    Specify product type. Valid values: 1 (Redis 2.8 Memory Edition in cluster architecture), 2 (Redis 2.8 Memory Edition in standard architecture), 3 (CKV 3.2 Memory Edition in standard architecture), 4 (CKV 3.2 Memory Edition in cluster architecture), 5 (Redis 2.8 Memory Edition in standalone architecture), 6 (Redis 4.0 Memory Edition in standard architecture), 7 (Redis 4.0 Memory Edition in cluster architecture), 8 (Redis 5.0 Memory Edition in standard architecture), 9 (Redis 5.0 Memory Edition in cluster architecture). If template_id is specified, this parameter can be left blank; otherwise, it is required.
    redisParamTemplateId string
    ID of the resource.
    templateId string
    Specify which existed template import from.
    description str
    Parameter template description.
    name str
    Parameter template name.
    params_overrides Sequence[RedisParamTemplateParamsOverrideArgs]
    Specify override parameter list, NOTE: Do not remove override params once set, removing will not take effects to current value.
    product_type float
    Specify product type. Valid values: 1 (Redis 2.8 Memory Edition in cluster architecture), 2 (Redis 2.8 Memory Edition in standard architecture), 3 (CKV 3.2 Memory Edition in standard architecture), 4 (CKV 3.2 Memory Edition in cluster architecture), 5 (Redis 2.8 Memory Edition in standalone architecture), 6 (Redis 4.0 Memory Edition in standard architecture), 7 (Redis 4.0 Memory Edition in cluster architecture), 8 (Redis 5.0 Memory Edition in standard architecture), 9 (Redis 5.0 Memory Edition in cluster architecture). If template_id is specified, this parameter can be left blank; otherwise, it is required.
    redis_param_template_id str
    ID of the resource.
    template_id str
    Specify which existed template import from.
    description String
    Parameter template description.
    name String
    Parameter template name.
    paramsOverrides List<Property Map>
    Specify override parameter list, NOTE: Do not remove override params once set, removing will not take effects to current value.
    productType Number
    Specify product type. Valid values: 1 (Redis 2.8 Memory Edition in cluster architecture), 2 (Redis 2.8 Memory Edition in standard architecture), 3 (CKV 3.2 Memory Edition in standard architecture), 4 (CKV 3.2 Memory Edition in cluster architecture), 5 (Redis 2.8 Memory Edition in standalone architecture), 6 (Redis 4.0 Memory Edition in standard architecture), 7 (Redis 4.0 Memory Edition in cluster architecture), 8 (Redis 5.0 Memory Edition in standard architecture), 9 (Redis 5.0 Memory Edition in cluster architecture). If template_id is specified, this parameter can be left blank; otherwise, it is required.
    redisParamTemplateId String
    ID of the resource.
    templateId String
    Specify which existed template import from.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the RedisParamTemplate resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    ParamDetails List<RedisParamTemplateParamDetail>
    Readonly full parameter list details.
    Id string
    The provider-assigned unique ID for this managed resource.
    ParamDetails []RedisParamTemplateParamDetail
    Readonly full parameter list details.
    id String
    The provider-assigned unique ID for this managed resource.
    paramDetails List<RedisParamTemplateParamDetail>
    Readonly full parameter list details.
    id string
    The provider-assigned unique ID for this managed resource.
    paramDetails RedisParamTemplateParamDetail[]
    Readonly full parameter list details.
    id str
    The provider-assigned unique ID for this managed resource.
    param_details Sequence[RedisParamTemplateParamDetail]
    Readonly full parameter list details.
    id String
    The provider-assigned unique ID for this managed resource.
    paramDetails List<Property Map>
    Readonly full parameter list details.

    Look up Existing RedisParamTemplate Resource

    Get an existing RedisParamTemplate 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?: RedisParamTemplateState, opts?: CustomResourceOptions): RedisParamTemplate
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            description: Optional[str] = None,
            name: Optional[str] = None,
            param_details: Optional[Sequence[RedisParamTemplateParamDetailArgs]] = None,
            params_overrides: Optional[Sequence[RedisParamTemplateParamsOverrideArgs]] = None,
            product_type: Optional[float] = None,
            redis_param_template_id: Optional[str] = None,
            template_id: Optional[str] = None) -> RedisParamTemplate
    func GetRedisParamTemplate(ctx *Context, name string, id IDInput, state *RedisParamTemplateState, opts ...ResourceOption) (*RedisParamTemplate, error)
    public static RedisParamTemplate Get(string name, Input<string> id, RedisParamTemplateState? state, CustomResourceOptions? opts = null)
    public static RedisParamTemplate get(String name, Output<String> id, RedisParamTemplateState state, CustomResourceOptions options)
    resources:  _:    type: tencentcloud:RedisParamTemplate    get:      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.
    The following state arguments are supported:
    Description string
    Parameter template description.
    Name string
    Parameter template name.
    ParamDetails List<RedisParamTemplateParamDetail>
    Readonly full parameter list details.
    ParamsOverrides List<RedisParamTemplateParamsOverride>
    Specify override parameter list, NOTE: Do not remove override params once set, removing will not take effects to current value.
    ProductType double
    Specify product type. Valid values: 1 (Redis 2.8 Memory Edition in cluster architecture), 2 (Redis 2.8 Memory Edition in standard architecture), 3 (CKV 3.2 Memory Edition in standard architecture), 4 (CKV 3.2 Memory Edition in cluster architecture), 5 (Redis 2.8 Memory Edition in standalone architecture), 6 (Redis 4.0 Memory Edition in standard architecture), 7 (Redis 4.0 Memory Edition in cluster architecture), 8 (Redis 5.0 Memory Edition in standard architecture), 9 (Redis 5.0 Memory Edition in cluster architecture). If template_id is specified, this parameter can be left blank; otherwise, it is required.
    RedisParamTemplateId string
    ID of the resource.
    TemplateId string
    Specify which existed template import from.
    Description string
    Parameter template description.
    Name string
    Parameter template name.
    ParamDetails []RedisParamTemplateParamDetailArgs
    Readonly full parameter list details.
    ParamsOverrides []RedisParamTemplateParamsOverrideArgs
    Specify override parameter list, NOTE: Do not remove override params once set, removing will not take effects to current value.
    ProductType float64
    Specify product type. Valid values: 1 (Redis 2.8 Memory Edition in cluster architecture), 2 (Redis 2.8 Memory Edition in standard architecture), 3 (CKV 3.2 Memory Edition in standard architecture), 4 (CKV 3.2 Memory Edition in cluster architecture), 5 (Redis 2.8 Memory Edition in standalone architecture), 6 (Redis 4.0 Memory Edition in standard architecture), 7 (Redis 4.0 Memory Edition in cluster architecture), 8 (Redis 5.0 Memory Edition in standard architecture), 9 (Redis 5.0 Memory Edition in cluster architecture). If template_id is specified, this parameter can be left blank; otherwise, it is required.
    RedisParamTemplateId string
    ID of the resource.
    TemplateId string
    Specify which existed template import from.
    description String
    Parameter template description.
    name String
    Parameter template name.
    paramDetails List<RedisParamTemplateParamDetail>
    Readonly full parameter list details.
    paramsOverrides List<RedisParamTemplateParamsOverride>
    Specify override parameter list, NOTE: Do not remove override params once set, removing will not take effects to current value.
    productType Double
    Specify product type. Valid values: 1 (Redis 2.8 Memory Edition in cluster architecture), 2 (Redis 2.8 Memory Edition in standard architecture), 3 (CKV 3.2 Memory Edition in standard architecture), 4 (CKV 3.2 Memory Edition in cluster architecture), 5 (Redis 2.8 Memory Edition in standalone architecture), 6 (Redis 4.0 Memory Edition in standard architecture), 7 (Redis 4.0 Memory Edition in cluster architecture), 8 (Redis 5.0 Memory Edition in standard architecture), 9 (Redis 5.0 Memory Edition in cluster architecture). If template_id is specified, this parameter can be left blank; otherwise, it is required.
    redisParamTemplateId String
    ID of the resource.
    templateId String
    Specify which existed template import from.
    description string
    Parameter template description.
    name string
    Parameter template name.
    paramDetails RedisParamTemplateParamDetail[]
    Readonly full parameter list details.
    paramsOverrides RedisParamTemplateParamsOverride[]
    Specify override parameter list, NOTE: Do not remove override params once set, removing will not take effects to current value.
    productType number
    Specify product type. Valid values: 1 (Redis 2.8 Memory Edition in cluster architecture), 2 (Redis 2.8 Memory Edition in standard architecture), 3 (CKV 3.2 Memory Edition in standard architecture), 4 (CKV 3.2 Memory Edition in cluster architecture), 5 (Redis 2.8 Memory Edition in standalone architecture), 6 (Redis 4.0 Memory Edition in standard architecture), 7 (Redis 4.0 Memory Edition in cluster architecture), 8 (Redis 5.0 Memory Edition in standard architecture), 9 (Redis 5.0 Memory Edition in cluster architecture). If template_id is specified, this parameter can be left blank; otherwise, it is required.
    redisParamTemplateId string
    ID of the resource.
    templateId string
    Specify which existed template import from.
    description str
    Parameter template description.
    name str
    Parameter template name.
    param_details Sequence[RedisParamTemplateParamDetailArgs]
    Readonly full parameter list details.
    params_overrides Sequence[RedisParamTemplateParamsOverrideArgs]
    Specify override parameter list, NOTE: Do not remove override params once set, removing will not take effects to current value.
    product_type float
    Specify product type. Valid values: 1 (Redis 2.8 Memory Edition in cluster architecture), 2 (Redis 2.8 Memory Edition in standard architecture), 3 (CKV 3.2 Memory Edition in standard architecture), 4 (CKV 3.2 Memory Edition in cluster architecture), 5 (Redis 2.8 Memory Edition in standalone architecture), 6 (Redis 4.0 Memory Edition in standard architecture), 7 (Redis 4.0 Memory Edition in cluster architecture), 8 (Redis 5.0 Memory Edition in standard architecture), 9 (Redis 5.0 Memory Edition in cluster architecture). If template_id is specified, this parameter can be left blank; otherwise, it is required.
    redis_param_template_id str
    ID of the resource.
    template_id str
    Specify which existed template import from.
    description String
    Parameter template description.
    name String
    Parameter template name.
    paramDetails List<Property Map>
    Readonly full parameter list details.
    paramsOverrides List<Property Map>
    Specify override parameter list, NOTE: Do not remove override params once set, removing will not take effects to current value.
    productType Number
    Specify product type. Valid values: 1 (Redis 2.8 Memory Edition in cluster architecture), 2 (Redis 2.8 Memory Edition in standard architecture), 3 (CKV 3.2 Memory Edition in standard architecture), 4 (CKV 3.2 Memory Edition in cluster architecture), 5 (Redis 2.8 Memory Edition in standalone architecture), 6 (Redis 4.0 Memory Edition in standard architecture), 7 (Redis 4.0 Memory Edition in cluster architecture), 8 (Redis 5.0 Memory Edition in standard architecture), 9 (Redis 5.0 Memory Edition in cluster architecture). If template_id is specified, this parameter can be left blank; otherwise, it is required.
    redisParamTemplateId String
    ID of the resource.
    templateId String
    Specify which existed template import from.

    Supporting Types

    RedisParamTemplateParamDetail, RedisParamTemplateParamDetailArgs

    CurrentValue string
    Current value.
    Default string
    Default value.
    Description string
    Parameter template description.
    EnumValues List<string>
    Enum values.
    Max string
    Maximum value.
    Min string
    Minimum value.
    Name string
    Parameter template name.
    NeedReboot double
    Indicates whether to reboot redis instance if modified.
    ParamType string
    Parameter type.
    CurrentValue string
    Current value.
    Default string
    Default value.
    Description string
    Parameter template description.
    EnumValues []string
    Enum values.
    Max string
    Maximum value.
    Min string
    Minimum value.
    Name string
    Parameter template name.
    NeedReboot float64
    Indicates whether to reboot redis instance if modified.
    ParamType string
    Parameter type.
    currentValue String
    Current value.
    default_ String
    Default value.
    description String
    Parameter template description.
    enumValues List<String>
    Enum values.
    max String
    Maximum value.
    min String
    Minimum value.
    name String
    Parameter template name.
    needReboot Double
    Indicates whether to reboot redis instance if modified.
    paramType String
    Parameter type.
    currentValue string
    Current value.
    default string
    Default value.
    description string
    Parameter template description.
    enumValues string[]
    Enum values.
    max string
    Maximum value.
    min string
    Minimum value.
    name string
    Parameter template name.
    needReboot number
    Indicates whether to reboot redis instance if modified.
    paramType string
    Parameter type.
    current_value str
    Current value.
    default str
    Default value.
    description str
    Parameter template description.
    enum_values Sequence[str]
    Enum values.
    max str
    Maximum value.
    min str
    Minimum value.
    name str
    Parameter template name.
    need_reboot float
    Indicates whether to reboot redis instance if modified.
    param_type str
    Parameter type.
    currentValue String
    Current value.
    default String
    Default value.
    description String
    Parameter template description.
    enumValues List<String>
    Enum values.
    max String
    Maximum value.
    min String
    Minimum value.
    name String
    Parameter template name.
    needReboot Number
    Indicates whether to reboot redis instance if modified.
    paramType String
    Parameter type.

    RedisParamTemplateParamsOverride, RedisParamTemplateParamsOverrideArgs

    Key string
    Parameter key e.g. timeout, check https://www.tencentcloud.com/document/product/239/39796 for more reference.
    Value string
    Parameter value, check https://www.tencentcloud.com/document/product/239/39796 for more reference.
    Key string
    Parameter key e.g. timeout, check https://www.tencentcloud.com/document/product/239/39796 for more reference.
    Value string
    Parameter value, check https://www.tencentcloud.com/document/product/239/39796 for more reference.
    key String
    Parameter key e.g. timeout, check https://www.tencentcloud.com/document/product/239/39796 for more reference.
    value String
    Parameter value, check https://www.tencentcloud.com/document/product/239/39796 for more reference.
    key string
    Parameter key e.g. timeout, check https://www.tencentcloud.com/document/product/239/39796 for more reference.
    value string
    Parameter value, check https://www.tencentcloud.com/document/product/239/39796 for more reference.
    key str
    Parameter key e.g. timeout, check https://www.tencentcloud.com/document/product/239/39796 for more reference.
    value str
    Parameter value, check https://www.tencentcloud.com/document/product/239/39796 for more reference.
    key String
    Parameter key e.g. timeout, check https://www.tencentcloud.com/document/product/239/39796 for more reference.
    value String
    Parameter value, check https://www.tencentcloud.com/document/product/239/39796 for more reference.

    Import

    redis param_template can be imported using the id, e.g.

    $ pulumi import tencentcloud:index/redisParamTemplate:RedisParamTemplate example crs-cfg-oyyon8f6
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    tencentcloud tencentcloudstack/terraform-provider-tencentcloud
    License
    Notes
    This Pulumi package is based on the tencentcloud Terraform Provider.
    tencentcloud logo
    tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack