TemplateParams¶
- class oci.log_analytics.models.TemplateParams(**kwargs)¶
Bases:
objectTemplate key value params which can store template details like macro name and its parameter.
Methods:
__init__(**kwargs)Initializes a new TemplateParams object with values from keyword arguments.
Attributes:
[Required] Gets the key_field of this TemplateParams.
[Required] Gets the value_field of this TemplateParams.
- __init__(**kwargs)¶
Initializes a new TemplateParams object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
- Parameters
key_field (str) – The value to assign to the key_field property of this TemplateParams.
value_field (str) – The value to assign to the value_field property of this TemplateParams.
- property key_field¶
[Required] Gets the key_field of this TemplateParams. Contains macro parameter’s names.
- Returns
The key_field of this TemplateParams.
- Return type
str
- property value_field¶
[Required] Gets the value_field of this TemplateParams. Contains macro parameter’s value.
- Returns
The value_field of this TemplateParams.
- Return type
str