1. Packages
  2. Packages
  3. Tencentcloud Provider
  4. API Docs
  5. RedisParam
Viewing docs for tencentcloud 1.82.93
published on Monday, May 11, 2026 by tencentcloudstack
Viewing docs for tencentcloud 1.82.93
published on Monday, May 11, 2026 by tencentcloudstack

    Create RedisParam Resource

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

    Constructor syntax

    new RedisParam(name: string, args: RedisParamArgs, opts?: CustomResourceOptions);
    @overload
    def RedisParam(resource_name: str,
                   args: RedisParamArgs,
                   opts: Optional[ResourceOptions] = None)
    
    @overload
    def RedisParam(resource_name: str,
                   opts: Optional[ResourceOptions] = None,
                   instance_id: Optional[str] = None,
                   instance_params: Optional[Mapping[str, str]] = None,
                   redis_param_id: Optional[str] = None)
    func NewRedisParam(ctx *Context, name string, args RedisParamArgs, opts ...ResourceOption) (*RedisParam, error)
    public RedisParam(string name, RedisParamArgs args, CustomResourceOptions? opts = null)
    public RedisParam(String name, RedisParamArgs args)
    public RedisParam(String name, RedisParamArgs args, CustomResourceOptions options)
    
    type: tencentcloud:RedisParam
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "tencentcloud_redisparam" "name" {
        # resource properties
    }

    Parameters

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

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

    InstanceId string
    The ID of instance.
    InstanceParams Dictionary<string, string>
    A list of parameters modified by the instance.
    RedisParamId string
    InstanceId string
    The ID of instance.
    InstanceParams map[string]string
    A list of parameters modified by the instance.
    RedisParamId string
    instance_id string
    The ID of instance.
    instance_params map(string)
    A list of parameters modified by the instance.
    redis_param_id string
    instanceId String
    The ID of instance.
    instanceParams Map<String,String>
    A list of parameters modified by the instance.
    redisParamId String
    instanceId string
    The ID of instance.
    instanceParams {[key: string]: string}
    A list of parameters modified by the instance.
    redisParamId string
    instance_id str
    The ID of instance.
    instance_params Mapping[str, str]
    A list of parameters modified by the instance.
    redis_param_id str
    instanceId String
    The ID of instance.
    instanceParams Map<String>
    A list of parameters modified by the instance.
    redisParamId String

    Outputs

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

    Id string
    The provider-assigned unique ID for this managed resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    id string
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.
    id string
    The provider-assigned unique ID for this managed resource.
    id str
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing RedisParam Resource

    Get an existing RedisParam 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?: RedisParamState, opts?: CustomResourceOptions): RedisParam
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            instance_id: Optional[str] = None,
            instance_params: Optional[Mapping[str, str]] = None,
            redis_param_id: Optional[str] = None) -> RedisParam
    func GetRedisParam(ctx *Context, name string, id IDInput, state *RedisParamState, opts ...ResourceOption) (*RedisParam, error)
    public static RedisParam Get(string name, Input<string> id, RedisParamState? state, CustomResourceOptions? opts = null)
    public static RedisParam get(String name, Output<String> id, RedisParamState state, CustomResourceOptions options)
    resources:  _:    type: tencentcloud:RedisParam    get:      id: ${id}
    import {
      to = tencentcloud_redisparam.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.
    The following state arguments are supported:
    InstanceId string
    The ID of instance.
    InstanceParams Dictionary<string, string>
    A list of parameters modified by the instance.
    RedisParamId string
    InstanceId string
    The ID of instance.
    InstanceParams map[string]string
    A list of parameters modified by the instance.
    RedisParamId string
    instance_id string
    The ID of instance.
    instance_params map(string)
    A list of parameters modified by the instance.
    redis_param_id string
    instanceId String
    The ID of instance.
    instanceParams Map<String,String>
    A list of parameters modified by the instance.
    redisParamId String
    instanceId string
    The ID of instance.
    instanceParams {[key: string]: string}
    A list of parameters modified by the instance.
    redisParamId string
    instance_id str
    The ID of instance.
    instance_params Mapping[str, str]
    A list of parameters modified by the instance.
    redis_param_id str
    instanceId String
    The ID of instance.
    instanceParams Map<String>
    A list of parameters modified by the instance.
    redisParamId String

    Package Details

    Repository
    tencentcloud tencentcloudstack/terraform-provider-tencentcloud
    License
    Notes
    This Pulumi package is based on the tencentcloud Terraform Provider.
    Viewing docs for tencentcloud 1.82.93
    published on Monday, May 11, 2026 by tencentcloudstack
      Try Pulumi Cloud free. Your team will thank you.