JmxUpdateQueryProperties

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

Bases: oci.stack_monitoring.models.metric_extension_update_query_properties.MetricExtensionUpdateQueryProperties

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 JmxUpdateQueryProperties.
collection_method [Required] Gets the collection_method of this MetricExtensionUpdateQueryProperties.
identity_metric Gets the identity_metric of this JmxUpdateQueryProperties.
is_metric_service_enabled Gets the is_metric_service_enabled of this JmxUpdateQueryProperties.
jmx_attributes Gets the jmx_attributes of this JmxUpdateQueryProperties.
managed_bean_query Gets the managed_bean_query of this JmxUpdateQueryProperties.

Methods

__init__(**kwargs) Initializes a new JmxUpdateQueryProperties 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 JmxUpdateQueryProperties 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 JmxUpdateQueryProperties. 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 JmxUpdateQueryProperties.
  • jmx_attributes (str) – The value to assign to the jmx_attributes property of this JmxUpdateQueryProperties.
  • identity_metric (str) – The value to assign to the identity_metric property of this JmxUpdateQueryProperties.
  • auto_row_prefix (str) – The value to assign to the auto_row_prefix property of this JmxUpdateQueryProperties.
  • is_metric_service_enabled (bool) – The value to assign to the is_metric_service_enabled property of this JmxUpdateQueryProperties.
auto_row_prefix

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

Returns:The auto_row_prefix of this JmxUpdateQueryProperties.
Return type:str
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.

identity_metric

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

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

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

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

Gets the jmx_attributes of this JmxUpdateQueryProperties. List of JMX attributes or Metric Service Table columns separated by semi-colon

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

Gets the managed_bean_query of this JmxUpdateQueryProperties. JMX Managed Bean Query or Metric Service Table name

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