BdsSoftwareUpdate¶
- class oci.bds.models.BdsSoftwareUpdate(**kwargs)¶
Bases:
SoftwareUpdateDetails about the given BDS type of software update. Previously known as Micro Service Patch.
Attributes:
A constant which can be used with the lifecycle_state property of a SoftwareUpdate.
A constant which can be used with the lifecycle_state property of a SoftwareUpdate.
A constant which can be used with the lifecycle_state property of a SoftwareUpdate.
A constant which can be used with the lifecycle_state property of a SoftwareUpdate.
A constant which can be used with the lifecycle_state property of a SoftwareUpdate.
A constant which can be used with the software_update_type property of a SoftwareUpdate.
[Required] Gets the lifecycle_state of this SoftwareUpdate.
[Required] Gets the software_update_key of this SoftwareUpdate.
[Required] Gets the software_update_type of this SoftwareUpdate.
[Required] Gets the software_update_version of this SoftwareUpdate.
[Required] Gets the time_due of this BdsSoftwareUpdate.
[Required] Gets the time_released of this SoftwareUpdate.
Methods:
__init__(**kwargs)Initializes a new BdsSoftwareUpdate 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 BdsSoftwareUpdate object with values from keyword arguments. The default value of the
software_update_typeattribute of this class isBDSand it should not be changed. 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 BdsSoftwareUpdate.
software_update_version (str) – The value to assign to the software_update_version property of this BdsSoftwareUpdate.
time_released (datetime) – The value to assign to the time_released property of this BdsSoftwareUpdate.
software_update_type (str) – The value to assign to the software_update_type property of this BdsSoftwareUpdate. Allowed values for this property are: “BDS”
lifecycle_state (str) – The value to assign to the lifecycle_state property of this BdsSoftwareUpdate. Allowed values for this property are: “WAITING”, “IN_PROGRESS”, “SUCCEEDED”, “FAILED”, “CANCELED”
time_due (datetime) – The value to assign to the time_due property of this BdsSoftwareUpdate.
- 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.
- property 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
- property 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
- property 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
- property 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
- property time_due¶
[Required] Gets the time_due of this BdsSoftwareUpdate. The due date for the software update. Big Data Service will be updated automatically after this date.
- Returns
The time_due of this BdsSoftwareUpdate.
- Return type
datetime
- property 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