LogAnalyticsLabel

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

Bases: object

LogAnalytics label

Attributes

PRIORITY_HIGH A constant which can be used with the priority property of a LogAnalyticsLabel.
PRIORITY_LOW A constant which can be used with the priority property of a LogAnalyticsLabel.
PRIORITY_MEDIUM A constant which can be used with the priority property of a LogAnalyticsLabel.
PRIORITY_NONE A constant which can be used with the priority property of a LogAnalyticsLabel.
TYPE_INFO A constant which can be used with the type property of a LogAnalyticsLabel.
TYPE_PROBLEM A constant which can be used with the type property of a LogAnalyticsLabel.
aliases Gets the aliases of this LogAnalyticsLabel.
count_usage_in_source Gets the count_usage_in_source of this LogAnalyticsLabel.
description Gets the description of this LogAnalyticsLabel.
display_name Gets the display_name of this LogAnalyticsLabel.
edit_version Gets the edit_version of this LogAnalyticsLabel.
impact Gets the impact of this LogAnalyticsLabel.
is_system Gets the is_system of this LogAnalyticsLabel.
is_user_deleted Gets the is_user_deleted of this LogAnalyticsLabel.
name Gets the name of this LogAnalyticsLabel.
priority Gets the priority of this LogAnalyticsLabel.
recommendation Gets the recommendation of this LogAnalyticsLabel.
suggest_type Gets the suggest_type of this LogAnalyticsLabel.
type Gets the type of this LogAnalyticsLabel.

Methods

__init__(**kwargs) Initializes a new LogAnalyticsLabel object with values from keyword arguments.
PRIORITY_HIGH = 'HIGH'

A constant which can be used with the priority property of a LogAnalyticsLabel. This constant has a value of “HIGH”

PRIORITY_LOW = 'LOW'

A constant which can be used with the priority property of a LogAnalyticsLabel. This constant has a value of “LOW”

PRIORITY_MEDIUM = 'MEDIUM'

A constant which can be used with the priority property of a LogAnalyticsLabel. This constant has a value of “MEDIUM”

PRIORITY_NONE = 'NONE'

A constant which can be used with the priority property of a LogAnalyticsLabel. This constant has a value of “NONE”

TYPE_INFO = 'INFO'

A constant which can be used with the type property of a LogAnalyticsLabel. This constant has a value of “INFO”

TYPE_PROBLEM = 'PROBLEM'

A constant which can be used with the type property of a LogAnalyticsLabel. This constant has a value of “PROBLEM”

__init__(**kwargs)

Initializes a new LogAnalyticsLabel object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • aliases (list[oci.log_analytics.models.LogAnalyticsLabelAlias]) – The value to assign to the aliases property of this LogAnalyticsLabel.
  • count_usage_in_source (int) – The value to assign to the count_usage_in_source property of this LogAnalyticsLabel.
  • suggest_type (int) – The value to assign to the suggest_type property of this LogAnalyticsLabel.
  • description (str) – The value to assign to the description property of this LogAnalyticsLabel.
  • display_name (str) – The value to assign to the display_name property of this LogAnalyticsLabel.
  • edit_version (int) – The value to assign to the edit_version property of this LogAnalyticsLabel.
  • impact (str) – The value to assign to the impact property of this LogAnalyticsLabel.
  • is_system (bool) – The value to assign to the is_system property of this LogAnalyticsLabel.
  • name (str) – The value to assign to the name property of this LogAnalyticsLabel.
  • priority (str) – The value to assign to the priority property of this LogAnalyticsLabel. Allowed values for this property are: “NONE”, “LOW”, “MEDIUM”, “HIGH”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • recommendation (str) – The value to assign to the recommendation property of this LogAnalyticsLabel.
  • type (str) – The value to assign to the type property of this LogAnalyticsLabel. Allowed values for this property are: “INFO”, “PROBLEM”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • is_user_deleted (bool) – The value to assign to the is_user_deleted property of this LogAnalyticsLabel.
aliases

Gets the aliases of this LogAnalyticsLabel. An array of label aliases.

Returns:The aliases of this LogAnalyticsLabel.
Return type:list[oci.log_analytics.models.LogAnalyticsLabelAlias]
count_usage_in_source

Gets the count_usage_in_source of this LogAnalyticsLabel. The source usage count for this label.

Returns:The count_usage_in_source of this LogAnalyticsLabel.
Return type:int
description

Gets the description of this LogAnalyticsLabel. The label description.

Returns:The description of this LogAnalyticsLabel.
Return type:str
display_name

Gets the display_name of this LogAnalyticsLabel. The label display name.

Returns:The display_name of this LogAnalyticsLabel.
Return type:str
edit_version

Gets the edit_version of this LogAnalyticsLabel. The label edit version.

Returns:The edit_version of this LogAnalyticsLabel.
Return type:int
impact

Gets the impact of this LogAnalyticsLabel. The label impact.

Returns:The impact of this LogAnalyticsLabel.
Return type:str
is_system

Gets the is_system of this LogAnalyticsLabel. The system flag. A value of false denotes a custom, or user defined label. A value of true denotes a built in label.

Returns:The is_system of this LogAnalyticsLabel.
Return type:bool
is_user_deleted

Gets the is_user_deleted of this LogAnalyticsLabel. A flag indicating whether or not the label has been deleted.

Returns:The is_user_deleted of this LogAnalyticsLabel.
Return type:bool
name

Gets the name of this LogAnalyticsLabel. The label name.

Returns:The name of this LogAnalyticsLabel.
Return type:str
priority

Gets the priority of this LogAnalyticsLabel. The label priority. Valid values are (NONE, LOW, HIGH). NONE is default.

Allowed values for this property are: “NONE”, “LOW”, “MEDIUM”, “HIGH”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The priority of this LogAnalyticsLabel.
Return type:str
recommendation

Gets the recommendation of this LogAnalyticsLabel. The label recommendation.

Returns:The recommendation of this LogAnalyticsLabel.
Return type:str
suggest_type

Gets the suggest_type of this LogAnalyticsLabel. The type of suggestion for label usage.

Returns:The suggest_type of this LogAnalyticsLabel.
Return type:int
type

Gets the type of this LogAnalyticsLabel. The label type. Valid values are (INFO, PROBLEM). INFO is default.

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

Returns:The type of this LogAnalyticsLabel.
Return type:str