JmxQueryProperties

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

Bases: oci.stack_monitoring.models.metric_extension_query_properties.MetricExtensionQueryProperties

Query Properties applicable to JMX type of collection method

Attributes

COLLECTION_METHOD_JMX str(object=’’) -> str
COLLECTION_METHOD_OS_COMMAND str(object=’’) -> str
COLLECTION_METHOD_SQL str(object=’’) -> str
auto_row_prefix Gets the auto_row_prefix of this JmxQueryProperties.
collection_method [Required] Gets the collection_method of this MetricExtensionQueryProperties.
identity_metric Gets the identity_metric of this JmxQueryProperties.
is_metric_service_enabled Gets the is_metric_service_enabled of this JmxQueryProperties.
jmx_attributes [Required] Gets the jmx_attributes of this JmxQueryProperties.
managed_bean_query [Required] Gets the managed_bean_query of this JmxQueryProperties.

Methods

__init__(**kwargs) Initializes a new JmxQueryProperties 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'
COLLECTION_METHOD_OS_COMMAND = 'OS_COMMAND'
COLLECTION_METHOD_SQL = 'SQL'
__init__(**kwargs)

Initializes a new JmxQueryProperties object with values from keyword arguments. The default value of the collection_method attribute of this class is JMX and it should not be changed. 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 JmxQueryProperties. Allowed values for this property are: “OS_COMMAND”, “SQL”, “JMX”
  • managed_bean_query (str) – The value to assign to the managed_bean_query property of this JmxQueryProperties.
  • jmx_attributes (str) – The value to assign to the jmx_attributes property of this JmxQueryProperties.
  • identity_metric (str) – The value to assign to the identity_metric property of this JmxQueryProperties.
  • auto_row_prefix (str) – The value to assign to the auto_row_prefix property of this JmxQueryProperties.
  • is_metric_service_enabled (bool) – The value to assign to the is_metric_service_enabled property of this JmxQueryProperties.
auto_row_prefix

Gets the auto_row_prefix of this JmxQueryProperties. Prefix for an auto generated metric, in case multiple rows with non unique key values are returned

Returns:The auto_row_prefix of this JmxQueryProperties.
Return type:str
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”, ‘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.

identity_metric

Gets the identity_metric of this JmxQueryProperties. Semi-colon separated list of key properties from Managed Bean ObjectName to be used as key metrics

Returns:The identity_metric of this JmxQueryProperties.
Return type:str
is_metric_service_enabled

Gets the is_metric_service_enabled of this JmxQueryProperties. Indicates if Metric Service is enabled on server domain

Returns:The is_metric_service_enabled of this JmxQueryProperties.
Return type:bool
jmx_attributes

[Required] Gets the jmx_attributes of this JmxQueryProperties. List of JMX attributes or Metric Service Table columns separated by semi-colon

Returns:The jmx_attributes of this JmxQueryProperties.
Return type:str
managed_bean_query

[Required] Gets the managed_bean_query of this JmxQueryProperties. JMX Managed Bean Query or Metric Service Table name

Returns:The managed_bean_query of this JmxQueryProperties.
Return type:str