Addon

class oci.container_engine.models.Addon(**kwargs)

Bases: object

The properties that define an addon.

Attributes

LIFECYCLE_STATE_ACTIVE A constant which can be used with the lifecycle_state property of a Addon.
LIFECYCLE_STATE_CREATING A constant which can be used with the lifecycle_state property of a Addon.
LIFECYCLE_STATE_DELETED A constant which can be used with the lifecycle_state property of a Addon.
LIFECYCLE_STATE_DELETING A constant which can be used with the lifecycle_state property of a Addon.
LIFECYCLE_STATE_FAILED A constant which can be used with the lifecycle_state property of a Addon.
LIFECYCLE_STATE_NEEDS_ATTENTION A constant which can be used with the lifecycle_state property of a Addon.
LIFECYCLE_STATE_UPDATING A constant which can be used with the lifecycle_state property of a Addon.
addon_error Gets the addon_error of this Addon.
configurations Gets the configurations of this Addon.
current_installed_version Gets the current_installed_version of this Addon.
lifecycle_state [Required] Gets the lifecycle_state of this Addon.
name [Required] Gets the name of this Addon.
time_created Gets the time_created of this Addon.
version Gets the version of this Addon.

Methods

__init__(**kwargs) Initializes a new Addon object with values from keyword arguments.
LIFECYCLE_STATE_ACTIVE = 'ACTIVE'

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

LIFECYCLE_STATE_CREATING = 'CREATING'

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

LIFECYCLE_STATE_DELETED = 'DELETED'

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

LIFECYCLE_STATE_DELETING = 'DELETING'

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

LIFECYCLE_STATE_FAILED = 'FAILED'

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

LIFECYCLE_STATE_NEEDS_ATTENTION = 'NEEDS_ATTENTION'

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

LIFECYCLE_STATE_UPDATING = 'UPDATING'

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

__init__(**kwargs)

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

Parameters:
  • name (str) – The value to assign to the name property of this Addon.
  • version (str) – The value to assign to the version property of this Addon.
  • current_installed_version (str) – The value to assign to the current_installed_version property of this Addon.
  • time_created (datetime) – The value to assign to the time_created property of this Addon.
  • lifecycle_state (str) – The value to assign to the lifecycle_state property of this Addon. Allowed values for this property are: “CREATING”, “ACTIVE”, “DELETING”, “DELETED”, “UPDATING”, “NEEDS_ATTENTION”, “FAILED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • configurations (list[oci.container_engine.models.AddonConfiguration]) – The value to assign to the configurations property of this Addon.
  • addon_error (oci.container_engine.models.AddonError) – The value to assign to the addon_error property of this Addon.
addon_error

Gets the addon_error of this Addon. The error info of the addon.

Returns:The addon_error of this Addon.
Return type:oci.container_engine.models.AddonError
configurations

Gets the configurations of this Addon. Addon configuration details.

Returns:The configurations of this Addon.
Return type:list[oci.container_engine.models.AddonConfiguration]
current_installed_version

Gets the current_installed_version of this Addon. current installed version of the addon

Returns:The current_installed_version of this Addon.
Return type:str
lifecycle_state

[Required] Gets the lifecycle_state of this Addon. The state of the addon.

Allowed values for this property are: “CREATING”, “ACTIVE”, “DELETING”, “DELETED”, “UPDATING”, “NEEDS_ATTENTION”, “FAILED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The lifecycle_state of this Addon.
Return type:str
name

[Required] Gets the name of this Addon. The name of the addon.

Returns:The name of this Addon.
Return type:str
time_created

Gets the time_created of this Addon. The time the cluster was created.

Returns:The time_created of this Addon.
Return type:datetime
version

Gets the version of this Addon. selected addon version, or null indicates autoUpdate

Returns:The version of this Addon.
Return type:str