DatabaseConfigurationMetricGroup

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

Bases: object

Supported configuration metric groups for database capacity planning service.

Attributes

METRIC_NAME_DB_EXTERNAL_INSTANCE A constant which can be used with the metric_name property of a DatabaseConfigurationMetricGroup.
METRIC_NAME_DB_EXTERNAL_PROPERTIES A constant which can be used with the metric_name property of a DatabaseConfigurationMetricGroup.
METRIC_NAME_DB_OS_CONFIG_INSTANCE A constant which can be used with the metric_name property of a DatabaseConfigurationMetricGroup.
metric_name [Required] Gets the metric_name of this DatabaseConfigurationMetricGroup.
time_collected Gets the time_collected of this DatabaseConfigurationMetricGroup.

Methods

__init__(**kwargs) Initializes a new DatabaseConfigurationMetricGroup 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.
METRIC_NAME_DB_EXTERNAL_INSTANCE = 'DB_EXTERNAL_INSTANCE'

A constant which can be used with the metric_name property of a DatabaseConfigurationMetricGroup. This constant has a value of “DB_EXTERNAL_INSTANCE”

METRIC_NAME_DB_EXTERNAL_PROPERTIES = 'DB_EXTERNAL_PROPERTIES'

A constant which can be used with the metric_name property of a DatabaseConfigurationMetricGroup. This constant has a value of “DB_EXTERNAL_PROPERTIES”

METRIC_NAME_DB_OS_CONFIG_INSTANCE = 'DB_OS_CONFIG_INSTANCE'

A constant which can be used with the metric_name property of a DatabaseConfigurationMetricGroup. This constant has a value of “DB_OS_CONFIG_INSTANCE”

__init__(**kwargs)

Initializes a new DatabaseConfigurationMetricGroup 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:
  • metric_name (str) – The value to assign to the metric_name property of this DatabaseConfigurationMetricGroup. Allowed values for this property are: “DB_EXTERNAL_PROPERTIES”, “DB_EXTERNAL_INSTANCE”, “DB_OS_CONFIG_INSTANCE”
  • time_collected (datetime) – The value to assign to the time_collected property of this DatabaseConfigurationMetricGroup.
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.

metric_name

[Required] Gets the metric_name of this DatabaseConfigurationMetricGroup. Name of the metric group.

Allowed values for this property are: “DB_EXTERNAL_PROPERTIES”, “DB_EXTERNAL_INSTANCE”, “DB_OS_CONFIG_INSTANCE”

Returns:The metric_name of this DatabaseConfigurationMetricGroup.
Return type:str
time_collected

Gets the time_collected of this DatabaseConfigurationMetricGroup. Collection timestamp Example: “2020-05-06T00:00:00.000Z”

Returns:The time_collected of this DatabaseConfigurationMetricGroup.
Return type:datetime