JmxUpdateQueryProperties¶
- class oci.stack_monitoring.models.JmxUpdateQueryProperties(**kwargs)¶
Bases:
MetricExtensionUpdateQueryPropertiesQuery Properties applicable to JMX type of collection method
Attributes:
A constant which can be used with the collection_method property of a MetricExtensionUpdateQueryProperties.
A constant which can be used with the collection_method property of a MetricExtensionUpdateQueryProperties.
A constant which can be used with the collection_method property of a MetricExtensionUpdateQueryProperties.
A constant which can be used with the collection_method property of a MetricExtensionUpdateQueryProperties.
Gets the auto_row_prefix of this JmxUpdateQueryProperties.
[Required] Gets the collection_method of this MetricExtensionUpdateQueryProperties.
Gets the identity_metric of this JmxUpdateQueryProperties.
Gets the is_metric_service_enabled of this JmxUpdateQueryProperties.
Gets the jmx_attributes of this JmxUpdateQueryProperties.
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_HTTP = 'HTTP'¶
A constant which can be used with the collection_method property of a MetricExtensionUpdateQueryProperties. This constant has a value of “HTTP”
- 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 JmxUpdateQueryProperties object with values from keyword arguments. The default value of the
collection_methodattribute of this class isJMXand 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”, “HTTP”
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.
- property 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
- property 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”, “HTTP”
- 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.
- property 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
- property 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
- property 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
- property 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