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

oci.Redis.getOciCacheConfigSet

Explore with Pulumi AI

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

    This data source provides details about a specific Oci Cache Config Set resource in Oracle Cloud Infrastructure Redis service.

    Retrieves the specified Oracle Cloud Infrastructure Cache Config Set.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as oci from "@pulumi/oci";
    
    const testOciCacheConfigSet = oci.Redis.getOciCacheConfigSet({
        ociCacheConfigSetId: testOciCacheConfigSetOciRedisOciCacheConfigSet.id,
    });
    
    import pulumi
    import pulumi_oci as oci
    
    test_oci_cache_config_set = oci.Redis.get_oci_cache_config_set(oci_cache_config_set_id=test_oci_cache_config_set_oci_redis_oci_cache_config_set["id"])
    
    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.GetOciCacheConfigSet(ctx, &redis.GetOciCacheConfigSetArgs{
    			OciCacheConfigSetId: testOciCacheConfigSetOciRedisOciCacheConfigSet.Id,
    		}, nil)
    		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 = Oci.Redis.GetOciCacheConfigSet.Invoke(new()
        {
            OciCacheConfigSetId = testOciCacheConfigSetOciRedisOciCacheConfigSet.Id,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.oci.Redis.RedisFunctions;
    import com.pulumi.oci.Redis.inputs.GetOciCacheConfigSetArgs;
    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) {
            final var testOciCacheConfigSet = RedisFunctions.getOciCacheConfigSet(GetOciCacheConfigSetArgs.builder()
                .ociCacheConfigSetId(testOciCacheConfigSetOciRedisOciCacheConfigSet.id())
                .build());
    
        }
    }
    
    variables:
      testOciCacheConfigSet:
        fn::invoke:
          function: oci:Redis:getOciCacheConfigSet
          arguments:
            ociCacheConfigSetId: ${testOciCacheConfigSetOciRedisOciCacheConfigSet.id}
    

    Using getOciCacheConfigSet

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getOciCacheConfigSet(args: GetOciCacheConfigSetArgs, opts?: InvokeOptions): Promise<GetOciCacheConfigSetResult>
    function getOciCacheConfigSetOutput(args: GetOciCacheConfigSetOutputArgs, opts?: InvokeOptions): Output<GetOciCacheConfigSetResult>
    def get_oci_cache_config_set(oci_cache_config_set_id: Optional[str] = None,
                                 opts: Optional[InvokeOptions] = None) -> GetOciCacheConfigSetResult
    def get_oci_cache_config_set_output(oci_cache_config_set_id: Optional[pulumi.Input[str]] = None,
                                 opts: Optional[InvokeOptions] = None) -> Output[GetOciCacheConfigSetResult]
    func LookupOciCacheConfigSet(ctx *Context, args *LookupOciCacheConfigSetArgs, opts ...InvokeOption) (*LookupOciCacheConfigSetResult, error)
    func LookupOciCacheConfigSetOutput(ctx *Context, args *LookupOciCacheConfigSetOutputArgs, opts ...InvokeOption) LookupOciCacheConfigSetResultOutput

    > Note: This function is named LookupOciCacheConfigSet in the Go SDK.

    public static class GetOciCacheConfigSet 
    {
        public static Task<GetOciCacheConfigSetResult> InvokeAsync(GetOciCacheConfigSetArgs args, InvokeOptions? opts = null)
        public static Output<GetOciCacheConfigSetResult> Invoke(GetOciCacheConfigSetInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetOciCacheConfigSetResult> getOciCacheConfigSet(GetOciCacheConfigSetArgs args, InvokeOptions options)
    public static Output<GetOciCacheConfigSetResult> getOciCacheConfigSet(GetOciCacheConfigSetArgs args, InvokeOptions options)
    
    fn::invoke:
      function: oci:Redis/getOciCacheConfigSet:getOciCacheConfigSet
      arguments:
        # arguments dictionary

    The following arguments are supported:

    OciCacheConfigSetId string
    Unique Oracle Cloud Infrastructure Cache Config Set identifier.
    OciCacheConfigSetId string
    Unique Oracle Cloud Infrastructure Cache Config Set identifier.
    ociCacheConfigSetId String
    Unique Oracle Cloud Infrastructure Cache Config Set identifier.
    ociCacheConfigSetId string
    Unique Oracle Cloud Infrastructure Cache Config Set identifier.
    oci_cache_config_set_id str
    Unique Oracle Cloud Infrastructure Cache Config Set identifier.
    ociCacheConfigSetId String
    Unique Oracle Cloud Infrastructure Cache Config Set identifier.

    getOciCacheConfigSet Result

    The following output properties are available:

    CompartmentId string
    The OCID of the compartment that contains the Oracle Cloud Infrastructure Cache Config Set.
    ConfigurationDetails List<GetOciCacheConfigSetConfigurationDetail>
    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>
    Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    Description string
    A description of the Oracle Cloud Infrastructure Cache Config Set.
    DisplayName string
    A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
    FreeformTags Dictionary<string, string>
    Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    Id string
    The OCID of the Oracle Cloud Infrastructure Cache Config Set.
    OciCacheConfigSetId string
    SoftwareVersion string
    The Oracle Cloud Infrastructure Cache engine version that the cluster is running.
    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
    The OCID of the compartment that contains the Oracle Cloud Infrastructure Cache Config Set.
    ConfigurationDetails []GetOciCacheConfigSetConfigurationDetail
    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
    Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    Description string
    A description of the Oracle Cloud Infrastructure Cache Config Set.
    DisplayName string
    A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
    FreeformTags map[string]string
    Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    Id string
    The OCID of the Oracle Cloud Infrastructure Cache Config Set.
    OciCacheConfigSetId string
    SoftwareVersion string
    The Oracle Cloud Infrastructure Cache engine version that the cluster is running.
    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
    The OCID of the compartment that contains the Oracle Cloud Infrastructure Cache Config Set.
    configurationDetails List<GetOciCacheConfigSetConfigurationDetail>
    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>
    Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    description String
    A description of the Oracle Cloud Infrastructure Cache Config Set.
    displayName String
    A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
    freeformTags Map<String,String>
    Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    id String
    The OCID of the Oracle Cloud Infrastructure Cache Config Set.
    ociCacheConfigSetId String
    softwareVersion String
    The Oracle Cloud Infrastructure Cache engine version that the cluster is running.
    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
    The OCID of the compartment that contains the Oracle Cloud Infrastructure Cache Config Set.
    configurationDetails GetOciCacheConfigSetConfigurationDetail[]
    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}
    Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    description string
    A description of the Oracle Cloud Infrastructure Cache Config Set.
    displayName string
    A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
    freeformTags {[key: string]: string}
    Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    id string
    The OCID of the Oracle Cloud Infrastructure Cache Config Set.
    ociCacheConfigSetId string
    softwareVersion string
    The Oracle Cloud Infrastructure Cache engine version that the cluster is running.
    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
    The OCID of the compartment that contains the Oracle Cloud Infrastructure Cache Config Set.
    configuration_details Sequence[GetOciCacheConfigSetConfigurationDetail]
    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]
    Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    description str
    A description of the Oracle Cloud Infrastructure Cache Config Set.
    display_name str
    A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
    freeform_tags Mapping[str, str]
    Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    id str
    The OCID of the Oracle Cloud Infrastructure Cache Config Set.
    oci_cache_config_set_id str
    software_version str
    The Oracle Cloud Infrastructure Cache engine version that the cluster is running.
    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
    The OCID of the compartment that contains the Oracle Cloud Infrastructure Cache Config Set.
    configurationDetails List<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>
    Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    description String
    A description of the Oracle Cloud Infrastructure Cache Config Set.
    displayName String
    A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
    freeformTags Map<String>
    Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    id String
    The OCID of the Oracle Cloud Infrastructure Cache Config Set.
    ociCacheConfigSetId String
    softwareVersion String
    The Oracle Cloud Infrastructure Cache engine version that the cluster is running.
    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

    GetOciCacheConfigSetConfigurationDetail

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

    GetOciCacheConfigSetConfigurationDetailItem

    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".

    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