Level¶
- class oci.log_analytics.models.Level(**kwargs)¶
Bases:
objectAn object used to represent a level at which a property or resource or constraint is defined.
Methods:
__init__(**kwargs)Initializes a new Level object with values from keyword arguments.
Attributes:
Gets the constraints of this Level.
[Required] Gets the name of this Level.
- __init__(**kwargs)¶
Initializes a new Level 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 Level.
constraints (str) – The value to assign to the constraints property of this Level.
- property constraints¶
Gets the constraints of this Level. A string representation of constraints that apply at this level. For example, a property defined at SOURCE level could further be applicable only for SOURCE_TYPE:database_sql.
- Returns
The constraints of this Level.
- Return type
str
- property name¶
[Required] Gets the name of this Level. The level name.
- Returns
The name of this Level.
- Return type
str