1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. Redis
  5. OciCacheConfigSetlistAssociatedOciCacheCluster
Oracle Cloud Infrastructure v3.6.0 published on Friday, Sep 5, 2025 by Pulumi

oci.Redis.OciCacheConfigSetlistAssociatedOciCacheCluster

Explore with Pulumi AI

oci logo
Oracle Cloud Infrastructure v3.6.0 published on Friday, Sep 5, 2025 by Pulumi

    This resource provides the Oci Cache Config Setlist Associated Oci Cache Cluster resource in Oracle Cloud Infrastructure Redis service.

    Gets a list of associated Oracle Cloud Infrastructure Cache clusters for an Oracle Cloud Infrastructure Cache Config Set.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as oci from "@pulumi/oci";
    
    const testOciCacheConfigSetlistAssociatedOciCacheCluster = new oci.redis.OciCacheConfigSetlistAssociatedOciCacheCluster("test_oci_cache_config_setlist_associated_oci_cache_cluster", {ociCacheConfigSetId: testOciCacheConfigSet.id});
    
    import pulumi
    import pulumi_oci as oci
    
    test_oci_cache_config_setlist_associated_oci_cache_cluster = oci.redis.OciCacheConfigSetlistAssociatedOciCacheCluster("test_oci_cache_config_setlist_associated_oci_cache_cluster", oci_cache_config_set_id=test_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.NewOciCacheConfigSetlistAssociatedOciCacheCluster(ctx, "test_oci_cache_config_setlist_associated_oci_cache_cluster", &redis.OciCacheConfigSetlistAssociatedOciCacheClusterArgs{
    			OciCacheConfigSetId: pulumi.Any(testOciCacheConfigSet.Id),
    		})
    		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 testOciCacheConfigSetlistAssociatedOciCacheCluster = new Oci.Redis.OciCacheConfigSetlistAssociatedOciCacheCluster("test_oci_cache_config_setlist_associated_oci_cache_cluster", new()
        {
            OciCacheConfigSetId = testOciCacheConfigSet.Id,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.oci.Redis.OciCacheConfigSetlistAssociatedOciCacheCluster;
    import com.pulumi.oci.Redis.OciCacheConfigSetlistAssociatedOciCacheClusterArgs;
    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 testOciCacheConfigSetlistAssociatedOciCacheCluster = new OciCacheConfigSetlistAssociatedOciCacheCluster("testOciCacheConfigSetlistAssociatedOciCacheCluster", OciCacheConfigSetlistAssociatedOciCacheClusterArgs.builder()
                .ociCacheConfigSetId(testOciCacheConfigSet.id())
                .build());
    
        }
    }
    
    resources:
      testOciCacheConfigSetlistAssociatedOciCacheCluster:
        type: oci:Redis:OciCacheConfigSetlistAssociatedOciCacheCluster
        name: test_oci_cache_config_setlist_associated_oci_cache_cluster
        properties:
          ociCacheConfigSetId: ${testOciCacheConfigSet.id}
    

    Create OciCacheConfigSetlistAssociatedOciCacheCluster Resource

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

    Constructor syntax

    new OciCacheConfigSetlistAssociatedOciCacheCluster(name: string, args: OciCacheConfigSetlistAssociatedOciCacheClusterArgs, opts?: CustomResourceOptions);
    @overload
    def OciCacheConfigSetlistAssociatedOciCacheCluster(resource_name: str,
                                                       args: OciCacheConfigSetlistAssociatedOciCacheClusterArgs,
                                                       opts: Optional[ResourceOptions] = None)
    
    @overload
    def OciCacheConfigSetlistAssociatedOciCacheCluster(resource_name: str,
                                                       opts: Optional[ResourceOptions] = None,
                                                       oci_cache_config_set_id: Optional[str] = None)
    func NewOciCacheConfigSetlistAssociatedOciCacheCluster(ctx *Context, name string, args OciCacheConfigSetlistAssociatedOciCacheClusterArgs, opts ...ResourceOption) (*OciCacheConfigSetlistAssociatedOciCacheCluster, error)
    public OciCacheConfigSetlistAssociatedOciCacheCluster(string name, OciCacheConfigSetlistAssociatedOciCacheClusterArgs args, CustomResourceOptions? opts = null)
    public OciCacheConfigSetlistAssociatedOciCacheCluster(String name, OciCacheConfigSetlistAssociatedOciCacheClusterArgs args)
    public OciCacheConfigSetlistAssociatedOciCacheCluster(String name, OciCacheConfigSetlistAssociatedOciCacheClusterArgs args, CustomResourceOptions options)
    
    type: oci:Redis:OciCacheConfigSetlistAssociatedOciCacheCluster
    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 OciCacheConfigSetlistAssociatedOciCacheClusterArgs
    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 OciCacheConfigSetlistAssociatedOciCacheClusterArgs
    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 OciCacheConfigSetlistAssociatedOciCacheClusterArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args OciCacheConfigSetlistAssociatedOciCacheClusterArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args OciCacheConfigSetlistAssociatedOciCacheClusterArgs
    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 ociCacheConfigSetlistAssociatedOciCacheClusterResource = new Oci.Redis.OciCacheConfigSetlistAssociatedOciCacheCluster("ociCacheConfigSetlistAssociatedOciCacheClusterResource", new()
    {
        OciCacheConfigSetId = "string",
    });
    
    example, err := redis.NewOciCacheConfigSetlistAssociatedOciCacheCluster(ctx, "ociCacheConfigSetlistAssociatedOciCacheClusterResource", &redis.OciCacheConfigSetlistAssociatedOciCacheClusterArgs{
    	OciCacheConfigSetId: pulumi.String("string"),
    })
    
    var ociCacheConfigSetlistAssociatedOciCacheClusterResource = new OciCacheConfigSetlistAssociatedOciCacheCluster("ociCacheConfigSetlistAssociatedOciCacheClusterResource", OciCacheConfigSetlistAssociatedOciCacheClusterArgs.builder()
        .ociCacheConfigSetId("string")
        .build());
    
    oci_cache_config_setlist_associated_oci_cache_cluster_resource = oci.redis.OciCacheConfigSetlistAssociatedOciCacheCluster("ociCacheConfigSetlistAssociatedOciCacheClusterResource", oci_cache_config_set_id="string")
    
    const ociCacheConfigSetlistAssociatedOciCacheClusterResource = new oci.redis.OciCacheConfigSetlistAssociatedOciCacheCluster("ociCacheConfigSetlistAssociatedOciCacheClusterResource", {ociCacheConfigSetId: "string"});
    
    type: oci:Redis:OciCacheConfigSetlistAssociatedOciCacheCluster
    properties:
        ociCacheConfigSetId: string
    

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

    OciCacheConfigSetId string

    Unique Oracle Cloud Infrastructure Cache Config Set identifier.

    ** 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

    OciCacheConfigSetId string

    Unique Oracle Cloud Infrastructure Cache Config Set identifier.

    ** 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

    ociCacheConfigSetId String

    Unique Oracle Cloud Infrastructure Cache Config Set identifier.

    ** 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

    ociCacheConfigSetId string

    Unique Oracle Cloud Infrastructure Cache Config Set identifier.

    ** 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

    oci_cache_config_set_id str

    Unique Oracle Cloud Infrastructure Cache Config Set identifier.

    ** 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

    ociCacheConfigSetId String

    Unique Oracle Cloud Infrastructure Cache Config Set identifier.

    ** 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

    Outputs

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

    Id string
    The provider-assigned unique ID for this managed resource.
    Items List<OciCacheConfigSetlistAssociatedOciCacheClusterItem>
    List of clusters with the same Oracle Cloud Infrastructure Cache Config Set ID.
    Id string
    The provider-assigned unique ID for this managed resource.
    Items []OciCacheConfigSetlistAssociatedOciCacheClusterItem
    List of clusters with the same Oracle Cloud Infrastructure Cache Config Set ID.
    id String
    The provider-assigned unique ID for this managed resource.
    items List<OciCacheConfigSetlistAssociatedOciCacheClusterItem>
    List of clusters with the same Oracle Cloud Infrastructure Cache Config Set ID.
    id string
    The provider-assigned unique ID for this managed resource.
    items OciCacheConfigSetlistAssociatedOciCacheClusterItem[]
    List of clusters with the same Oracle Cloud Infrastructure Cache Config Set ID.
    id str
    The provider-assigned unique ID for this managed resource.
    items Sequence[OciCacheConfigSetlistAssociatedOciCacheClusterItem]
    List of clusters with the same Oracle Cloud Infrastructure Cache Config Set ID.
    id String
    The provider-assigned unique ID for this managed resource.
    items List<Property Map>
    List of clusters with the same Oracle Cloud Infrastructure Cache Config Set ID.

    Look up Existing OciCacheConfigSetlistAssociatedOciCacheCluster Resource

    Get an existing OciCacheConfigSetlistAssociatedOciCacheCluster 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?: OciCacheConfigSetlistAssociatedOciCacheClusterState, opts?: CustomResourceOptions): OciCacheConfigSetlistAssociatedOciCacheCluster
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            items: Optional[Sequence[OciCacheConfigSetlistAssociatedOciCacheClusterItemArgs]] = None,
            oci_cache_config_set_id: Optional[str] = None) -> OciCacheConfigSetlistAssociatedOciCacheCluster
    func GetOciCacheConfigSetlistAssociatedOciCacheCluster(ctx *Context, name string, id IDInput, state *OciCacheConfigSetlistAssociatedOciCacheClusterState, opts ...ResourceOption) (*OciCacheConfigSetlistAssociatedOciCacheCluster, error)
    public static OciCacheConfigSetlistAssociatedOciCacheCluster Get(string name, Input<string> id, OciCacheConfigSetlistAssociatedOciCacheClusterState? state, CustomResourceOptions? opts = null)
    public static OciCacheConfigSetlistAssociatedOciCacheCluster get(String name, Output<String> id, OciCacheConfigSetlistAssociatedOciCacheClusterState state, CustomResourceOptions options)
    resources:  _:    type: oci:Redis:OciCacheConfigSetlistAssociatedOciCacheCluster    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:
    Items List<OciCacheConfigSetlistAssociatedOciCacheClusterItem>
    List of clusters with the same Oracle Cloud Infrastructure Cache Config Set ID.
    OciCacheConfigSetId string

    Unique Oracle Cloud Infrastructure Cache Config Set identifier.

    ** 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

    Items []OciCacheConfigSetlistAssociatedOciCacheClusterItemArgs
    List of clusters with the same Oracle Cloud Infrastructure Cache Config Set ID.
    OciCacheConfigSetId string

    Unique Oracle Cloud Infrastructure Cache Config Set identifier.

    ** 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

    items List<OciCacheConfigSetlistAssociatedOciCacheClusterItem>
    List of clusters with the same Oracle Cloud Infrastructure Cache Config Set ID.
    ociCacheConfigSetId String

    Unique Oracle Cloud Infrastructure Cache Config Set identifier.

    ** 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

    items OciCacheConfigSetlistAssociatedOciCacheClusterItem[]
    List of clusters with the same Oracle Cloud Infrastructure Cache Config Set ID.
    ociCacheConfigSetId string

    Unique Oracle Cloud Infrastructure Cache Config Set identifier.

    ** 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

    items Sequence[OciCacheConfigSetlistAssociatedOciCacheClusterItemArgs]
    List of clusters with the same Oracle Cloud Infrastructure Cache Config Set ID.
    oci_cache_config_set_id str

    Unique Oracle Cloud Infrastructure Cache Config Set identifier.

    ** 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

    items List<Property Map>
    List of clusters with the same Oracle Cloud Infrastructure Cache Config Set ID.
    ociCacheConfigSetId String

    Unique Oracle Cloud Infrastructure Cache Config Set identifier.

    ** 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

    Supporting Types

    OciCacheConfigSetlistAssociatedOciCacheClusterItem, OciCacheConfigSetlistAssociatedOciCacheClusterItemArgs

    Id string
    The OCID of the cluster.
    Id string
    The OCID of the cluster.
    id String
    The OCID of the cluster.
    id string
    The OCID of the cluster.
    id str
    The OCID of the cluster.
    id String
    The OCID of the cluster.

    Import

    Import is not supported for this resource.

    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.6.0 published on Friday, Sep 5, 2025 by Pulumi