FunctionField

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

Bases: AbstractField

Field outlining queryString aggregate function entries.

Attributes:

NAME_FIELD

A constant which can be used with the name property of a AbstractField.

NAME_FIELDS

A constant which can be used with the name property of a AbstractField.

NAME_FUNCTION

A constant which can be used with the name property of a AbstractField.

NAME_SORT

A constant which can be used with the name property of a AbstractField.

VALUE_TYPE_BOOLEAN

A constant which can be used with the value_type property of a AbstractField.

VALUE_TYPE_DOUBLE

A constant which can be used with the value_type property of a AbstractField.

VALUE_TYPE_FACET

A constant which can be used with the value_type property of a AbstractField.

VALUE_TYPE_FLOAT

A constant which can be used with the value_type property of a AbstractField.

VALUE_TYPE_INTEGER

A constant which can be used with the value_type property of a AbstractField.

VALUE_TYPE_LONG

A constant which can be used with the value_type property of a AbstractField.

VALUE_TYPE_STRING

A constant which can be used with the value_type property of a AbstractField.

VALUE_TYPE_TABLE

A constant which can be used with the value_type property of a AbstractField.

VALUE_TYPE_TIMESTAMP

A constant which can be used with the value_type property of a AbstractField.

alias

Gets the alias of this AbstractField.

arguments

Gets the arguments of this FunctionField.

display_name

Gets the display_name of this AbstractField.

filter_query_string

Gets the filter_query_string of this AbstractField.

function

Gets the function of this FunctionField.

internal_name

Gets the internal_name of this AbstractField.

is_declared

Gets the is_declared of this AbstractField.

is_duration

Gets the is_duration of this AbstractField.

is_groupable

Gets the is_groupable of this AbstractField.

name

[Required] Gets the name of this AbstractField.

original_display_names

Gets the original_display_names of this AbstractField.

unit_type

Gets the unit_type of this AbstractField.

value_type

Gets the value_type of this AbstractField.

Methods:

__init__(**kwargs)

Initializes a new FunctionField 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.

NAME_FIELD = 'FIELD'

A constant which can be used with the name property of a AbstractField. This constant has a value of “FIELD”

NAME_FIELDS = 'FIELDS'

A constant which can be used with the name property of a AbstractField. This constant has a value of “FIELDS”

NAME_FUNCTION = 'FUNCTION'

A constant which can be used with the name property of a AbstractField. This constant has a value of “FUNCTION”

NAME_SORT = 'SORT'

A constant which can be used with the name property of a AbstractField. This constant has a value of “SORT”

VALUE_TYPE_BOOLEAN = 'BOOLEAN'

A constant which can be used with the value_type property of a AbstractField. This constant has a value of “BOOLEAN”

VALUE_TYPE_DOUBLE = 'DOUBLE'

A constant which can be used with the value_type property of a AbstractField. This constant has a value of “DOUBLE”

VALUE_TYPE_FACET = 'FACET'

A constant which can be used with the value_type property of a AbstractField. This constant has a value of “FACET”

VALUE_TYPE_FLOAT = 'FLOAT'

A constant which can be used with the value_type property of a AbstractField. This constant has a value of “FLOAT”

VALUE_TYPE_INTEGER = 'INTEGER'

A constant which can be used with the value_type property of a AbstractField. This constant has a value of “INTEGER”

VALUE_TYPE_LONG = 'LONG'

A constant which can be used with the value_type property of a AbstractField. This constant has a value of “LONG”

VALUE_TYPE_STRING = 'STRING'

A constant which can be used with the value_type property of a AbstractField. This constant has a value of “STRING”

VALUE_TYPE_TABLE = 'TABLE'

A constant which can be used with the value_type property of a AbstractField. This constant has a value of “TABLE”

VALUE_TYPE_TIMESTAMP = 'TIMESTAMP'

A constant which can be used with the value_type property of a AbstractField. This constant has a value of “TIMESTAMP”

__init__(**kwargs)

Initializes a new FunctionField object with values from keyword arguments. The default value of the name attribute of this class is FUNCTION and it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters
  • name (str) – The value to assign to the name property of this FunctionField. Allowed values for this property are: “FIELD”, “FIELDS”, “FUNCTION”, “SORT”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

  • display_name (str) – The value to assign to the display_name property of this FunctionField.

  • is_declared (bool) – The value to assign to the is_declared property of this FunctionField.

  • original_display_names (list[str]) – The value to assign to the original_display_names property of this FunctionField.

  • internal_name (str) – The value to assign to the internal_name property of this FunctionField.

  • value_type (str) – The value to assign to the value_type property of this FunctionField. Allowed values for this property are: “BOOLEAN”, “STRING”, “DOUBLE”, “FLOAT”, “LONG”, “INTEGER”, “TIMESTAMP”, “FACET”, “TABLE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

  • is_groupable (bool) – The value to assign to the is_groupable property of this FunctionField.

  • is_duration (bool) – The value to assign to the is_duration property of this FunctionField.

  • alias (str) – The value to assign to the alias property of this FunctionField.

  • filter_query_string (str) – The value to assign to the filter_query_string property of this FunctionField.

  • unit_type (str) – The value to assign to the unit_type property of this FunctionField.

  • function (str) – The value to assign to the function property of this FunctionField.

  • arguments (list[oci.log_analytics.models.Argument]) – The value to assign to the arguments property of this FunctionField.

property alias

Gets the alias of this AbstractField. Alias of field if renamed by queryStrng.

Returns

The alias of this AbstractField.

Return type

str

property arguments

Gets the arguments of this FunctionField. List of function arguments if specified.

Returns

The arguments of this FunctionField.

Return type

list[oci.log_analytics.models.Argument]

property display_name

Gets the display_name of this AbstractField. Field display name - will be alias if field is renamed by queryStrng.

Returns

The display_name of this AbstractField.

Return type

str

property filter_query_string

Gets the filter_query_string of this AbstractField. Query used to derive this field if specified.

Returns

The filter_query_string of this AbstractField.

Return type

str

property function

Gets the function of this FunctionField. Name of the aggregate function.

Returns

The function of this FunctionField.

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 internal_name

Gets the internal_name of this AbstractField. Internal identifier for the field.

Returns

The internal_name of this AbstractField.

Return type

str

property is_declared

Gets the is_declared of this AbstractField. Field denoting if this is a declaration of the field in the queryString.

Returns

The is_declared of this AbstractField.

Return type

bool

property is_duration

Gets the is_duration of this AbstractField. Identifies if this field format is a duration.

Returns

The is_duration of this AbstractField.

Return type

bool

property is_groupable

Gets the is_groupable of this AbstractField. Identifies if this field can be used as a grouping field in any grouping command.

Returns

The is_groupable of this AbstractField.

Return type

bool

property name

[Required] Gets the name of this AbstractField. Field type classification.

Allowed values for this property are: “FIELD”, “FIELDS”, “FUNCTION”, “SORT”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns

The name of this AbstractField.

Return type

str

property original_display_names

Gets the original_display_names of this AbstractField. Same as displayName unless field renamed in which case this will hold the original display names for the field across all renames.

Returns

The original_display_names of this AbstractField.

Return type

list[str]

property unit_type

Gets the unit_type of this AbstractField. Field denoting field unit type.

Returns

The unit_type of this AbstractField.

Return type

str

property value_type

Gets the value_type of this AbstractField. Field denoting field data type.

Allowed values for this property are: “BOOLEAN”, “STRING”, “DOUBLE”, “FLOAT”, “LONG”, “INTEGER”, “TIMESTAMP”, “FACET”, “TABLE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns

The value_type of this AbstractField.

Return type

str