DimensionField

class oci.log_analytics.models.DimensionField(**kwargs)

Bases: object

Metric collection dimension field.

Methods

__init__(**kwargs) Initializes a new DimensionField object with values from keyword arguments.

Attributes

dimension_name Gets the dimension_name of this DimensionField.
query_field_name [Required] Gets the query_field_name of this DimensionField.
__init__(**kwargs)

Initializes a new DimensionField object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • query_field_name (str) – The value to assign to the query_field_name property of this DimensionField.
  • dimension_name (str) – The value to assign to the dimension_name property of this DimensionField.
dimension_name

Gets the dimension_name of this DimensionField. Dimension name to be stored with the metric.

Returns:The dimension_name of this DimensionField.
Return type:str
query_field_name

[Required] Gets the query_field_name of this DimensionField. Output field in the query to be used as the source for the metric dimension.

Returns:The query_field_name of this DimensionField.
Return type:str