PropertyDefinition¶
- class oci.log_analytics.models.PropertyDefinition(**kwargs)¶
Bases:
objectDefines an property of a macro, variable or query.
Attributes:
A constant which can be used with the type property of a PropertyDefinition.
A constant which can be used with the type property of a PropertyDefinition.
A constant which can be used with the type property of a PropertyDefinition.
A constant which can be used with the type property of a PropertyDefinition.
A constant which can be used with the type property of a PropertyDefinition.
A constant which can be used with the type property of a PropertyDefinition.
Gets the is_global of this PropertyDefinition.
Gets the name of this PropertyDefinition.
Gets the type of this PropertyDefinition.
Gets the value of this PropertyDefinition.
Methods:
__init__(**kwargs)Initializes a new PropertyDefinition object with values from keyword arguments.
- TYPE_DOUBLE = 'DOUBLE'¶
A constant which can be used with the type property of a PropertyDefinition. This constant has a value of “DOUBLE”
- TYPE_FLOAT = 'FLOAT'¶
A constant which can be used with the type property of a PropertyDefinition. This constant has a value of “FLOAT”
- TYPE_INTEGER = 'INTEGER'¶
A constant which can be used with the type property of a PropertyDefinition. This constant has a value of “INTEGER”
- TYPE_LONG = 'LONG'¶
A constant which can be used with the type property of a PropertyDefinition. This constant has a value of “LONG”
- TYPE_STRING = 'STRING'¶
A constant which can be used with the type property of a PropertyDefinition. This constant has a value of “STRING”
- TYPE_TIMESTAMP = 'TIMESTAMP'¶
A constant which can be used with the type property of a PropertyDefinition. This constant has a value of “TIMESTAMP”
- __init__(**kwargs)¶
Initializes a new PropertyDefinition object with values from keyword arguments. 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 PropertyDefinition.
value (str) – The value to assign to the value property of this PropertyDefinition.
type (str) – The value to assign to the type property of this PropertyDefinition. Allowed values for this property are: “STRING”, “DOUBLE”, “FLOAT”, “LONG”, “INTEGER”, “TIMESTAMP”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
is_global (bool) – The value to assign to the is_global property of this PropertyDefinition.
- property is_global¶
Gets the is_global of this PropertyDefinition. True if property is for all macros. Not applicable for macro variables or query.
- Returns
The is_global of this PropertyDefinition.
- Return type
bool
- property name¶
Gets the name of this PropertyDefinition. Name of the property.
- Returns
The name of this PropertyDefinition.
- Return type
str
- property type¶
Gets the type of this PropertyDefinition. Type of the property.
Allowed values for this property are: “STRING”, “DOUBLE”, “FLOAT”, “LONG”, “INTEGER”, “TIMESTAMP”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- Returns
The type of this PropertyDefinition.
- Return type
str
- property value¶
Gets the value of this PropertyDefinition. Value of the property.
- Returns
The value of this PropertyDefinition.
- Return type
str