EntityDiscovered

class oci.database_management.models.EntityDiscovered(**kwargs)

Bases: object

The details of the base entity discovery.

Attributes

DISCOVER_STATUS_DISCOVERING A constant which can be used with the discover_status property of a EntityDiscovered.
DISCOVER_STATUS_NEW_DISCOVERED A constant which can be used with the discover_status property of a EntityDiscovered.
DISCOVER_STATUS_NOT_FOUND A constant which can be used with the discover_status property of a EntityDiscovered.
DISCOVER_STATUS_PREV_DISCOVERED A constant which can be used with the discover_status property of a EntityDiscovered.
ENTITY_TYPE_DATABASE_SYSTEM_DISCOVER_SUMMARY A constant which can be used with the entity_type property of a EntityDiscovered.
ENTITY_TYPE_INFRASTRUCTURE_DISCOVER A constant which can be used with the entity_type property of a EntityDiscovered.
ENTITY_TYPE_INFRASTRUCTURE_DISCOVER_SUMMARY A constant which can be used with the entity_type property of a EntityDiscovered.
ENTITY_TYPE_STORAGE_GRID_DISCOVER_SUMMARY A constant which can be used with the entity_type property of a EntityDiscovered.
ENTITY_TYPE_STORAGE_SERVER_DISCOVER_SUMMARY A constant which can be used with the entity_type property of a EntityDiscovered.
agent_id Gets the agent_id of this EntityDiscovered.
connector_id Gets the connector_id of this EntityDiscovered.
discover_error_code Gets the discover_error_code of this EntityDiscovered.
discover_error_msg Gets the discover_error_msg of this EntityDiscovered.
discover_status Gets the discover_status of this EntityDiscovered.
display_name [Required] Gets the display_name of this EntityDiscovered.
entity_type [Required] Gets the entity_type of this EntityDiscovered.
id Gets the id of this EntityDiscovered.
internal_id Gets the internal_id of this EntityDiscovered.
status Gets the status of this EntityDiscovered.
version Gets the version of this EntityDiscovered.

Methods

__init__(**kwargs) Initializes a new EntityDiscovered 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.
DISCOVER_STATUS_DISCOVERING = 'DISCOVERING'

A constant which can be used with the discover_status property of a EntityDiscovered. This constant has a value of “DISCOVERING”

DISCOVER_STATUS_NEW_DISCOVERED = 'NEW_DISCOVERED'

A constant which can be used with the discover_status property of a EntityDiscovered. This constant has a value of “NEW_DISCOVERED”

DISCOVER_STATUS_NOT_FOUND = 'NOT_FOUND'

A constant which can be used with the discover_status property of a EntityDiscovered. This constant has a value of “NOT_FOUND”

DISCOVER_STATUS_PREV_DISCOVERED = 'PREV_DISCOVERED'

A constant which can be used with the discover_status property of a EntityDiscovered. This constant has a value of “PREV_DISCOVERED”

ENTITY_TYPE_DATABASE_SYSTEM_DISCOVER_SUMMARY = 'DATABASE_SYSTEM_DISCOVER_SUMMARY'

A constant which can be used with the entity_type property of a EntityDiscovered. This constant has a value of “DATABASE_SYSTEM_DISCOVER_SUMMARY”

ENTITY_TYPE_INFRASTRUCTURE_DISCOVER = 'INFRASTRUCTURE_DISCOVER'

A constant which can be used with the entity_type property of a EntityDiscovered. This constant has a value of “INFRASTRUCTURE_DISCOVER”

ENTITY_TYPE_INFRASTRUCTURE_DISCOVER_SUMMARY = 'INFRASTRUCTURE_DISCOVER_SUMMARY'

A constant which can be used with the entity_type property of a EntityDiscovered. This constant has a value of “INFRASTRUCTURE_DISCOVER_SUMMARY”

ENTITY_TYPE_STORAGE_GRID_DISCOVER_SUMMARY = 'STORAGE_GRID_DISCOVER_SUMMARY'

