MetricExtensionQueryProperties

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

Bases: object

Collection method and query properties details of metric extension

Attributes

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

Methods

__init__(**kwargs) Initializes a new MetricExtensionQueryProperties 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_HTTP = 'HTTP'

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

COLLECTION_METHOD_JMX = 'JMX'

A constant which can be used with the collection_method property of a MetricExtensionQueryProperties. 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 MetricExtensionQueryProperties. 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 MetricExtensionQueryProperties. This constant has a value of “SQL”

__init__(**kwargs)

Initializes a new MetricExtensionQueryProperties 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 MetricExtensionQueryProperties. Allowed values for this property are: “OS_COMMAND”, “SQL”, “JMX”, “HTTP”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
collection_method

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

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

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