AgentEventData¶
-
class
oci.os_management_hub.models.
AgentEventData
(**kwargs)¶ Bases:
object
Provides additional information for an agent event.
Attributes
OPERATION_TYPE_LIST_PACKAGES
A constant which can be used with the operation_type property of a AgentEventData. OPERATION_TYPE_SYNC_AGENT_CONFIG
A constant which can be used with the operation_type property of a AgentEventData. OPERATION_TYPE_UPLOAD_CONTENT
A constant which can be used with the operation_type property of a AgentEventData. STATUS_FAILED
A constant which can be used with the status property of a AgentEventData. STATUS_SUCCEEDED
A constant which can be used with the status property of a AgentEventData. additional_details
Gets the additional_details of this AgentEventData. operation_type
[Required] Gets the operation_type of this AgentEventData. status
[Required] Gets the status of this AgentEventData. Methods
__init__
(**kwargs)Initializes a new AgentEventData object with values from keyword arguments. -
OPERATION_TYPE_LIST_PACKAGES
= 'LIST_PACKAGES'¶ A constant which can be used with the operation_type property of a AgentEventData. This constant has a value of “LIST_PACKAGES”
-
OPERATION_TYPE_SYNC_AGENT_CONFIG
= 'SYNC_AGENT_CONFIG'¶ A constant which can be used with the operation_type property of a AgentEventData. This constant has a value of “SYNC_AGENT_CONFIG”
-
OPERATION_TYPE_UPLOAD_CONTENT
= 'UPLOAD_CONTENT'¶ A constant which can be used with the operation_type property of a AgentEventData. This constant has a value of “UPLOAD_CONTENT”
-
STATUS_FAILED
= 'FAILED'¶ A constant which can be used with the status property of a AgentEventData. This constant has a value of “FAILED”
-
STATUS_SUCCEEDED
= 'SUCCEEDED'¶ A constant which can be used with the status property of a AgentEventData. This constant has a value of “SUCCEEDED”
-
__init__
(**kwargs)¶ Initializes a new AgentEventData 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 AgentEventData. Allowed values for this property are: “LIST_PACKAGES”, “UPLOAD_CONTENT”, “SYNC_AGENT_CONFIG”, ‘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 AgentEventData. 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 AgentEventData.
-
additional_details
¶ Gets the additional_details of this AgentEventData.
Returns: The additional_details of this AgentEventData. Return type: oci.os_management_hub.models.WorkRequestEventDataAdditionalDetails
-
operation_type
¶ [Required] Gets the operation_type of this AgentEventData. Type of agent operation.
Allowed values for this property are: “LIST_PACKAGES”, “UPLOAD_CONTENT”, “SYNC_AGENT_CONFIG”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The operation_type of this AgentEventData. Return type: str
-
status
¶ [Required] Gets the status of this AgentEventData. Status of the agent 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 AgentEventData. Return type: str
-