SoftwareSourceEventData

class oci.os_management_hub.models.SoftwareSourceEventData(**kwargs)

Bases: object

Provides additional information for a software source event.

Attributes:

OPERATION_TYPE_CREATE_SOFTWARE_SOURCE

A constant which can be used with the operation_type property of a SoftwareSourceEventData.

OPERATION_TYPE_DISABLE_MODULE_STREAMS

A constant which can be used with the operation_type property of a SoftwareSourceEventData.

OPERATION_TYPE_ENABLE_MODULE_STREAMS

A constant which can be used with the operation_type property of a SoftwareSourceEventData.

OPERATION_TYPE_INSTALL_MODULE_PROFILE

A constant which can be used with the operation_type property of a SoftwareSourceEventData.

OPERATION_TYPE_LIFECYCLE_PROMOTION

A constant which can be used with the operation_type property of a SoftwareSourceEventData.

OPERATION_TYPE_REMOVE_MODULE_PROFILES

A constant which can be used with the operation_type property of a SoftwareSourceEventData.

OPERATION_TYPE_SET_SOFTWARE_SOURCES

A constant which can be used with the operation_type property of a SoftwareSourceEventData.

OPERATION_TYPE_SWITCH_MODULE_STREAM

A constant which can be used with the operation_type property of a SoftwareSourceEventData.

OPERATION_TYPE_UPDATE_SOFTWARE_SOURCE

A constant which can be used with the operation_type property of a SoftwareSourceEventData.

STATUS_FAILED

A constant which can be used with the status property of a SoftwareSourceEventData.

STATUS_SUCCEEDED

A constant which can be used with the status property of a SoftwareSourceEventData.

additional_details

Gets the additional_details of this SoftwareSourceEventData.

operation_type

[Required] Gets the operation_type of this SoftwareSourceEventData.

status

[Required] Gets the status of this SoftwareSourceEventData.

Methods:

__init__(**kwargs)

Initializes a new SoftwareSourceEventData object with values from keyword arguments.

OPERATION_TYPE_CREATE_SOFTWARE_SOURCE = 'CREATE_SOFTWARE_SOURCE'

A constant which can be used with the operation_type property of a SoftwareSourceEventData. This constant has a value of “CREATE_SOFTWARE_SOURCE”

OPERATION_TYPE_DISABLE_MODULE_STREAMS = 'DISABLE_MODULE_STREAMS'

A constant which can be used with the operation_type property of a SoftwareSourceEventData. This constant has a value of “DISABLE_MODULE_STREAMS”

OPERATION_TYPE_ENABLE_MODULE_STREAMS = 'ENABLE_MODULE_STREAMS'

A constant which can be used with the operation_type property of a SoftwareSourceEventData. This constant has a value of “ENABLE_MODULE_STREAMS”

OPERATION_TYPE_INSTALL_MODULE_PROFILE = 'INSTALL_MODULE_PROFILE'

A constant which can be used with the operation_type property of a SoftwareSourceEventData. This constant has a value of “INSTALL_MODULE_PROFILE”

OPERATION_TYPE_LIFECYCLE_PROMOTION = 'LIFECYCLE_PROMOTION'

A constant which can be used with the operation_type property of a SoftwareSourceEventData. This constant has a value of “LIFECYCLE_PROMOTION”

OPERATION_TYPE_REMOVE_MODULE_PROFILES = 'REMOVE_MODULE_PROFILES'

A constant which can be used with the operation_type property of a SoftwareSourceEventData. This constant has a value of “REMOVE_MODULE_PROFILES”

OPERATION_TYPE_SET_SOFTWARE_SOURCES = 'SET_SOFTWARE_SOURCES'

A constant which can be used with the operation_type property of a SoftwareSourceEventData. This constant has a value of “SET_SOFTWARE_SOURCES”

OPERATION_TYPE_SWITCH_MODULE_STREAM = 'SWITCH_MODULE_STREAM'

A constant which can be used with the operation_type property of a SoftwareSourceEventData. This constant has a value of “SWITCH_MODULE_STREAM”

OPERATION_TYPE_UPDATE_SOFTWARE_SOURCE = 'UPDATE_SOFTWARE_SOURCE'

A constant which can be used with the operation_type property of a SoftwareSourceEventData. This constant has a value of “UPDATE_SOFTWARE_SOURCE”

STATUS_FAILED = 'FAILED'

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

STATUS_SUCCEEDED = 'SUCCEEDED'

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

__init__(**kwargs)

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

Parameters
  • operation_type (str) – The value to assign to the operation_type property of this SoftwareSourceEventData. Allowed values for this property are: “ENABLE_MODULE_STREAMS”, “DISABLE_MODULE_STREAMS”, “SWITCH_MODULE_STREAM”, “INSTALL_MODULE_PROFILE”, “REMOVE_MODULE_PROFILES”, “SET_SOFTWARE_SOURCES”, “UPDATE_SOFTWARE_SOURCE”, “CREATE_SOFTWARE_SOURCE”, “LIFECYCLE_PROMOTION”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

  • status (str) – The value to assign to the status property of this SoftwareSourceEventData. Allowed values for this property are: “SUCCEEDED”, “FAILED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

  • additional_details (oci.os_management_hub.models.WorkRequestEventDataAdditionalDetails) – The value to assign to the additional_details property of this SoftwareSourceEventData.

property additional_details

Gets the additional_details of this SoftwareSourceEventData.

Returns

The additional_details of this SoftwareSourceEventData.

Return type

oci.os_management_hub.models.WorkRequestEventDataAdditionalDetails

property operation_type

[Required] Gets the operation_type of this SoftwareSourceEventData. Type of software source operation.

Allowed values for this property are: “ENABLE_MODULE_STREAMS”, “DISABLE_MODULE_STREAMS”, “SWITCH_MODULE_STREAM”, “INSTALL_MODULE_PROFILE”, “REMOVE_MODULE_PROFILES”, “SET_SOFTWARE_SOURCES”, “UPDATE_SOFTWARE_SOURCE”, “CREATE_SOFTWARE_SOURCE”, “LIFECYCLE_PROMOTION”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns

The operation_type of this SoftwareSourceEventData.

Return type

str

property status

[Required] Gets the status of this SoftwareSourceEventData. Status of the software source operation.

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

Returns

The status of this SoftwareSourceEventData.

Return type

str