tencentcloud.RedisParamTemplate
Explore with Pulumi AI
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.
- Params
Overrides List<RedisParam Template Params Override> - Specify override parameter list, NOTE: Do not remove override params once set, removing will not take effects to current value.
- Product
Type 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. - Redis
Param stringTemplate Id - ID of the resource.
- Template
Id string - Specify which existed template import from.
- Description string
- Parameter template description.
- Name string
- Parameter template name.
- Params
Overrides []RedisParam Template Params Override Args - Specify override parameter list, NOTE: Do not remove override params once set, removing will not take effects to current value.
- Product
Type 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. - Redis
Param stringTemplate Id - ID of the resource.
- Template
Id string - Specify which existed template import from.
- description String
- Parameter template description.
- name String
- Parameter template name.
- params
Overrides List<RedisParam Template Params Override> - Specify override parameter list, NOTE: Do not remove override params once set, removing will not take effects to current value.
- product
Type 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. - redis
Param StringTemplate Id - ID of the resource.
- template
Id String - Specify which existed template import from.
- description string
- Parameter template description.
- name string
- Parameter template name.
- params
Overrides RedisParam Template Params Override[] - Specify override parameter list, NOTE: Do not remove override params once set, removing will not take effects to current value.
- product
Type 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. - redis
Param stringTemplate Id - ID of the resource.
- template
Id string - Specify which existed template import from.
- description str
- Parameter template description.
- name str
- Parameter template name.
- params_
overrides Sequence[RedisParam Template Params Override Args] - 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_ strtemplate_ id - ID of the resource.
- template_
id str - Specify which existed template import from.
- description String
- Parameter template description.
- name String
- Parameter template name.
- params
Overrides List<Property Map> - Specify override parameter list, NOTE: Do not remove override params once set, removing will not take effects to current value.
- product
Type 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. - redis
Param StringTemplate Id - ID of the resource.
- template
Id 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.
- Param
Details List<RedisParam Template Param Detail> - Readonly full parameter list details.
- Id string
- The provider-assigned unique ID for this managed resource.
- Param
Details []RedisParam Template Param Detail - Readonly full parameter list details.
- id String
- The provider-assigned unique ID for this managed resource.
- param
Details List<RedisParam Template Param Detail> - Readonly full parameter list details.
- id string
- The provider-assigned unique ID for this managed resource.
- param
Details RedisParam Template Param Detail[] - Readonly full parameter list details.
- id str
- The provider-assigned unique ID for this managed resource.
- param_
details Sequence[RedisParam Template Param Detail] - Readonly full parameter list details.
- id String
- The provider-assigned unique ID for this managed resource.
- param
Details 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.
- Description string
- Parameter template description.
- Name string
- Parameter template name.
- Param
Details List<RedisParam Template Param Detail> - Readonly full parameter list details.
- Params
Overrides List<RedisParam Template Params Override> - Specify override parameter list, NOTE: Do not remove override params once set, removing will not take effects to current value.
- Product
Type 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. - Redis
Param stringTemplate Id - ID of the resource.
- Template
Id string - Specify which existed template import from.
- Description string
- Parameter template description.
- Name string
- Parameter template name.
- Param
Details []RedisParam Template Param Detail Args - Readonly full parameter list details.
- Params
Overrides []RedisParam Template Params Override Args - Specify override parameter list, NOTE: Do not remove override params once set, removing will not take effects to current value.
- Product
Type 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. - Redis
Param stringTemplate Id - ID of the resource.
- Template
Id string - Specify which existed template import from.
- description String
- Parameter template description.
- name String
- Parameter template name.
- param
Details List<RedisParam Template Param Detail> - Readonly full parameter list details.
- params
Overrides List<RedisParam Template Params Override> - Specify override parameter list, NOTE: Do not remove override params once set, removing will not take effects to current value.
- product
Type 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. - redis
Param StringTemplate Id - ID of the resource.
- template
Id String - Specify which existed template import from.
- description string
- Parameter template description.
- name string
- Parameter template name.
- param
Details RedisParam Template Param Detail[] - Readonly full parameter list details.
- params
Overrides RedisParam Template Params Override[] - Specify override parameter list, NOTE: Do not remove override params once set, removing will not take effects to current value.
- product
Type 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. - redis
Param stringTemplate Id - ID of the resource.
- template
Id string - Specify which existed template import from.
- description str
- Parameter template description.
- name str
- Parameter template name.
- param_
details Sequence[RedisParam Template Param Detail Args] - Readonly full parameter list details.
- params_
overrides Sequence[RedisParam Template Params Override Args] - 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_ strtemplate_ id - ID of the resource.
- template_
id str - Specify which existed template import from.
- description String
- Parameter template description.
- name String
- Parameter template name.
- param
Details List<Property Map> - Readonly full parameter list details.
- params
Overrides List<Property Map> - Specify override parameter list, NOTE: Do not remove override params once set, removing will not take effects to current value.
- product
Type 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. - redis
Param StringTemplate Id - ID of the resource.
- template
Id String - Specify which existed template import from.
Supporting Types
RedisParamTemplateParamDetail, RedisParamTemplateParamDetailArgs
- Current
Value string - Current value.
- Default string
- Default value.
- Description string
- Parameter template description.
- Enum
Values List<string> - Enum values.
- Max string
- Maximum value.
- Min string
- Minimum value.
- Name string
- Parameter template name.
- Need
Reboot double - Indicates whether to reboot redis instance if modified.
- Param
Type string - Parameter type.
- Current
Value string - Current value.
- Default string
- Default value.
- Description string
- Parameter template description.
- Enum
Values []string - Enum values.
- Max string
- Maximum value.
- Min string
- Minimum value.
- Name string
- Parameter template name.
- Need
Reboot float64 - Indicates whether to reboot redis instance if modified.
- Param
Type string - Parameter type.
- current
Value String - Current value.
- default_ String
- Default value.
- description String
- Parameter template description.
- enum
Values List<String> - Enum values.
- max String
- Maximum value.
- min String
- Minimum value.
- name String
- Parameter template name.
- need
Reboot Double - Indicates whether to reboot redis instance if modified.
- param
Type String - Parameter type.
- current
Value string - Current value.
- default string
- Default value.
- description string
- Parameter template description.
- enum
Values string[] - Enum values.
- max string
- Maximum value.
- min string
- Minimum value.
- name string
- Parameter template name.
- need
Reboot number - Indicates whether to reboot redis instance if modified.
- param
Type 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.
- current
Value String - Current value.
- default String
- Default value.
- description String
- Parameter template description.
- enum
Values List<String> - Enum values.
- max String
- Maximum value.
- min String
- Minimum value.
- name String
- Parameter template name.
- need
Reboot Number - Indicates whether to reboot redis instance if modified.
- param
Type String - Parameter type.
RedisParamTemplateParamsOverride, RedisParamTemplateParamsOverrideArgs
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.