AddonSummary

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

Bases: object

The properties that define an addon summary.

Attributes

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

Methods

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

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

LIFECYCLE_STATE_CREATING = 'CREATING'

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

LIFECYCLE_STATE_DELETED = 'DELETED'

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

LIFECYCLE_STATE_DELETING = 'DELETING'

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

LIFECYCLE_STATE_FAILED = 'FAILED'

A constant which can be used with the lifecycle_state property of a AddonSummary. 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 AddonSummary. 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 AddonSummary. This constant has a value of “UPDATING”

__init__(**kwargs)

Initializes a new AddonSummary 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 AddonSummary.
  • version (str) – The value to assign to the version property of this AddonSummary.
  • current_installed_version (str) – The value to assign to the current_installed_version property of this AddonSummary.
  • time_created (datetime) – The value to assign to the time_created property of this AddonSummary.
  • lifecycle_state (str) – The value to assign to the lifecycle_state property of this AddonSummary. 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’.
  • addon_error (oci.container_engine.models.AddonError) – The value to assign to the addon_error property of this AddonSummary.
addon_error

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

Returns:The addon_error of this AddonSummary.
Return type:oci.container_engine.models.AddonError
current_installed_version

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

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

[Required] Gets the lifecycle_state of this AddonSummary. 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 AddonSummary.
Return type:str
name

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

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

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

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

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

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