SysadminEventData

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

Bases: object

Data related to the sysadmin event.

Attributes:

RESOLUTION_STATUS_FAILED

A constant which can be used with the resolution_status property of a SysadminEventData.

RESOLUTION_STATUS_SUCCEEDED

A constant which can be used with the resolution_status property of a SysadminEventData.

additional_details

Gets the additional_details of this SysadminEventData.

attempted_resolutions

[Required] Gets the attempted_resolutions of this SysadminEventData.

error_cause

[Required] Gets the error_cause of this SysadminEventData.

error_log

[Required] Gets the error_log of this SysadminEventData.

error_summary

Gets the error_summary of this SysadminEventData.

resolution_log

[Required] Gets the resolution_log of this SysadminEventData.

resolution_status

[Required] Gets the resolution_status of this SysadminEventData.

Methods:

__init__(**kwargs)

Initializes a new SysadminEventData object with values from keyword arguments.

RESOLUTION_STATUS_FAILED = 'FAILED'

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

RESOLUTION_STATUS_SUCCEEDED = 'SUCCEEDED'

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

__init__(**kwargs)

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

Parameters
  • error_summary (str) – The value to assign to the error_summary property of this SysadminEventData.

  • error_cause (str) – The value to assign to the error_cause property of this SysadminEventData.

  • error_log (str) – The value to assign to the error_log property of this SysadminEventData.

  • attempted_resolutions (list[str]) – The value to assign to the attempted_resolutions property of this SysadminEventData.

  • resolution_status (str) – The value to assign to the resolution_status property of this SysadminEventData. 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’.

  • resolution_log (str) – The value to assign to the resolution_log property of this SysadminEventData.

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

property additional_details

Gets the additional_details of this SysadminEventData.

Returns

The additional_details of this SysadminEventData.

Return type

oci.os_management_hub.models.WorkRequestEventDataAdditionalDetails

property attempted_resolutions

[Required] Gets the attempted_resolutions of this SysadminEventData. The actions used to attempt fixing the error.

Returns

The attempted_resolutions of this SysadminEventData.

Return type

list[str]

property error_cause

[Required] Gets the error_cause of this SysadminEventData. The commands executed by the agent that caused the error.

Returns

The error_cause of this SysadminEventData.

Return type

str

property error_log

[Required] Gets the error_log of this SysadminEventData. The output log of the error.

Returns

The error_log of this SysadminEventData.

Return type

str

property error_summary

Gets the error_summary of this SysadminEventData. Brief description on how this error is categorized.

Returns

The error_summary of this SysadminEventData.

Return type

str

property resolution_log

[Required] Gets the resolution_log of this SysadminEventData. The log output after the resolutions.

Returns

The resolution_log of this SysadminEventData.

Return type

str

property resolution_status

[Required] Gets the resolution_status of this SysadminEventData. Indicates if the event succeeded.

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 resolution_status of this SysadminEventData.

Return type

str