PropertyOverride¶
-
class
oci.log_analytics.models.PropertyOverride(**kwargs)¶ Bases:
objectProperty overrides at the scope of objects. For example, if you want to use logSourceName as ‘xyz’ for all objects that conatins string ‘abc/’ then define matchType as ‘contains’, matchValue as ‘abc/’, propertyName as ‘logSourceName’ and propertyValue as ‘xyz’.
Methods
__init__(**kwargs)Initializes a new PropertyOverride object with values from keyword arguments. Attributes
match_typeGets the match_type of this PropertyOverride. match_valueGets the match_value of this PropertyOverride. property_nameGets the property_name of this PropertyOverride. property_valueGets the property_value of this PropertyOverride. -
__init__(**kwargs)¶ Initializes a new PropertyOverride object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - match_type (str) – The value to assign to the match_type property of this PropertyOverride.
- match_value (str) – The value to assign to the match_value property of this PropertyOverride.
- property_name (str) – The value to assign to the property_name property of this PropertyOverride.
- property_value (str) – The value to assign to the property_value property of this PropertyOverride.
-
match_type¶ Gets the match_type of this PropertyOverride. Match Type. Accepted values are: contains.
Returns: The match_type of this PropertyOverride. Return type: str
-
match_value¶ Gets the match_value of this PropertyOverride. Match Value.
Returns: The match_value of this PropertyOverride. Return type: str
-
property_name¶ Gets the property_name of this PropertyOverride. Property to override. Accepted values are: logSourceName, charEncoding.
Returns: The property_name of this PropertyOverride. Return type: str
-
property_value¶ Gets the property_value of this PropertyOverride. Value of the property.
Returns: The property_value of this PropertyOverride. Return type: str
-