MetricExtensionUpdateQueryProperties

class oci.stack_monitoring.models.MetricExtensionUpdateQueryProperties(**kwargs)

Bases: object

Collection method and query properties details of metric extension during update

Attributes

COLLECTION_METHOD_JMX A constant which can be used with the collection_method property of a MetricExtensionUpdateQueryProperties.
COLLECTION_METHOD_OS_COMMAND A constant which can be used with the collection_method property of a MetricExtensionUpdateQueryProperties.
COLLECTION_METHOD_SQL A constant which can be used with the collection_method property of a MetricExtensionUpdateQueryProperties.
collection_method [Required] Gets the collection_method of this MetricExtensionUpdateQueryProperties.

Methods

__init__(**kwargs) Initializes a new MetricExtensionUpdateQueryProperties 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.
COLLECTION_METHOD_JMX = 'JMX'

A constant which can be used with the collection_method property of a MetricExtensionUpdateQueryProperties. This constant has a value of “JMX”

COLLECTION_METHOD_OS_COMMAND = 'OS_COMMAND'

A constant which can be used with the collection_method property of a MetricExtensionUpdateQueryProperties. This constant has a value of “OS_COMMAND”

COLLECTION_METHOD_SQL = 'SQL'

A constant which can be used with the collection_method property of a MetricExtensionUpdateQueryProperties. This constant has a value of “SQL”

__init__(**kwargs)

Initializes a new MetricExtensionUpdateQueryProperties 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:collection_method (str) – The value to assign to the collection_method property of this MetricExtensionUpdateQueryProperties. Allowed values for this property are: “OS_COMMAND”, “SQL”, “JMX”
collection_method

[Required] Gets the collection_method of this MetricExtensionUpdateQueryProperties. Type of possible collection methods.

Allowed values for this property are: “OS_COMMAND”, “SQL”, “JMX”

Returns:The collection_method of this MetricExtensionUpdateQueryProperties.
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.