Oracle Cloud Infrastructure v3.8.0 published on Thursday, Sep 18, 2025 by Pulumi
oci.Redis.getOciCacheConfigSet
Explore with Pulumi AI
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:
- Oci
Cache stringConfig Set Id - Unique Oracle Cloud Infrastructure Cache Config Set identifier.
- Oci
Cache stringConfig Set Id - Unique Oracle Cloud Infrastructure Cache Config Set identifier.
- oci
Cache StringConfig Set Id - Unique Oracle Cloud Infrastructure Cache Config Set identifier.
- oci
Cache stringConfig Set Id - Unique Oracle Cloud Infrastructure Cache Config Set identifier.
- oci_
cache_ strconfig_ set_ id - Unique Oracle Cloud Infrastructure Cache Config Set identifier.
- oci
Cache StringConfig Set Id - Unique Oracle Cloud Infrastructure Cache Config Set identifier.
getOciCacheConfigSet Result
The following output properties are available:
- Compartment
Id string - The OCID of the compartment that contains the Oracle Cloud Infrastructure Cache Config Set.
- Configuration
Details List<GetOci Cache Config Set Configuration Detail> - List of Oracle Cloud Infrastructure Cache Config Set Values.
- Default
Config stringSet Id - The OCID of the default Oracle Cloud Infrastructure Cache Config Set which the custom Oracle Cloud Infrastructure Cache Config Set is based upon.
- 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.
- Display
Name string - A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- 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.
- Oci
Cache stringConfig Set Id - Software
Version 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.
- Dictionary<string, string>
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"}
- Time
Created string - The date and time the Oracle Cloud Infrastructure Cache Config Set was created. An RFC3339 formatted datetime string.
- Time
Updated string - The date and time the Oracle Cloud Infrastructure Cache Config Set was updated. An RFC3339 formatted datetime string.
- Compartment
Id string - The OCID of the compartment that contains the Oracle Cloud Infrastructure Cache Config Set.
- Configuration
Details []GetOci Cache Config Set Configuration Detail - List of Oracle Cloud Infrastructure Cache Config Set Values.
- Default
Config stringSet Id - The OCID of the default Oracle Cloud Infrastructure Cache Config Set which the custom Oracle Cloud Infrastructure Cache Config Set is based upon.
- 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.
- Display
Name string - A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- 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.
- Oci
Cache stringConfig Set Id - Software
Version 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.
- map[string]string
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"}
- Time
Created string - The date and time the Oracle Cloud Infrastructure Cache Config Set was created. An RFC3339 formatted datetime string.
- Time
Updated string - The date and time the Oracle Cloud Infrastructure Cache Config Set was updated. An RFC3339 formatted datetime string.
- compartment
Id String - The OCID of the compartment that contains the Oracle Cloud Infrastructure Cache Config Set.
- configuration
Details List<GetOci Cache Config Set Configuration Detail> - List of Oracle Cloud Infrastructure Cache Config Set Values.
- default
Config StringSet Id - The OCID of the default Oracle Cloud Infrastructure Cache Config Set which the custom Oracle Cloud Infrastructure Cache Config Set is based upon.
- 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.
- display
Name String - A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- 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.
- oci
Cache StringConfig Set Id - software
Version 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.
- Map<String,String>
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time
Created String - The date and time the Oracle Cloud Infrastructure Cache Config Set was created. An RFC3339 formatted datetime string.
- time
Updated String - The date and time the Oracle Cloud Infrastructure Cache Config Set was updated. An RFC3339 formatted datetime string.
- compartment
Id string - The OCID of the compartment that contains the Oracle Cloud Infrastructure Cache Config Set.
- configuration
Details GetOci Cache Config Set Configuration Detail[] - List of Oracle Cloud Infrastructure Cache Config Set Values.
- default
Config stringSet Id - The OCID of the default Oracle Cloud Infrastructure Cache Config Set which the custom Oracle Cloud Infrastructure Cache Config Set is based upon.
- {[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.
- display
Name string - A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- {[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.
- oci
Cache stringConfig Set Id - software
Version 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.
- {[key: string]: string}
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time
Created string - The date and time the Oracle Cloud Infrastructure Cache Config Set was created. An RFC3339 formatted datetime string.
- time
Updated 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[GetOci Cache Config Set Configuration Detail] - List of Oracle Cloud Infrastructure Cache Config Set Values.
- default_
config_ strset_ id - The OCID of the default Oracle Cloud Infrastructure Cache Config Set which the custom Oracle Cloud Infrastructure Cache Config Set is based upon.
- 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.
- 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_ strconfig_ set_ id - 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.
- 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.
- compartment
Id String - The OCID of the compartment that contains the Oracle Cloud Infrastructure Cache Config Set.
- configuration
Details List<Property Map> - List of Oracle Cloud Infrastructure Cache Config Set Values.
- default
Config StringSet Id - The OCID of the default Oracle Cloud Infrastructure Cache Config Set which the custom Oracle Cloud Infrastructure Cache Config Set is based upon.
- 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.
- display
Name String - A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- 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.
- oci
Cache StringConfig Set Id - software
Version 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.
- Map<String>
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time
Created String - The date and time the Oracle Cloud Infrastructure Cache Config Set was created. An RFC3339 formatted datetime string.
- time
Updated String - The date and time the Oracle Cloud Infrastructure Cache Config Set was updated. An RFC3339 formatted datetime string.
Supporting Types
GetOciCacheConfigSetConfigurationDetail
- Items
List<Get
Oci Cache Config Set Configuration Detail Item> - List of ConfigurationInfo objects.
- Items
[]Get
Oci Cache Config Set Configuration Detail Item - List of ConfigurationInfo objects.
- items
List<Get
Oci Cache Config Set Configuration Detail Item> - List of ConfigurationInfo objects.
- items
Get
Oci Cache Config Set Configuration Detail Item[] - List of ConfigurationInfo objects.
- items
Sequence[Get
Oci Cache Config Set Configuration Detail Item] - List of ConfigurationInfo objects.
- items List<Property Map>
- List of ConfigurationInfo objects.
GetOciCacheConfigSetConfigurationDetailItem
- Config
Key string - Key is the configuration key.
- Config
Value string - Value of the configuration as a string. Can represent a string, boolean, or number. Example: "true", "42", or "someString".
- Config
Key string - Key is the configuration key.
- Config
Value string - Value of the configuration as a string. Can represent a string, boolean, or number. Example: "true", "42", or "someString".
- config
Key String - Key is the configuration key.
- config
Value String - Value of the configuration as a string. Can represent a string, boolean, or number. Example: "true", "42", or "someString".
- config
Key string - Key is the configuration key.
- config
Value 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".
- config
Key String - Key is the configuration key.
- config
Value 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.