BdsSoftwareUpdate¶
-
class
oci.bds.models.
BdsSoftwareUpdate
(**kwargs)¶ Bases:
oci.bds.models.software_update.SoftwareUpdate
Details about the given BDS type of software update. Previously known as Micro Service Patch.
Attributes
LIFECYCLE_STATE_CANCELED
str(object=’’) -> str LIFECYCLE_STATE_FAILED
str(object=’’) -> str LIFECYCLE_STATE_IN_PROGRESS
str(object=’’) -> str LIFECYCLE_STATE_SUCCEEDED
str(object=’’) -> str LIFECYCLE_STATE_WAITING
str(object=’’) -> str SOFTWARE_UPDATE_TYPE_BDS
str(object=’’) -> str 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_due
[Required] Gets the time_due of this BdsSoftwareUpdate. time_released
[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'¶
-
LIFECYCLE_STATE_FAILED
= 'FAILED'¶
-
LIFECYCLE_STATE_IN_PROGRESS
= 'IN_PROGRESS'¶
-
LIFECYCLE_STATE_SUCCEEDED
= 'SUCCEEDED'¶
-
LIFECYCLE_STATE_WAITING
= 'WAITING'¶
-
SOFTWARE_UPDATE_TYPE_BDS
= 'BDS'¶
-
__init__
(**kwargs)¶ Initializes a new BdsSoftwareUpdate object with values from keyword arguments. The default value of the
software_update_type
attribute of this class isBDS
and 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.
-
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_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
-
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
-