Oracle Cloud Infrastructure v3.8.0 published on Thursday, Sep 18, 2025 by Pulumi
oci.Redis.getOciCacheDefaultConfigSets
Explore with Pulumi AI
This data source provides the list of Oci Cache Default Config Sets in Oracle Cloud Infrastructure Redis service.
Lists the Oracle Cloud Infrastructure Cache Default Config Sets in the specified compartment.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testOciCacheDefaultConfigSets = oci.Redis.getOciCacheDefaultConfigSets({
compartmentId: compartmentId,
displayName: ociCacheDefaultConfigSetDisplayName,
id: ociCacheDefaultConfigSetId,
softwareVersion: ociCacheDefaultConfigSetSoftwareVersion,
state: ociCacheDefaultConfigSetState,
});
import pulumi
import pulumi_oci as oci
test_oci_cache_default_config_sets = oci.Redis.get_oci_cache_default_config_sets(compartment_id=compartment_id,
display_name=oci_cache_default_config_set_display_name,
id=oci_cache_default_config_set_id,
software_version=oci_cache_default_config_set_software_version,
state=oci_cache_default_config_set_state)
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.GetOciCacheDefaultConfigSets(ctx, &redis.GetOciCacheDefaultConfigSetsArgs{
CompartmentId: compartmentId,
DisplayName: pulumi.StringRef(ociCacheDefaultConfigSetDisplayName),
Id: pulumi.StringRef(ociCacheDefaultConfigSetId),
SoftwareVersion: pulumi.StringRef(ociCacheDefaultConfigSetSoftwareVersion),
State: pulumi.StringRef(ociCacheDefaultConfigSetState),
}, 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 testOciCacheDefaultConfigSets = Oci.Redis.GetOciCacheDefaultConfigSets.Invoke(new()
{
CompartmentId = compartmentId,
DisplayName = ociCacheDefaultConfigSetDisplayName,
Id = ociCacheDefaultConfigSetId,
SoftwareVersion = ociCacheDefaultConfigSetSoftwareVersion,
State = ociCacheDefaultConfigSetState,
});
});
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.GetOciCacheDefaultConfigSetsArgs;
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 testOciCacheDefaultConfigSets = RedisFunctions.getOciCacheDefaultConfigSets(GetOciCacheDefaultConfigSetsArgs.builder()
.compartmentId(compartmentId)
.displayName(ociCacheDefaultConfigSetDisplayName)
.id(ociCacheDefaultConfigSetId)
.softwareVersion(ociCacheDefaultConfigSetSoftwareVersion)
.state(ociCacheDefaultConfigSetState)
.build());
}
}
variables:
testOciCacheDefaultConfigSets:
fn::invoke:
function: oci:Redis:getOciCacheDefaultConfigSets
arguments:
compartmentId: ${compartmentId}
displayName: ${ociCacheDefaultConfigSetDisplayName}
id: ${ociCacheDefaultConfigSetId}
softwareVersion: ${ociCacheDefaultConfigSetSoftwareVersion}
state: ${ociCacheDefaultConfigSetState}
Using getOciCacheDefaultConfigSets
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 getOciCacheDefaultConfigSets(args: GetOciCacheDefaultConfigSetsArgs, opts?: InvokeOptions): Promise<GetOciCacheDefaultConfigSetsResult>
function getOciCacheDefaultConfigSetsOutput(args: GetOciCacheDefaultConfigSetsOutputArgs, opts?: InvokeOptions): Output<GetOciCacheDefaultConfigSetsResult>
def get_oci_cache_default_config_sets(compartment_id: Optional[str] = None,
display_name: Optional[str] = None,
filters: Optional[Sequence[GetOciCacheDefaultConfigSetsFilter]] = None,
id: Optional[str] = None,
software_version: Optional[str] = None,
state: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetOciCacheDefaultConfigSetsResult
def get_oci_cache_default_config_sets_output(compartment_id: Optional[pulumi.Input[str]] = None,
display_name: Optional[pulumi.Input[str]] = None,
filters: Optional[pulumi.Input[Sequence[pulumi.Input[GetOciCacheDefaultConfigSetsFilterArgs]]]] = None,
id: Optional[pulumi.Input[str]] = None,
software_version: Optional[pulumi.Input[str]] = None,
state: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetOciCacheDefaultConfigSetsResult]
func GetOciCacheDefaultConfigSets(ctx *Context, args *GetOciCacheDefaultConfigSetsArgs, opts ...InvokeOption) (*GetOciCacheDefaultConfigSetsResult, error)
func GetOciCacheDefaultConfigSetsOutput(ctx *Context, args *GetOciCacheDefaultConfigSetsOutputArgs, opts ...InvokeOption) GetOciCacheDefaultConfigSetsResultOutput
> Note: This function is named GetOciCacheDefaultConfigSets
in the Go SDK.
public static class GetOciCacheDefaultConfigSets
{
public static Task<GetOciCacheDefaultConfigSetsResult> InvokeAsync(GetOciCacheDefaultConfigSetsArgs args, InvokeOptions? opts = null)
public static Output<GetOciCacheDefaultConfigSetsResult> Invoke(GetOciCacheDefaultConfigSetsInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetOciCacheDefaultConfigSetsResult> getOciCacheDefaultConfigSets(GetOciCacheDefaultConfigSetsArgs args, InvokeOptions options)
public static Output<GetOciCacheDefaultConfigSetsResult> getOciCacheDefaultConfigSets(GetOciCacheDefaultConfigSetsArgs args, InvokeOptions options)
fn::invoke:
function: oci:Redis/getOciCacheDefaultConfigSets:getOciCacheDefaultConfigSets
arguments:
# arguments dictionary
The following arguments are supported:
- Compartment
Id string - The unique identifier for the compartment.
- Display
Name string - A filter to return only resources that match the entire display name given.
- Filters
List<Get
Oci Cache Default Config Sets Filter> - Id string
- Unique Oracle Cloud Infrastructure Cache Default Config Set identifier.
- Software
Version string - A filter to return the Oracle Cloud Infrastructure Cache Config Set resources, whose software version matches with the given software version.
- State string
- A filter to return the Oracle Cloud Infrastructure Cache Default Config Set resources, whose lifecycle state matches with the given lifecycle state.
- Compartment
Id string - The unique identifier for the compartment.
- Display
Name string - A filter to return only resources that match the entire display name given.
- Filters
[]Get
Oci Cache Default Config Sets Filter - Id string
- Unique Oracle Cloud Infrastructure Cache Default Config Set identifier.
- Software
Version string - A filter to return the Oracle Cloud Infrastructure Cache Config Set resources, whose software version matches with the given software version.
- State string
- A filter to return the Oracle Cloud Infrastructure Cache Default Config Set resources, whose lifecycle state matches with the given lifecycle state.
- compartment
Id String - The unique identifier for the compartment.
- display
Name String - A filter to return only resources that match the entire display name given.
- filters
List<Get
Oci Cache Default Config Sets Filter> - id String
- Unique Oracle Cloud Infrastructure Cache Default Config Set identifier.
- software
Version String - A filter to return the Oracle Cloud Infrastructure Cache Config Set resources, whose software version matches with the given software version.
- state String
- A filter to return the Oracle Cloud Infrastructure Cache Default Config Set resources, whose lifecycle state matches with the given lifecycle state.
- compartment
Id string - The unique identifier for the compartment.
- display
Name string - A filter to return only resources that match the entire display name given.
- filters
Get
Oci Cache Default Config Sets Filter[] - id string
- Unique Oracle Cloud Infrastructure Cache Default Config Set identifier.
- software
Version string - A filter to return the Oracle Cloud Infrastructure Cache Config Set resources, whose software version matches with the given software version.
- state string
- A filter to return the Oracle Cloud Infrastructure Cache Default Config Set resources, whose lifecycle state matches with the given lifecycle state.
- compartment_
id str - The unique identifier for the compartment.
- display_
name str - A filter to return only resources that match the entire display name given.
- filters
Sequence[Get
Oci Cache Default Config Sets Filter] - id str
- Unique Oracle Cloud Infrastructure Cache Default Config Set identifier.
- software_
version str - A filter to return the Oracle Cloud Infrastructure Cache Config Set resources, whose software version matches with the given software version.
- state str
- A filter to return the Oracle Cloud Infrastructure Cache Default Config Set resources, whose lifecycle state matches with the given lifecycle state.
- compartment
Id String - The unique identifier for the compartment.
- display
Name String - A filter to return only resources that match the entire display name given.
- filters List<Property Map>
- id String
- Unique Oracle Cloud Infrastructure Cache Default Config Set identifier.
- software
Version String - A filter to return the Oracle Cloud Infrastructure Cache Config Set resources, whose software version matches with the given software version.
- state String
- A filter to return the Oracle Cloud Infrastructure Cache Default Config Set resources, whose lifecycle state matches with the given lifecycle state.
getOciCacheDefaultConfigSets Result
The following output properties are available:
- Compartment
Id string - Oci
Cache List<GetDefault Config Set Collections Oci Cache Default Config Sets Oci Cache Default Config Set Collection> - The list of oci_cache_default_config_set_collection.
- Display
Name string - A user-friendly name of the Oracle Cloud Infrastructure Cache Default Config Set.
- Filters
List<Get
Oci Cache Default Config Sets Filter> - Id string
- The OCID of the Oracle Cloud Infrastructure Cache Default Config Set.
- Software
Version string - The engine version of the Oracle Cloud Infrastructure Cache Default Config Set.
- State string
- The current state of the Oracle Cloud Infrastructure Cache Default Config Set.
- Compartment
Id string - Oci
Cache []GetDefault Config Set Collections Oci Cache Default Config Sets Oci Cache Default Config Set Collection - The list of oci_cache_default_config_set_collection.
- Display
Name string - A user-friendly name of the Oracle Cloud Infrastructure Cache Default Config Set.
- Filters
[]Get
Oci Cache Default Config Sets Filter - Id string
- The OCID of the Oracle Cloud Infrastructure Cache Default Config Set.
- Software
Version string - The engine version of the Oracle Cloud Infrastructure Cache Default Config Set.
- State string
- The current state of the Oracle Cloud Infrastructure Cache Default Config Set.
- compartment
Id String - oci
Cache List<GetDefault Config Set Collections Oci Cache Default Config Sets Oci Cache Default Config Set Collection> - The list of oci_cache_default_config_set_collection.
- display
Name String - A user-friendly name of the Oracle Cloud Infrastructure Cache Default Config Set.
- filters
List<Get
Oci Cache Default Config Sets Filter> - id String
- The OCID of the Oracle Cloud Infrastructure Cache Default Config Set.
- software
Version String - The engine version of the Oracle Cloud Infrastructure Cache Default Config Set.
- state String
- The current state of the Oracle Cloud Infrastructure Cache Default Config Set.
- compartment
Id string - oci
Cache GetDefault Config Set Collections Oci Cache Default Config Sets Oci Cache Default Config Set Collection[] - The list of oci_cache_default_config_set_collection.
- display
Name string - A user-friendly name of the Oracle Cloud Infrastructure Cache Default Config Set.
- filters
Get
Oci Cache Default Config Sets Filter[] - id string
- The OCID of the Oracle Cloud Infrastructure Cache Default Config Set.
- software
Version string - The engine version of the Oracle Cloud Infrastructure Cache Default Config Set.
- state string
- The current state of the Oracle Cloud Infrastructure Cache Default Config Set.
- compartment_
id str - oci_
cache_ Sequence[Getdefault_ config_ set_ collections Oci Cache Default Config Sets Oci Cache Default Config Set Collection] - The list of oci_cache_default_config_set_collection.
- display_
name str - A user-friendly name of the Oracle Cloud Infrastructure Cache Default Config Set.
- filters
Sequence[Get
Oci Cache Default Config Sets Filter] - id str
- The OCID of the Oracle Cloud Infrastructure Cache Default Config Set.
- software_
version str - The engine version of the Oracle Cloud Infrastructure Cache Default Config Set.
- state str
- The current state of the Oracle Cloud Infrastructure Cache Default Config Set.
- compartment
Id String - oci
Cache List<Property Map>Default Config Set Collections - The list of oci_cache_default_config_set_collection.
- display
Name String - A user-friendly name of the Oracle Cloud Infrastructure Cache Default Config Set.
- filters List<Property Map>
- id String
- The OCID of the Oracle Cloud Infrastructure Cache Default Config Set.
- software
Version String - The engine version of the Oracle Cloud Infrastructure Cache Default Config Set.
- state String
- The current state of the Oracle Cloud Infrastructure Cache Default Config Set.
Supporting Types
GetOciCacheDefaultConfigSetsFilter
GetOciCacheDefaultConfigSetsOciCacheDefaultConfigSetCollection
- Items
List<Get
Oci Cache Default Config Sets Oci Cache Default Config Set Collection Item> - List of DefaultConfigurationInfo objects.
- Items
[]Get
Oci Cache Default Config Sets Oci Cache Default Config Set Collection Item - List of DefaultConfigurationInfo objects.
- items
List<Get
Oci Cache Default Config Sets Oci Cache Default Config Set Collection Item> - List of DefaultConfigurationInfo objects.
- items
Get
Oci Cache Default Config Sets Oci Cache Default Config Set Collection Item[] - List of DefaultConfigurationInfo objects.
- items
Sequence[Get
Oci Cache Default Config Sets Oci Cache Default Config Set Collection Item] - List of DefaultConfigurationInfo objects.
- items List<Property Map>
- List of DefaultConfigurationInfo objects.
GetOciCacheDefaultConfigSetsOciCacheDefaultConfigSetCollectionItem
- Default
Configuration List<GetDetails Oci Cache Default Config Sets Oci Cache Default Config Set Collection Item Default Configuration Detail> - List of Oracle Cloud Infrastructure Cache Default Config Set Values.
- Description string
- Description of the Oracle Cloud Infrastructure Cache Default Config Set.
- Display
Name string - A filter to return only resources that match the entire display name given.
- Id string
- Unique Oracle Cloud Infrastructure Cache Default Config Set identifier.
- Software
Version string - A filter to return the Oracle Cloud Infrastructure Cache Config Set resources, whose software version matches with the given software version.
- State string
- A filter to return the Oracle Cloud Infrastructure Cache Default Config Set resources, whose lifecycle state matches with the given lifecycle state.
- Time
Created string - The date and time the Oracle Cloud Infrastructure Cache Default Config Set was created. An RFC3339 formatted datetime string.
- Default
Configuration []GetDetails Oci Cache Default Config Sets Oci Cache Default Config Set Collection Item Default Configuration Detail - List of Oracle Cloud Infrastructure Cache Default Config Set Values.
- Description string
- Description of the Oracle Cloud Infrastructure Cache Default Config Set.
- Display
Name string - A filter to return only resources that match the entire display name given.
- Id string
- Unique Oracle Cloud Infrastructure Cache Default Config Set identifier.
- Software
Version string - A filter to return the Oracle Cloud Infrastructure Cache Config Set resources, whose software version matches with the given software version.
- State string
- A filter to return the Oracle Cloud Infrastructure Cache Default Config Set resources, whose lifecycle state matches with the given lifecycle state.
- Time
Created string - The date and time the Oracle Cloud Infrastructure Cache Default Config Set was created. An RFC3339 formatted datetime string.
- default
Configuration List<GetDetails Oci Cache Default Config Sets Oci Cache Default Config Set Collection Item Default Configuration Detail> - List of Oracle Cloud Infrastructure Cache Default Config Set Values.
- description String
- Description of the Oracle Cloud Infrastructure Cache Default Config Set.
- display
Name String - A filter to return only resources that match the entire display name given.
- id String
- Unique Oracle Cloud Infrastructure Cache Default Config Set identifier.
- software
Version String - A filter to return the Oracle Cloud Infrastructure Cache Config Set resources, whose software version matches with the given software version.
- state String
- A filter to return the Oracle Cloud Infrastructure Cache Default Config Set resources, whose lifecycle state matches with the given lifecycle state.
- time
Created String - The date and time the Oracle Cloud Infrastructure Cache Default Config Set was created. An RFC3339 formatted datetime string.
- default
Configuration GetDetails Oci Cache Default Config Sets Oci Cache Default Config Set Collection Item Default Configuration Detail[] - List of Oracle Cloud Infrastructure Cache Default Config Set Values.
- description string
- Description of the Oracle Cloud Infrastructure Cache Default Config Set.
- display
Name string - A filter to return only resources that match the entire display name given.
- id string
- Unique Oracle Cloud Infrastructure Cache Default Config Set identifier.
- software
Version string - A filter to return the Oracle Cloud Infrastructure Cache Config Set resources, whose software version matches with the given software version.
- state string
- A filter to return the Oracle Cloud Infrastructure Cache Default Config Set resources, whose lifecycle state matches with the given lifecycle state.
- time
Created string - The date and time the Oracle Cloud Infrastructure Cache Default Config Set was created. An RFC3339 formatted datetime string.
- default_
configuration_ Sequence[Getdetails Oci Cache Default Config Sets Oci Cache Default Config Set Collection Item Default Configuration Detail] - List of Oracle Cloud Infrastructure Cache Default Config Set Values.
- description str
- Description of the Oracle Cloud Infrastructure Cache Default Config Set.
- display_
name str - A filter to return only resources that match the entire display name given.
- id str
- Unique Oracle Cloud Infrastructure Cache Default Config Set identifier.
- software_
version str - A filter to return the Oracle Cloud Infrastructure Cache Config Set resources, whose software version matches with the given software version.
- state str
- A filter to return the Oracle Cloud Infrastructure Cache Default Config Set resources, whose lifecycle state matches with the given lifecycle state.
- time_
created str - The date and time the Oracle Cloud Infrastructure Cache Default Config Set was created. An RFC3339 formatted datetime string.
- default
Configuration List<Property Map>Details - List of Oracle Cloud Infrastructure Cache Default Config Set Values.
- description String
- Description of the Oracle Cloud Infrastructure Cache Default Config Set.
- display
Name String - A filter to return only resources that match the entire display name given.
- id String
- Unique Oracle Cloud Infrastructure Cache Default Config Set identifier.
- software
Version String - A filter to return the Oracle Cloud Infrastructure Cache Config Set resources, whose software version matches with the given software version.
- state String
- A filter to return the Oracle Cloud Infrastructure Cache Default Config Set resources, whose lifecycle state matches with the given lifecycle state.
- time
Created String - The date and time the Oracle Cloud Infrastructure Cache Default Config Set was created. An RFC3339 formatted datetime string.
GetOciCacheDefaultConfigSetsOciCacheDefaultConfigSetCollectionItemDefaultConfigurationDetail
- Items
List<Get
Oci Cache Default Config Sets Oci Cache Default Config Set Collection Item Default Configuration Detail Item> - List of DefaultConfigurationInfo objects.
- Items
[]Get
Oci Cache Default Config Sets Oci Cache Default Config Set Collection Item Default Configuration Detail Item - List of DefaultConfigurationInfo objects.
- items
List<Get
Oci Cache Default Config Sets Oci Cache Default Config Set Collection Item Default Configuration Detail Item> - List of DefaultConfigurationInfo objects.
- items
Get
Oci Cache Default Config Sets Oci Cache Default Config Set Collection Item Default Configuration Detail Item[] - List of DefaultConfigurationInfo objects.
- items
Sequence[Get
Oci Cache Default Config Sets Oci Cache Default Config Set Collection Item Default Configuration Detail Item] - List of DefaultConfigurationInfo objects.
- items List<Property Map>
- List of DefaultConfigurationInfo objects.
GetOciCacheDefaultConfigSetsOciCacheDefaultConfigSetCollectionItemDefaultConfigurationDetailItem
- Allowed
Values string - Allowed values for the configuration setting.
- Config
Key string - The key of the configuration setting.
- Data
Type string - The data type of the configuration setting.
- Default
Config stringValue - The default value for the configuration setting.
- Description string
- Description of the Oracle Cloud Infrastructure Cache Default Config Set.
- Is
Modifiable bool - Indicates if the configuration is modifiable.
- Allowed
Values string - Allowed values for the configuration setting.
- Config
Key string - The key of the configuration setting.
- Data
Type string - The data type of the configuration setting.
- Default
Config stringValue - The default value for the configuration setting.
- Description string
- Description of the Oracle Cloud Infrastructure Cache Default Config Set.
- Is
Modifiable bool - Indicates if the configuration is modifiable.
- allowed
Values String - Allowed values for the configuration setting.
- config
Key String - The key of the configuration setting.
- data
Type String - The data type of the configuration setting.
- default
Config StringValue - The default value for the configuration setting.
- description String
- Description of the Oracle Cloud Infrastructure Cache Default Config Set.
- is
Modifiable Boolean - Indicates if the configuration is modifiable.
- allowed
Values string - Allowed values for the configuration setting.
- config
Key string - The key of the configuration setting.
- data
Type string - The data type of the configuration setting.
- default
Config stringValue - The default value for the configuration setting.
- description string
- Description of the Oracle Cloud Infrastructure Cache Default Config Set.
- is
Modifiable boolean - Indicates if the configuration is modifiable.
- allowed_
values str - Allowed values for the configuration setting.
- config_
key str - The key of the configuration setting.
- data_
type str - The data type of the configuration setting.
- default_
config_ strvalue - The default value for the configuration setting.
- description str
- Description of the Oracle Cloud Infrastructure Cache Default Config Set.
- is_
modifiable bool - Indicates if the configuration is modifiable.
- allowed
Values String - Allowed values for the configuration setting.
- config
Key String - The key of the configuration setting.
- data
Type String - The data type of the configuration setting.
- default
Config StringValue - The default value for the configuration setting.
- description String
- Description of the Oracle Cloud Infrastructure Cache Default Config Set.
- is
Modifiable Boolean - Indicates if the configuration is modifiable.
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
oci
Terraform Provider.