oci.Redis.RedisCluster
Explore with Pulumi AI
This resource provides the Redis Cluster resource in Oracle Cloud Infrastructure Redis service.
Creates a new Redis cluster. A Redis cluster is a memory-based storage solution. For more information, see OCI Caching Service with Redis.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testRedisCluster = new oci.redis.RedisCluster("test_redis_cluster", {
compartmentId: compartmentId,
displayName: redisClusterDisplayName,
nodeCount: redisClusterNodeCount,
nodeMemoryInGbs: redisClusterNodeMemoryInGbs,
softwareVersion: redisClusterSoftwareVersion,
subnetId: testSubnet.id,
definedTags: {
"foo-namespace.bar-key": "value",
},
freeformTags: {
"bar-key": "value",
},
nsgIds: redisClusterNsgIds,
});
import pulumi
import pulumi_oci as oci
test_redis_cluster = oci.redis.RedisCluster("test_redis_cluster",
compartment_id=compartment_id,
display_name=redis_cluster_display_name,
node_count=redis_cluster_node_count,
node_memory_in_gbs=redis_cluster_node_memory_in_gbs,
software_version=redis_cluster_software_version,
subnet_id=test_subnet["id"],
defined_tags={
"foo-namespace.bar-key": "value",
},
freeform_tags={
"bar-key": "value",
},
nsg_ids=redis_cluster_nsg_ids)
package main
import (
"github.com/pulumi/pulumi-oci/sdk/go/oci/Redis"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := Redis.NewRedisCluster(ctx, "test_redis_cluster", &Redis.RedisClusterArgs{
CompartmentId: pulumi.Any(compartmentId),
DisplayName: pulumi.Any(redisClusterDisplayName),
NodeCount: pulumi.Any(redisClusterNodeCount),
NodeMemoryInGbs: pulumi.Any(redisClusterNodeMemoryInGbs),
SoftwareVersion: pulumi.Any(redisClusterSoftwareVersion),
SubnetId: pulumi.Any(testSubnet.Id),
DefinedTags: pulumi.Map{
"foo-namespace.bar-key": pulumi.Any("value"),
},
FreeformTags: pulumi.Map{
"bar-key": pulumi.Any("value"),
},
NsgIds: pulumi.Any(redisClusterNsgIds),
})
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 testRedisCluster = new Oci.Redis.RedisCluster("test_redis_cluster", new()
{
CompartmentId = compartmentId,
DisplayName = redisClusterDisplayName,
NodeCount = redisClusterNodeCount,
NodeMemoryInGbs = redisClusterNodeMemoryInGbs,
SoftwareVersion = redisClusterSoftwareVersion,
SubnetId = testSubnet.Id,
DefinedTags =
{
{ "foo-namespace.bar-key", "value" },
},
FreeformTags =
{
{ "bar-key", "value" },
},
NsgIds = redisClusterNsgIds,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.Redis.RedisCluster;
import com.pulumi.oci.Redis.RedisClusterArgs;
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 testRedisCluster = new RedisCluster("testRedisCluster", RedisClusterArgs.builder()
.compartmentId(compartmentId)
.displayName(redisClusterDisplayName)
.nodeCount(redisClusterNodeCount)
.nodeMemoryInGbs(redisClusterNodeMemoryInGbs)
.softwareVersion(redisClusterSoftwareVersion)
.subnetId(testSubnet.id())
.definedTags(Map.of("foo-namespace.bar-key", "value"))
.freeformTags(Map.of("bar-key", "value"))
.nsgIds(redisClusterNsgIds)
.build());
}
}
resources:
testRedisCluster:
type: oci:Redis:RedisCluster
name: test_redis_cluster
properties:
compartmentId: ${compartmentId}
displayName: ${redisClusterDisplayName}
nodeCount: ${redisClusterNodeCount}
nodeMemoryInGbs: ${redisClusterNodeMemoryInGbs}
softwareVersion: ${redisClusterSoftwareVersion}
subnetId: ${testSubnet.id}
definedTags:
foo-namespace.bar-key: value
freeformTags:
bar-key: value
nsgIds: ${redisClusterNsgIds}
Create RedisCluster Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new RedisCluster(name: string, args: RedisClusterArgs, opts?: CustomResourceOptions);
@overload
def RedisCluster(resource_name: str,
args: RedisClusterArgs,
opts: Optional[ResourceOptions] = None)
@overload
def RedisCluster(resource_name: str,
opts: Optional[ResourceOptions] = None,
compartment_id: Optional[str] = None,
display_name: Optional[str] = None,
node_count: Optional[int] = None,
node_memory_in_gbs: Optional[float] = None,
software_version: Optional[str] = None,
subnet_id: Optional[str] = None,
defined_tags: Optional[Mapping[str, Any]] = None,
freeform_tags: Optional[Mapping[str, Any]] = None,
nsg_ids: Optional[Sequence[str]] = None)
func NewRedisCluster(ctx *Context, name string, args RedisClusterArgs, opts ...ResourceOption) (*RedisCluster, error)
public RedisCluster(string name, RedisClusterArgs args, CustomResourceOptions? opts = null)
public RedisCluster(String name, RedisClusterArgs args)
public RedisCluster(String name, RedisClusterArgs args, CustomResourceOptions options)
type: oci:Redis:RedisCluster
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 RedisClusterArgs
- 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 RedisClusterArgs
- 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 RedisClusterArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args RedisClusterArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args RedisClusterArgs
- 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 redisClusterResource = new Oci.Redis.RedisCluster("redisClusterResource", new()
{
CompartmentId = "string",
DisplayName = "string",
NodeCount = 0,
NodeMemoryInGbs = 0,
SoftwareVersion = "string",
SubnetId = "string",
DefinedTags =
{
{ "string", "any" },
},
FreeformTags =
{
{ "string", "any" },
},
NsgIds = new[]
{
"string",
},
});
example, err := Redis.NewRedisCluster(ctx, "redisClusterResource", &Redis.RedisClusterArgs{
CompartmentId: pulumi.String("string"),
DisplayName: pulumi.String("string"),
NodeCount: pulumi.Int(0),
NodeMemoryInGbs: pulumi.Float64(0),
SoftwareVersion: pulumi.String("string"),
SubnetId: pulumi.String("string"),
DefinedTags: pulumi.Map{
"string": pulumi.Any("any"),
},
FreeformTags: pulumi.Map{
"string": pulumi.Any("any"),
},
NsgIds: pulumi.StringArray{
pulumi.String("string"),
},
})
var redisClusterResource = new RedisCluster("redisClusterResource", RedisClusterArgs.builder()
.compartmentId("string")
.displayName("string")
.nodeCount(0)
.nodeMemoryInGbs(0)
.softwareVersion("string")
.subnetId("string")
.definedTags(Map.of("string", "any"))
.freeformTags(Map.of("string", "any"))
.nsgIds("string")
.build());
redis_cluster_resource = oci.redis.RedisCluster("redisClusterResource",
compartment_id="string",
display_name="string",
node_count=0,
node_memory_in_gbs=0,
software_version="string",
subnet_id="string",
defined_tags={
"string": "any",
},
freeform_tags={
"string": "any",
},
nsg_ids=["string"])
const redisClusterResource = new oci.redis.RedisCluster("redisClusterResource", {
compartmentId: "string",
displayName: "string",
nodeCount: 0,
nodeMemoryInGbs: 0,
softwareVersion: "string",
subnetId: "string",
definedTags: {
string: "any",
},
freeformTags: {
string: "any",
},
nsgIds: ["string"],
});
type: oci:Redis:RedisCluster
properties:
compartmentId: string
definedTags:
string: any
displayName: string
freeformTags:
string: any
nodeCount: 0
nodeMemoryInGbs: 0
nsgIds:
- string
softwareVersion: string
subnetId: string
RedisCluster Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The RedisCluster resource accepts the following input properties:
- Compartment
Id string - (Updatable) The OCID of the compartment that contains the Redis cluster.
- Display
Name string - (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- Node
Count int - (Updatable) The number of nodes in the Redis cluster.
- Node
Memory doubleIn Gbs - (Updatable) The amount of memory allocated to the Redis cluster's nodes, in gigabytes.
- Software
Version string - The Redis version that the cluster is running.
- Subnet
Id string The OCID of the Redis cluster's subnet.
** 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
- Dictionary<string, object>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- Dictionary<string, object>
- (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- Nsg
Ids List<string> - (Updatable) OCIDs of the NSGs to control access in the customer network
- Compartment
Id string - (Updatable) The OCID of the compartment that contains the Redis cluster.
- Display
Name string - (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- Node
Count int - (Updatable) The number of nodes in the Redis cluster.
- Node
Memory float64In Gbs - (Updatable) The amount of memory allocated to the Redis cluster's nodes, in gigabytes.
- Software
Version string - The Redis version that the cluster is running.
- Subnet
Id string The OCID of the Redis cluster's subnet.
** 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
- map[string]interface{}
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- map[string]interface{}
- (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- Nsg
Ids []string - (Updatable) OCIDs of the NSGs to control access in the customer network
- compartment
Id String - (Updatable) The OCID of the compartment that contains the Redis cluster.
- display
Name String - (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- node
Count Integer - (Updatable) The number of nodes in the Redis cluster.
- node
Memory DoubleIn Gbs - (Updatable) The amount of memory allocated to the Redis cluster's nodes, in gigabytes.
- software
Version String - The Redis version that the cluster is running.
- subnet
Id String The OCID of the Redis cluster's subnet.
** 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
- Map<String,Object>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- Map<String,Object>
- (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- nsg
Ids List<String> - (Updatable) OCIDs of the NSGs to control access in the customer network
- compartment
Id string - (Updatable) The OCID of the compartment that contains the Redis cluster.
- display
Name string - (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- node
Count number - (Updatable) The number of nodes in the Redis cluster.
- node
Memory numberIn Gbs - (Updatable) The amount of memory allocated to the Redis cluster's nodes, in gigabytes.
- software
Version string - The Redis version that the cluster is running.
- subnet
Id string The OCID of the Redis cluster's subnet.
** 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
- {[key: string]: any}
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- {[key: string]: any}
- (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- nsg
Ids string[] - (Updatable) OCIDs of the NSGs to control access in the customer network
- compartment_
id str - (Updatable) The OCID of the compartment that contains the Redis cluster.
- display_
name str - (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- node_
count int - (Updatable) The number of nodes in the Redis cluster.
- node_
memory_ floatin_ gbs - (Updatable) The amount of memory allocated to the Redis cluster's nodes, in gigabytes.
- software_
version str - The Redis version that the cluster is running.
- subnet_
id str The OCID of the Redis cluster's subnet.
** 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
- Mapping[str, Any]
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- Mapping[str, Any]
- (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- nsg_
ids Sequence[str] - (Updatable) OCIDs of the NSGs to control access in the customer network
- compartment
Id String - (Updatable) The OCID of the compartment that contains the Redis cluster.
- display
Name String - (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- node
Count Number - (Updatable) The number of nodes in the Redis cluster.
- node
Memory NumberIn Gbs - (Updatable) The amount of memory allocated to the Redis cluster's nodes, in gigabytes.
- software
Version String - The Redis version that the cluster is running.
- subnet
Id String The OCID of the Redis cluster's subnet.
** 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
- Map<Any>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- Map<Any>
- (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- nsg
Ids List<String> - (Updatable) OCIDs of the NSGs to control access in the customer network
Outputs
All input properties are implicitly available as output properties. Additionally, the RedisCluster resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Lifecycle
Details string - A message describing the current state in more detail. For example, the message might provide actionable information for a resource in
FAILED
state. - Node
Collections List<RedisCluster Node Collection> - The collection of Redis cluster nodes.
- Primary
Endpoint stringIp Address - The private IP address of the API endpoint for the Redis cluster's primary node.
- Primary
Fqdn string - The fully qualified domain name (FQDN) of the API endpoint for the Redis cluster's primary node.
- Replicas
Endpoint stringIp Address - The private IP address of the API endpoint for the Redis cluster's replica nodes.
- Replicas
Fqdn string - The fully qualified domain name (FQDN) of the API endpoint for the Redis cluster's replica nodes.
- State string
- The current state of the Redis cluster.
- Dictionary<string, object>
- 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 Redis cluster was created. An RFC3339 formatted datetime string.
- Time
Updated string - The date and time the Redis cluster was updated. An RFC3339 formatted datetime string.
- Id string
- The provider-assigned unique ID for this managed resource.
- Lifecycle
Details string - A message describing the current state in more detail. For example, the message might provide actionable information for a resource in
FAILED
state. - Node
Collections []RedisCluster Node Collection - The collection of Redis cluster nodes.
- Primary
Endpoint stringIp Address - The private IP address of the API endpoint for the Redis cluster's primary node.
- Primary
Fqdn string - The fully qualified domain name (FQDN) of the API endpoint for the Redis cluster's primary node.
- Replicas
Endpoint stringIp Address - The private IP address of the API endpoint for the Redis cluster's replica nodes.
- Replicas
Fqdn string - The fully qualified domain name (FQDN) of the API endpoint for the Redis cluster's replica nodes.
- State string
- The current state of the Redis cluster.
- map[string]interface{}
- 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 Redis cluster was created. An RFC3339 formatted datetime string.
- Time
Updated string - The date and time the Redis cluster was updated. An RFC3339 formatted datetime string.
- id String
- The provider-assigned unique ID for this managed resource.
- lifecycle
Details String - A message describing the current state in more detail. For example, the message might provide actionable information for a resource in
FAILED
state. - node
Collections List<ClusterNode Collection> - The collection of Redis cluster nodes.
- primary
Endpoint StringIp Address - The private IP address of the API endpoint for the Redis cluster's primary node.
- primary
Fqdn String - The fully qualified domain name (FQDN) of the API endpoint for the Redis cluster's primary node.
- replicas
Endpoint StringIp Address - The private IP address of the API endpoint for the Redis cluster's replica nodes.
- replicas
Fqdn String - The fully qualified domain name (FQDN) of the API endpoint for the Redis cluster's replica nodes.
- state String
- The current state of the Redis cluster.
- Map<String,Object>
- 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 Redis cluster was created. An RFC3339 formatted datetime string.
- time
Updated String - The date and time the Redis cluster was updated. An RFC3339 formatted datetime string.
- id string
- The provider-assigned unique ID for this managed resource.
- lifecycle
Details string - A message describing the current state in more detail. For example, the message might provide actionable information for a resource in
FAILED
state. - node
Collections RedisCluster Node Collection[] - The collection of Redis cluster nodes.
- primary
Endpoint stringIp Address - The private IP address of the API endpoint for the Redis cluster's primary node.
- primary
Fqdn string - The fully qualified domain name (FQDN) of the API endpoint for the Redis cluster's primary node.
- replicas
Endpoint stringIp Address - The private IP address of the API endpoint for the Redis cluster's replica nodes.
- replicas
Fqdn string - The fully qualified domain name (FQDN) of the API endpoint for the Redis cluster's replica nodes.
- state string
- The current state of the Redis cluster.
- {[key: string]: any}
- 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 Redis cluster was created. An RFC3339 formatted datetime string.
- time
Updated string - The date and time the Redis cluster was updated. An RFC3339 formatted datetime string.
- id str
- The provider-assigned unique ID for this managed resource.
- lifecycle_
details str - A message describing the current state in more detail. For example, the message might provide actionable information for a resource in
FAILED
state. - node_
collections Sequence[redis.Redis Cluster Node Collection] - The collection of Redis cluster nodes.
- primary_
endpoint_ strip_ address - The private IP address of the API endpoint for the Redis cluster's primary node.
- primary_
fqdn str - The fully qualified domain name (FQDN) of the API endpoint for the Redis cluster's primary node.
- replicas_
endpoint_ strip_ address - The private IP address of the API endpoint for the Redis cluster's replica nodes.
- replicas_
fqdn str - The fully qualified domain name (FQDN) of the API endpoint for the Redis cluster's replica nodes.
- state str
- The current state of the Redis cluster.
- Mapping[str, Any]
- 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 Redis cluster was created. An RFC3339 formatted datetime string.
- time_
updated str - The date and time the Redis cluster was updated. An RFC3339 formatted datetime string.
- id String
- The provider-assigned unique ID for this managed resource.
- lifecycle
Details String - A message describing the current state in more detail. For example, the message might provide actionable information for a resource in
FAILED
state. - node
Collections List<Property Map> - The collection of Redis cluster nodes.
- primary
Endpoint StringIp Address - The private IP address of the API endpoint for the Redis cluster's primary node.
- primary
Fqdn String - The fully qualified domain name (FQDN) of the API endpoint for the Redis cluster's primary node.
- replicas
Endpoint StringIp Address - The private IP address of the API endpoint for the Redis cluster's replica nodes.
- replicas
Fqdn String - The fully qualified domain name (FQDN) of the API endpoint for the Redis cluster's replica nodes.
- state String
- The current state of the Redis cluster.
- Map<Any>
- 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 Redis cluster was created. An RFC3339 formatted datetime string.
- time
Updated String - The date and time the Redis cluster was updated. An RFC3339 formatted datetime string.
Look up Existing RedisCluster Resource
Get an existing RedisCluster 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?: RedisClusterState, opts?: CustomResourceOptions): RedisCluster
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
compartment_id: Optional[str] = None,
defined_tags: Optional[Mapping[str, Any]] = None,
display_name: Optional[str] = None,
freeform_tags: Optional[Mapping[str, Any]] = None,
lifecycle_details: Optional[str] = None,
node_collections: Optional[Sequence[_redis.RedisClusterNodeCollectionArgs]] = None,
node_count: Optional[int] = None,
node_memory_in_gbs: Optional[float] = None,
nsg_ids: Optional[Sequence[str]] = None,
primary_endpoint_ip_address: Optional[str] = None,
primary_fqdn: Optional[str] = None,
replicas_endpoint_ip_address: Optional[str] = None,
replicas_fqdn: Optional[str] = None,
software_version: Optional[str] = None,
state: Optional[str] = None,
subnet_id: Optional[str] = None,
system_tags: Optional[Mapping[str, Any]] = None,
time_created: Optional[str] = None,
time_updated: Optional[str] = None) -> RedisCluster
func GetRedisCluster(ctx *Context, name string, id IDInput, state *RedisClusterState, opts ...ResourceOption) (*RedisCluster, error)
public static RedisCluster Get(string name, Input<string> id, RedisClusterState? state, CustomResourceOptions? opts = null)
public static RedisCluster get(String name, Output<String> id, RedisClusterState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- 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.
- Compartment
Id string - (Updatable) The OCID of the compartment that contains the Redis cluster.
- Dictionary<string, object>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- Display
Name string - (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- Dictionary<string, object>
- (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- Lifecycle
Details string - A message describing the current state in more detail. For example, the message might provide actionable information for a resource in
FAILED
state. - Node
Collections List<RedisCluster Node Collection> - The collection of Redis cluster nodes.
- Node
Count int - (Updatable) The number of nodes in the Redis cluster.
- Node
Memory doubleIn Gbs - (Updatable) The amount of memory allocated to the Redis cluster's nodes, in gigabytes.
- Nsg
Ids List<string> - (Updatable) OCIDs of the NSGs to control access in the customer network
- Primary
Endpoint stringIp Address - The private IP address of the API endpoint for the Redis cluster's primary node.
- Primary
Fqdn string - The fully qualified domain name (FQDN) of the API endpoint for the Redis cluster's primary node.
- Replicas
Endpoint stringIp Address - The private IP address of the API endpoint for the Redis cluster's replica nodes.
- Replicas
Fqdn string - The fully qualified domain name (FQDN) of the API endpoint for the Redis cluster's replica nodes.
- Software
Version string - The Redis version that the cluster is running.
- State string
- The current state of the Redis cluster.
- Subnet
Id string The OCID of the Redis cluster's subnet.
** 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
- Dictionary<string, object>
- 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 Redis cluster was created. An RFC3339 formatted datetime string.
- Time
Updated string - The date and time the Redis cluster was updated. An RFC3339 formatted datetime string.
- Compartment
Id string - (Updatable) The OCID of the compartment that contains the Redis cluster.
- map[string]interface{}
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- Display
Name string - (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- map[string]interface{}
- (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- Lifecycle
Details string - A message describing the current state in more detail. For example, the message might provide actionable information for a resource in
FAILED
state. - Node
Collections []RedisCluster Node Collection Args - The collection of Redis cluster nodes.
- Node
Count int - (Updatable) The number of nodes in the Redis cluster.
- Node
Memory float64In Gbs - (Updatable) The amount of memory allocated to the Redis cluster's nodes, in gigabytes.
- Nsg
Ids []string - (Updatable) OCIDs of the NSGs to control access in the customer network
- Primary
Endpoint stringIp Address - The private IP address of the API endpoint for the Redis cluster's primary node.
- Primary
Fqdn string - The fully qualified domain name (FQDN) of the API endpoint for the Redis cluster's primary node.
- Replicas
Endpoint stringIp Address - The private IP address of the API endpoint for the Redis cluster's replica nodes.
- Replicas
Fqdn string - The fully qualified domain name (FQDN) of the API endpoint for the Redis cluster's replica nodes.
- Software
Version string - The Redis version that the cluster is running.
- State string
- The current state of the Redis cluster.
- Subnet
Id string The OCID of the Redis cluster's subnet.
** 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
- map[string]interface{}
- 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 Redis cluster was created. An RFC3339 formatted datetime string.
- Time
Updated string - The date and time the Redis cluster was updated. An RFC3339 formatted datetime string.
- compartment
Id String - (Updatable) The OCID of the compartment that contains the Redis cluster.
- Map<String,Object>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- display
Name String - (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- Map<String,Object>
- (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- lifecycle
Details String - A message describing the current state in more detail. For example, the message might provide actionable information for a resource in
FAILED
state. - node
Collections List<ClusterNode Collection> - The collection of Redis cluster nodes.
- node
Count Integer - (Updatable) The number of nodes in the Redis cluster.
- node
Memory DoubleIn Gbs - (Updatable) The amount of memory allocated to the Redis cluster's nodes, in gigabytes.
- nsg
Ids List<String> - (Updatable) OCIDs of the NSGs to control access in the customer network
- primary
Endpoint StringIp Address - The private IP address of the API endpoint for the Redis cluster's primary node.
- primary
Fqdn String - The fully qualified domain name (FQDN) of the API endpoint for the Redis cluster's primary node.
- replicas
Endpoint StringIp Address - The private IP address of the API endpoint for the Redis cluster's replica nodes.
- replicas
Fqdn String - The fully qualified domain name (FQDN) of the API endpoint for the Redis cluster's replica nodes.
- software
Version String - The Redis version that the cluster is running.
- state String
- The current state of the Redis cluster.
- subnet
Id String The OCID of the Redis cluster's subnet.
** 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
- Map<String,Object>
- 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 Redis cluster was created. An RFC3339 formatted datetime string.
- time
Updated String - The date and time the Redis cluster was updated. An RFC3339 formatted datetime string.
- compartment
Id string - (Updatable) The OCID of the compartment that contains the Redis cluster.
- {[key: string]: any}
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- display
Name string - (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- {[key: string]: any}
- (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- lifecycle
Details string - A message describing the current state in more detail. For example, the message might provide actionable information for a resource in
FAILED
state. - node
Collections RedisCluster Node Collection[] - The collection of Redis cluster nodes.
- node
Count number - (Updatable) The number of nodes in the Redis cluster.
- node
Memory numberIn Gbs - (Updatable) The amount of memory allocated to the Redis cluster's nodes, in gigabytes.
- nsg
Ids string[] - (Updatable) OCIDs of the NSGs to control access in the customer network
- primary
Endpoint stringIp Address - The private IP address of the API endpoint for the Redis cluster's primary node.
- primary
Fqdn string - The fully qualified domain name (FQDN) of the API endpoint for the Redis cluster's primary node.
- replicas
Endpoint stringIp Address - The private IP address of the API endpoint for the Redis cluster's replica nodes.
- replicas
Fqdn string - The fully qualified domain name (FQDN) of the API endpoint for the Redis cluster's replica nodes.
- software
Version string - The Redis version that the cluster is running.
- state string
- The current state of the Redis cluster.
- subnet
Id string The OCID of the Redis cluster's subnet.
** 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
- {[key: string]: any}
- 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 Redis cluster was created. An RFC3339 formatted datetime string.
- time
Updated string - The date and time the Redis cluster was updated. An RFC3339 formatted datetime string.
- compartment_
id str - (Updatable) The OCID of the compartment that contains the Redis cluster.
- Mapping[str, Any]
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- display_
name str - (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- Mapping[str, Any]
- (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- lifecycle_
details str - A message describing the current state in more detail. For example, the message might provide actionable information for a resource in
FAILED
state. - node_
collections Sequence[redis.Redis Cluster Node Collection Args] - The collection of Redis cluster nodes.
- node_
count int - (Updatable) The number of nodes in the Redis cluster.
- node_
memory_ floatin_ gbs - (Updatable) The amount of memory allocated to the Redis cluster's nodes, in gigabytes.
- nsg_
ids Sequence[str] - (Updatable) OCIDs of the NSGs to control access in the customer network
- primary_
endpoint_ strip_ address - The private IP address of the API endpoint for the Redis cluster's primary node.
- primary_
fqdn str - The fully qualified domain name (FQDN) of the API endpoint for the Redis cluster's primary node.
- replicas_
endpoint_ strip_ address - The private IP address of the API endpoint for the Redis cluster's replica nodes.
- replicas_
fqdn str - The fully qualified domain name (FQDN) of the API endpoint for the Redis cluster's replica nodes.
- software_
version str - The Redis version that the cluster is running.
- state str
- The current state of the Redis cluster.
- subnet_
id str The OCID of the Redis cluster's subnet.
** 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
- Mapping[str, Any]
- 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 Redis cluster was created. An RFC3339 formatted datetime string.
- time_
updated str - The date and time the Redis cluster was updated. An RFC3339 formatted datetime string.
- compartment
Id String - (Updatable) The OCID of the compartment that contains the Redis cluster.
- Map<Any>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- display
Name String - (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- Map<Any>
- (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- lifecycle
Details String - A message describing the current state in more detail. For example, the message might provide actionable information for a resource in
FAILED
state. - node
Collections List<Property Map> - The collection of Redis cluster nodes.
- node
Count Number - (Updatable) The number of nodes in the Redis cluster.
- node
Memory NumberIn Gbs - (Updatable) The amount of memory allocated to the Redis cluster's nodes, in gigabytes.
- nsg
Ids List<String> - (Updatable) OCIDs of the NSGs to control access in the customer network
- primary
Endpoint StringIp Address - The private IP address of the API endpoint for the Redis cluster's primary node.
- primary
Fqdn String - The fully qualified domain name (FQDN) of the API endpoint for the Redis cluster's primary node.
- replicas
Endpoint StringIp Address - The private IP address of the API endpoint for the Redis cluster's replica nodes.
- replicas
Fqdn String - The fully qualified domain name (FQDN) of the API endpoint for the Redis cluster's replica nodes.
- software
Version String - The Redis version that the cluster is running.
- state String
- The current state of the Redis cluster.
- subnet
Id String The OCID of the Redis cluster's subnet.
** 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
- Map<Any>
- 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 Redis cluster was created. An RFC3339 formatted datetime string.
- time
Updated String - The date and time the Redis cluster was updated. An RFC3339 formatted datetime string.
Supporting Types
RedisClusterNodeCollection, RedisClusterNodeCollectionArgs
- Items
List<Redis
Cluster Node Collection Item> - Collection of node objects.
- Items
[]Redis
Cluster Node Collection Item - Collection of node objects.
- items
List<Cluster
Node Collection Item> - Collection of node objects.
- items
Redis
Cluster Node Collection Item[] - Collection of node objects.
- items
Sequence[redis.
Redis Cluster Node Collection Item] - Collection of node objects.
- items List<Property Map>
- Collection of node objects.
RedisClusterNodeCollectionItem, RedisClusterNodeCollectionItemArgs
- Display
Name string - (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- Private
Endpoint stringFqdn - The fully qualified domain name (FQDN) of the API endpoint to access a specific node.
- Private
Endpoint stringIp Address - The private IP address of the API endpoint to access a specific node.
- Display
Name string - (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- Private
Endpoint stringFqdn - The fully qualified domain name (FQDN) of the API endpoint to access a specific node.
- Private
Endpoint stringIp Address - The private IP address of the API endpoint to access a specific node.
- display
Name String - (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- private
Endpoint StringFqdn - The fully qualified domain name (FQDN) of the API endpoint to access a specific node.
- private
Endpoint StringIp Address - The private IP address of the API endpoint to access a specific node.
- display
Name string - (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- private
Endpoint stringFqdn - The fully qualified domain name (FQDN) of the API endpoint to access a specific node.
- private
Endpoint stringIp Address - The private IP address of the API endpoint to access a specific node.
- display_
name str - (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- private_
endpoint_ strfqdn - The fully qualified domain name (FQDN) of the API endpoint to access a specific node.
- private_
endpoint_ strip_ address - The private IP address of the API endpoint to access a specific node.
- display
Name String - (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- private
Endpoint StringFqdn - The fully qualified domain name (FQDN) of the API endpoint to access a specific node.
- private
Endpoint StringIp Address - The private IP address of the API endpoint to access a specific node.
Import
RedisClusters can be imported using the id
, e.g.
$ pulumi import oci:Redis/redisCluster:RedisCluster test_redis_cluster "id"
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.