Viewing docs for Oracle Cloud Infrastructure v4.4.0
published on Thursday, Mar 26, 2026 by Pulumi
published on Thursday, Mar 26, 2026 by Pulumi
Viewing docs for Oracle Cloud Infrastructure v4.4.0
published on Thursday, Mar 26, 2026 by Pulumi
published on Thursday, Mar 26, 2026 by Pulumi
This data source provides details about a specific Oci Cache Default Config Set resource in Oracle Cloud Infrastructure Redis service.
Retrieves the specified Oracle Cloud Infrastructure Cache Default Config Set.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testOciCacheDefaultConfigSet = oci.Redis.getOciCacheDefaultConfigSet({
compartmentId: compartmentId,
ociCacheDefaultConfigSetId: testOciCacheDefaultConfigSetOciRedisOciCacheDefaultConfigSet.id,
});
import pulumi
import pulumi_oci as oci
test_oci_cache_default_config_set = oci.Redis.get_oci_cache_default_config_set(compartment_id=compartment_id,
oci_cache_default_config_set_id=test_oci_cache_default_config_set_oci_redis_oci_cache_default_config_set["id"])
package main
import (
"github.com/pulumi/pulumi-oci/sdk/v4/go/oci/redis"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := redis.GetOciCacheDefaultConfigSet(ctx, &redis.GetOciCacheDefaultConfigSetArgs{
CompartmentId: compartmentId,
OciCacheDefaultConfigSetId: testOciCacheDefaultConfigSetOciRedisOciCacheDefaultConfigSet.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 testOciCacheDefaultConfigSet = Oci.Redis.GetOciCacheDefaultConfigSet.Invoke(new()
{
CompartmentId = compartmentId,
OciCacheDefaultConfigSetId = testOciCacheDefaultConfigSetOciRedisOciCacheDefaultConfigSet.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.GetOciCacheDefaultConfigSetArgs;
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 testOciCacheDefaultConfigSet = RedisFunctions.getOciCacheDefaultConfigSet(GetOciCacheDefaultConfigSetArgs.builder()
.compartmentId(compartmentId)
.ociCacheDefaultConfigSetId(testOciCacheDefaultConfigSetOciRedisOciCacheDefaultConfigSet.id())
.build());
}
}
variables:
testOciCacheDefaultConfigSet:
fn::invoke:
function: oci:Redis:getOciCacheDefaultConfigSet
arguments:
compartmentId: ${compartmentId}
ociCacheDefaultConfigSetId: ${testOciCacheDefaultConfigSetOciRedisOciCacheDefaultConfigSet.id}
Using getOciCacheDefaultConfigSet
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 getOciCacheDefaultConfigSet(args: GetOciCacheDefaultConfigSetArgs, opts?: InvokeOptions): Promise<GetOciCacheDefaultConfigSetResult>
function getOciCacheDefaultConfigSetOutput(args: GetOciCacheDefaultConfigSetOutputArgs, opts?: InvokeOptions): Output<GetOciCacheDefaultConfigSetResult>def get_oci_cache_default_config_set(compartment_id: Optional[str] = None,
oci_cache_default_config_set_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetOciCacheDefaultConfigSetResult
def get_oci_cache_default_config_set_output(compartment_id: Optional[pulumi.Input[str]] = None,
oci_cache_default_config_set_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetOciCacheDefaultConfigSetResult]func GetOciCacheDefaultConfigSet(ctx *Context, args *GetOciCacheDefaultConfigSetArgs, opts ...InvokeOption) (*GetOciCacheDefaultConfigSetResult, error)
func GetOciCacheDefaultConfigSetOutput(ctx *Context, args *GetOciCacheDefaultConfigSetOutputArgs, opts ...InvokeOption) GetOciCacheDefaultConfigSetResultOutput> Note: This function is named GetOciCacheDefaultConfigSet in the Go SDK.
public static class GetOciCacheDefaultConfigSet
{
public static Task<GetOciCacheDefaultConfigSetResult> InvokeAsync(GetOciCacheDefaultConfigSetArgs args, InvokeOptions? opts = null)
public static Output<GetOciCacheDefaultConfigSetResult> Invoke(GetOciCacheDefaultConfigSetInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetOciCacheDefaultConfigSetResult> getOciCacheDefaultConfigSet(GetOciCacheDefaultConfigSetArgs args, InvokeOptions options)
public static Output<GetOciCacheDefaultConfigSetResult> getOciCacheDefaultConfigSet(GetOciCacheDefaultConfigSetArgs args, InvokeOptions options)
fn::invoke:
function: oci:Redis/getOciCacheDefaultConfigSet:getOciCacheDefaultConfigSet
arguments:
# arguments dictionaryThe following arguments are supported:
- Compartment
Id string - The unique identifier for the compartment.
- Oci
Cache stringDefault Config Set Id - Unique Oracle Cloud Infrastructure Cache Default Config Set identifier.
- Compartment
Id string - The unique identifier for the compartment.
- Oci
Cache stringDefault Config Set Id - Unique Oracle Cloud Infrastructure Cache Default Config Set identifier.
- compartment
Id String - The unique identifier for the compartment.
- oci
Cache StringDefault Config Set Id - Unique Oracle Cloud Infrastructure Cache Default Config Set identifier.
- compartment
Id string - The unique identifier for the compartment.
- oci
Cache stringDefault Config Set Id - Unique Oracle Cloud Infrastructure Cache Default Config Set identifier.
- compartment_
id str - The unique identifier for the compartment.
- oci_
cache_ strdefault_ config_ set_ id - Unique Oracle Cloud Infrastructure Cache Default Config Set identifier.
- compartment
Id String - The unique identifier for the compartment.
- oci
Cache StringDefault Config Set Id - Unique Oracle Cloud Infrastructure Cache Default Config Set identifier.
getOciCacheDefaultConfigSet Result
The following output properties are available:
- Compartment
Id string - Default
Configuration List<GetDetails Oci Cache Default Config Set 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 user-friendly name of the Oracle Cloud Infrastructure Cache Default Config Set.
- Id string
- The provider-assigned unique ID for this managed resource.
- Oci
Cache stringDefault Config Set Id - 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.
- Time
Created string - The date and time the Oracle Cloud Infrastructure Cache Default Config Set was created. An RFC3339 formatted datetime string.
- Compartment
Id string - Default
Configuration []GetDetails Oci Cache Default Config Set 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 user-friendly name of the Oracle Cloud Infrastructure Cache Default Config Set.
- Id string
- The provider-assigned unique ID for this managed resource.
- Oci
Cache stringDefault Config Set Id - 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.
- Time
Created string - The date and time the Oracle Cloud Infrastructure Cache Default Config Set was created. An RFC3339 formatted datetime string.
- compartment
Id String - default
Configuration List<GetDetails Oci Cache Default Config Set 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 user-friendly name of the Oracle Cloud Infrastructure Cache Default Config Set.
- id String
- The provider-assigned unique ID for this managed resource.
- oci
Cache StringDefault Config Set Id - 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.
- time
Created String - The date and time the Oracle Cloud Infrastructure Cache Default Config Set was created. An RFC3339 formatted datetime string.
- compartment
Id string - default
Configuration GetDetails Oci Cache Default Config Set 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 user-friendly name of the Oracle Cloud Infrastructure Cache Default Config Set.
- id string
- The provider-assigned unique ID for this managed resource.
- oci
Cache stringDefault Config Set Id - 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.
- time
Created string - The date and time the Oracle Cloud Infrastructure Cache Default Config Set was created. An RFC3339 formatted datetime string.
- compartment_
id str - default_
configuration_ Sequence[Getdetails Oci Cache Default Config Set 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 user-friendly name of the Oracle Cloud Infrastructure Cache Default Config Set.
- id str
- The provider-assigned unique ID for this managed resource.
- oci_
cache_ strdefault_ config_ set_ id - 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.
- time_
created str - The date and time the Oracle Cloud Infrastructure Cache Default Config Set was created. An RFC3339 formatted datetime string.
- compartment
Id 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 user-friendly name of the Oracle Cloud Infrastructure Cache Default Config Set.
- id String
- The provider-assigned unique ID for this managed resource.
- oci
Cache StringDefault Config Set Id - 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.
- time
Created String - The date and time the Oracle Cloud Infrastructure Cache Default Config Set was created. An RFC3339 formatted datetime string.
Supporting Types
GetOciCacheDefaultConfigSetDefaultConfigurationDetail
- Items
List<Get
Oci Cache Default Config Set Default Configuration Detail Item> - List of DefaultConfigurationInfo objects.
- Items
[]Get
Oci Cache Default Config Set Default Configuration Detail Item - List of DefaultConfigurationInfo objects.
- items
List<Get
Oci Cache Default Config Set Default Configuration Detail Item> - List of DefaultConfigurationInfo objects.
- items
Get
Oci Cache Default Config Set Default Configuration Detail Item[] - List of DefaultConfigurationInfo objects.
- items
Sequence[Get
Oci Cache Default Config Set Default Configuration Detail Item] - List of DefaultConfigurationInfo objects.
- items List<Property Map>
- List of DefaultConfigurationInfo objects.
GetOciCacheDefaultConfigSetDefaultConfigurationDetailItem
- 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
ociTerraform Provider.
Viewing docs for Oracle Cloud Infrastructure v4.4.0
published on Thursday, Mar 26, 2026 by Pulumi
published on Thursday, Mar 26, 2026 by Pulumi
