OpsiDataObjectSummary

class oci.opsi.models.OpsiDataObjectSummary(**kwargs)

Bases: object

Summary of an OPSI data object.

Attributes

DATA_OBJECT_TYPE_DATABASE_INSIGHTS_DATA_OBJECT A constant which can be used with the data_object_type property of a OpsiDataObjectSummary.
DATA_OBJECT_TYPE_EXADATA_INSIGHTS_DATA_OBJECT A constant which can be used with the data_object_type property of a OpsiDataObjectSummary.
DATA_OBJECT_TYPE_HOST_INSIGHTS_DATA_OBJECT A constant which can be used with the data_object_type property of a OpsiDataObjectSummary.
data_object_type [Required] Gets the data_object_type of this OpsiDataObjectSummary.
description Gets the description of this OpsiDataObjectSummary.
display_name [Required] Gets the display_name of this OpsiDataObjectSummary.
group_names Gets the group_names of this OpsiDataObjectSummary.
identifier [Required] Gets the identifier of this OpsiDataObjectSummary.
name Gets the name of this OpsiDataObjectSummary.

Methods

__init__(**kwargs) Initializes a new OpsiDataObjectSummary 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.
DATA_OBJECT_TYPE_DATABASE_INSIGHTS_DATA_OBJECT = 'DATABASE_INSIGHTS_DATA_OBJECT'

A constant which can be used with the data_object_type property of a OpsiDataObjectSummary. This constant has a value of “DATABASE_INSIGHTS_DATA_OBJECT”

DATA_OBJECT_TYPE_EXADATA_INSIGHTS_DATA_OBJECT = 'EXADATA_INSIGHTS_DATA_OBJECT'

A constant which can be used with the data_object_type property of a OpsiDataObjectSummary. This constant has a value of “EXADATA_INSIGHTS_DATA_OBJECT”

DATA_OBJECT_TYPE_HOST_INSIGHTS_DATA_OBJECT = 'HOST_INSIGHTS_DATA_OBJECT'

A constant which can be used with the data_object_type property of a OpsiDataObjectSummary. This constant has a value of “HOST_INSIGHTS_DATA_OBJECT”

__init__(**kwargs)

Initializes a new OpsiDataObjectSummary 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:
  • identifier (str) – The value to assign to the identifier property of this OpsiDataObjectSummary.
  • data_object_type (str) – The value to assign to the data_object_type property of this OpsiDataObjectSummary. Allowed values for this property are: “DATABASE_INSIGHTS_DATA_OBJECT”, “HOST_INSIGHTS_DATA_OBJECT”, “EXADATA_INSIGHTS_DATA_OBJECT”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • display_name (str) – The value to assign to the display_name property of this OpsiDataObjectSummary.
  • description (str) – The value to assign to the description property of this OpsiDataObjectSummary.
  • name (str) – The value to assign to the name property of this OpsiDataObjectSummary.
  • group_names (list[str]) – The value to assign to the group_names property of this OpsiDataObjectSummary.
data_object_type

[Required] Gets the data_object_type of this OpsiDataObjectSummary. Type of OPSI data object.

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

Returns:The data_object_type of this OpsiDataObjectSummary.
Return type:str
description

Gets the description of this OpsiDataObjectSummary. Description of OPSI data object.

Returns:The description of this OpsiDataObjectSummary.
Return type:str
display_name

[Required] Gets the display_name of this OpsiDataObjectSummary. User-friendly name of OPSI data object.

Returns:The display_name of this OpsiDataObjectSummary.
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.

group_names

Gets the group_names of this OpsiDataObjectSummary. Names of all the groups to which the data object belongs to.

Returns:The group_names of this OpsiDataObjectSummary.
Return type:list[str]
identifier

[Required] Gets the identifier of this OpsiDataObjectSummary. Unique identifier of OPSI data object.

Returns:The identifier of this OpsiDataObjectSummary.
Return type:str
name

Gets the name of this OpsiDataObjectSummary. Name of the data object, which can be used in data object queries just like how view names are used in a query.

Returns:The name of this OpsiDataObjectSummary.
Return type:str