UpdateRedisClusterDetails

class oci.redis.models.UpdateRedisClusterDetails(**kwargs)

Bases: object

The configuration to update for an existing cluster.

Methods

__init__(**kwargs) Initializes a new UpdateRedisClusterDetails object with values from keyword arguments.

Attributes

defined_tags Gets the defined_tags of this UpdateRedisClusterDetails.
display_name Gets the display_name of this UpdateRedisClusterDetails.
freeform_tags Gets the freeform_tags of this UpdateRedisClusterDetails.
node_count Gets the node_count of this UpdateRedisClusterDetails.
node_memory_in_gbs Gets the node_memory_in_gbs of this UpdateRedisClusterDetails.
nsg_ids Gets the nsg_ids of this UpdateRedisClusterDetails.
shard_count Gets the shard_count of this UpdateRedisClusterDetails.
__init__(**kwargs)

Initializes a new UpdateRedisClusterDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • shard_count (int) – The value to assign to the shard_count property of this UpdateRedisClusterDetails.
  • display_name (str) – The value to assign to the display_name property of this UpdateRedisClusterDetails.
  • node_count (int) – The value to assign to the node_count property of this UpdateRedisClusterDetails.
  • node_memory_in_gbs (float) – The value to assign to the node_memory_in_gbs property of this UpdateRedisClusterDetails.
  • nsg_ids (list[str]) – The value to assign to the nsg_ids property of this UpdateRedisClusterDetails.
  • freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this UpdateRedisClusterDetails.
  • defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this UpdateRedisClusterDetails.
defined_tags

Gets the defined_tags of this UpdateRedisClusterDetails. Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {“foo-namespace”: {“bar-key”: “value”}}

Returns:The defined_tags of this UpdateRedisClusterDetails.
Return type:dict(str, dict(str, object))
display_name

Gets the display_name of this UpdateRedisClusterDetails. A user-friendly name. Does not have to be unique, and it’s changeable. Avoid entering confidential information.

Returns:The display_name of this UpdateRedisClusterDetails.
Return type:str
freeform_tags

Gets the freeform_tags of this UpdateRedisClusterDetails. Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {“bar-key”: “value”}

Returns:The freeform_tags of this UpdateRedisClusterDetails.
Return type:dict(str, str)
node_count

Gets the node_count of this UpdateRedisClusterDetails. The number of nodes per shard in the cluster when clusterMode is SHARDED. This is the total number of nodes when clusterMode is NONSHARDED.

Returns:The node_count of this UpdateRedisClusterDetails.
Return type:int
node_memory_in_gbs

Gets the node_memory_in_gbs of this UpdateRedisClusterDetails. The amount of memory allocated to the cluster’s nodes, in gigabytes.

Returns:The node_memory_in_gbs of this UpdateRedisClusterDetails.
Return type:float
nsg_ids

Gets the nsg_ids of this UpdateRedisClusterDetails. A list of Network Security Group (NSG) OCIDs associated with this cluster. For more information, see Using an NSG for Clusters.

Returns:The nsg_ids of this UpdateRedisClusterDetails.
Return type:list[str]
shard_count

Gets the shard_count of this UpdateRedisClusterDetails. The number of shards in sharded cluster. Only applicable when clusterMode is SHARDED.

Returns:The shard_count of this UpdateRedisClusterDetails.
Return type:int