SoftwareUpdate

class oci.bds.models.SoftwareUpdate(**kwargs)

Bases: object

Details about the given software update.

Attributes

LIFECYCLE_STATE_CANCELED A constant which can be used with the lifecycle_state property of a SoftwareUpdate.
LIFECYCLE_STATE_FAILED A constant which can be used with the lifecycle_state property of a SoftwareUpdate.
LIFECYCLE_STATE_IN_PROGRESS A constant which can be used with the lifecycle_state property of a SoftwareUpdate.
LIFECYCLE_STATE_SUCCEEDED A constant which can be used with the lifecycle_state property of a SoftwareUpdate.
LIFECYCLE_STATE_WAITING A constant which can be used with the lifecycle_state property of a SoftwareUpdate.
SOFTWARE_UPDATE_TYPE_BDS A constant which can be used with the software_update_type property of a SoftwareUpdate.
lifecycle_state [Required] Gets the lifecycle_state of this SoftwareUpdate.
software_update_key [Required] Gets the software_update_key of this SoftwareUpdate.
software_update_type [Required] Gets the software_update_type of this SoftwareUpdate.
software_update_version [Required] Gets the software_update_version of this SoftwareUpdate.
time_released [Required] Gets the time_released of this SoftwareUpdate.

Methods

__init__(**kwargs) Initializes a new SoftwareUpdate object with values from keyword arguments.
get_subtype(object_dictionary) Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.
LIFECYCLE_STATE_CANCELED = 'CANCELED'

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

LIFECYCLE_STATE_FAILED = 'FAILED'

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

LIFECYCLE_STATE_IN_PROGRESS = 'IN_PROGRESS'

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

LIFECYCLE_STATE_SUCCEEDED = 'SUCCEEDED'

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

LIFECYCLE_STATE_WAITING = 'WAITING'

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

SOFTWARE_UPDATE_TYPE_BDS = 'BDS'

A constant which can be used with the software_update_type property of a SoftwareUpdate. This constant has a value of “BDS”

__init__(**kwargs)

Initializes a new SoftwareUpdate object with values from keyword arguments. This class has the following subclasses and if you are using this class as input to a service operations then you should favor using a subclass over the base class:

The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • software_update_key (str) – The value to assign to the software_update_key property of this SoftwareUpdate.
  • software_update_version (str) – The value to assign to the software_update_version property of this SoftwareUpdate.
  • time_released (datetime) – The value to assign to the time_released property of this SoftwareUpdate.
  • software_update_type (str) – The value to assign to the software_update_type property of this SoftwareUpdate. Allowed values for this property are: “BDS”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • lifecycle_state (str) – The value to assign to the lifecycle_state property of this SoftwareUpdate. Allowed values for this property are: “WAITING”, “IN_PROGRESS”, “SUCCEEDED”, “FAILED”, “CANCELED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
static get_subtype(object_dictionary)

Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.

lifecycle_state

[Required] Gets the lifecycle_state of this SoftwareUpdate. The lifecycle state of the software update.

Allowed values for this property are: “WAITING”, “IN_PROGRESS”, “SUCCEEDED”, “FAILED”, “CANCELED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The lifecycle_state of this SoftwareUpdate.
Return type:str
software_update_key

[Required] Gets the software_update_key of this SoftwareUpdate. Unique identifier of a given software update

Returns:The software_update_key of this SoftwareUpdate.
Return type:str
software_update_type

[Required] Gets the software_update_type of this SoftwareUpdate. type of current software update. - Big Data Service’s micro service. BDS version will be changed after upgrade.

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

Returns:The software_update_type of this SoftwareUpdate.
Return type:str
software_update_version

[Required] Gets the software_update_version of this SoftwareUpdate. The version of the software update.

Returns:The software_update_version of this SoftwareUpdate.
Return type:str
time_released

[Required] Gets the time_released of this SoftwareUpdate. The time when the software update was released.

Returns:The time_released of this SoftwareUpdate.
Return type:datetime