OciCacheDefaultConfigSet

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

Bases: object

Default configurations for OCI Cache to manage the behavior, performance, and functionality of the underlying cache engine.

Attributes:

LIFECYCLE_STATE_ACTIVE

A constant which can be used with the lifecycle_state property of a OciCacheDefaultConfigSet.

LIFECYCLE_STATE_INACTIVE

A constant which can be used with the lifecycle_state property of a OciCacheDefaultConfigSet.

default_configuration_details

Gets the default_configuration_details of this OciCacheDefaultConfigSet.

description

Gets the description of this OciCacheDefaultConfigSet.

display_name

Gets the display_name of this OciCacheDefaultConfigSet.

id

[Required] Gets the id of this OciCacheDefaultConfigSet.

lifecycle_state

Gets the lifecycle_state of this OciCacheDefaultConfigSet.

software_version

[Required] Gets the software_version of this OciCacheDefaultConfigSet.

time_created

Gets the time_created of this OciCacheDefaultConfigSet.

Methods:

__init__(**kwargs)

Initializes a new OciCacheDefaultConfigSet object with values from keyword arguments.

LIFECYCLE_STATE_ACTIVE = 'ACTIVE'

A constant which can be used with the lifecycle_state property of a OciCacheDefaultConfigSet. This constant has a value of “ACTIVE”

LIFECYCLE_STATE_INACTIVE = 'INACTIVE'

A constant which can be used with the lifecycle_state property of a OciCacheDefaultConfigSet. This constant has a value of “INACTIVE”

__init__(**kwargs)

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

Parameters
  • id (str) – The value to assign to the id property of this OciCacheDefaultConfigSet.

  • display_name (str) – The value to assign to the display_name property of this OciCacheDefaultConfigSet.

  • description (str) – The value to assign to the description property of this OciCacheDefaultConfigSet.

  • time_created (datetime) – The value to assign to the time_created property of this OciCacheDefaultConfigSet.

  • lifecycle_state (str) – The value to assign to the lifecycle_state property of this OciCacheDefaultConfigSet. Allowed values for this property are: “ACTIVE”, “INACTIVE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

  • software_version (str) – The value to assign to the software_version property of this OciCacheDefaultConfigSet.

  • default_configuration_details (oci.redis.models.DefaultConfigurationDetails) – The value to assign to the default_configuration_details property of this OciCacheDefaultConfigSet.

property default_configuration_details

Gets the default_configuration_details of this OciCacheDefaultConfigSet.

Returns

The default_configuration_details of this OciCacheDefaultConfigSet.

Return type

oci.redis.models.DefaultConfigurationDetails

property description

Gets the description of this OciCacheDefaultConfigSet. Description of the OCI Cache Default Config Set.

Returns

The description of this OciCacheDefaultConfigSet.

Return type

str

property display_name

Gets the display_name of this OciCacheDefaultConfigSet. A user-friendly name of the OCI Cache Default Config Set.

Returns

The display_name of this OciCacheDefaultConfigSet.

Return type

str

property id

[Required] Gets the id of this OciCacheDefaultConfigSet. The OCID of the OCI Cache Default Config Set.

Returns

The id of this OciCacheDefaultConfigSet.

Return type

str

property lifecycle_state

Gets the lifecycle_state of this OciCacheDefaultConfigSet. The current state of the OCI Cache Default Config Set.

Allowed values for this property are: “ACTIVE”, “INACTIVE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns

The lifecycle_state of this OciCacheDefaultConfigSet.

Return type

str

property software_version

[Required] Gets the software_version of this OciCacheDefaultConfigSet. The engine version of the OCI Cache Default Config Set.

Returns

The software_version of this OciCacheDefaultConfigSet.

Return type

str

property time_created

Gets the time_created of this OciCacheDefaultConfigSet. The date and time the OCI Cache Default Config Set was created. An RFC3339 formatted datetime string.

Returns

The time_created of this OciCacheDefaultConfigSet.

Return type

datetime