CreateOciCacheConfigSetDetails

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

Bases: object

The information to create a new OCI Cache Config Set.

Methods

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

Attributes

compartment_id [Required] Gets the compartment_id of this CreateOciCacheConfigSetDetails.
configuration_details [Required] Gets the configuration_details of this CreateOciCacheConfigSetDetails.
defined_tags Gets the defined_tags of this CreateOciCacheConfigSetDetails.
description Gets the description of this CreateOciCacheConfigSetDetails.
display_name [Required] Gets the display_name of this CreateOciCacheConfigSetDetails.
freeform_tags Gets the freeform_tags of this CreateOciCacheConfigSetDetails.
software_version [Required] Gets the software_version of this CreateOciCacheConfigSetDetails.
__init__(**kwargs)

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

Parameters:
  • display_name (str) – The value to assign to the display_name property of this CreateOciCacheConfigSetDetails.
  • compartment_id (str) – The value to assign to the compartment_id property of this CreateOciCacheConfigSetDetails.
  • description (str) – The value to assign to the description property of this CreateOciCacheConfigSetDetails.
  • software_version (str) – The value to assign to the software_version property of this CreateOciCacheConfigSetDetails.
  • configuration_details (oci.redis.models.ConfigurationDetails) – The value to assign to the configuration_details property of this CreateOciCacheConfigSetDetails.
  • freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this CreateOciCacheConfigSetDetails.
  • defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this CreateOciCacheConfigSetDetails.
compartment_id

[Required] Gets the compartment_id of this CreateOciCacheConfigSetDetails. The OCID of the compartment that contains the OCI Cache Config Set.

Returns:The compartment_id of this CreateOciCacheConfigSetDetails.
Return type:str
configuration_details

[Required] Gets the configuration_details of this CreateOciCacheConfigSetDetails.

Returns:The configuration_details of this CreateOciCacheConfigSetDetails.
Return type:oci.redis.models.ConfigurationDetails
defined_tags

Gets the defined_tags of this CreateOciCacheConfigSetDetails. 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 CreateOciCacheConfigSetDetails.
Return type:dict(str, dict(str, object))
description

Gets the description of this CreateOciCacheConfigSetDetails. Description for the custom OCI Cache Config Set.

Returns:The description of this CreateOciCacheConfigSetDetails.
Return type:str
display_name

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

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

Gets the freeform_tags of this CreateOciCacheConfigSetDetails. 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 CreateOciCacheConfigSetDetails.
Return type:dict(str, str)
software_version

[Required] Gets the software_version of this CreateOciCacheConfigSetDetails. The OCI Cache engine version that the cluster is running.

Returns:The software_version of this CreateOciCacheConfigSetDetails.
Return type:str