1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. Redis
  5. OciCacheConfigSet
Oracle Cloud Infrastructure v3.8.0 published on Thursday, Sep 18, 2025 by Pulumi

oci.Redis.OciCacheConfigSet

Explore with Pulumi AI

oci logo
Oracle Cloud Infrastructure v3.8.0 published on Thursday, Sep 18, 2025 by Pulumi

    This resource provides the Oci Cache Config Set resource in Oracle Cloud Infrastructure Redis service.

    Create a new Oracle Cloud Infrastructure Cache Config Set for the given Oracle Cloud Infrastructure cache engine version.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as oci from "@pulumi/oci";
    
    const testOciCacheConfigSet = new oci.redis.OciCacheConfigSet("test_oci_cache_config_set", {
        compartmentId: compartmentId,
        configurationDetails: {
            items: [{
                configKey: ociCacheConfigSetConfigurationDetailsItemsConfigKey,
                configValue: ociCacheConfigSetConfigurationDetailsItemsConfigValue,
            }],
        },
        displayName: ociCacheConfigSetDisplayName,
        softwareVersion: ociCacheConfigSetSoftwareVersion,
        definedTags: {
            "foo-namespace.bar-key": "value",
        },
        description: ociCacheConfigSetDescription,
        freeformTags: {
            "bar-key": "value",
        },
    });
    
    import pulumi
    import pulumi_oci as oci
    
    test_oci_cache_config_set = oci.redis.OciCacheConfigSet("test_oci_cache_config_set",
        compartment_id=compartment_id,
        configuration_details={
            "items": [{
                "config_key": oci_cache_config_set_configuration_details_items_config_key,
                "config_value": oci_cache_config_set_configuration_details_items_config_value,
            }],
        },
        display_name=oci_cache_config_set_display_name,
        software_version=oci_cache_config_set_software_version,
        defined_tags={
            "foo-namespace.bar-key": "value",
        },
        description=oci_cache_config_set_description,
        freeform_tags={
            "bar-key": "value",
        })
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-oci/sdk/v3/go/oci/redis"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := redis.NewOciCacheConfigSet(ctx, "test_oci_cache_config_set", &redis.OciCacheConfigSetArgs{
    			CompartmentId: pulumi.Any(compartmentId),
    			ConfigurationDetails: &redis.OciCacheConfigSetConfigurationDetailsArgs{
    				Items: redis.OciCacheConfigSetConfigurationDetailsItemArray{
    					&redis.OciCacheConfigSetConfigurationDetailsItemArgs{
    						ConfigKey:   pulumi.Any(ociCacheConfigSetConfigurationDetailsItemsConfigKey),
    						ConfigValue: pulumi.Any(ociCacheConfigSetConfigurationDetailsItemsConfigValue),
    					},
    				},
    			},
    			DisplayName:     pulumi.Any(ociCacheConfigSetDisplayName),
    			SoftwareVersion: pulumi.Any(ociCacheConfigSetSoftwareVersion),
    			DefinedTags: pulumi.StringMap{
    				"foo-namespace.bar-key": pulumi.String("value"),
    			},
    			Description: pulumi.Any(ociCacheConfigSetDescription),
    			FreeformTags: pulumi.StringMap{
    				"bar-key": pulumi.String("value"),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Oci = Pulumi.Oci;
    
    return await Deployment.RunAsync(() => 
    {
        var testOciCacheConfigSet = new Oci.Redis.OciCacheConfigSet("test_oci_cache_config_set", new()
        {
            CompartmentId = compartmentId,
            ConfigurationDetails = new Oci.Redis.Inputs.OciCacheConfigSetConfigurationDetailsArgs
            {
                Items = new[]
                {
                    new Oci.Redis.Inputs.OciCacheConfigSetConfigurationDetailsItemArgs
                    {
                        ConfigKey = ociCacheConfigSetConfigurationDetailsItemsConfigKey,
                        ConfigValue = ociCacheConfigSetConfigurationDetailsItemsConfigValue,
                    },
                },
            },
            DisplayName = ociCacheConfigSetDisplayName,
            SoftwareVersion = ociCacheConfigSetSoftwareVersion,
            DefinedTags = 
            {
                { "foo-namespace.bar-key", "value" },
            },
            Description = ociCacheConfigSetDescription,
            FreeformTags = 
            {
                { "bar-key", "value" },
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.oci.Redis.OciCacheConfigSet;
    import com.pulumi.oci.Redis.OciCacheConfigSetArgs;
    import com.pulumi.oci.Redis.inputs.OciCacheConfigSetConfigurationDetailsArgs;
    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 testOciCacheConfigSet = new OciCacheConfigSet("testOciCacheConfigSet", OciCacheConfigSetArgs.builder()
                .compartmentId(compartmentId)
                .configurationDetails(OciCacheConfigSetConfigurationDetailsArgs.builder()
                    .items(OciCacheConfigSetConfigurationDetailsItemArgs.builder()
                        .configKey(ociCacheConfigSetConfigurationDetailsItemsConfigKey)
                        .configValue(ociCacheConfigSetConfigurationDetailsItemsConfigValue)
                        .build())
                    .build())
                .displayName(ociCacheConfigSetDisplayName)
                .softwareVersion(ociCacheConfigSetSoftwareVersion)
                .definedTags(Map.of("foo-namespace.bar-key", "value"))
                .description(ociCacheConfigSetDescription)
                .freeformTags(Map.of("bar-key", "value"))
                .build());
    
        }
    }
    
    resources:
      testOciCacheConfigSet:
        type: oci:Redis:OciCacheConfigSet
        name: test_oci_cache_config_set
        properties:
          compartmentId: ${compartmentId}
          configurationDetails:
            items:
              - configKey: ${ociCacheConfigSetConfigurationDetailsItemsConfigKey}
                configValue: ${ociCacheConfigSetConfigurationDetailsItemsConfigValue}
          displayName: ${ociCacheConfigSetDisplayName}
          softwareVersion: ${ociCacheConfigSetSoftwareVersion}
          definedTags:
            foo-namespace.bar-key: value
          description: ${ociCacheConfigSetDescription}
          freeformTags:
            bar-key: value
    

    Create OciCacheConfigSet Resource

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

    Constructor syntax

    new OciCacheConfigSet(name: string, args: OciCacheConfigSetArgs, opts?: CustomResourceOptions);
    @overload
    def OciCacheConfigSet(resource_name: str,
                          args: OciCacheConfigSetArgs,
                          opts: Optional[ResourceOptions] = None)
    
    @overload
    def OciCacheConfigSet(resource_name: str,
                          opts: Optional[ResourceOptions] = None,
                          compartment_id: Optional[str] = None,
                          configuration_details: Optional[OciCacheConfigSetConfigurationDetailsArgs] = None,
                          display_name: Optional[str] = None,
                          software_version: Optional[str] = None,
                          defined_tags: Optional[Mapping[str, str]] = None,
                          description: Optional[str] = None,
                          freeform_tags: Optional[Mapping[str, str]] = None)
    func NewOciCacheConfigSet(ctx *Context, name string, args OciCacheConfigSetArgs, opts ...ResourceOption) (*OciCacheConfigSet, error)
    public OciCacheConfigSet(string name, OciCacheConfigSetArgs args, CustomResourceOptions? opts = null)
    public OciCacheConfigSet(String name, OciCacheConfigSetArgs args)
    public OciCacheConfigSet(String name, OciCacheConfigSetArgs args, CustomResourceOptions options)
    
    type: oci:Redis:OciCacheConfigSet
    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 OciCacheConfigSetArgs
    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 OciCacheConfigSetArgs
    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 OciCacheConfigSetArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args OciCacheConfigSetArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args OciCacheConfigSetArgs
    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 ociCacheConfigSetResource = new Oci.Redis.OciCacheConfigSet("ociCacheConfigSetResource", new()
    {
        CompartmentId = "string",
        ConfigurationDetails = new Oci.Redis.Inputs.OciCacheConfigSetConfigurationDetailsArgs
        {
            Items = new[]
            {
                new Oci.Redis.Inputs.OciCacheConfigSetConfigurationDetailsItemArgs
                {
                    ConfigKey = "string",
                    ConfigValue = "string",
                },
            },
        },
        DisplayName = "string",
        SoftwareVersion = "string",
        DefinedTags = 
        {
            { "string", "string" },
        },
        Description = "string",
        FreeformTags = 
        {
            { "string", "string" },
        },
    });
    
    example, err := redis.NewOciCacheConfigSet(ctx, "ociCacheConfigSetResource", &redis.OciCacheConfigSetArgs{
    	CompartmentId: pulumi.String("string"),
    	ConfigurationDetails: &redis.OciCacheConfigSetConfigurationDetailsArgs{
    		Items: redis.OciCacheConfigSetConfigurationDetailsItemArray{
    			&redis.OciCacheConfigSetConfigurationDetailsItemArgs{
    				ConfigKey:   pulumi.String("string"),
    				ConfigValue: pulumi.String("string"),
    			},
    		},
    	},
    	DisplayName:     pulumi.String("string"),
    	SoftwareVersion: pulumi.String("string"),
    	DefinedTags: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    	Description: pulumi.String("string"),
    	FreeformTags: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    })
    
    var ociCacheConfigSetResource = new OciCacheConfigSet("ociCacheConfigSetResource", OciCacheConfigSetArgs.builder()
        .compartmentId("string")
        .configurationDetails(OciCacheConfigSetConfigurationDetailsArgs.builder()
            .items(OciCacheConfigSetConfigurationDetailsItemArgs.builder()
                .configKey("string")
                .configValue("string")
                .build())
            .build())
        .displayName("string")
        .softwareVersion("string")
        .definedTags(Map.of("string", "string"))
        .description("string")
        .freeformTags(Map.of("string", "string"))
        .build());
    
    oci_cache_config_set_resource = oci.redis.OciCacheConfigSet("ociCacheConfigSetResource",
        compartment_id="string",
        configuration_details={
            "items": [{
                "config_key": "string",
                "config_value": "string",
            }],
        },
        display_name="string",
        software_version="string",
        defined_tags={
            "string": "string",
        },
        description="string",
        freeform_tags={
            "string": "string",
        })
    
    const ociCacheConfigSetResource = new oci.redis.OciCacheConfigSet("ociCacheConfigSetResource", {
        compartmentId: "string",
        configurationDetails: {
            items: [{
                configKey: "string",
                configValue: "string",
            }],
        },
        displayName: "string",
        softwareVersion: "string",
        definedTags: {
            string: "string",
        },
        description: "string",
        freeformTags: {
            string: "string",
        },
    });
    
    type: oci:Redis:OciCacheConfigSet
    properties:
        compartmentId: string
        configurationDetails:
            items:
                - configKey: string
                  configValue: string
        definedTags:
            string: string
        description: string
        displayName: string
        freeformTags:
            string: string
        softwareVersion: string
    

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

    CompartmentId string
    (Updatable) The OCID of the compartment that contains the Oracle Cloud Infrastructure Cache Config Set.
    ConfigurationDetails OciCacheConfigSetConfigurationDetails
    List of Oracle Cloud Infrastructure Cache Config Set Values.
    DisplayName string
    (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
    SoftwareVersion string

    The Oracle Cloud Infrastructure Cache engine version that the cluster is running.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    DefinedTags Dictionary<string, string>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    Description string
    (Updatable) Description for the custom Oracle Cloud Infrastructure Cache Config Set.
    FreeformTags Dictionary<string, string>
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    CompartmentId string
    (Updatable) The OCID of the compartment that contains the Oracle Cloud Infrastructure Cache Config Set.
    ConfigurationDetails OciCacheConfigSetConfigurationDetailsArgs
    List of Oracle Cloud Infrastructure Cache Config Set Values.
    DisplayName string
    (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
    SoftwareVersion string

    The Oracle Cloud Infrastructure Cache engine version that the cluster is running.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    DefinedTags map[string]string
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    Description string
    (Updatable) Description for the custom Oracle Cloud Infrastructure Cache Config Set.
    FreeformTags map[string]string
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    compartmentId String
    (Updatable) The OCID of the compartment that contains the Oracle Cloud Infrastructure Cache Config Set.
    configurationDetails OciCacheConfigSetConfigurationDetails
    List of Oracle Cloud Infrastructure Cache Config Set Values.
    displayName String
    (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
    softwareVersion String

    The Oracle Cloud Infrastructure Cache engine version that the cluster is running.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    definedTags Map<String,String>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    description String
    (Updatable) Description for the custom Oracle Cloud Infrastructure Cache Config Set.
    freeformTags Map<String,String>
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    compartmentId string
    (Updatable) The OCID of the compartment that contains the Oracle Cloud Infrastructure Cache Config Set.
    configurationDetails OciCacheConfigSetConfigurationDetails
    List of Oracle Cloud Infrastructure Cache Config Set Values.
    displayName string
    (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
    softwareVersion string

    The Oracle Cloud Infrastructure Cache engine version that the cluster is running.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    definedTags {[key: string]: string}
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    description string
    (Updatable) Description for the custom Oracle Cloud Infrastructure Cache Config Set.
    freeformTags {[key: string]: string}
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    compartment_id str
    (Updatable) The OCID of the compartment that contains the Oracle Cloud Infrastructure Cache Config Set.
    configuration_details OciCacheConfigSetConfigurationDetailsArgs
    List of Oracle Cloud Infrastructure Cache Config Set Values.
    display_name str
    (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
    software_version str

    The Oracle Cloud Infrastructure Cache engine version that the cluster is running.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    defined_tags Mapping[str, str]
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    description str
    (Updatable) Description for the custom Oracle Cloud Infrastructure Cache Config Set.
    freeform_tags Mapping[str, str]
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    compartmentId String
    (Updatable) The OCID of the compartment that contains the Oracle Cloud Infrastructure Cache Config Set.
    configurationDetails Property Map
    List of Oracle Cloud Infrastructure Cache Config Set Values.
    displayName String
    (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
    softwareVersion String

    The Oracle Cloud Infrastructure Cache engine version that the cluster is running.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    definedTags Map<String>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    description String
    (Updatable) Description for the custom Oracle Cloud Infrastructure Cache Config Set.
    freeformTags Map<String>
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}

    Outputs

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

    DefaultConfigSetId string
    The OCID of the default Oracle Cloud Infrastructure Cache Config Set which the custom Oracle Cloud Infrastructure Cache Config Set is based upon.
    Id string
    The provider-assigned unique ID for this managed resource.
    State string
    The current state of the Oracle Cloud Infrastructure Cache Config Set.
    SystemTags Dictionary<string, string>
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    TimeCreated string
    The date and time the Oracle Cloud Infrastructure Cache Config Set was created. An RFC3339 formatted datetime string.
    TimeUpdated string
    The date and time the Oracle Cloud Infrastructure Cache Config Set was updated. An RFC3339 formatted datetime string.
    DefaultConfigSetId string
    The OCID of the default Oracle Cloud Infrastructure Cache Config Set which the custom Oracle Cloud Infrastructure Cache Config Set is based upon.
    Id string
    The provider-assigned unique ID for this managed resource.
    State string
    The current state of the Oracle Cloud Infrastructure Cache Config Set.
    SystemTags map[string]string
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    TimeCreated string
    The date and time the Oracle Cloud Infrastructure Cache Config Set was created. An RFC3339 formatted datetime string.
    TimeUpdated string
    The date and time the Oracle Cloud Infrastructure Cache Config Set was updated. An RFC3339 formatted datetime string.
    defaultConfigSetId String
    The OCID of the default Oracle Cloud Infrastructure Cache Config Set which the custom Oracle Cloud Infrastructure Cache Config Set is based upon.
    id String
    The provider-assigned unique ID for this managed resource.
    state String
    The current state of the Oracle Cloud Infrastructure Cache Config Set.
    systemTags Map<String,String>
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated String
    The date and time the Oracle Cloud Infrastructure Cache Config Set was created. An RFC3339 formatted datetime string.
    timeUpdated String
    The date and time the Oracle Cloud Infrastructure Cache Config Set was updated. An RFC3339 formatted datetime string.
    defaultConfigSetId string
    The OCID of the default Oracle Cloud Infrastructure Cache Config Set which the custom Oracle Cloud Infrastructure Cache Config Set is based upon.
    id string
    The provider-assigned unique ID for this managed resource.
    state string
    The current state of the Oracle Cloud Infrastructure Cache Config Set.
    systemTags {[key: string]: string}
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated string
    The date and time the Oracle Cloud Infrastructure Cache Config Set was created. An RFC3339 formatted datetime string.
    timeUpdated string
    The date and time the Oracle Cloud Infrastructure Cache Config Set was updated. An RFC3339 formatted datetime string.
    default_config_set_id str
    The OCID of the default Oracle Cloud Infrastructure Cache Config Set which the custom Oracle Cloud Infrastructure Cache Config Set is based upon.
    id str
    The provider-assigned unique ID for this managed resource.
    state str
    The current state of the Oracle Cloud Infrastructure Cache Config Set.
    system_tags Mapping[str, str]
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    time_created str
    The date and time the Oracle Cloud Infrastructure Cache Config Set was created. An RFC3339 formatted datetime string.
    time_updated str
    The date and time the Oracle Cloud Infrastructure Cache Config Set was updated. An RFC3339 formatted datetime string.
    defaultConfigSetId String
    The OCID of the default Oracle Cloud Infrastructure Cache Config Set which the custom Oracle Cloud Infrastructure Cache Config Set is based upon.
    id String
    The provider-assigned unique ID for this managed resource.
    state String
    The current state of the Oracle Cloud Infrastructure Cache Config Set.
    systemTags Map<String>
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated String
    The date and time the Oracle Cloud Infrastructure Cache Config Set was created. An RFC3339 formatted datetime string.
    timeUpdated String
    The date and time the Oracle Cloud Infrastructure Cache Config Set was updated. An RFC3339 formatted datetime string.

    Look up Existing OciCacheConfigSet Resource

    Get an existing OciCacheConfigSet 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?: OciCacheConfigSetState, opts?: CustomResourceOptions): OciCacheConfigSet
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            compartment_id: Optional[str] = None,
            configuration_details: Optional[OciCacheConfigSetConfigurationDetailsArgs] = None,
            default_config_set_id: Optional[str] = None,
            defined_tags: Optional[Mapping[str, str]] = None,
            description: Optional[str] = None,
            display_name: Optional[str] = None,
            freeform_tags: Optional[Mapping[str, str]] = None,
            software_version: Optional[str] = None,
            state: Optional[str] = None,
            system_tags: Optional[Mapping[str, str]] = None,
            time_created: Optional[str] = None,
            time_updated: Optional[str] = None) -> OciCacheConfigSet
    func GetOciCacheConfigSet(ctx *Context, name string, id IDInput, state *OciCacheConfigSetState, opts ...ResourceOption) (*OciCacheConfigSet, error)
    public static OciCacheConfigSet Get(string name, Input<string> id, OciCacheConfigSetState? state, CustomResourceOptions? opts = null)
    public static OciCacheConfigSet get(String name, Output<String> id, OciCacheConfigSetState state, CustomResourceOptions options)
    resources:  _:    type: oci:Redis:OciCacheConfigSet    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:
    CompartmentId string
    (Updatable) The OCID of the compartment that contains the Oracle Cloud Infrastructure Cache Config Set.
    ConfigurationDetails OciCacheConfigSetConfigurationDetails
    List of Oracle Cloud Infrastructure Cache Config Set Values.
    DefaultConfigSetId string
    The OCID of the default Oracle Cloud Infrastructure Cache Config Set which the custom Oracle Cloud Infrastructure Cache Config Set is based upon.
    DefinedTags Dictionary<string, string>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    Description string
    (Updatable) Description for the custom Oracle Cloud Infrastructure Cache Config Set.
    DisplayName string
    (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
    FreeformTags Dictionary<string, string>
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    SoftwareVersion string

    The Oracle Cloud Infrastructure Cache engine version that the cluster is running.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    State string
    The current state of the Oracle Cloud Infrastructure Cache Config Set.
    SystemTags Dictionary<string, string>
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    TimeCreated string
    The date and time the Oracle Cloud Infrastructure Cache Config Set was created. An RFC3339 formatted datetime string.
    TimeUpdated string
    The date and time the Oracle Cloud Infrastructure Cache Config Set was updated. An RFC3339 formatted datetime string.
    CompartmentId string
    (Updatable) The OCID of the compartment that contains the Oracle Cloud Infrastructure Cache Config Set.
    ConfigurationDetails OciCacheConfigSetConfigurationDetailsArgs
    List of Oracle Cloud Infrastructure Cache Config Set Values.
    DefaultConfigSetId string
    The OCID of the default Oracle Cloud Infrastructure Cache Config Set which the custom Oracle Cloud Infrastructure Cache Config Set is based upon.
    DefinedTags map[string]string
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    Description string
    (Updatable) Description for the custom Oracle Cloud Infrastructure Cache Config Set.
    DisplayName string
    (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
    FreeformTags map[string]string
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    SoftwareVersion string

    The Oracle Cloud Infrastructure Cache engine version that the cluster is running.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    State string
    The current state of the Oracle Cloud Infrastructure Cache Config Set.
    SystemTags map[string]string
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    TimeCreated string
    The date and time the Oracle Cloud Infrastructure Cache Config Set was created. An RFC3339 formatted datetime string.
    TimeUpdated string
    The date and time the Oracle Cloud Infrastructure Cache Config Set was updated. An RFC3339 formatted datetime string.
    compartmentId String
    (Updatable) The OCID of the compartment that contains the Oracle Cloud Infrastructure Cache Config Set.
    configurationDetails OciCacheConfigSetConfigurationDetails
    List of Oracle Cloud Infrastructure Cache Config Set Values.
    defaultConfigSetId String
    The OCID of the default Oracle Cloud Infrastructure Cache Config Set which the custom Oracle Cloud Infrastructure Cache Config Set is based upon.
    definedTags Map<String,String>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    description String
    (Updatable) Description for the custom Oracle Cloud Infrastructure Cache Config Set.
    displayName String
    (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
    freeformTags Map<String,String>
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    softwareVersion String

    The Oracle Cloud Infrastructure Cache engine version that the cluster is running.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    state String
    The current state of the Oracle Cloud Infrastructure Cache Config Set.
    systemTags Map<String,String>
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated String
    The date and time the Oracle Cloud Infrastructure Cache Config Set was created. An RFC3339 formatted datetime string.
    timeUpdated String
    The date and time the Oracle Cloud Infrastructure Cache Config Set was updated. An RFC3339 formatted datetime string.
    compartmentId string
    (Updatable) The OCID of the compartment that contains the Oracle Cloud Infrastructure Cache Config Set.
    configurationDetails OciCacheConfigSetConfigurationDetails
    List of Oracle Cloud Infrastructure Cache Config Set Values.
    defaultConfigSetId string
    The OCID of the default Oracle Cloud Infrastructure Cache Config Set which the custom Oracle Cloud Infrastructure Cache Config Set is based upon.
    definedTags {[key: string]: string}
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    description string
    (Updatable) Description for the custom Oracle Cloud Infrastructure Cache Config Set.
    displayName string
    (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
    freeformTags {[key: string]: string}
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    softwareVersion string

    The Oracle Cloud Infrastructure Cache engine version that the cluster is running.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    state string
    The current state of the Oracle Cloud Infrastructure Cache Config Set.
    systemTags {[key: string]: string}
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated string
    The date and time the Oracle Cloud Infrastructure Cache Config Set was created. An RFC3339 formatted datetime string.
    timeUpdated string
    The date and time the Oracle Cloud Infrastructure Cache Config Set was updated. An RFC3339 formatted datetime string.
    compartment_id str
    (Updatable) The OCID of the compartment that contains the Oracle Cloud Infrastructure Cache Config Set.
    configuration_details OciCacheConfigSetConfigurationDetailsArgs
    List of Oracle Cloud Infrastructure Cache Config Set Values.
    default_config_set_id str
    The OCID of the default Oracle Cloud Infrastructure Cache Config Set which the custom Oracle Cloud Infrastructure Cache Config Set is based upon.
    defined_tags Mapping[str, str]
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    description str
    (Updatable) Description for the custom Oracle Cloud Infrastructure Cache Config Set.
    display_name str
    (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
    freeform_tags Mapping[str, str]
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    software_version str

    The Oracle Cloud Infrastructure Cache engine version that the cluster is running.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    state str
    The current state of the Oracle Cloud Infrastructure Cache Config Set.
    system_tags Mapping[str, str]
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    time_created str
    The date and time the Oracle Cloud Infrastructure Cache Config Set was created. An RFC3339 formatted datetime string.
    time_updated str
    The date and time the Oracle Cloud Infrastructure Cache Config Set was updated. An RFC3339 formatted datetime string.
    compartmentId String
    (Updatable) The OCID of the compartment that contains the Oracle Cloud Infrastructure Cache Config Set.
    configurationDetails Property Map
    List of Oracle Cloud Infrastructure Cache Config Set Values.
    defaultConfigSetId String
    The OCID of the default Oracle Cloud Infrastructure Cache Config Set which the custom Oracle Cloud Infrastructure Cache Config Set is based upon.
    definedTags Map<String>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    description String
    (Updatable) Description for the custom Oracle Cloud Infrastructure Cache Config Set.
    displayName String
    (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
    freeformTags Map<String>
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    softwareVersion String

    The Oracle Cloud Infrastructure Cache engine version that the cluster is running.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    state String
    The current state of the Oracle Cloud Infrastructure Cache Config Set.
    systemTags Map<String>
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated String
    The date and time the Oracle Cloud Infrastructure Cache Config Set was created. An RFC3339 formatted datetime string.
    timeUpdated String
    The date and time the Oracle Cloud Infrastructure Cache Config Set was updated. An RFC3339 formatted datetime string.

    Supporting Types

    OciCacheConfigSetConfigurationDetails, OciCacheConfigSetConfigurationDetailsArgs

    Items List<OciCacheConfigSetConfigurationDetailsItem>
    List of ConfigurationInfo objects.
    Items []OciCacheConfigSetConfigurationDetailsItem
    List of ConfigurationInfo objects.
    items List<OciCacheConfigSetConfigurationDetailsItem>
    List of ConfigurationInfo objects.
    items OciCacheConfigSetConfigurationDetailsItem[]
    List of ConfigurationInfo objects.
    items List<Property Map>
    List of ConfigurationInfo objects.

    OciCacheConfigSetConfigurationDetailsItem, OciCacheConfigSetConfigurationDetailsItemArgs

    ConfigKey string
    Key is the configuration key.
    ConfigValue string
    Value of the configuration as a string. Can represent a string, boolean, or number. Example: "true", "42", or "someString".
    ConfigKey string
    Key is the configuration key.
    ConfigValue string
    Value of the configuration as a string. Can represent a string, boolean, or number. Example: "true", "42", or "someString".
    configKey String
    Key is the configuration key.
    configValue String
    Value of the configuration as a string. Can represent a string, boolean, or number. Example: "true", "42", or "someString".
    configKey string
    Key is the configuration key.
    configValue string
    Value of the configuration as a string. Can represent a string, boolean, or number. Example: "true", "42", or "someString".
    config_key str
    Key is the configuration key.
    config_value str
    Value of the configuration as a string. Can represent a string, boolean, or number. Example: "true", "42", or "someString".
    configKey String
    Key is the configuration key.
    configValue String
    Value of the configuration as a string. Can represent a string, boolean, or number. Example: "true", "42", or "someString".

    Import

    OciCacheConfigSets can be imported using the id, e.g.

    $ pulumi import oci:Redis/ociCacheConfigSet:OciCacheConfigSet test_oci_cache_config_set "id"
    

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

    Package Details

    Repository
    oci pulumi/pulumi-oci
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the oci Terraform Provider.
    oci logo
    Oracle Cloud Infrastructure v3.8.0 published on Thursday, Sep 18, 2025 by Pulumi