UpdateRedisClusterDetails¶
- class oci.redis.models.UpdateRedisClusterDetails(**kwargs)¶
Bases:
objectThe configuration to update for an existing cluster.
Methods:
__init__(**kwargs)Initializes a new UpdateRedisClusterDetails object with values from keyword arguments.
Attributes:
Gets the defined_tags of this UpdateRedisClusterDetails.
Gets the display_name of this UpdateRedisClusterDetails.
Gets the freeform_tags of this UpdateRedisClusterDetails.
Gets the node_count of this UpdateRedisClusterDetails.
Gets the node_memory_in_gbs of this UpdateRedisClusterDetails.
Gets the nsg_ids of this UpdateRedisClusterDetails.
Gets the oci_cache_config_set_id of this UpdateRedisClusterDetails.
Gets the security_attributes of this UpdateRedisClusterDetails.
Gets the shard_count of this UpdateRedisClusterDetails.
Gets the software_version 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
oci_cache_config_set_id (str) – The value to assign to the oci_cache_config_set_id property of this UpdateRedisClusterDetails.
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.
software_version (str) – The value to assign to the software_version property of this UpdateRedisClusterDetails.
nsg_ids (list[str]) – The value to assign to the nsg_ids property of this UpdateRedisClusterDetails.
security_attributes (dict(str, dict(str, object))) – The value to assign to the security_attributes 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.
- property 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))
- property 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
- property 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)
- property 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
- property 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
- property 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]
- property oci_cache_config_set_id¶
Gets the oci_cache_config_set_id of this UpdateRedisClusterDetails. The ID of the corresponding OCI Cache Config Set for the cluster.
- Returns
The oci_cache_config_set_id of this UpdateRedisClusterDetails.
- Return type
str
- property security_attributes¶
Gets the security_attributes of this UpdateRedisClusterDetails. Security attributes for redis cluster resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
Example: {“Oracle-ZPR”: {“MaxEgressCount”: {“value”: “42”, “mode”: “enforce”}}}
- Returns
The security_attributes of this UpdateRedisClusterDetails.
- Return type
dict(str, dict(str, object))
- property 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
- property software_version¶
Gets the software_version of this UpdateRedisClusterDetails. The OCI Cache engine version that the cluster is running.
- Returns
The software_version of this UpdateRedisClusterDetails.
- Return type
str