A constant which can be used with the entity_type property of a EntityDiscovered. This constant has a value of “STORAGE_GRID_DISCOVER_SUMMARY”

ENTITY_TYPE_STORAGE_SERVER_DISCOVER_SUMMARY = 'STORAGE_SERVER_DISCOVER_SUMMARY'

A constant which can be used with the entity_type property of a EntityDiscovered. This constant has a value of “STORAGE_SERVER_DISCOVER_SUMMARY”

__init__(**kwargs)

Initializes a new EntityDiscovered object with values from keyword arguments. This class has the following subclasses and if you are using this class as input to a service operations then you should favor using a subclass over the base class:

The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • id (str) – The value to assign to the id property of this EntityDiscovered.
  • agent_id (str) – The value to assign to the agent_id property of this EntityDiscovered.
  • connector_id (str) – The value to assign to the connector_id property of this EntityDiscovered.
  • display_name (str) – The value to assign to the display_name property of this EntityDiscovered.
  • version (str) – The value to assign to the version property of this EntityDiscovered.
  • internal_id (str) – The value to assign to the internal_id property of this EntityDiscovered.
  • status (str) – The value to assign to the status property of this EntityDiscovered.
  • discover_status (str) – The value to assign to the discover_status property of this EntityDiscovered. Allowed values for this property are: “PREV_DISCOVERED”, “NEW_DISCOVERED”, “NOT_FOUND”, “DISCOVERING”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • discover_error_code (str) – The value to assign to the discover_error_code property of this EntityDiscovered.
  • discover_error_msg (str) – The value to assign to the discover_error_msg property of this EntityDiscovered.
  • entity_type (str) – The value to assign to the entity_type property of this EntityDiscovered. Allowed values for this property are: “STORAGE_SERVER_DISCOVER_SUMMARY”, “STORAGE_GRID_DISCOVER_SUMMARY”, “DATABASE_SYSTEM_DISCOVER_SUMMARY”, “INFRASTRUCTURE_DISCOVER_SUMMARY”, “INFRASTRUCTURE_DISCOVER”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
agent_id

Gets the agent_id of this EntityDiscovered. The OCID of the agent used for monitoring.

Returns:The agent_id of this EntityDiscovered.
Return type:str
connector_id

Gets the connector_id of this EntityDiscovered. The OCID of the associated connector.

Returns:The connector_id of this EntityDiscovered.
Return type:str
discover_error_code

Gets the discover_error_code of this EntityDiscovered. The error code of the discovery.

Returns:The discover_error_code of this EntityDiscovered.
Return type:str
discover_error_msg

Gets the discover_error_msg of this EntityDiscovered. The error message of the discovery.

Returns:The discover_error_msg of this EntityDiscovered.
Return type:str
discover_status

Gets the discover_status of this EntityDiscovered. The status of the entity discovery.

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

Returns:The discover_status of this EntityDiscovered.
Return type:str
display_name

[Required] Gets the display_name of this EntityDiscovered. The name of the entity.

Returns:The display_name of this EntityDiscovered.
Return type:str
entity_type

[Required] Gets the entity_type of this EntityDiscovered. The type of discovered entities.

Allowed values for this property are: “STORAGE_SERVER_DISCOVER_SUMMARY”, “STORAGE_GRID_DISCOVER_SUMMARY”, “DATABASE_SYSTEM_DISCOVER_SUMMARY”, “INFRASTRUCTURE_DISCOVER_SUMMARY”, “INFRASTRUCTURE_DISCOVER”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The entity_type of this EntityDiscovered.
Return type:str
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.

id

Gets the id of this EntityDiscovered. The OCID of the entity discovered.

Returns:The id of this EntityDiscovered.
Return type:str
internal_id

Gets the internal_id of this EntityDiscovered. The internal identifier of the entity.

Returns:The internal_id of this EntityDiscovered.
Return type:str
status

Gets the status of this EntityDiscovered. The status of the entity.

Returns:The status of this EntityDiscovered.
Return type:str
version

Gets the version of this EntityDiscovered. The version of the entity.

Returns:The version of this EntityDiscovered.
Return type:str