ManagementAgentError

class oci.management_agent.models.ManagementAgentError(**kwargs)

Bases: object

Error Information.

Methods

__init__(**kwargs) Initializes a new ManagementAgentError object with values from keyword arguments.

Attributes

code [Required] Gets the code of this ManagementAgentError.
message [Required] Gets the message of this ManagementAgentError.
__init__(**kwargs)

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

Parameters:
  • code (str) – The value to assign to the code property of this ManagementAgentError.
  • message (str) – The value to assign to the message property of this ManagementAgentError.
code

[Required] Gets the code of this ManagementAgentError. A short error code that defines the error, meant for programmatic parsing.

Returns:The code of this ManagementAgentError.
Return type:str
message

[Required] Gets the message of this ManagementAgentError. A human-readable error string.

Returns:The message of this ManagementAgentError.
Return type:str