EnabledInsightDetails

class oci.psql.models.EnabledInsightDetails(**kwargs)

Bases: OdspInsightDetails

Enable or Update Existing Insights for the database system.

Attributes:

KIND_DISABLED

A constant which can be used with the kind property of a OdspInsightDetails.

KIND_ENABLED

A constant which can be used with the kind property of a OdspInsightDetails.

kind

[Required] Gets the kind of this OdspInsightDetails.

odsp_insight_list

[Required] Gets the odsp_insight_list of this EnabledInsightDetails.

Methods:

__init__(**kwargs)

Initializes a new EnabledInsightDetails 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.

KIND_DISABLED = 'DISABLED'

A constant which can be used with the kind property of a OdspInsightDetails. This constant has a value of “DISABLED”

KIND_ENABLED = 'ENABLED'

A constant which can be used with the kind property of a OdspInsightDetails. This constant has a value of “ENABLED”

__init__(**kwargs)

Initializes a new EnabledInsightDetails object with values from keyword arguments. The default value of the kind attribute of this class is ENABLED and it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters
  • kind (str) – The value to assign to the kind property of this EnabledInsightDetails. Allowed values for this property are: “ENABLED”, “DISABLED”

  • odsp_insight_list (list[oci.psql.models.OdspInsight]) – The value to assign to the odsp_insight_list property of this EnabledInsightDetails.

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.

property kind

[Required] Gets the kind of this OdspInsightDetails. Specifies the management of Insight for the dbSystem.

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

Returns

The kind of this OdspInsightDetails.

Return type

str

property odsp_insight_list

[Required] Gets the odsp_insight_list of this EnabledInsightDetails. List of ODSP Insight and their configurations.

Returns

The odsp_insight_list of this EnabledInsightDetails.

Return type

list[oci.psql.models.OdspInsight]